dls4585 / cpp_of_project_waterfall Goto Github PK
View Code? Open in Web Editor NEW컴실1 기말 프로젝트 WaterFall
컴실1 기말 프로젝트 WaterFall
프로그램 실행 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 키를 누르면 할당된 메모리가 해제되며 프로그램이 종료된다.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.