How do I: Learn basic code.

Jul 6, 2011 at 4:54pm
Borland Turbo C++ 4.5
Hello, I am new to windows programming. I have learned some basic code in "windows.h" header file like this:

1
2
3
4
5
6
#include <windows.h>
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow)
{
	 MessageBox(NULL, "Hello, World!", "Greeting", MB_OKCANCEL);
	 return 0;
}



It seems so interesting to me and I think would like to study it in greater detail commenced from the simple code so that I can understand.
Please give me some examples of other codes and tools for this. Thanks.

Embarrassed to ask, wander from the way.
Jul 6, 2011 at 4:58pm
Why do you use Borland Turbo C++ ? This compiler is older than windows 95 I think !!!!
Jul 6, 2011 at 5:08pm
I use it at school, but, Okay, you can give me an example of code that is suitable for use in Visual Studio.... thanks.
Jul 6, 2011 at 5:21pm
There are many tutorials on the net:
http://www.winprog.org/tutorial/
http://www.functionx.com/win32/
http://zetcode.com/tutorials/winapi/

If you need more, just google for "WinAPI tutorial"
Jul 6, 2011 at 5:25pm
OK, thank you very much!
Jul 6, 2011 at 5:41pm

It seems so interesting to me and I think would like to study it in greater detail commenced from the simple code so that I can understand.


It is indeed very interesting!
Jul 6, 2011 at 5:55pm
Yea, freddie1.. It's more than what you said :D
Topic archived. No new replies allowed.