#include <iostream>
int main()
{
std::cout << "??=" << " "; // #
std::cout << "??//" << " "; // /
std::cout << "??'" << " "; // ^
std::cout << "??)" << " "; // ]
std::cout << "??(" << " "; // [
std::cout << "??!" << " "; // |
std::cout << "??<" << " "; // {
std::cout << "??>" << " "; // }
std::cout << "??-" << " "; // ~
std::cout << std::endl;
}
// Output: # / ^ ] [ | { } ~
References:https://en.wikipedia.org/wiki/C%2B%2B17
https://stackoverflow.com/questions/1234582/purpose-of-trigraph-sequences-in-c
No comments:
Post a Comment