Building Windows Applications by Visual C++ and Homework #3 Assignment

Slides:



Advertisements
Similar presentations
Chapter 11 Designing the User Interface
Advertisements

CS123 Engineering Computation Lab Lab 3 Bruce Char Department of Computer Science Drexel University Spring 2012.
1-1 CMPT 225 Data Structures and Programming Instructor: Aaron Hunter Section: E300 Campus: Harbour Centre Semester: Spring 2007.
CSE 490 ra Pen computing capstone Richard Anderson AJ Bernheim Brush.
Introduction to PowerPoint By Ian Cole Lecturer in C&IT (Communications and Information Technology) University of York Department of Health Sciences.
From Scenarios to Paper Prototypes Chapter 6 of About Face Defining requirements Defining the interaction framework.
MCT260-Operating Systems I Operating Systems I Interfaces to Operating Systems.
Chapter 4 Selection Structures: if and switch Statements Instructor: Kun-Mao Chao ( 台大資工 趙坤茂 )
Graphical User Interfaces A Quick Outlook. Interface Many methods to create and “interface” with the user 2 most common interface methods: – Console –
Lecture 7: Objects and Interaction 1  Principles of Interactive Graphics  CMSCD2012  Dr David England, Room 718,  ex 2271 
CS 0004 –Lecture 8 Jan 24, 2011 Roxana Gheorghiu.
This application note is based on the work held by Ankur Agarwal at Computer Science and Engineering Florida Atlantic University Boca Raton, FL “Multi.
IS 466 ADVANCED TOPICS IN INFORMATION SYSTEMS LECTURER : NOUF ALMUJALLY 22 – 10 – 2011 College Of Computer Science and Information, Information Systems.
CIS 115 Lecture 4.  Create a Windows-based application that will calculate the Gross Pay earned for a worker, given the number of hours worked and hourly.
1 Nassau Community CollegeProf. Vincent Costa Acknowledgements: An Introduction to Programming Using Visual Basic 2012, All Rights ReservedAn Introduction.
Chapter 11 An Introduction to Visual Basic 2008 Why Windows and Why Visual Basic How You Develop a Visual Basic Application The Different Versions of Visual.
CN1276 Server Kemtis Kunanuraksapong MSIS with Distinction MCTS, MCDST, MCP, A+
University Of Palestine. Department of Information Technology.
Matlab for Engineers About Matlab Chapter 1. Matlab for Engineers What’s in this Chapter? What is Matlab? Student Edition of Matlab How is Matlab used.
Microsoft Office 2007 Intermediate© 2008 Pearson Prentice Hall1 PowerPoint Presentation to Accompany GO! With Microsoft ® Office 2007 Intermediate Chapter.
Dale Roberts GUI Programming using Java - Introduction Dale Roberts, Lecturer Computer Science, IUPUI Department of Computer.
CS 1150 – Lab #3 – Representing Numbers TA – Sanjaya Wijeratne – Web Page -
Programming with Visual C++: Concepts and Projects Chapter 2B: Reading, Processing and Displaying Data (Tutorial)
E.g.: MS-DOS interface. DIR C: /W /A:D will list all the directories in the root directory of drive C in wide list format. Disadvantage is that commands.
Lecture 13: 10/10/2002CS149D Fall CS149D Elements of Computer Science Ayman Abdel-Hamid Department of Computer Science Old Dominion University Lecture.
1 Chapter 4: Creating Simple Queries 4.1 Introduction to the Query Task 4.2 Selecting Columns and Filtering Rows 4.3 Creating New Columns with an Expression.
Day 7. Test 1 Wednesday, September 8 Chapters 1-4 of concepts text will be covered Labs will be covered Study guide will be in place by Friday, September.
2.0 PROJECT INITIATION AND PLANNING The initiating and planning are the phase where process or workflow to develop the system will identify and planning.
What you will learn today … Define the term element Make observations of some elements List the names of some common elements and their symbols Attempt.
1 Displaying Dialog Boxes Kashef Mughal. 2 Midterm Stats Here we go  Average was  Low was 116  High was 184  Mid Quarter Grade - check any.
CS 501: Software Engineering Fall 1999 Lecture 23 Design for Usability I.
Introduction To Visual Basic 6
Algorithms and Programming
Computer Networks CNT5106C
Introduction to the JES environment and basics of Python
Exam3 Review CSE111 B.Ramamurthy 7/28/2018 B.Ramamurthy.
CS 108 Computing Fundamental Notes for Thursday, October 5, 2017
Microsoft Access 2003 Illustrated Complete
Assembler, Compiler, Interpreter
CS190/295 Programming in Python for Life Sciences: Lecture 1
Chapter 7 - JavaScript: Introduction to Scripting
VISUAL BASIC – CHAPTER ONE NOTES An Introduction to Visual Basic
Introduction to the Development of Personal Web Pages
Manipulating File IO in Visual C++
Assignment 4 For this assignment refer to the notes on MATLAB from an MIT course that you can find here (or at the original website, lectures 14, 15, 16).
Chapter 6 Event-Driven Pages
Introduction to Programming
Chapter One: An Introduction to Programming and Visual Basic
Making a Case for Real World Application
Assembler, Compiler, Interpreter
The Problems in Using Visual C and Homework #2 Assignment
Introduction to Debugging Techniques in Visual C++ 6.0
National University of Laos
Strings and Pointer Arrays
Programming Concepts and Database
ICS201 Introduction To Computing II
Chapter 7 - JavaScript: Introduction to Scripting
POD #30 1/31/19 Write the rule for the following tables:
Chapter 7 - JavaScript: Introduction to Scripting
Assignment 2: Activity 1 Your presentation should include a slide for each of the following: An introduction which outlines the purpose of the report.
Approximation Algorithms for the Selection of Robust Tag SNPs
Continue with conditional
Trees Kun-Mao Chao (趙坤茂)
Introduction to Programming
Trees Kun-Mao Chao (趙坤茂)
Message Mapping Mechanisms in MFC and Other Applications in Visual C++
Chapter 10 Error Detection and Correction
CS313T Advanced Programming language
Welcome to Science (2/5) Please have a seat and take out the following: A Genes and Molecular Machines Book (Page 121) Today’s Objective: Take a look at.
Chapter 7 - JavaScript: Introduction to Scripting
Presentation transcript:

