A fifth noobie question-enum color?

This is a discussion on A fifth noobie question-enum color? within the C++ Programming forums, part of the General Programming Boards category; Originally posted by Noobie shiv i tried using your code and it compiles but it doesnt do anything when i ...

  1. #16
    Registered User
    Join Date
    Dec 2002
    Posts
    103

    Wish I was there :)

    Originally posted by Noobie
    shiv i tried using your code and it compiles but it doesnt do anything when i run it! so u told me to use alt-f5 and that doesnt do anything either and u said something about a background and where is there a background?

    I have used turbo-c++ compiler in the past.

    If you press the control-key with the f9 key, it must compile and run at the same time. I have no clue what you are actually trying to do out there.. and why its not working as desired.

    In turbo-c++ compiler atleast pressing the Alt key along with F5 key did show the output in the background (back in the DOS)
    Have a wonderful day.... and keep smiling... you look terrific that way
    signing off...
    shiv... as i know him

  2. #17
    1.b4 e5 2.a3 d5 3.d4 exd
    Join Date
    Jan 2003
    Posts
    167
    ok shiv-i got your code to work and cout hot

    You should make a note that if a noobie says he is running a noobie program and it doesnt do anything but simply goes back to C:\ _ that its possible he is typing file instead of file.exe

  3. #18
    Registered User
    Join Date
    Sep 2002
    Posts
    1,640
    This compiler still deals with DOS??
    Well, i can't really help you then, i'm a windows minion.

  4. #19
    Registered User
    Join Date
    Dec 2002
    Posts
    103

    I beg to differ :)

    Originally posted by Noobie
    ok shiv-i got your code to work and cout hot

    You should make a note that if a noobie says he is running a noobie program and it doesnt do anything but simply goes back to C:\ _ that its possible he is typing file instead of file.exe
    If the issue is between typing file instead of file.exe then I beg to differ

    If any file has an extension .exe or .com or .bat then you need not type the file extension as part of the file name to execute. In DOS it would work just fine with just filename without those extensions (.exe, .com, .bat)
    Have a wonderful day.... and keep smiling... you look terrific that way
    signing off...
    shiv... as i know him

  5. #20
    1.b4 e5 2.a3 d5 3.d4 exd
    Join Date
    Jan 2003
    Posts
    167
    well whenever i try to run a .exe in windows it just closes as soon as the program as done-so i run them in dos

Page 2 of 2 FirstFirst 12
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Win32 Console Color Question
    By AndyBomstad in forum C++ Programming
    Replies: 4
    Last Post: 02-04-2005, 01:35 PM
  2. A question of color...(not a racial question)
    By Sebastiani in forum Windows Programming
    Replies: 7
    Last Post: 01-15-2003, 07:05 PM
  3. what does this warningmean???
    By kreyes in forum C Programming
    Replies: 5
    Last Post: 03-04-2002, 06:53 AM
  4. enum question
    By incognito in forum C++ Programming
    Replies: 1
    Last Post: 12-29-2001, 11:04 PM
  5. About Color in MFC
    By Alextrons in forum Windows Programming
    Replies: 0
    Last Post: 11-05-2001, 06:40 PM

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