Skip to content

Instantly share code, notes, and snippets.

@nkoneko
Last active December 18, 2020 05:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nkoneko/4f5622b53e402a9b7a487b8d0efc4c86 to your computer and use it in GitHub Desktop.
Save nkoneko/4f5622b53e402a9b7a487b8d0efc4c86 to your computer and use it in GitHub Desktop.
入門記事のコード
#include <iostream>
int main() {
std::cout << "Hello World!\n";
}
#include <iostream>
int main() {
std::cout << "Hello Work!" << std::endl;
}
#include <iostream>
int main() {
std::cout << "Hello," << std::endl << "Everyone." << std::endl;
}
#include <iostream>
int main() {
int x = 1;
std::cout << "x=" << x << std::endl;
x = 2;
std::cout << "x=" << x << std::endl;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment