Console window won't clear past app

This is a discussion on Console window won't clear past app within the C++ Programming forums, part of the General Programming Boards category; Thanks for taking time to read/comment on my question! Dev C++ compiler:: when I write a new program and execute ...

  1. #1
    Registered User
    Join Date
    Sep 2006
    Posts
    16

    Console window won't clear past app

    Thanks for taking time to read/comment on my question!

    Dev C++ compiler:: when I write a new program and execute it on the console output I get old code running no matter how many times I recompile the new code. Any suggestions?

  2. #2
    The larch
    Join Date
    May 2006
    Posts
    3,573
    Provide more information.

    Are you sure the program was compiled and linked successfully? (If the program is already running, linking will fail - you should get a "permission denied" error.)

    Are you sure that you are running the program that you just compiled? (If not run from IDE.)

    Is it a project? (May-be you need to rebuild all)

    Perhaps you have a very old DevCpp version? (they are all very old and not updated any more, but ones before 4.9.9.2 are said to be very buggy)

    Are you aware of DevCpp quirks? (no spaces in full paths, source shouldn't be in the DevCpp folder)
    I might be wrong.

    Thank you, anon. You sure know how to recognize different types of trees from quite a long way away.
    Quoted more than 1000 times (I hope).

  3. #3
    Registered User
    Join Date
    Dec 2007
    Posts
    825
    Im using 4.9.9.2. and i get this also, especially if its a program with memory allocation.

    Id like to know why too.
    Compiler MSVC++ 2013 with Code::Blocks.

  4. #4
    Registered User
    Join Date
    Sep 2006
    Posts
    16

    Dev C

    Provide more information.

    Are you sure the program was compiled and linked successfully? (If the program is already running, linking will fail - you should get a "permission denied" error.)

    Yes, compiled and linked.

    Are you sure that you are running the program that you just compiled? (If not run from IDE.)

    Ok, with that.

    Is it a project? (May-be you need to rebuild all)

    No just some simple functions for practice. Maybe I goofed by creating a new project and not a source file? I really have no idea what I am doing :>)

    Perhaps you have a very old DevCpp version? (they are all very old and not updated any more, but ones before 4.9.9.2 are said to be very buggy)

    Have the newest version.

    Are you aware of DevCpp quirks? (no spaces in full paths, source shouldn't be in the DevCpp folder)
    Yesterday 04:30 AM

    I will look into.

    Thanks for your help!

  5. #5
    Registered User
    Join Date
    Sep 2006
    Posts
    16
    Actually I ran a source file and that did not change a thing. But for some reason I can get it to clear on another app.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. C or C++
    By AcerN30 in forum Game Programming
    Replies: 41
    Last Post: 05-30-2008, 07:57 PM
  2. Just starting Windows Programming, School me!
    By Shamino in forum Windows Programming
    Replies: 17
    Last Post: 02-22-2008, 08:14 AM
  3. Flushing Stuff In The Console Window
    By mike_g in forum C Programming
    Replies: 5
    Last Post: 06-01-2007, 04:29 PM
  4. Linking OpenGL in Dev-C++
    By linkofazeroth in forum Game Programming
    Replies: 4
    Last Post: 09-13-2005, 11:17 AM
  5. Problem with creating new window, from another window
    By Garfield in forum Windows Programming
    Replies: 6
    Last Post: 01-11-2004, 02:10 PM

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