How to create a data file, C/C++ Programming

Assignment Help:

How to Create A Data File?

A data file should be created before it can be processed. A stream-oriented data file is able to be created in two ways. One is to create the file straight, using a word processor or a text editor and the other is to write a program that enters information into the computer and then writes it out to the data file. Unformatted data files are able to only be created with such specially written programs.

While creating a new data file with a specially written program the standard approach is to enter the information from the keyboard and then write it out to the data file. If the data file consists of individual characters the library functions putc and getchar be able to be used to enter the data from the keyboard and to write it out to the data file. 


Related Discussions:- How to create a data file

Flowchart, create a flowchart that display the assume that there are 3 sect...

create a flowchart that display the assume that there are 3 section each student ?

Encoding and decoding, program for decode the encoded numbering format into...

program for decode the encoded numbering format into message

When i develop a destructor, When I develop a destructor, do I require to e...

When I develop a destructor, do I require to explicitly call the destructors for my member objects?

Sentinel controlled loop, develop an algorithm using pseudocode for computi...

develop an algorithm using pseudocode for computing cos(x) and sin(x). use a sentinel controlled while loop. use the series definition of e^+-jx

Explain different implementations of oop, Different implementations of OOP ...

Different implementations of OOP Object-oriented programming is not mainly concerned with the details of the program operation. Instead, it deals with the overall design of the

Switch...case, Write a function to accept a character and display it 40 tim...

Write a function to accept a character and display it 40 times.

How virtual functions can be implemented in c++?, Normal 0 fals...

Normal 0 false false false EN-US X-NONE X-NONE

.Change to palindrome, A palindrome is a string that reads the same from bo...

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

File processing, Write a C++ program doing the following: The program reads...

Write a C++ program doing the following: The program reads from the keyboard the numbers of rows and columns of a 2-D array of integers. Then, it allocates this array (let’s name i

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd