>>that bool takes only one bit -> but how am I going to make char from one bit
No, the bool data type takes a whole byte (or possibly int) because a byte is the smallest addressable object. If you are unsure about the size of something you can easily find out like this: cout << "sizeof(true) = " << sizeof(true) << '\n';
Are you asking how you can read all the RAM you have in memory? I know it can be done because antivirus scanners do it. Don't ask me how because I don't know.
As for converting numbers into something readable, I don't think that would be possible. All the bytes of RAM contain a numeric value between 0 and 255. How to interpret that data will be up to the program that wrote in those memory spots. External programs will have no clue about what the data means.
Ancient Dragon
Retired & Loving It
30,049 posts since Aug 2005
Reputation Points: 5,662
Solved Threads: 2,343
>> however there may be more helpful answer because linux is open source
That has nothing to do with it. A byte is a byte no matter what the operating system (although it is true that not all bytes are created equal -- they may have different number of bits).
Ancient Dragon
Retired & Loving It
30,049 posts since Aug 2005
Reputation Points: 5,662
Solved Threads: 2,343