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

Recommended Answers

All 5 Replies

Member Avatar for iamthwee

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

Member Avatar for iamthwee

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 developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.