[EMAIL PROTECTED] writes:
> #include
> #include
Are you posting homework assignments here, or are you unaware of the
much simpler ways to do this?
--
Alan Shutko <[EMAIL PROTECTED]> - In a variety of flavors!
If this fortune didn't exist, somebody would have invented it.
#include
#include
using namespace std;
void process_file(int argc, char **argv);
void process_stdin();
void check_char(char &ch);
int main(int argc, char **argv)
{
if(argc > 1)
process_file(argc, argv);
else
process_stdin();
return 0;
}
void process_file(int argc,
2 matches
Mail list logo