C++ input for the user

Status
Not open for further replies.

emperror123

Member level 5
Joined
Dec 11, 2010
Messages
86
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,288
Activity points
1,880
dear all
i would like to ask is there anyway to make the word entered become bold?
i have make a research through all over internet and book and it didnt mention about it
is there anyway to solve?

i using window console and using library iostream only currently
thank
 

For a C++ programmer, there is no such thing called a string. What you have is Zero-terminated char arrays, also known as "C-strings".The std::string class is a standard representation for a string of text. It can be constructed from a C-style string, and a C-style string can also be obtained from it.

So no predefined method in c++ to make a string upper case.

If if not so important to avoid pointers. Use it to manipulate a string.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…