...

View Full Version : C++ Online Tut's (Win)



As5a5sIn5
04-07-2004, 07:24 PM
Does anyone know any good, free, tut's on C++ with windows?

whackaxe
04-07-2004, 07:39 PM
www.cpp-home.com has a large variety of tutorials for all sorts of things. if your new to C++ don't start by windows though. start with windows in console mode

As5a5sIn5
04-07-2004, 09:25 PM
if your new to C++ don't start by windows though. start with windows in console mode
What's Console mode...becuz as you can see I am new..lol

whackaxe
04-07-2004, 10:07 PM
ah ok, you are the c++ n00b (so am i actually, but hey)
i found this tutorial particulalry well written:
http://www.cplusplus.com/doc/tutorial/index.html

don't skip any chapters!

Mhtml
04-08-2004, 02:50 PM
You know the dos-prompt?? Programmers call it a console. Before we had the GUI (explained in your other thread), operating systems (unix) were completely console based, no 'shell' (google (http://www.google.com) it ;))..

scroots
04-13-2004, 08:00 PM
if your a dab hand at linux its easier to prgrame GUI's as oyu can get a hello world GUI in a few lines of code comapred to 80 lines of code.

scroots

Mhtml
04-14-2004, 07:54 AM
Well, you can use other GUI libraries for Windows. And there are some good wrappers out there.

Like, my newest wrapper which I call MCC++ ... This sets up the whole program --


APP guimagic;
int WINAPI WinMain ( HINSTANCE hInstance, HINSTANCE hPrevInstance,
LPSTR lpArg, int nCmdShow ) {

if ( !Init ( hInstance ) ) {

MessageBox ( NULL, "Init() failed.", "Error", MB_OK );
return false;
}

guimagic.SetCyclePtr ( Cycle );
guimagic.SetBkColor ( GetSysColorBrush( COLOR_WINDOW ) );
guimagic.Init ( "GUI:APP", "GUI Magic - [None]", CW_USEDEFAULT, CW_USEDEFAULT, 800, 550,
WS_OVERLAPPEDWINDOW, HWND_DESKTOP );

}

Could even be a little more condensed or expanded, there are more functions I can call but that is just what I have at the moment.

Creating any GUI object is done in a single line. And it's really good at geometry calculation stuff, like making controls span and align is done with member function calls and stuff.. But it still lets you have direct access on the API level as well, very thin wrapper but it makes developing for windows much easier.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum