Thread: A couple of Questions

  1. #1
    Registered User
    Join Date
    Feb 2003
    Posts
    6

    Question A couple of Questions

    I have recently started programming in C++. I can create simple console programs like calculators, guess the number games, etc. But I want to do more than that. So I have a couple of questions

    When I compile a project, are all of the files in it compiled into one executable?

    If so how do I include these other files? with #include?

    Does anyone know of a good tutorial explaining all this?

    How do I make Win32 (I guess thats what you call them) programs. Just something simple like a calculator. My compiler,Dev-C++, has a template to open a simple window but I cant manage to put any content in it. Does anyone know of a good tutorial for this?

    Thanks
    johnnabn

  2. #2
    Used Registerer jdinger's Avatar
    Join Date
    Feb 2002
    Posts
    1,065
    >>When I compile a project, are all of the files in it compiled into
    >>one executable?

    Yes.

    //If so how do I include these other files? with #include?
    yes, as far as .h files.

    >>Does anyone know of a good tutorial explaining all this?
    Sunlight has excellent Win32 tutorials.

    >>How do I make Win32 (I guess thats what you call them)
    >>programs. Just something simple like a calculator. My
    >>compiler,Dev-C++, has a template to open a simple window
    >>but I cant manage to put any content in it. Does anyone know
    >>of a good tutorial for this?
    I've never really used Dev C++, but with MSVC you choose to create a Win32 App from the File menu, look for something similar in your IDE. Maybe check out the compiler's help file or their website's FAQ.

  3. #3
    Registered User Xei's Avatar
    Join Date
    May 2002
    Posts
    719
    You can add bitmaps, and other various data formats into resource templates.

  4. #4
    Registered User
    Join Date
    Feb 2003
    Posts
    6
    dev-c++ does have a template for windows applications.. I'll read that tutorial thanks

  5. #5
    samurai warrior nextus's Avatar
    Join Date
    Nov 2001
    Posts
    196
    some very good win32 tutorials at www.gametutorials.com and go to tutorials...go to win32...

    also i am getting into win32 api myself..just bought myself a copy of "programming windows" by charles petzold..should be here feb 26...i cant wait..and thanks everyone for making that suggestion
    nextus, the samurai warrior

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. A Couple of Questions
    By toonlover in forum C++ Programming
    Replies: 5
    Last Post: 12-03-2005, 06:47 PM
  2. Couple of simple directdraw questions.
    By Deo in forum Game Programming
    Replies: 3
    Last Post: 05-25-2005, 07:55 AM
  3. Studying for Final, Couple Questions...
    By stewade in forum C Programming
    Replies: 4
    Last Post: 05-10-2004, 05:02 PM
  4. A couple of PowerPoint questions.
    By sean in forum Tech Board
    Replies: 2
    Last Post: 01-27-2003, 05:26 AM
  5. New to C++/ Couple of questions...
    By danielthomas3 in forum C++ Programming
    Replies: 13
    Last Post: 04-14-2002, 03:46 PM