there are errors on this- what are they? i dont know whats up.. thank you..
#include <iostream.h>
#include <iomanip.h>
#include <conio.h>
void main()
{
cout << "Hello World!";
getch();
}
there are errors on this- what are they? i dont know whats up.. thank you..
#include <iostream.h>
#include <iomanip.h>
#include <conio.h>
void main()
{
cout << "Hello World!";
getch();
}
>void main()
Wrong, main returns int, not void.
>getch();
Nonstandard, you may not have it.
What errors are you getting because it compiles on my system, despite the program being completely undefined. Try this and see how it works:
-PreludeCode:#include <iostream> int main() { std::cout<< "Hello World!"; std::cin.get(); return 0; }
My best code is written with the delete key.
i get these errors-
untitl~1.pas(76,1) Error: Illegal char constant
untitl~1.pas(76,1) Fatal: There were 1 errors compiling module, stopping