Building Windows Applications by Visual C++ and Homework #3 Assignment Speaker: Yao-Ting Huang Advisor: Kun-Mao Chao National Taiwan University Department of Computer Science & Information Engineering Algorithms and Computational Biology Lab. 2019/4/23

Windows Programming Windows Application Programming Interfaces (API) is a set of functions provided by the Microsoft Windows operating system. You can invoke these API to write a Windows application (e.g., create a dialog or a button). You can write programs with specific functionalities or advanced control (e.g., manipulating hardware data). The Windows API was originally written for C. The Windows API requires that you have to worry about lots of details (e.g., many parameters for a function call). See an example in Visual C++.

Microsoft Foundation Classes Microsoft Foundation Classes (MFC) groups the Windows API into approximately 200 C++ classes. You can create a Windows application easier by using MFC than invoking Windows API. The MFC is written for C++ not for C. But not every Windows API can be found in MFC. MFC is suitable for most general Windows applications, where traditional Windows programming is suitable for special-purpose application. See an example in Visual C++.

Building Windows Application by Visual C++ You can create both Windows API applications and MFC applications in Visual C++. It is better to have a book in your hand. You can not memorize all the Windows API or MFC classes. If you write your homework or project by Windows programming, we will give you unlimited bonus.

Homework #3 (1/2) Write a program that prompts the user to input the boiling point in degree Celsius. The program should output the substance corresponding to the boiling point listed in the table. The program should output the message “substance unknown” when it does not match any substance. Substance Boiling point Water 100°C Mercury 357°C Copper 1187°C Silver 2193°C Gold 2660°C

Homework #3 (2/2) Examples of the scenario of your program. You can determine the substance within a range of boiling points to get bonus (e.g., +5 degrees). Please refer to pages 207-208 in the text book. You can apply any technique in Chapter 4. The due date is 11/4 (demo in the Lab. lecture). Please input: 357 The substance is Mercury. Please input: 3333 Substance unknown. Please input: 359 The substance is Mercury.

Outline of Lecture Today Create a Windows application. Create a MFC Windows application. Demo of your Homework #2 if you finish it.