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
In order to override a method, a subclass of the class which originally declared the method have to declare a method along with the same name, return type (or a subclass of that re

Bit-wise Operators Some applications require operations to be done on dissimilar bits of a byte separately. Bit-wise operators offer a facility to do just that. There are vario

Q: But operator overloading makes class look ugly; isn't it assumed to make my code clearer? A: Operator overloading makes life simpler for the users of a class, not for develop


Constructors By definition, a constructor function of some class is a member function that automatically gets implemented whenever an instance of the class to which the constru

i am using mobile phone if i want to communicate via massage but that should be very secret

Write a program called OddEven that will prompt the user for an integer and print/display a message indicating whether it is even or odd. Continue prompting for numbers from the us

A: Along with the C++ language, you can overload operators and functions. Overloading is the practice of supplying more than one definition for a provided function name in the same

Example for external storage class - computer programming? extern double sin (double); In a function prototype, for the sin() function its function definition ~ we can write

Scope Rules and Storage Classes The storage class verifies the life of a variable in terms of its duration or its scope. There are four storage classes : automatic static