Computer content: C ++ProgramAnd run
Objective: To familiarize yourself with the compilation, compilation, and running of C ++ programs
My program:
/** Copyright (c) 2011, School of Computer Science, Yantai University * All Rights Reserved. * file name: test. CPP * Author: Fan Lulu * Completion Date: July 15, September 29, 2012 * version number: V1.0 ** input Description: none * Problem description: "I" first C ++ program, familiar with the editing and running processes of the program, and announced that "I" entered this field * program output: "Mr. He, I'm fan Lulu from July." * Problem Analysis: omitted *AlgorithmDESIGN: slightly */# include <iostream> using namespace STD; int main () {cout <"He, I'm fan Lulu from-4. "<Endl; return 0 ;}
Running result:
Experience:
The first C ++ program has some small obstacles and is successfully solved!
C ++, we will become good friends!
Experience 2: I still vaguely remember the mood of writing this program-from strangers to confusion, and finally to joy. From the beginningCodeLine by yesterday compiled 200 lines of code, familiar with C ++ has been eliminated by more than half, a deeper understanding of programming, I still remember the mood when I successfully compiled every program. Every time I finish my new lesson, there is always an impulse-programming is required, not only to write all the teacher's lectures, but sometimes to write something for myself, but probably because of my limited ability, all ended in failure...
I listened to the instructor's lecture yesterday and realized that C ++ is very abstract and cannot look at it from a normal perspective. Therefore, we must give full play to our thinking abilities and defeat every program !!!
C ++, I will beat you, and we will become good friends!