Functions problems!

This is a discussion on Functions problems! within the C Programming forums, part of the General Programming Boards category; Is there a function called clrscr() defined in stdio.h or conio.h??? If not, how can I do a simple cls? ...

  1. #1
    Registered User
    Join Date
    Jun 2002
    Posts
    75

    Functions problems!

    Is there a function called clrscr() defined in stdio.h or conio.h??? If not, how can I do a simple cls?
    Where can I get a complete list of all the predefined functions C has and what they do??
    ---Programming is like roaming, you never know where you'll end at------

    If 'here' is pronounced as 'hear', why 'there' isnt pronounced as 'dear'??

    paninaro3000@yahoo.com

  2. #2
    Im back! shaik786's Avatar
    Join Date
    Jun 2002
    Location
    Bangalore, India
    Posts
    345
    >Is there a function called clrscr() defined in stdio.h or conio.h???
    Yes, there is! It is from the conio.h library.

    >If not, how can I do a simple cls?
    system("cls");

    >Where can I get a complete list of all the predefined functions C has and what they do??
    Only the functions defined by ANSI C maybe available with all compilers. And on the other side, each compiler might offer it's own set of functions. You really need to check the documentation on your compiler for the list of functions it can provide.
    For a list of ANSI C functions, check this

  3. #3
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,789

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Attaching functions to a class/struct
    By VirtualAce in forum Tech Board
    Replies: 2
    Last Post: 08-04-2003, 10:56 AM
  2. Replies: 6
    Last Post: 05-06-2003, 03:08 PM
  3. Problems with functions in a class with pointer to self
    By BigDaddyDrew in forum C++ Programming
    Replies: 6
    Last Post: 02-03-2003, 10:24 PM
  4. problems passing parameters between functions
    By Unregistered in forum C Programming
    Replies: 2
    Last Post: 11-21-2001, 10:41 AM
  5. problems with functions
    By catalyst in forum C Programming
    Replies: 2
    Last Post: 11-18-2001, 05:55 AM

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