Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~494 People Reached
Favorite Tags
Member Avatar for utkarsh009

If i uncomment the lines in between, all the records get deleted. Why?? void Hatao() { int no; system("cls"); cout<<"\n\n\n\tDelete Record"; top:cout<<"\n\nPlease Enter The roll number of student You Want To Delete: "; cin>>no; fp.open("student.dat",ios::in|ios::ate); fp.seekp(0,ios::beg); fp.seekg(0,ios::beg); fstream fp2; fp2.open("Temp.dat",ios::out); //int flag=0; //if (st.retrollno()==no) //flag=1; //if (flag==0) //{ // cout<<"\nRecord …

0
99
Member Avatar for Siberian

I'm looking for a Linux version that is equal to Windows7, has a virtual machine built in so I can run all my Windows programs and a distro that makes it a real argument over installing Windows7 because of it's features, ease of use and compatibility with most or specifically …

Member Avatar for pogson
0
138
Member Avatar for utkarsh009

Will the older c++ commands (leaving that of conio.h) work with a new compiler like g++ if i use "using namespace std;" and use 'int' with main() rather than 'void' and don't use .h for including a header file?

Member Avatar for Ancient Dragon
0
76
Member Avatar for utkarsh009

everything worked for me in turbo c++ but not in g++. tell me why do i always have to use "using namespace std;" while compiling with g++? also there is no conio.h, so how do i use the command: getch () then?

Member Avatar for Ancient Dragon
0
181