- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi folks, it's been a while since I've hacked out some C/C++ code, but I can't see why the following generates an error when compiling with v11.1 at the command prompt:
#include
int main()
{
cout << "Hi there!";
return 0;
}
compiler error: identifier "cout" is undefined.
As mentioned, I'm running the Intel compiler from the command prompt via:
"Start->Programs->Intel Software Development Tools->Intel C++ Compiler Professional v11.1.038->C++ Build Environments for Applications running on ia32"
What mondo-basic thing have I neglected to do? Thanks in advance.
-L
#include
int main()
{
cout << "Hi there!";
return 0;
}
compiler error: identifier "cout" is undefined.
As mentioned, I'm running the Intel compiler from the command prompt via:
"Start->Programs->Intel Software Development Tools->Intel C++ Compiler Professional v11.1.038->C++ Build Environments for Applications running on ia32"
What mondo-basic thing have I neglected to do? Thanks in advance.
-L
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page