분류 전체보기
-
실습 4정리필요2 2008. 9. 2. 15:49
#include #include #include using namespace std; const int MAXSIZE = 10; class StudentRecord { private: int sno; string sname; float score; public: StudentRecord() {;} StudentRecord(int no, string name, float s) {sno=no, sname=name, score=s;} void setSno(int no) {sno = no;} void setSname(string name) {sname = name;} void setScore(float s) {score = s;} int getSno() const {return sno;} string getSn..
-
-
-
실습5정리필요2 2008. 9. 2. 15:44
#include #include #include using namespace std; const int MAXSIZE = 10; class StudentRecord { private: int sno; string sname; float score; public: StudentRecord() {;} StudentRecord(int no, string name, float s) {sno=no, sname=name, score=s;} void setSno(int no) {sno = no;} void setSname(string name) {sname = name;} void setScore(float s) {score = s;} int getSno() const {return sno;} string getSn..
-
과제#4 (Window To Viewport Transformation)정리필요2 2008. 9. 2. 15:43
삼각형 신축, 회전 지난 scanconversion 과제는 너무 어려웠으나...이번건 할만했다.... 2005mfc로 작성했으며 헤더파일에 선언한 클래스와 함수들은 생략했당~ 주된 흐름만 살포시 ... // 삼각형의 갯수와 좌표 정의 void C과제4TransformationView::setTriangle(Triangle t1[], int countT) { int temp[][6] = { // 삼각형 6개 정의 {10, 100, 100, 10, 150, 150}, {320, 300, 400, 10, 580, 300}, {280, 350, 10, 400, 300, 580}, {610, 40, 650, 60, 620, 90}, {450, 450, 600, 350, 600, 550}, {650, 450, 80..
-
P02정리필요2 2008. 9. 2. 15:43
#include #include #include using namespace std; class node // 링크리스트 노드 클래스 { // friend class로 StudentRecord 설정 friend class StudentRecord; public: int sno; string sname; float score; node *link; }; node *ptr; // 리스트 root class StudentRecord { private: int sno; string sname; float score; public: StudentRecord() { // 노드의 초기화 ptr = new node; ptr->sno = 0; ptr->sname = ""; ptr->score = 0; ptr->link ..
-
허니와 클로버 OST - 魔法のコトバ (instrumental ver.)세상 2008. 9. 2. 15:42
"시간이 흘러 모든 것이 추억이 되는 날은 반드시 와 하지만 내가 있고 네가있고 모두가 있던 똑같은 것을 찾아 헤메인 그 기적 같은 나날은 언제까지나 달콤한 아픔과 함께 가슴속에 있는 머나먼 곳에서 줄곧 그립게 계속 돌아갈꺼야.." - '허니와 클로버 타케모토 대사 中 - "그 기적 같은 나날은 그립게 계속 돌아갈꺼야.." 이 대사에 갑자기 가슴이 뭉클해지네.. 인생에서 가장 눈부시게 아름답게 기억된다는 청춘의 추억들..지나고 나면 그때가 너무 소중해서 나이를 먹어가도 계속 그 시절만을 생각하고 되돌아보게 되는 것 같아... 지금도 이렇게 가슴이 져리고 뭉클한데 10년후의 나는 또 지금을 어떻게 회상하게 될까..