Results 1 to 8 of 8

Thread: headers...

  1. #1

    Thread Starter
    Hyperactive Member Sacofjoea's Avatar
    Join Date
    May 2000
    Location
    Never Never Land
    Posts
    472

    headers...

    ok well just got into C++, really got into it, and getting tired of all these undefined functions cause I dont have the needed header files.. SOOO since the compiler builds it all into the exe when compiling, would it be wise to just download tons of header files and just put in the include dir?
    That arranged can be

  2. #2
    Lively Member FantastichenEin's Avatar
    Join Date
    Mar 2000
    Location
    dairy
    Posts
    106
    You should have most of the headers that'll you'll need included with your compiler.

    Headers are written for a specific library so you cannot really download a load of headers and use them.
    ****

  3. #3

    Thread Starter
    Hyperactive Member Sacofjoea's Avatar
    Join Date
    May 2000
    Location
    Never Never Land
    Posts
    472
    ok well does anyone have a list of the commands vc++ supports along with the header files each one uses? like why does conio.h not have clrscr anymore? what is vc++'s equivilent?
    That arranged can be

  4. #4
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    clrscr() is non-portable, as is conio.h, therefore you cannot rely on it being there.
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  5. #5

    Thread Starter
    Hyperactive Member Sacofjoea's Avatar
    Join Date
    May 2000
    Location
    Never Never Land
    Posts
    472
    so what should I use instead?
    That arranged can be

  6. #6
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    Well...you could use system("cls"). I wonder if anyone's ported ncurses to Windows, would be useful.
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  7. #7
    Lively Member FantastichenEin's Avatar
    Join Date
    Mar 2000
    Location
    dairy
    Posts
    106
    What is ncurses?
    ****

  8. #8
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    It's a terminal-control library for Unix systems. Google
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width