Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is ascii character 255 an invisible character or space?

Tags:

c++

ascii

I am writing some code to print overlapping ASCII character objects and I want some to be invisible instead of the typical " " white space character. Would this solve it?

cout << char(255);
like image 863
Dljcali Avatar asked Feb 14 '23 01:02

Dljcali


1 Answers

In the most common extended 8-bit ASCII tables 255 is the 'ÿ' symbol (Latin small letter y with diaeresis). The space character is decimal value 32. So what you are searching for is probably:

cout << char(32);
like image 87
lou Avatar answered Mar 06 '23 07:03

lou