i was typing a simple code in my c ide,i got stuck through a problem, plz help me out!!
Code:#inlcude <stdio.h> main() { for (x=1; x<10; x++); printf("%d\n",x); }
i got the rror message, Compiling NONAME02.CPP:
Error NONAME02.CPP 1: Unknown preprocessor directive: 'inlcude'
Error NONAME02.CPP 5: Undefined symbol 'x' in function main()
Error NONAME02.CPP 6: Call to undefined function 'printf' in function main()
Warning NONAME02.CPP 7: Function should return a value in function main()