Code Monkey home page Code Monkey logo

cpp_of_project_waterfall's Introduction

프로그램 실행
1. Project_waterFall 폴더 안의 Project_waterFall.sln 을 실행한다.
2. 컴파일한다. (Ctrl + F5 : 디버깅 없이, F5 : 디버깅)
3. 흰 창을 선택한 후 'L'키(대 소문자 구별 없음)를 눌러 다이얼로그 창을 띄운다.
4. 다이얼로그 창에서 input.txt 파일을 선택한다.
	input.txt 
	  - Project_waterFall/bin/data/ 폴더에 존재한다.
	  - 어느 경로에 있어도 상관은 없으나, 경로에 한글이 포함되어 있을 시 정상적으로 열 수 없음.
	  - input.txt 파일은 첫번째 줄에는 선분의 수(N)가, 두번째 줄부터 N개의 줄에는 각 선분의 좌표가 x1,y1,x2,y2 순으로 표시된다.
	  - 다음 줄에는 점의 수가, 그 다음 줄부터는 점에 대한 좌표 x1,y1이 표시된다.
5. D 키를 눌러 input.txt로부터 입력받은 점과 선분의 정보를 화면에 그린다.
6. 물이 나오는 지점은 빨간색 점으로 표시되며 좌,우 방향키를 통해 변경할 수 있다.
7. S키를 누르면 선택한 점 주위로 방향을 선택할 수 있다. (S키를 누른 이후로는 물이 나오는 지점을 변경할 수 없다.)
8. 상하좌우 방향키 중 하나를 택해 방향을 선택하며 물이 흐르기 시작한다.
9. 물이 흐르는 중에 E키를 누르면 프로그램이 정지한다.
10. 프로그램이 정지한 후 Q 키를 누르면 할당된 메모리가 해제되며 프로그램이 종료된다.

cpp_of_project_waterfall's People

Contributors

dls4585 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.