Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 7 of 7
  1. #1
    Regular Coder
    Join Date
    Apr 2004
    Location
    Philadelphia
    Posts
    241
    Thanks
    2
    Thanked 5 Times in 5 Posts

    Arrow C++ Online Tut's (Win)

    Does anyone know any good, free, tut's on C++ with windows?

  • #2
    Senior Coder
    Join Date
    Jun 2002
    Location
    paris, france
    Posts
    1,216
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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
    photoshop too expensive? use the GIMP! www.gimp.org

  • #3
    Regular Coder
    Join Date
    Apr 2004
    Location
    Philadelphia
    Posts
    241
    Thanks
    2
    Thanked 5 Times in 5 Posts
    Quote Originally Posted by whackaxe
    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

  • #4
    Senior Coder
    Join Date
    Jun 2002
    Location
    paris, france
    Posts
    1,216
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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!
    photoshop too expensive? use the GIMP! www.gimp.org

  • #5
    Senior Coder Mhtml's Avatar
    Join Date
    Jun 2002
    Location
    Sydney, Australia
    Posts
    3,531
    Thanks
    0
    Thanked 1 Time in 1 Post
    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 it )..
    Omnis mico antequam dominus Spookster!

  • #6
    Senior Coder
    Join Date
    Jun 2002
    Location
    UK
    Posts
    1,137
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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
    Spammers next time you spam me consider the implications:
    (1) that you will be persuaded by me(in a legitimate mannor)
    (2)It is worthless to you, when i have finished

  • #7
    Senior Coder Mhtml's Avatar
    Join Date
    Jun 2002
    Location
    Sydney, Australia
    Posts
    3,531
    Thanks
    0
    Thanked 1 Time in 1 Post
    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 --
    Code:
    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.
    Last edited by Mhtml; 04-14-2004 at 06:56 AM.
    Omnis mico antequam dominus Spookster!


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •