jmnote@zetawiki:~$ cat a.cpp #include <iostream> using namespace std; int main() { int x=10; int y=25; int z=x+y; cout<<"Sum of x+y = " << z << "\n"; }
jmnote@zetawiki:~$ g++ a.cpp jmnote@zetawiki:~$ ./a.out Sum of x+y = 35
CC-BY-SA 3.0 · Powered by MediaWiki
개인정보처리방침 · ABOUT