g++1 My first g++ compile ever #include #include using namespace std; int main() { string s = "ABCDEF" "GHIJKLMNOP" "QRSTUVWXYZ\n"; cout return 0; } gcc is for compiling c source code.And g++ is for compiling c++ source code. Though you can use gcc to compile c++ source code, they recommend to use g++ to compile c++ source code. g++ test.cpp -o test./test The .. 2023. 7. 12. 이전 1 다음