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 :eek:
Printable View
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 :eek:
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.
i would help you but i dont quite understand what your asking... explain it a little bit more
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..
I have already the answer
thx