#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2012
    Posts
    1
    Rep Power
    0

    Help me< i cant run this program perfectly


    excuseme for my bad english
    when i run this program ;


    #include<stdio.h>
    #include<conio.h>
    int main()
    {
    int i;
    for(i=999;i>=101;i-=2)
    printf("%d\n",i);
    getch();
    return 0;
    }


    i cant see all digits in compiler
    and i needed to see the all of digit
    i am beginner in programming
    and i use Dev C++
    help me please
  2. #2
  3. Contributed User
    Devshed Specialist (4000 - 4499 posts)

    Join Date
    Jun 2005
    Posts
    4,388
    Rep Power
    1871
    http://superuser.com/questions/99066...s-command-line
    Either set the scroll-back buffer of your console to some large number, or use redirection to send the output to a file.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper

IMN logo majestic logo threadwatch logo seochat tools logo