
11.02.2010, 17:41
|
|
Участник форума
Регистрация: 23.10.2009
Сообщений: 103
Провел на форуме: 289669
Репутация:
7
|
|
Код:
// Popo.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include <iostream>
int _tmain(int argc, _TCHAR* argv[])
{
int n;
n = 100;
cout << n;
return 0;
}
Лог:
Код:
1>------ Build started: Project: Popo, Configuration: Debug Win32 ------
1>Compiling...
1>Popo.cpp
1>c:\documents and settings\администратор\мои документы\visual studio 2008\projects\popo\popo\popo.cpp(12) : error C2065: 'cout' : undeclared identifier
1>Build log was saved at "file://c:\Documents and Settings\Администратор\Мои документы\Visual Studio 2008\Projects\Popo\Popo\Debug\BuildLog.htm"
1>Popo - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Среда: MS visual C++ 2008 express edition.
Что сделать чтобы не было ошибки?
P.S.
Какая разница между MS visual C++ 2008 express edition и MS visual C++?
|
|
|