Hi. I have one silly problem. I'm trying to read from file with ReadFile.read(ReadBuff, 1);
char by char and i need to convert them to ascii code. With normal ascii symbols it's all right. But them i'm trying to convert extended ascii symobl to ascii code it gives me negative value. I'm using int ascii = int(ReadBuff);
Any ideas?
lukename 0 Light Poster
gerard4143 371 Nearly a Posting Maven
lukename 0 Light Poster
gerard4143 371 Nearly a Posting Maven
lukename 0 Light Poster
gerard4143 371 Nearly a Posting Maven
lukename 0 Light Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.