Getting Started Applications of Computer Programming in Earth Sciences Instructor: Dr. Cheng-Chien LiuCheng-Chien Liu Department of Earth Sciences National.

Slides:



Advertisements
Similar presentations
Lecture Computer Science I - Martin Hardwick Strings #include using namespace std; int main () { string word; cout
Advertisements

C++ Introduction.
C++ Language Fundamentals. 2 Contents 1. Introduction to C++ 2. Basic syntax rules 3. Declaring and using variables.
Computer Science 1620 Math Library. Remember this program? suppose that I invest $25000 into a mutual fund that returns 8% per year. Write a program to.
ELEC 206 Computer Applications for Electrical Engineers Dr. Ron Hayne
Chapter 1: An Overview of Computers and Programming Languages
Refer to Ivor Horton’s Beginning ANSI C++ The Complete Language, 3rd Ed. APress Media, LLC. About the book Ivor Horton, Beginning ANSI C++: The Complete.
More Program Flow Applications of Computer Programming in Earth Sciences Instructor: Dr. Cheng-Chien LiuCheng-Chien Liu Department of Earth Sciences National.
Functions Applications of Computer Programming in Earth Sciences Instructor: Dr. Cheng-Chien LiuCheng-Chien Liu Department of Earth Sciences National Cheng.
Arrays Applications of Computer Programming in Earth Sciences Instructor: Dr. Cheng-Chien LiuCheng-Chien Liu Department of Earth Sciences National Cheng.
Three types of computer languages
Basic C++ lectures 1 and 2MSc Bioinformatics Basic C++
Pointers Applications of Computer Programming in Earth Sciences Instructor: Dr. Cheng-Chien LiuCheng-Chien Liu Department of Earth Sciences National Cheng.
Liang, Introduction to C++ Programming, (c) 2007 Pearson Education, Inc. All rights reserved X 1 Chapter 1 Introduction to Computers, Programs,
Expressions and statements Applications of Computer Programming in Earth Sciences Instructor: Dr. Cheng-Chien LiuCheng-Chien Liu Department of Earth Sciences.
General Computer Science for Engineers CISC 106 Lecture 26 Dr. John Cavazos Computer and Information Sciences 04/24/2009.
Variables and constants Applications of Computer Programming in Earth Sciences Instructor: Dr. Cheng-Chien LiuCheng-Chien Liu Department of Earth Sciences.
References Applications of Computer Programming in Earth Sciences Instructor: Dr. Cheng-Chien LiuCheng-Chien Liu Department of Earth Sciences National.
Introduction To C++ Programming 1.0 Basic C++ Program Structure 2.0 Program Control 3.0 Array And Structures 4.0 Function 5.0 Pointer 6.0 Secure Programming.
C + 1 == C++ ce153c Introduction2programming © 2006 NematAllah Ahmadyan.
C++ Programming: From Problem Analysis to Program Design, Fifth Edition Chapter 1: An Overview of Computers and Programming Languages Updated by: Dr\Ali-Alnajjar.
Copyright 2003 Scott/Jones Publishing Brief Version of Starting Out with C++, 4th Edition Chapter 1 Introduction to Computers and Programming.
COMPUTER PROGRAMMING. Introduction to C++ History Merges notions from Smalltalk and notions from C The class concept was borrowed from Simular67 Developed.
CH1 – A 1 st Program Using C#. Program Set of instructions which tell a computer what to do. Machine Language Basic language computers use to control.
COMPUTER SCIENCE I C++ INTRODUCTION
Chapter 1: Introduction to Visual Basic.NET: Background and Perspective Visual Basic.NET Programming: From Problem Analysis to Program Design.
Intro. to Game Programming Want to program a game?
Programming Design Ku-Yaw Chang Assistant Professor, Department of Computer Science and Information Engineering Da-Yeh University.
Microsoft Visual Basic 2005: Reloaded Second Edition
CHAPTER 1 Overview of Programming and Problem Solving.
Instructor: Tina Tian. About me Office: RLC 203A Office Hours: Wednesday 1:30 - 4:30 PM or .
Outline  History  What is C++  How does C++ relate to other OO languages  Types of applications for C++  Components of MS’s Visual C  Advantages.
Introduction to C++ Programming Language
Copyright © 2008 Pearson Addison-Wesley. All rights reserved. Chapter 1 Introduction to Computers and C++ Programming.
Subject: Programming in C++ 1. LEARNING OUTCOME  At the end of this slide, student able to:  Know the brief history of C++.  Explore Microsoft Visual.
CS CS CS IA: Procedural Programming CS IB: Object-Oriented Programming.
Prepared by: Elsy Torres Shajida Berry Siobhan Westby.
CSC 107 – Programming For Science. Announcements  Locations of Macs to use outside of lab time  Can find on Library ground floor (6) & main floor (6)
The History of Computer Programming Languages Introductory Programming Visual Basic.
1 COMS 261 Computer Science I Title: C++ Fundamentals Date: September 05, 2005 Lecture Number: 4.
1.
CS Computer Science I. BCPL was developed in 1967 as a language for writing operating systems and software compilers In 1970, the creators of the.
Chapter 1 Computers, Compilers, & Unix. Overview u Computer hardware u Unix u Computer Languages u Compilers.
ECE 264 Object-Oriented Software Development Instructor: Dr. Honggang Wang Spring 2013 Lecture 1: Introduction.
CSC1200 INTRODUCTION TO PROGRAMMING Dr. Maureen Markel
Programming language – C++ Digital Image Processing Instructor: Dr. Cheng-Chien LiuCheng-Chien Liu Department of Earth Sciences National Cheng Kung University.
Chapter 11  Getting ready to program  Hardware Model  Software Model  Programming Languages  Facts about C++  Program Development Process  The Hello-world.
Fundamentals of Programming C++ Programming Language CS 1400 Dennis A. Fairclough Version 1.1 C++ Programming Language CS 1400 Dennis A. Fairclough Version.
Software Engineering Algorithms, Compilers, & Lifecycle.
General Computer Science for Engineers CISC 106 Lecture 27 Dr. John Cavazos Computer and Information Sciences 04/27/2009.
By Kundang K Juman Hardware & Software. COMP102 Prog. Fundamentals I: Software / Slide 2 l Four components of a computer system: n CPU - central processing.
C++ Programming Chapter 1 Programming & Programs.
Introduction to OO Programming Andy Wang Object Oriented Programming in C++ COP 3330.
PROGRAMMING WITH C ++.
Tips, tricks, and Understandings
Introduction to Computers and C++ Programming
Chapter 1: An Overview of Computers and Programming Languages
Problem Identification
Prog Club Introductory Presentation
LESSON 1 Introduction to Programming Language
Chapter 1: An Overview of Computers and Programming Languages
جامعة البحر الاحمر كلية العلوم التطبيقية قسم الفيزياء التطبيقية الفصل الداسي الثاني IIالمقرر: حاسوب د. خالد عثمان العالم.
Computer Programming Machine and Assembly.
Chapter 1: An Overview of Computers and Programming Languages
جامعة البحر الاحمر كلية العلوم التطبيقية قسمي الحاسوب وتقنية المعلومات الفصل الداسي الثاني المقرر: اساليب برمجة 1 محاضرة رقم 1 د. خالد عثمان العالم.
Programming 1 (CS112) Dr. Mohamed Mostafa Zayed 1.
Chapter 1: An Overview of Computers and Programming Languages
Computer Terms Review from what language did C++ originate?
COMS 261 Computer Science I
Introduction to Programming - 1
Presentation transcript:

Getting Started Applications of Computer Programming in Earth Sciences Instructor: Dr. Cheng-Chien LiuCheng-Chien Liu Department of Earth Sciences National Cheng Kung University Last updated: 29 September 2004 Chapter 1

History of C++  WWII Artillery trajectory Machine language Assembly language  ADD, MOV  High-level language: BASIC, COBAL Compiler Linker Advantages  Easy to develop  distributable  Well-written and easy-to-maintain > computer cost

Terminology  Program Source code Executable file  Structural (procedural) language Split and conquer Data-driven Lack of reusability  Object-oriented language Treat data and the procedures that act upon the data as a single “object” Four pillars  Encapsulation Encapsulation  Data hiding  Inheritance  polymorphism polymorphism

How C++ enovled CCCC  C++ Bjarne Stroustrup  ANSI  No need to learn C first!

NCKU Microsoft CA 3.0

Example 1 #include #include #include<conio.h> using namespace std; int main() { cout << "Hello World!\n"; getch(); return 0; }