C Language 실습 (Chap1. “HelloWorld”)

Slides:



Advertisements
Similar presentations
Module 6: Introduction to C Language ITEI102 Introduction to Programming Structure of C++ Program - Programming Terminologies - Microsoft Visual Studio.
Advertisements

Introduction to Programming Lecture 2. Today’s Lecture Software Categories Software Categories System Software System Software Application Software Application.
CS 31003: Compilers ANIRUDDHA GUPTA 11CS10004 G2 CLASS DATE : 24/07/2013.
1 CSCI N305 C Language Programming Welcome to CSCI N305! Compiling Your First Program Using Microsoft Visual Studio 2008.
CS 1400 Using Microsoft Visual Studio 2005 if you don’t have the appropriate appendix.
COMPUTER PROGRAMMING. Introduction to C++ History Merges notions from Smalltalk and notions from C The class concept was borrowed from Simular67 Developed.
1 ENG236: ENG236: C++ Programming Environment (2) Rocky K. C. Chang THE HONG KONG POLYTECHNIC UNIVERSITY.
“C” Programming Language What is language ? Language is medium of communication. If two persons want to communicate with each other, they have to use.
Programming Design Ku-Yaw Chang Assistant Professor, Department of Computer Science and Information Engineering Da-Yeh University.
CSC141 Introduction to Computer Programming
CS Tutorial 1 Getting Started with Visual Studio 2012 (Visual Studio 2010 are no longer available on MSDNAA, please choose Visual Studio 2012 which.
Chapter 1: A First Program Using C#. Programming Computer program – A set of instructions that tells a computer what to do – Also called software Software.
Intro to C++. Getting Started with Microsoft Visual Studios Open Microsoft Visual Studios 2010 Click on file Click on New Project Choose Visual C++ on.
History of C and C++ C++ evolved from C ANSI C C++ “spruces up” C
C++ Programming Language Lecture 1 Introduction By Ghada Al-Mashaqbeh The Hashemite University Computer Engineering Department.
Computer Engineering 1 nd Semester Dr. Rabie A. Ramadan 2.
Theory is when you know something, but it doesn't work. Practice is when something works, but you don't know why. Programmers combine theory and practice:
ZONG Wen Department of Computer Science and Engineering The Chinese University of Hong Kong
Evolution and History of Programming Languages. Machine languages Assembly languages Higher-level languages To build programs, people use languages that.
Evolution and History of Programming Languages. Software Programming Language.
Productivity Tools Ken Nguyen Department of Information Technology Clayton State University.
COMPUTER PROGRAMMING. A Typical C++ Environment Phases of C++ Programs: 1- Edit 2- Preprocess 3- Compile 4- Link 5- Load 6- Execute Loader Primary Memory.
1 Programming in C Hello World! Soon I will control the world! Soon I will control the world!
Programming with Visual C++ A short review of the process.
Chapter 1 Introduction Chapter 1 Introduction 1 st Semester 2015 CSC 1101 Computer Programming-1.
N from what language did C++ originate? n what’s input, output device? n what’s main memory, memory location, memory address? n what’s a program, data?
N from what language did C++ originate? n what’s input, output device? n what’s main memory, memory location, memory address? n what’s a program, data?
Programming with Visual Studio.NET A short review of the process.
CHAPTER 1 INTRODUCTION 1 st Semester H King Saud University College Of Applied Studies and Community Services CSC 1101 Computer Programming-1.
Microsoft Visual Basic 2005 BASICS Lesson 1 A First Look at Microsoft Visual Basic.
Java Coding Environment Installation & Execution guide 컴퓨터 프로그래밍 II Korea Univ.
1 Getting Started with C++. 2 Objective You will be able to create, compile, and run a very simple C++ program on Windows, using Visual Studio 2008.
1 CHAPTER 3 MODULAR PROGRAMMING. 2 Introduction  A library in C is a collection of general purpose and related functions.  2 types of libraries: Standard.
Typical C++ Environment and Library Introduction Speaker : Wei-Lu Lin Advisor : Ku-Yaw Chang 2012/10/14.
1 Programming Environment and Tools VS.Net 2012 First project MSDN Library.
CHAPTER 1 INTRODUCTION 2 nd Semester H King Saud University College Of Applied Studies and Community Services CSC 1101 Computer Programming-1.
CS-303 Introduction to Programming
Programming Fundamentals Lecture No. 2. Course Objectives Objectives of this course are three fold 1. To appreciate the need for a programming language.
Lab00-Getting Started with VC Launch VS 2005 Launch Visual Studio 2005 – Start > All Programs > Microsoft Visual Studio 2005 > Microsoft Visual.
1 Getting Started with C++ Part 1 Windows. 2 Objective You will be able to create, compile, and run a very simple C++ program on Windows, using Microsoft.
Open project in Microsoft Visual Studio → build program in “Release” mode.
The Development Process Compilation. Compilation - Dr. Craig A. Struble 2 Programming Process Problem Solving Phase We will spend significant time on.
© Copyright 1992–2004 by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. 1 Chapter 1 – Introduction to C.
Introduction to C Programming Language. History of C  C was evolved by Dennis Ritchie at AT&T Bell Laboratories in early of 1970s  Successor of: ALGOL.
Sogang Univ. Software Systems Engineering Lab C Programming (Chap15. 파일 입출력 )
Copyright © 2012 Pearson Education, Inc. Chapter 1: Introduction to Computers and Programming Dr. Halla Abdel Hameed.
C Programming Lecture 3 : C Introduction 1 Lecture notes : courtesy of Woo Kyun and Chang Byung-Mo.
Evolution of C and C++ n C was developed by Dennis Ritchie at Bell Labs (early 1970s) as a systems programming language n C later evolved into a general-purpose.
1 Types of Programming Language (1) Three types of programming languages 1.Machine languages Strings of numbers giving machine specific instructions Example:
Programming 2 Intro to Java Machine code Assembly languages Fortran Basic Pascal Scheme CC++ Java LISP Smalltalk Smalltalk-80.
Tutorial 1 Writing Your First C++ Program CSC1110C Introduction to Computer Programming By Paul Pun Acknowledgement: Special thanks to Dr. Michael Fung.
1 THE C COMPILATION STEPS. Najib Nadi Computing Sciences VU C Compilation Steps C Source Code FILE prog.c OPTION C Source Code C Source Code C Source.
1 CS 192 Lecture 4 Winter 2003 December 8-9, 2003 Dr. Shafay Shamail.
Chapter 1 Introduction 2nd Semester H
Computer Terms Review from what language did C++ originate?
Computer Programming Lecturer: Ir Dr Frank H.F. LEUNG
Intro to Programming Week # 1 Hardware / Software Lecture # 2
Computer Engineering 1nd Semester
Quick Start Guide for Visual Studio 2010
Chapter 1: An Overview of Computers and Programming Languages
1. Open Visual Studio 2008.
King Saud University College Of Applied Studies and Community Services CSC 1101 Computer Programming-1 Done By: Asmal Alosaimi Edited By: Fatimah Alakeel.
Lab 1 Introduction to C++.
Creating Your First C Program Using Visual Studio 2010
Creating Your First C Program Using Visual Studio 2010
Double click Microsoft Visual Studio 2010 on the Computer Desktop
King Saud University College Of Applied Studies and Community Services CSC 1101 Computer Programming-1 Done By: Asmal Alosaimi Edited By: Fatimah Alakeel.
Programs written in C and C++ can run on many different computers
Computer Terms Review from what language did C++ originate?
PROGRAM AT RUNTIME Subject code: CSCI-620
Presentation transcript:

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

Intro Teacher Teacher Sogang Univ. Software Systems Engineering Lab

Learn Coding Sogang Univ. Software Systems Engineering Lab

Computer Languages C Language Sogang Univ. Software Systems Engineering Lab

Computer Language Sogang Univ. Software Systems Engineering Lab

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

Tools Sogang Univ. Software Systems Engineering Lab

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

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

Install Visual Studio Sogang Univ. Software Systems Engineering Lab

Install Visual Studio Sogang Univ. Software Systems Engineering Lab

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

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

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

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

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

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

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

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