C program to store all ascii char into a file, C/C++ Programming

Program is to store all ASCII char into a file:

void main()

 

  {

  ofstream  fout("ascii.txt");

  int i,n=256;

  for(i=1;i<=n;i++)

    {

    fout<

    }

    fout.close();

  }

 

 

Posted Date: 10/19/2012 5:39:01 AM | Location : United States







Related Discussions:- C program to store all ascii char into a file, Assignment Help, Ask Question on C program to store all ascii char into a file, Get Answer, Expert's Help, C program to store all ascii char into a file Discussions

Write discussion on C program to store all ascii char into a file
Your posts are moderated
Related Questions
The rPeANUt simulator provides buffering of the characters that are typed into the terminal. However, this would generally not be the case so if the program did not consume a chara

I need the c++ program of class bank accout including balance,rate of interests

What if one can''t wrap the local in an artificial block?

Write a program to find the area under the curve y = f(x) between x = a and x = b, integrate y = f(x) between the limits of a and b. The area under a curve between two points can b

3. Write a program to encrypt and decrypt strings of characters using the following ciphers: a) Caesar cipher b) Vigenere cipher c) Matrix transposition cipher Your program shoul

Friend function in c++: class miles; class km  {    float value;    public :   // void input();     km convert(km  ,int a ) ;    void output()    {

This problem familiarizes you with using random numbers in C++. The program is to compute a good approximation of π using a simulation method called "Monte Carlo". The following fi

Structures A structure is a derived data type. It is a combination of logically related data items. Unlike arrays, which are a collection of such as data types, structures can

The game of hangman may have originated in the Victorian era, and involves trying to guess a word by suggesting letters. The game is played as follows: A word is chosen and the pl

A container class is a class which is used to hold objects in external storage and memory. A container class work as a generic holder. A container class contains a predefined behav