What am I suppose to add here to buffer the weird sequence of numbers and letters?
/*------------------------------------------------------------------
* Assignment 4: Breaking the Code. Nested loops, command-line arguments..
*Worth: 50 points.
60 points if you write a "general purpose" program which can
process ANY of the "document??.cry" files from the command line.
20 extra credit points if you write a program which attempts
to open argv[2] as an input file, and if it fails, or if there is
no argv[2], it switches to using stdin.
*Made by: Samuel Georgeo (max11)
Create a program which attempts to "break" the encoding and reveal
what the secrets are that each file contains.
-------------------------------------------------------------------*/
#include <iostream>
using std::cout;
using std::cin;
using namespace std;
int main (int argc, char *argv[], char **env)
{
int nulls = atoi (argv[2]);
do {
int c = cin.get() ;
cout.put(c) ;
} while ( ! cin.eof()) ;
}