never used dev-c++ before

This is a discussion on never used dev-c++ before within the C++ Programming forums, part of the General Programming Boards category; hi, i have some non-coding questions: 1. with dev-c++ you can create a source file or a project (which will ...

  1. #1
    Registered User
    Join Date
    Jan 2002
    Posts
    71

    never used dev-c++ before

    hi, i have some non-coding questions:

    1. with dev-c++ you can create a source file or a project (which will have a source file anyway). what's the difference?

    2. is there an advantage to making a console application rather than a windows one or vice versa?

    3. i've been trying to run the simplest source file (that only outputs one word) - as a windows application - and it doesn't show any output. not even an output window.. i don't know what's going on, is this supposed to be this way?
    what am i supposed to do?


    i'd appreciate any help..

    Linette

  2. #2
    ¡Amo fútbol!
    Join Date
    Dec 2001
    Posts
    2,136
    1. I think that project can hold more than one file.

    3. Unless u r using API functions, u should probably make console apps.

  3. #3
    Registered User
    Join Date
    Jan 2002
    Posts
    71
    what's the difference though?

    and by the way that one magically worked, but i get this "press any key to continue" message right after the string constant i output.. and the \n character won't even make a change (it won't place the output starting on the second line, it won't place that message on the next line either)..
    what dev-c++ people have prescribed for the window quickly closing problem is putting "system("pause")" in your code.. that might be why that message is there. or else this is just stupid..
    so how do i make it not write that message or at least do it on the next line? and what's the difference between a windows and a console dev-c++ application if i'm getting the output for my windows application in a console window anyway?


    thanks..

  4. #4
    Unregistered
    Guest
    You have to use TextOut to write on screen in gdi applications, by the way these are not much more difficult than console applications. But if you don't want to draw anything then you may well write console applications.

  5. #5
    Registered User
    Join Date
    Jan 2002
    Posts
    387
    >what's the difference between a windows and a console dev-c++ application

    A Windows application is exactly wut it sounds like and it requires knowledge of the Windows API, a couple good tutorial website on win32 API are:

    http://www.foosyerdoos.fsnet.co.uk/
    http://www.winprog.org/

    A console application is like the MS-DOS Prompt a good tutorial is:

    http://www.CPlusPlus.com/

    hope that helps

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. New to Dev C++/<windows.h>...
    By Cilius in forum C++ Programming
    Replies: 3
    Last Post: 02-23-2005, 12:05 AM
  2. Glut and Dev C++, Programs not Quitting?
    By Zeusbwr in forum Game Programming
    Replies: 13
    Last Post: 11-29-2004, 07:43 PM
  3. openGL programming - From MSVC++ to Dev C++
    By WDT in forum Game Programming
    Replies: 3
    Last Post: 03-08-2004, 07:47 PM
  4. openGL programming - From MSVC++ to Dev C++
    By WDT in forum Game Programming
    Replies: 1
    Last Post: 03-08-2004, 04:19 PM
  5. DEV C++ Limitations?
    By Kirdra in forum Game Programming
    Replies: 3
    Last Post: 09-09-2002, 09:40 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21