Hi everybody!
I'm a newbie to C++ and I need some help to improve my skills in c++.
*When you make input data "cafe monde" into a string variable, the variable only accept "cafe" and not the white space and "monde". What should I do to retrieve white space, "monde" and "cafe" into the same string variable after data input?
*Another obstacle I'm facing is to convert char to string. The char also can contain white space or numbers/alphabets. I tried findin' the solution on Internet but I don't really understand the conversation or the code don't work.
/Fullmetalboy
I'm a newbie to C++ and I need some help to improve my skills in c++.
*When you make input data "cafe monde" into a string variable, the variable only accept "cafe" and not the white space and "monde". What should I do to retrieve white space, "monde" and "cafe" into the same string variable after data input?
*Another obstacle I'm facing is to convert char to string. The char also can contain white space or numbers/alphabets. I tried findin' the solution on Internet but I don't really understand the conversation or the code don't work.
/Fullmetalboy
Comment