Presentation is loading. Please wait.

Presentation is loading. Please wait.

C Language 실습 (Chap1. “HelloWorld”)

Similar presentations


Presentation on theme: "C Language 실습 (Chap1. “HelloWorld”)"— Presentation transcript:

1 C Language 실습 (Chap1. “HelloWorld”)
Sogang Univ. Software Systems Engineering Lab

2 Intro Teacher Teacher Sogang Univ. Software Systems Engineering Lab

3 Learn Coding Sogang Univ. Software Systems Engineering Lab

4 Computer Languages C Language
Sogang Univ. Software Systems Engineering Lab

5 Computer Language Sogang Univ. Software Systems Engineering Lab

6 Computer Language Sogang Univ. Software Systems Engineering Lab
C Programs 개발과정 Edit -> Program is created in Preprocess Compile Link Load Execute Loader Primary Memory Program is created in the editor and stored on disk. Preprocessor program processes the code. Loader puts program in memory. CPU takes each instruction and executes it, possibly storing new data values as the program executes. Compiler Compiler creates object code and stores it on disk. Linker links the object code with the libraries, creates a.out and stores it on disk. Editor Preprocessor Linker CPU . Disk Sogang Univ. Software Systems Engineering Lab

7 Tools Sogang Univ. Software Systems Engineering Lab

8 Development Tools? Sogang Univ. Software Systems Engineering Lab
통합 개발 환경(Integrated Development Environment, IDE) 코딩, 디버그, 컴파일, 배포 등 프로그램 개발에 관련된 모든 작업을 하나의 프로그램 안에서 처리하는 환경을 제공하는 소프트 웨어이다. 종래의 소프트웨어 개발에서는 컴파일러, 텍스트 편집기, 디버거 등을 따로 사용했다. 이러한 프로그램들을 하나로 묶어 대화형 인터페이스를 제공한 것이 통합 개발 환경이다. 최근의 통합 개발 환경(IDE)은 그래픽 사용자 인터페이스(GUI) 응용 프로그램 개발용 고속 개발 도구가 많다. Sogang Univ. Software Systems Engineering Lab

9 Visual Studio For install -Click icon For install -Click icon
마이크로소프트 비주얼 스튜디오(Microsoft Visual Studio)는 마이크로소프트 윈도에서 작동하며, 다양한 언어로 프로그래밍할 수 있는 마이크로소프트의 통합 개발 환경이다. 프로그램, 웹 사이트, 웹 프로그램 등을 개발할 수 있다 For install -Click icon 크로스 플랫폼, 오픈소스, 무료 C++IDE Sogang Univ. Software Systems Engineering Lab

10 Install Visual Studio Sogang Univ. Software Systems Engineering Lab

11 Install Visual Studio Sogang Univ. Software Systems Engineering Lab

12 “Hello World” Sogang Univ. Software Systems Engineering Lab
Visual Studio 실행 프로젝트 생성 Sogang Univ. Software Systems Engineering Lab

13 “Hello World” Sogang Univ. Software Systems Engineering Lab Name 설정
Win 32 Console Application 선택 Sogang Univ. Software Systems Engineering Lab

14 “Hello World” Sogang Univ. Software Systems Engineering Lab
Check Console application Check Empty project Uncheck SDL Sogang Univ. Software Systems Engineering Lab

15 “Hello World” Add New Item (Source Files )
Sogang Univ. Software Systems Engineering Lab

16 “Hello World” Click C++File (.cpp) and then Type name
Sogang Univ. Software Systems Engineering Lab

17 “Hello World” Type code 
Sogang Univ. Software Systems Engineering Lab

18 “Hello World” Compile  Shortcut key CTRL+F7
Sogang Univ. Software Systems Engineering Lab

19 “Hello World” Start without Debugging  Shortcut key CTRL+F5
Say Hello World  Sogang Univ. Software Systems Engineering Lab


Download ppt "C Language 실습 (Chap1. “HelloWorld”)"

Similar presentations


Ads by Google