No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
4 Posted Topics
I'm using visual c++ compiler and I want to change the text color in my c++ dos program. What choices do I have if i don't wanna use system function (example: system("color 0a"))? | |
Re: The code you given has some error, are you sure you are giving the right code? Anyway, the output should be: x x cause ptr1 has been assigned to the address of var2. When you output the value of *ptr1, it will refer to the value of that address. | |
Re: Here's your error: cout>>"How old are you <<name<< " ?:\n" ; cout>> "so what grade are you in?: "; Use << operator for cout and remember to add " at the end of the sentence. | |
I :cheesy: want to input a string but instead of showing the real characters on the screen, i want all to be astericks. Can anybody help me to solve this? |
The End.