Thread: If else problem

  1. #16
    Super unModrator
    Join Date
    Dec 2007
    Posts
    321
    Quote Originally Posted by MarkZWEERS View Post
    aaaahhh people, just work with Linux! no disappearing output screens, no breakpoints, no ignores or whatsoever, just a nice, fail proof, wysiRwyg*, terminal....

    * what you see is REALLY what you get
    You will face criticism on that

  2. #17
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Quote Originally Posted by MarkZWEERS View Post
    aaaahhh people, just work with Linux! no disappearing output screens, no breakpoints, no ignores or whatsoever, just a nice, fail proof, wysiRwyg*, terminal....

    * what you see is REALLY what you get
    An even better way: get rid of the console altogether along with the command prompt. Then you won't have to worry about disappearing windows.

    Quote Originally Posted by abh!shek View Post
    You will face criticism on that
    You said it XD
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  3. #18
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,895
    The real problem here is Dev-C++. Use Code::Blocks or Visual Studio Express instead. Their developers are not so beset by terminal stupidity that they managed to miss a bug every single newbie ever has encountered for the entire lifespan of the application.
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

  4. #19
    Registered User
    Join Date
    Oct 2001
    Posts
    2,129
    Quote Originally Posted by Elysia View Post
    An even better way: get rid of the console altogether along with the command prompt. Then you won't have to worry about disappearing windows.
    No, you would still have an output window, whether it is the console or not, and that would have to be closed at program end. Besides, getting rid of the console just because it gets out of your way when it's finished is just stupid, IMO, assuming you're talking about getting rid of it in the system.

  5. #20
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Quote Originally Posted by robwhit View Post
    No, you would still have an output window, whether it is the console or not, and that would have to be closed at program end.
    But aside from console windows, though, pretty much every windows programmer knows that they must run a message loop or the window will be frozen. So I classify it as quite different from a console window. Don't know if anyone agrees, but oh well.

    Besides, getting rid of the console just because it gets out of your way when it's finished is just stupid, IMO, assuming you're talking about getting rid of it in the system.
    Nah, no. It has its uses. But not using the prompt for running the applications is what I mean!
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  6. #21
    Registered User
    Join Date
    Oct 2001
    Posts
    2,129
    I think the best solution would be something like what CornedBee was talking about: have an option in the IDE to keep the console open, and have that default to yes.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Need help understanding a problem
    By dnguyen1022 in forum C++ Programming
    Replies: 2
    Last Post: 04-29-2009, 04:21 PM
  2. Memory problem with Borland C 3.1
    By AZ1699 in forum C Programming
    Replies: 16
    Last Post: 11-16-2007, 11:22 AM
  3. Someone having same problem with Code Block?
    By ofayto in forum C++ Programming
    Replies: 1
    Last Post: 07-12-2007, 08:38 AM
  4. A question related to strcmp
    By meili100 in forum C++ Programming
    Replies: 6
    Last Post: 07-07-2007, 02:51 PM
  5. WS_POPUP, continuation of old problem
    By blurrymadness in forum Windows Programming
    Replies: 1
    Last Post: 04-20-2007, 06:54 PM