Introduce C
what is C?
C is a coputer program language.
what C can do?
Any computer-related function you can think of.
Feature
- Programmer Oriented
- Portability
- Flexible and Powerful
- Efficient
The programming steps(7 steps)
- Defind the target
- Design program
- Write the code
- Compile
- Run
- Testing and Debuging
- Maintain and modify
1th step
what to do?
2th step
how to do?
- UI
- User
- Time consuming
- Architecture
…
3th step
#include <stdio.h>
int main(void)
{
int dogs;
printf("How many dogs do you have?\n");
scanf("%d", &dogs);
printf("So you have %d Dos(s)!\n", dogs);
return 0;
}
4th step
source code file => executable file
5th step
run program.
6th step
Finding problems, analyzing problems and solving problems.
7th step
Finding problems, analyzing problems and solving problems.
???
Please explain what the ‘source code file’, ‘target code file’ and '‘executable code file’.