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
Hi is there any chance to get assignment for fresher tutor

Both malloc & new functions are utilized for dynamic memory allocations & the basic difference is: malloc need a special "typecasting" while it allocates memory for eg. if the poin

#include #include #include #include #include class Employee { private: char *Name; //Set them as pointers... int IdNumber; char *Department; char *Position; public: voi

Q: In p = new Fred(), does the Fred memory "leak" if  Fred constructor throws an exception? A: No.         If an exception take place during the Fred constructor of p = new F

Create an applet that bounces a blue ball inside an applet using Thread. The ball (diameter is 10) will start at position (0,0). When the ball hits the edge of the applet, the ba

how to create the programs in c++ knowledge

Program to find a Greatest String: C - Program: Write a program find largest string by c program. int main( int argc, char *argv[] ) {     if( argc         {

Program is to find the maximum from two numbers: Program is to find the maximum from two numbers entered by the user having pointer variable as parameter void main()   {

how to make a game

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. #include float start_point,