Help me fellow console C++ programmers !!
Please help me ! i have been trained in the arts of the C++ language and its beauty but now i need a visual app and i have no idea how to get started, can someone tell me the fastest easiest way to go from normal console C++ into Visual C++ without feeling ignorant and stupid ?? it seems like a totally different language
THank You
Scheme of window application
I recommend you learn how to create a window app
without using MFC. You will be learn more.
This is the scheme:
Header files (<windows.h>, etc, etc)
A prototype for window procedure
The main function
You register a window class structure
You create a main window using CreateWindow
You show the main window
You enter the message loop
translate each message
dispatch each message
when the loop finishes the main function returns
The window procedure definition
You can write code for each kind of Window Message
(WM_CHAR, WM_PAINT) or use the default window procedure
The application is a loop of message processing, from begining to the end. You must learn each win32 API needed.
Advantages of pure win32 API style
If you learn writing windows applications
with plain win32 API, you can easy write the same
applications in assembler language (i.e. with MASM)
Remember:
1 include headers
2 windowproc prototype
3 global data if necessary
4 main function
4.1. register window class
4.2. create window
4.3. show window
4.4. message loop
5 windowproc function
[6 other functions]