slide1
Download
Skip this Video
Download Presentation
이 세상의 첫날 , 신께서 말하시길 『 class Light { public: BOOL Init(const World& worldTarget);

Loading in 2 Seconds...

play fullscreen
1 / 29

이 세상의 첫날 , 신께서 말하시길 『 class Light { public: BOOL Init(const World& worldTarget); - PowerPoint PPT Presentation


  • 166 Views
  • Uploaded on

이 세상의 첫날 , 신께서 말하시길 『 class Light { public: BOOL Init(const World& worldTarget); BOOL Create(v3d v3Pos, v3d v3Dir); BOOL Reposition(v3d v3Pos); BOOL Redirection(v3d v3Dir); BOOL SetOn(); BOOL IsOn(); BOOL SetOff(); private: const World* mpWorld_Belong; v3d mV3_Position;

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about ' 이 세상의 첫날 , 신께서 말하시길 『 class Light { public: BOOL Init(const World& worldTarget);' - ivan


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
slide1

이 세상의 첫날, 신께서 말하시길 『

class Light {

public:

BOOL Init(const World& worldTarget);

BOOL Create(v3d v3Pos, v3d v3Dir);

BOOL Reposition(v3d v3Pos);

BOOL Redirection(v3d v3Dir);

BOOL SetOn();

BOOL IsOn();

BOOL SetOff();

private:

const World* mpWorld_Belong;

v3d mV3_Position;

v3d mV3_Direction;

}

』 라 하여 빛이 탄생하였다.

프로그래밍을 설명하는 그림

to do in orientation
To do in orientation
  • Introduce
  • What is Information System?
  • About what to do & what will do
  • To do in this time
  • Exam & Point
  • Compile Environment
  • C++ & OOP
  • Procedural vs Object Oriented
  • Hello C++
introduce
Introduce
  • 한양대학교 정보통신학부 컴퓨터전공과 08학번
  • 한양대학교 일반대학원 정보시스템학과 12학번
  • Teaching Assistant of Prof. Kutzner
what is is it programming c
What is IS, IT, Programming, C++?
  • IS : IT를 올바른 방법으로 조직에 적용시키는 것
  • IT : Hardware, Software, Network, Data Manage
  • Programming : 소프트웨어저작
  • C++ : 프로그래밍을 위한 언어
to do in this time
To do in this time
  • C에 대한 내용을 복습
  • 프로그래밍이 아닌 순수 C++을 학습
  • C++ 이론 시간에 이해 못했던 부분에 복습
  • C++ 실습을 위한 학습
exam point
Exam & Point
  • 채점 – 정답점수, 부분점수
  • 시험 후 – 시험지 확인은 자유로움
  • 만약 정당하지 못한 점수 상승을 요구할 시에 는 해당 학생의 모든 부분 점수를 0점 처리 할 것임
compile environment
Compile Environment
  • Microsoft Visual C++ 2008
  • Free Download : www.dreamspark.com
  • (Require Register Hanyang Email to site)
  • Microsoft Student Software Assist Page
c oop
C++ & OOP
  • C++
  • Extension Language of C for supporting OOP
  • OOP : Object Oriented Programming
  • Object : Abstract Concept about something
  • C : Memory and Logic Design
  • C++ : Model and Communication Design
procedural vs object oriented
Procedural vs Object Oriented
  • Example : Snake Game Design
hello c
Hello C++

#include <iostream>

int main() {

std::cout << “Hello World\n”;

return 0;

}

c basic
C Basic
  • Preprocessing
  • Variables
  • Literals
  • Expressions
  • Precedence
  • Operator
  • Control Structures
  • Conditions
  • Compound Statements(block)
von neumann architecture
Von Neumann Architecture

Memory

Control Unit

Arithmetic Logic Unit

Accumulator

Input

Output

von neumann architecture1
Von Neumann Architecture
  • Memory
    • F3 is X
    • E2 is Y
    • B4 is Z
    • Z = X + Y
      • Z is70
von neumann architecture2
Von Neumann Architecture
  • Instruction
    • F3 is X
    • E2 is Y
    • B4 is Z
    • Z = X + Y
      • Z is70
von neumann architecture3
Von Neumann Architecture
  • Output
    • F3 is X
    • E2 is Y
    • B4 is Z
    • Z = X + Y
      • Z is70
memory structure
Memory Structure

Addresses

Memory Cells

0000

0x54

0001

0x45

A1

0002

0x58

B1

0003

0x54

C1

0004

0x00

D1

0005

0x06

E1

F1

Content of a memory cell

programming language
Programming Language
  • Machine
  • Assembler
  • Fortran, Cobol, Lisp
  • C
machine
Machine
  • Assign Instruction in Hardware Unit
    • Ex) AAABBBCCC
      • AAA : Instruction
      • BBB : Storage1
      • CCC : Storage2
machine1
Machine
  • Ex: AAABBBCCC
    • Number to Symbol
      • 001 : B = B + C => add
      • 010 : B = B – C => sub
      • 011 : B = B / C => div
      • 100 : B = B * C => mul
      • 101 : B = C => ass
    • Naming Storage
      • 001 : A
      • 010 : B
      • 011 : C
  • Ex: AAABBBCCC
    • Instructions
    • (Storage Default Value : 1)
      • 001001010
      • 101010001
      • 100001010
      • 001001011
      • Q : Result of Storage001?
machine2
Machine
  • Ex: AAABBBCCC
    • Number to Symbol
      • 001 : B = B + C => add
      • 010 : B = B – C => sub
      • 011 : B = B / C => div
      • 100 : B = B * C => mul
      • 101 : B = C => ass
    • Naming Storage
      • 001 : A
      • 010 : B
      • 011 : C
  • Ex: AAABBBCCC
    • Instructions
    • (Storage Default Value : 1)
      • [001][001][010]

addA B

      • [101][010][001]

assB A

      • [100][001][010]

mulA B

      • [001][001][011]

addA C

      • Q : Result of Storage001?

A = ?

machine3
Machine
  • Ex: AAABBBCCC
    • Instructions
    • (Storage Default Value : 1)
      • [001][001][010]

addA B

      • [101][010][001]

assB A

      • [100][001][010]

mulA B

      • [001][001][011]

addA C

      • Q : Result of Storage001?

A = ? 5

  • Ex: AAABBBCCC
    • Number to Symbol
      • 001 : B = B + C => add
      • 010 : B = B – C => sub
      • 011 : B = B / C => div
      • 100 : B = B * C => mul
      • 101 : B = C => ass
    • Naming Storage
      • 001 : A
      • 010 : B
      • 011 : C

A = A + B

B = A

A = A * B

A = A + C

assembler
Assembler
  • Ex: AAABBBCCC
    • Change Number to Symbol
      • 001 : B = B + C => add
      • 010 : B = B – C => sub
      • 011 : B = B / C => div
      • 100 : B = B * C => mul
      • 101 : B = C => ass
fortran cobol lisp
Fortran, Cobol, Lisp
  • Assembler is difficult
  • Assembler has different instruction and structureeach machine
    • add A B
    • ass B A
    • mul A B
    • add A C
  • Require more high level language
    • A = A + B
    • B = A
    • A = A * B
    • A = A + C
slide26
C
  • C is made to develop Unix OSis background of Windows, Mac OS, Linux, etc.
  • Clear and systematic grammatical structure
  • Very fast due to dealing low level
  • Hard to deal than other high level language
von neumann architecture4
Von Neumann Architecture
  • Memory
    • F3 is X
    • E2 is Y
    • B4 is Z
    • Z = X + Y
      • Z is70
variable
Variable
  • Variable
    • F3 is X
    • E2 is Y
    • B4 is Z
  • Variable is changing values that are hard to remember to symbol that can recognize easily
  • Z = X + Y
  • It is more is to rememberX, Y, Z than F3, E2, B4 when you need to calculate
  • B4 = F3 + E2 vs Z = X + Y
ad