Forum: C++ Aug 29th, 2004 |
| Replies: 10 Views: 57,533 Thanks, FireNet. But the trick doesn't work for microsoft visual c++ 6.0 compiler, is there any function that i can use to change text color using visual c++? |
Forum: C++ Aug 27th, 2004 |
| Replies: 10 Views: 57,533 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"))? |
Forum: C++ Aug 27th, 2004 |
| Replies: 17 Views: 4,507 :o sorry, just now i refer to the first code that you given. The right answer is s s. |
Forum: C++ Aug 27th, 2004 |
| Replies: 9 Views: 4,955 Thanks, guys. Problem solved. |
Forum: C++ Aug 27th, 2004 |
| Replies: 9 Views: 4,955 Thanks, Dave. I'll try it out and see if it can sole the problem or not. |
Forum: C++ Aug 27th, 2004 |
| Replies: 9 Views: 4,955 No, that's not what i'm talking about. What I want is when I enter a string, the asterisks will come out on the screen. Just like when you enter your password to log in to this website. |
Forum: C++ Aug 27th, 2004 |
| Replies: 17 Views: 4,507 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... |
Forum: C++ Aug 27th, 2004 |
| Replies: 9 Views: 4,955 No, not on a windows dialog. Actually i'm writing a program in dos mode and want to set up a password. Is there any c++ function that can help me to solve this? |
Forum: C++ Aug 27th, 2004 |
| Replies: 5 Views: 4,001 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. |
Forum: C++ Aug 26th, 2004 |
| Replies: 9 Views: 4,955 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? |