I want to do the following things in a single program

1) Read a name in the form of string from user
2) Convert it into uppercase if the name is in lower case
3) Now i need to open a file which is already exisiting in some other path ( i mean the unix directory path )
4) and need to check line by line in the file if the given name is there in the opened file.


This very urgent .please help me immediatly.

Thanks

I want to do the following things in a single program

1) Read a name in the form of string from user
2) Convert it into uppercase if the name is in lower case
3) Now i need to open a file which is already exisiting in some other path ( i mean the unix directory path )
4) and need to check line by line in the file if the given name is there in the opened file.


This very urgent .please help me immediatly.

Thanks

Which language c or c++?

Which language c or c++?

I wan this to be done in C++ using classes

I wan this to be done in C++ using classes

Are you allowed to use std::strings?

And post what you have done so far.

Be a part of the DaniWeb community

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