Skip to content

spec에서 c++ 실행 관련 질문 #72

@sunjayoh

Description

@sunjayoh

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions