can anybody make from this line an variabel (a string) (long or char variable or both) std::cout << "\n0x" << std::string << newCrc << std::endl; please help.. whole code here
Bill has the key to the \'blue\' screen by tux
I'm not sure exactly what you are asking. Do you want "\nox" to be in a string called newCrc? if so something like this would be fine: using std::cout; using std::cin; using std::string; int main(){ string newCrc; cout << "Enter sting: "; cin >> newCrc; cout << newCrc << '\n'; return 0; } Hope that helps.
Ben Franklin said it best. \"They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.\"
i would help you but i dont quite understand what your asking... explain it a little bit more
-------------------------- http://www.arg-irc.com
ok, here's what you do... think b4 about what you're trying to say.. put them in words that makes sense .. then present them in text..
Tha all mity Rodent!
I have already the answer thx
Forum Rules