Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

ascii allowed in c++

#include <iostream>
int main()
{
  std::cout << "Printable ASCII [32..126]:
";
  for (char i = ' '; i <= '~'; ++i) {
    std::cout << i << ((i % 16 == 15) ? '
' : ' ');
  }
}
Source by en.cppreference.com #
 
PREVIOUS NEXT
Tagged: #ascii #allowed
ADD COMMENT
Topic
Name
2+9 =