Thread: Functions problems!

  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'??

    [email protected]

  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,793

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, 11:24 PM
  4. problems passing parameters between functions
    By Unregistered in forum C Programming
    Replies: 2
    Last Post: 11-21-2001, 11:41 AM
  5. problems with functions
    By catalyst in forum C Programming
    Replies: 2
    Last Post: 11-18-2001, 06:55 AM