All is true,but doesn't mean that we don't need to operate with bits directly.
First of all the answer is no. The only way that I found is bitwise operations.
Here is how I implemented this:
char soh = '/a'; // I din't...
No need, thanks! I found the answer.
Is there is some option to set binary value to a variable in c++ ?
Ok, I see that I didn't explain myself well enought. Sorry, that is since my poor English :(
I will try again :)
First of all the example I gave...
I will try it.
I'm new in c++,so I need to explore all these options.
Yes, that is not what I need.
Thank you very much!!!!!!!!!!
I think I've done it.
One more question: Regarding double and int. Actually I don't need double, but I need 64 bit...
What is the difference?
do you mean itoa? No, it represents an integer/double.
I want to convert double to string, when binary value stays the same.
I need to convert double data type to a string. I don't want to convert the value.
That's mean : if I have
double a = 1;
Separate names with a comma.