Major subject3 [데이터구조] c++ programming using linux dongjun@DESKTOP-L938ISF:~$ vi [test].cpp // [test].cpp 파일 제작 및 확인 dongjun@DESKTOP-L938ISF:~$ ls '[test].cpp' dongjun@DESKTOP-L938ISF:~$ g++ [test].cpp -o [exe] dongjun@DESKTOP-L938ISF:~$ ls '[exe]' '[test].cpp' dongjun@DESKTOP-L938ISF:~$ ./[exe] 0 hello world 1 hello world 2 hello world 3 hello world 4 hello world 5 hello world 6 hello world 7 hello world 8 hello world 9 hello world 10 hello wor.. 2022. 3. 8. website for c++ & c study https://dojang.io/course/view.php?id=2 c언어 코딩도장 https://modoocode.com/135 씹어먹는 c++ https://youjing.tistory.com/29 2022. 3. 8. c++ programming using Linux example: dongjun@DESKTOP-L938ISF:~$ vi [test1].cpp dongjun@DESKTOP-L938ISF:~$ g++ [test1].cpp -o [test1] dongjun@DESKTOP-L938ISF:~$ ls '[test1]' '[test1].cpp' dongjun@DESKTOP-L938ISF:~$ ./[test1] hello dongjun@DESKTOP-L938ISF:~$ vi [test2].cpp dongjun@DESKTOP-L938ISF:~$ g++ [test2].cpp -o [test2] [test2].cpp: In function ‘int main()’: [test2].cpp:7:6: error: ‘i’ was not declared in this scope 7 .. 2022. 3. 8. 이전 1 다음