vb command line problem

Hi, I'm starting out in C++ and using the command line prompt to compile my programs using the cl /clr [programname].cpp command. Unfortunately, whenever I have alot of errors in my code, the error list this command generates overruns and I can't scroll backwards through them far enough to get to the earliest code errors (they seem to be "cut off"). Does anyone know a way around this Thanks so much,

Chris



Answer this question

vb command line problem

  • schobmich

    That is not related at all to VC++. Just open the properties of your command prompt and look at the options tab. You should find an option of expanding the buffer size.

    Thanks,
    Ayman Shoukry
    VC++ Team


  • Visual Basic Expert

    Hi Ayman,

    I am using Visual C++ 2005 Express command prompt from the drop-down menu. The compile commands I am using don't seem to work on the windows command prompt. How do I change the buffer size of the Visual C++ 2005 Express command prompt Thanks,

    Chris


  • rebelR

    What errors are you seeing What buffer do you want to change If it is for the buffer for the command window itself then just right click on thje Title Bar - select Properties - select Layout - and increase the value associated with Height (by default it is 300). I also like to increase the increase the Height of the Window Size - 25 is a bit too small on modern displays.

  • Spenceee

    Thanks for the quick response. How do I go about expanding my command line limit Thanks,

    Chris


  • blabus

    Try expanding you command prompt limit or just redirect the output into a file (e.g. cl /CLR a.cpp > temp.log).

    Thanks,
    Ayman Shoukry
    VC++ Team


  • vb command line problem