krnekhelesh 16 Junior Poster

Ubuntu is currently the best linux distribution after Mandriva and OpenSuse. It is suited for users new to linux, and are thinking of migrating from windows to linux.

Ubuntu releases a new version every 6 months thereby you are always updated to the latest softwares, better driver support etc. And it comes pre-installed with the basic softwares required for internet browsing, watching movies, listening to music etc...

The link below is very useful to get you started with ubuntu.
http://www.psychocats.net/ubuntu/

krnekhelesh 16 Junior Poster

Yeah I agree with vijayan. File pointers like seekg(),tellg() work correctly only with Binary Files where the read() and write() functions are used.

krnekhelesh 16 Junior Poster

Can't you instead use gets() function?

#include<iostream.h>
#include<conio.h>

int main()
{
  char name[25];
  cout<<"Enter the name of the customer: ";
  gets(name);
  cout<<name;
}

gets(name); inputs the name with all the blanks and everything.Thats the difference between cin and gets.

iamthwee commented: Nope:) -2
~s.o.s~ commented: There are better methods of accepting user input. Read the C/C++ tutorials of this site. +24