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
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.

What are the benefits of using friend classes? - Friend classes are useful when a class wants to hide features from users which are required only by another, tightly coupled cl


A palindrome is a string that reads the same from both the ends. Given a string S convert it to a palindrome by doing character replacement. Your task is to convert S to palindrome

Bubble sort C program: Write a program to define a bubble sort. void main()  {   clrscr();   int a[100],ch,n;   cout   cin>>n;   for (int i=0;i

We can combine more than one variable on the same line i.e.   float number1,number2,number3; etc Sometimes we want to mix the variable types used on the same line, this could

Develop a .NET wrapper for a C++ Dll Project Description: We have a classic VC++ Dll that requires a .NET wrapper built by you. Use latest Visual Studio and .Net framework sh

Inline functions, C++ provides inline functions to help reduce function_call overhead especially for small functions. The qualifier inline before function's return type in the f

#At a shop of marbles, packs of marbles are prepared. Packets are named A, B, C, D, E …….. All packets are kept in a VERTICAL SHELF in random order. Any numbers of packets with the

There are ''''n'''' ants on a ''''n+1'''' length rod. The ants are numbered from 1 to n and are initially placed at positions starting from position 1 till position n. They are mov