PDA

Click to See Complete Forum and Search --> : headers...


Sacofjoea
Nov 5th, 2002, 09:03 PM
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?

FantastichenEin
Nov 6th, 2002, 03:49 AM
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.

Sacofjoea
Nov 6th, 2002, 04:17 PM
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?

parksie
Nov 6th, 2002, 04:19 PM
clrscr() is non-portable, as is conio.h, therefore you cannot rely on it being there.

Sacofjoea
Nov 6th, 2002, 04:44 PM
so what should I use instead?

parksie
Nov 6th, 2002, 04:47 PM
Well...you could use system("cls"). I wonder if anyone's ported ncurses to Windows, would be useful.

FantastichenEin
Nov 7th, 2002, 03:40 AM
What is ncurses?

parksie
Nov 7th, 2002, 05:18 AM
It's a terminal-control library for Unix systems. Google :)