Skip to content

InSooBeen/INHA_OSAP_003_6

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

213 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

License

MIT License

Copyright (c) 2025 INHA_OSAP_003_6

This project is licensed under the MIT license found in the LICENSE file in the root directory of this source tree.

File : README.md
Author: INHA_OSAP_003_6
Date : 2025-11-26

g++을 사용한 main compile 방법

  • WSL에서 프로젝트 폴더를 open합니다.
  • 터미널에 아래 명령어를 입력하여 컴파일합니다.
    g++ -O2 -I. src/main.cc src/avlset_basic.cc src/avlset_search.cc src/avlset_update.cc -o main.exe
    
  • 돔저지에 첨부된 input파일(ex. sample-Advance.1.in) 을 프로젝트 폴더로 옮깁니다.
  • 터미널에 ./main.exe < input파일명.in > output1.txt 를 입력하여 input 파일을 넣고, 결과를 ouput1.txt파일로 추출합니다. (결과를 편하게 보기 위함)

VSCode compile 경로 지정 방법

  • ctrl + shift + p 누르기
  • C/C++: Edit Configurations (JSON) 검색 후 선택 => .vscode/c_cpp_properties.json 파일 열림
  • 다음과 같이 설정 변경 (includePath 부분 "${workspaceFolder}" 추가)
    {
      "configurations": [
          {
              "name": "Linux",
              "includePath": [
                  "${workspaceFolder}/**",
                  "${workspaceFolder}"
              ],
              "defines": [],
              "compilerPath": "/usr/bin/gcc",
              "cStandard": "c17",
              "cppStandard": "gnu++17",
              "intelliSenseMode": "linux-gcc-x64"
          }
      ],
      "version": 4
    }
    
    

About

AVL tree implement

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors