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
answer for tcs is working question

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

#include using namespace std; void print(int marks_arr[],int cnt) { int ind[cnt]; int i=0; int j=0; int k=0; int s=0; for(k=0;k { ind[k]=0; } int cnt1=0; for(i=0;i

main() { int a[5]={1,3,6,7,0}; int *b; b=&a[2]; } The value of b[-1] is

how can i write reverse digit function like writing 1234 and printing 4321

Project Description: Prepare software that will work with our USB hardware that easily lets you backup all the pictures in your computer into the USB stick in one single step. Once

Q: however shouldn't I always use a printOn() method instead of a friend function? A: No. The usual cause people wish to always use a printOn() method instead of  a friend fu

The Special Pointer 'this' When various instances of a class come into existence, it naturally follows that each instance has its own copy of member variables. If this were not

Smugglers are becoming very smart day by day. Now they have developed a new technique of sending their messages from one smuggler to another. In their new technology, they are send

Define some features of register storage class in c program? The feature of variable defined to be of register type all as follows: Storage - CPU registers Default initia