I am trying to create my first C++ executable program with Eclipse in Windows 7.
#include <stdio.h>
int main( int argc, const char* argv[] )
{
printf( "arg" );
}
I am getting error:
” The word ‘printf’ is not correctly spelled”.
Following are my configuration. How to overcome this error?



It seems like you didn’t give your C++ source a extension that is recognized as standard c++ file extension.
Could you rename your file as main.cpp so that eclipse treats it accordingly ?