Thread: Visual C++

  1. #1
    Registered User
    Join Date
    Dec 2003
    Posts
    2

    Question Visual C++

    Hello,

    I'm wondering if anyone might know of any good sites dedicated to Microsoft Visual C++ tutorials and etc.

    I'm a newbie and finally somewhat understand how to code an application, but need to find out how to create a graphical interface for that application. I get tired of the old white text on black background thing.

    Any suggestions would be great.

    Thanks,
    ~Seven

  2. #2
    Registered User
    Join Date
    Nov 2003
    Posts
    53
    if you are ok with console applications it might be a good idea to move onto win applications. If you do that then the interface comes with it.
    Its all a matter of willpower

  3. #3
    Guest Sebastiani's Avatar
    Join Date
    Aug 2001
    Location
    Waterloo, Texas
    Posts
    5,708
    Okay. Suppose you get a hold of a primitive such as gotoxy(), and now you can make rectangles and circles and draw borders and so forth. Complicated, but that's what you get with the Windows API. But say you used VB to build the interface with a C++ backend. That might work, too...look into the Corialis Blackbook's, anything Petzold, Visual C++ reference books, etc.
    Code:
    #include <cmath>
    #include <complex>
    bool euler_flip(bool value)
    {
        return std::pow
        (
            std::complex<float>(std::exp(1.0)), 
            std::complex<float>(0, 1) 
            * std::complex<float>(std::atan(1.0)
            *(1 << (value + 2)))
        ).real() < 0;
    }

  4. #4
    Normal vector Carlos's Avatar
    Join Date
    Sep 2001
    Location
    Budapest
    Posts
    463
    cprogramming.com has some useful links, but you should also perform a quick search with google.

  5. #5
    Registered User
    Join Date
    Apr 2003
    Posts
    2,663
    I'm a newbie and finally somewhat understand how to code an application, but need to find out how to create a graphical interface for that application. I get tired of the old white text on black background thing.
    Unless you understand classes and inheritance very well, you aren't going to be able to program a graphical user interface, i.e. a windows program, using Visual C++. Windows programming with Visual C++ is another whole topic requiring you to digest another 800 page book before you can understand it.

  6. #6
    Hardware Engineer
    Join Date
    Sep 2001
    Posts
    1,398
    First, check-out the Sunlight tutorials and the winpgrog.org tutorials.

    Then, when you feel you are ready, get Programming Windows, by Charles Petzold. Almost every Windows programmer owns this book.

    Like 7Stud said, Windows programming is not for beginners. Petzold's "Hello Windows" program is over one page long, and it is mostly functions, structures, and typedefs from <windows.h> that you won't recognize. (The text does explain the code.) Petzold doesn't use classes or inheritance... He only uses C, not C++. You won't learn much (if any) standard C/C++ by studying Petzold... you will only learn how to make a nice user interface for your C/C++ program.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. We Got _DEBUG Errors
    By Tonto in forum Windows Programming
    Replies: 5
    Last Post: 12-22-2006, 05:45 PM
  2. C++ std routines
    By siavoshkc in forum C++ Programming
    Replies: 33
    Last Post: 07-28-2006, 12:13 AM
  3. load gif into program
    By willc0de4food in forum Windows Programming
    Replies: 14
    Last Post: 01-11-2006, 10:43 AM
  4. Errors with including winsock 2 lib
    By gamingdl'er in forum C++ Programming
    Replies: 3
    Last Post: 12-05-2005, 08:13 PM
  5. Learning OpenGL
    By HQSneaker in forum C++ Programming
    Replies: 7
    Last Post: 08-06-2004, 08:57 AM