View Single Post
Old Feb 21st, 2008, 10:34 PM   #4
Sane
Programming Guru
 
Sane's Avatar
 
Join Date: Apr 2005
Location: Waterloo, Ontario
Posts: 1,835
Rep Power: 5 Sane will become famous soon enough
Send a message via MSN to Sane
Re: Help with a file

This is what Ancient Dragon was telling you to do:

CPP Syntax (Toggle Plain Text)
  1. int main ( long argc, char *argv[] )
  2.  
  3.  
  4. {
  5. char file_in_name[80];
  6. int i;
  7.  
  8.  
  9. if ( argc <= 1 )
  10. {
  11. cout << "\n";
  12. cout << "HEXDUMP:\n";
  13. // cout << " Please enter the name of a file to be analyzed.\n";
  14.  
  15. // cin.getline ( file_in_name, sizeof ( file_in_name ) );
  16.  
  17. handle ( "test.txt" );
  18.  
  19. }
Sane is offline   Reply With Quote