You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
c++의 DAG 생성에 대해
g++ -std=c++11 -o hw3 hw3.cpp
로 실행하라고 되어있는데 그대로 쓰면 오류가 생깁니다.
우분투 가상머신 환경인데, 시행착오를 거치니
g++ -std=c++11 -o hw3 main.cpp hw3.cpp
과 같이 중간에 main.cpp를 넣어야 잘 작동하더라고요.
혹시 저와 같은 문제가 생기는 분은 참고하시면 좋을 것 같습니다.