Download presentation
Presentation is loading. Please wait.
1
Experiment 01 C programming environment
Dr. rer.nat. Jing LU
2
Goal Getting familiar with C Programming environment;
Grasp how to run a C program, including editing, compiling, building and running; Know the fundamental structure of C programs, can write simple C programs; Know how to find mistakes in C programs.
3
Content Display “hello world” in the screen.
4
Steps Setup your own directory, where you can store your programs;
Start Visual C++; New file setup; Edit and save; Compile;
5
Steps(2) Build; Run; Close;
Find the files in the disk, ***.cpp file and ***.exe file.
6
Practice 01 Display your name, your student number and your major in the screen;
7
Practice 02 Display the following picture: **** *** ** *
8
Practice 03 Input today’s temperature in Fahrenheit, transform it into Celsius and display it. Formula: c=5*(f-32)/9
9
Discussion What is your impression of C programming environment?
What is your result? What mistakes do you come across and how do you modify them?
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.