Can some one please help!!!!!
Im new to c++ ive installed code blocks compiler and completed the hello world prog and varables section so I thought I would try other progs from online from c++ programming site to get an understanding of c++ but every prog I try all I get is different errors for every line, this are the sort of errors
from the compiler on virtually every prog I try:
C:\Users\Jason\Programming\Code\main.cpp|1|error: iostream.h: No such file or directory|
C:\Users\Jason\Programming\Code\main.cpp|4|error: '::main' must return 'int'|
C:\Users\Jason\Programming\Code\main.cpp||In function 'int main()':|
C:\Users\Jason\Programming\Code\main.cpp|6|error: 'clrscr' was not declared in this scope|
C:\Users\Jason\Programming\Code\main.cpp|8|error: 'cout' was not declared in this scope|
C:\Users\Jason\Programming\Code\main.cpp|8|error: 'endl' was not declared in this scope|
C:\Users\Jason\Programming\Code\main.cpp|9|error: 'cin' was not declared in this scope|
||=== Build finished: 6 errors, 0 warnings ===|
Every day I try to do a little and learn some thing new but every day Im feeling like giving up because I get this from the compiler. What is the not "declared in this scope" is my compiler not configured correctly. Ive gone through the setup guide on this site and followed it exactly. Please help!!!!!