Click to See Complete Forum and Search --> : C++ programs in linux


Ndhlpwlinux
10-20-2001, 09:03 AM
hello all,

im pretty much a newbie in c++, ive just gotten through classes, just so you know where i am at. I was just wondering when people make utility programs for linux, if they use special libraries to output commands to a linux commandline? If so what are the names of these libraries and where can i find them?

thanks for the help

joe

*sorry if these questions sound retarted

MrNewbie
10-20-2001, 11:00 AM
What you mean like system()? That will let you execute commands. Outputting to the console can be done with printf() if that's what you mean, or cout << ""; since you're using C++.

Ndhlpwlinux
10-20-2001, 11:09 AM
no i was just trying to write a basic program, all i was gonna do was just list my root directory and see if i could save it to a text file, i just wanted to know how to send that command to the system

thanks,

Joe