i use from file (text file)for take word of file i must pass space
but i dont knw it and for goinnig to next line in file what do i?

If you use c++ ifstream or fstream class you can use getline() to get the entire line

ifstream in("filename");
std::string line;

while( getline(in,line) )
{
   // blabla
}
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.