Pano po ba mag delete ng record sa c++?
e.g
ID name Lastname Age
1 sonny barliso 22
2 John Cenna 23
3 mark soccerberk 24
pano po e delete ang i.d number 2?
actually c languange ang program na ginagawa ko pero gusto kung malaman pano sya sa c++ ginagawa total pareho lang naman sila, ang pagkakaiba lang sa syntax
sana may makatulong
ito yung code sa c languange
fclose(fp);
fclose(ft);
remove("student.txt");
rename("temp.txt","student.txt");
Tol retrieve mo yang data from txt file tapos gamit ka ng delimeter dito sa example mo ay space tapos ilagay mo sa array tapos compare mo yang value sa input ng user . If match e delete mo ang array with index nung nagmatch.
Ang dami ng thread tungkul dyan sa You do not have permission to view the full content of this post.Log in or register now.
I do hope na di bawal mag share ng link ng ibang forum dito
Tol retrieve mo yang data from txt file tapos gamit ka ng delimeter dito sa example mo ay space tapos ilagay mo sa array tapos compare mo yang value sa input ng user . If match e delete mo ang array with index nung nagmatch.
Ang dami ng thread tungkul dyan sa You do not have permission to view the full content of this post.Log in or register now.
I do hope na di bawal mag share ng link ng ibang forum dito