* Ryan Waye:
I have looked extensively, and I have been unable to find commands that
allow a C++ program to manipulate other files.
The standard C++ library has many type-safe classes that do that; have
you looked at e.g. std:
fstream?
The standard C library has many somewhat more unsafe functions and
structures. Have you looked at e.g. std::fprintf?
The C routines are generally way more efficient (but less safe) than the
C++ classes. And for even greater efficiency and less safety you can
use platform-specific functionality. Or de-facto portable, the old Unix
'read' and 'write' functions (they appear in different header files
depending on the compiler, and some compilers may not support them).
How do I make C++ do simple things like copy and past files
Assuming you mean copy and paste as in a GUI, that is not simple, and
it's platform-specific.
If you really need what you seem to be saying (probably not, but
anyway), then you need to use platform-specific functionality.
Consider that many platforms C++ is used on do not have GUI's.
and navigate directories?
The standard (C plus C++) library does not help you out there. However,
it's not quite in platform-dependent land. For example, take a look at
Also,
where is a good command reference that I can use so I dont have to post
these annoying questions?
Read the FAQ (go google).
Get yourself "The C++ Programming Language" plus "Accelerated C++".
Get yourself a copy of the C++ standard and/or the CD2.
Get yourself documentation for your specific platform(s) and
compiler(s).
And so on... ;-)