Hi diving, welcome to C++! First off, check out the tutotials on the home page of this site.. they can get noobs off to a good start. Here is a first glimps at C++:
Code:
#include <iostream>
using namespace std;
int main()
{
cout << "Hello Diving!" << endl;
return 0;
}
output: Hello Diving!
As for colours to the screen, that is pretty advanced topic, but again there are
online tutorials that can help you out, or do a google. Aslo, look on the FAQ pages
of this website for any aditiional help. Mouse pointing would have alot to do with
pointers '*' but this again is a high advanced topic. Learn the basics first.. then learn the harder bits after you are confident. We are always here to help you out if you have
any questions.
This is a colur text program for the console, but if you are a noob I don't excpect you to
understand all the code.:
Code:
void DrawColorString(string szText, int X, int Y, WORD color)
{
HANDLE OutputH;
COORD position = {X, Y};
OutputH = GetStdHandle(STD_OUTPUT_HANDLE);
SetConsoleTextAttribute(OutputH, color);
SetConsoleCursorPosition(OutputH, position);
cout << szText;
}
As for compilers, I use DevC++ for little programs and Microsoft Visual C++ 2003 and 2005
for larger projects like games for example. Dev C++ is a good compiler for anyone new to the language. It has a good gnw compiler that is faithful to the ISO standard too. Play around with small programs first, then as you get more confident, try new things.
We are always here to help you if you get stuck on any erros or stuff.
Good Luck!
Pete