- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi all,
I have just installed intel C++ compiler (trial version) and I tried to compile simple cpp program. But it complained about include file with this error
"could not open source file "stdio.h" " my simple program like below
#include stdio.h
int main (){
cout << "welcome ";
return 0;
}
cout << "welcome ";
return 0;
}
I use compiler from command line (os:windows) andI checked environmentvariables they seem ok. But when I checked include directory, where the compiler installed, I realized that there are just 14 include files exist.
Isit about evaluation version of compiler (trial) ?
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Intel C gets most of the standard includes file from the underlying compiler installation (gcc or MSVC). It's not a standalone compiler.
Check your syntax
#include
is the usual form, indicating you want the file from the compiler installation.
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