Data file handling related program:
--------------------------------------------------------------------------------------------------------------------
1)WAP to store data/character in a datafile.
or
program to understand putc() to store data(one character).
solution
2)WAP to read data/character from opened file.
or
program to understand getc() to read a character from opened file.
solution
WAP to store data/character in an opened file then read that character and print on screen in same program.
solution.
3)WAP to store integers in a data file.
solution or
WAp to read that stored integers in previuos qusetion(3).
solution
or
Program to understand getw() to read,and putw() to store a number in an opened file in same program.
solution
4)WAP to store and read data stored in a data file (q3) using fprintf() and fscanf() function.
solution
5)WAP to store roll,name and percentage of some students in a data file.
or
solution
WAP to read roll,name and percentage of some students from a data file (previous question).
solution
program to read data stored in a datafile and print on screen using fread().
solution
Write a program to write/store record and read from data file. THis data file contains employee name and salary. Use fread () and fwrite().
solution
7)Write a program to store book_id,book_name and book_price of some books to a data file until you say 'n'. Then same file displays all records.
solution
8) USe 'struct ' concept to store employee id,first name and salary to a data file until you say 'n'. Then display all those stored records.
solution
9)Program to understand remove() function.
solution
solution
10)Program to understand rename() function.
solution
solution
11) Program to understand ftell() function.
solution
12)Program to understand fseek() function.
solution
13)Program to understand rewind() function.
solution
--------------------------------------------------------------------------------------------------------------------
1)WAP to store data/character in a datafile.
or
program to understand putc() to store data(one character).
solution
2)WAP to read data/character from opened file.
or
program to understand getc() to read a character from opened file.
solution
WAP to store data/character in an opened file then read that character and print on screen in same program.
solution.
3)WAP to store integers in a data file.
solution or
WAp to read that stored integers in previuos qusetion(3).
solution
or
Program to understand getw() to read,and putw() to store a number in an opened file in same program.
solution
4)WAP to store and read data stored in a data file (q3) using fprintf() and fscanf() function.
solution
5)WAP to store roll,name and percentage of some students in a data file.
or
solution
WAP to read roll,name and percentage of some students from a data file (previous question).
or
solution
WAP to store and read roll,name and percentage of some students to /from a data file using same program.
solution
.
6) program to store data (employee name and salary) in a data file using fwrite().solution
WAP to store and read roll,name and percentage of some students to /from a data file using same program.
solution
.
solution
program to read data stored in a datafile and print on screen using fread().
solution
Write a program to write/store record and read from data file. THis data file contains employee name and salary. Use fread () and fwrite().
solution
7)Write a program to store book_id,book_name and book_price of some books to a data file until you say 'n'. Then same file displays all records.
solution
8) USe 'struct ' concept to store employee id,first name and salary to a data file until you say 'n'. Then display all those stored records.
solution
9)Program to understand remove() function.
solution
solution
10)Program to understand rename() function.
solution
solution
11) Program to understand ftell() function.
solution
12)Program to understand fseek() function.
solution
13)Program to understand rewind() function.
solution
No comments:
Post a Comment