User profile: mp121209

User info
User name:mp121209
History
Joined:
Number of posts:15
Latest posts:

looping
[code]#include <iostream> int main () { while (1) { static int i = 1; std::cout << i << std::e...

How I can check if a variable is initialized?
Hello, I have a question, If I have a variable, such as a pointer, but I don't know if it is initi...

Character array comparison
[code]#include <iostream> #include <string> int main() { std::string Choice; std::cin ...

How do you convert a string into a char array?
Do you mean you want to get a c-like string from a string? I think you can use function c_str() to ...

using regular expression to change to uppercase, how to?
but i want to use regular expression, it is provided in header file <regex>, something like /.#$*()(...