ok im pretty new to programming in C++, but i thought i was doing pretty well, iv had the sams learn c++ in 24 hours book for a couple of months but only just started learning it, i tried to build a pinger however ran into some errors, my compiler simply says:
Error: Unresolved external '_main' reference from C:\CBUILDERX\LIB\COX32.OBJ
ILINK32 exited with error code: 2
Build Canceled due to errors
I think this has something to do with my compiler but im not sure, so i will post my C++ incase something is the matter with that.
Please help, im keen to learn the language as so far i can only really code web languages.
cout << "Please enter the website you wish to ping (e.g. google.com): ";
cin >> tarUrl;
cout << "\n\n Thankyou, how many times would you like to ping ";
cout << tarUrl;
cout << "?:";
cin >> tarPing;
cout << "\n\n Starting to ping...";