✔ 最佳答案
一般應用的電腦程式都是用C/C++ 語言寫的,
我提供以下簡單教學的電腦程式網站吧:
http://www.cs.cf.ac.uk/Dave/C/CE.html
C COURSEWARE
Lecture notes + integrated exercises, solutions and marking
Contents
The Common Desktop Environment
The front panel
The file manager
The application manager
The session manager
Other CDE desktop tools
Application development tools
Application integration
Windows and the Window Manager
The Root Menu
Exercises
C/C++ Program Compilation
Creating, Compiling and Running Your Program
Creating the program
Compilation
Running the program
The C Compilation Model
The Preprocessor
C Compiler
Assembler
Link Editor
Some Useful Compiler Options
Using Libraries
UNIX Library Functions
Finding Information about Library Functions
Lint -- A C program verifier
Exercises
C Basics
History of C
Characteristics of C
C Program Structure
Variables
Defining Global Variables
Printing Out and Inputting Variables
Constants
Arithmetic Operations
Comparison Operators
Logical Operators
Order of Precedence
Exercises
Conditionals
The if statement
The ? operator
The switch statement
Exercises
Looping and Iteration
The for statement
The while statement
The do-while statement
break and continue
Exercises
Arrays and Strings
Single and Multi-dimensional Arrays
Strings
Exercises
Functions
void functions
Functions and Arrays
Function Prototyping
Exercises
Further Data Types
Structures
Defining New Data Types
Unions
Coercion or Type-Casting
Enumerated Types
Static Variables
Exercises
Pointers
What is a Pointer?
Pointer and Functions
Pointers and Arrays
Arrays of Pointers
Multidimensional arrays and pointers
Static Initialisation of Pointer Arrays
Pointers and Structures
Common Pointer Pitfalls
Not assigning a pointer to memory address before using it
Illegal indirection
Exercise