Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.

beginner: can't find include files

ustundag
Beginner
268 Views
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;
}
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) ?
0 Kudos
1 Reply
TimP
Honored Contributor III
268 Views
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.
0 Kudos
Reply