misi
Growing Little Guru
My old Visual C++ Version 6 does not want to work under Vista.
OK, I have installed Borland's C++ Builder.
Vista accepted it without hesitation. It's beautiful !
The only little problem I have with it that I cannot compile and run my source files with it.
I can open them but when trying to run them then all I have is:error.
The question is:how to make it work?
What to do with it to display a little message: "Hello World!" ?
#include <iostream>
using namespace std;
int main()
{
cout << "Hello World!";
return 0;
}
ERROR !!!!
[BCC32 Error] File1.cpp(19): E2476 Cannot overload 'main'
[BCC32 Error] File1.cpp(19): E2178 VIRDEF name conflict for 'main()'
[BCC32 Error] File1.cpp(23): E2378 Return statement missing ;
OK, I have installed Borland's C++ Builder.
Vista accepted it without hesitation. It's beautiful !
The only little problem I have with it that I cannot compile and run my source files with it.
I can open them but when trying to run them then all I have is:error.
The question is:how to make it work?
What to do with it to display a little message: "Hello World!" ?
#include <iostream>
using namespace std;
int main()
{
cout << "Hello World!";
return 0;
}
ERROR !!!!
[BCC32 Error] File1.cpp(19): E2476 Cannot overload 'main'
[BCC32 Error] File1.cpp(19): E2178 VIRDEF name conflict for 'main()'
[BCC32 Error] File1.cpp(23): E2378 Return statement missing ;
Last edited: