Search:

Type: Posts; User: DarkboyBlue

Search: Search took 0.00 seconds.

  1. Replies
    6
    Views
    84,617

    so I have to #include and then...

    so I have to #include <stdlib.h>
    and then whereever I want to clear the screen I simply throw in system("clear"); ??

    Remember I am programming in Linux so I don't use bordland.


    :)

    thanks...
  2. Replies
    6
    Views
    84,617

    How do I clear screen in a C program?

    Hi. Kinda new to C. After I ask a user >

    printf("Please type your first name");
    scanf("%s", &name);

    /* I now want to clear screen

    puts("Now enter your age");
    scanf("%d", &age);
Results 1 to 2 of 2