C++编程实例100篇,里面有很多很基础的编程实例,可以作为参考。
C++编程实例100篇
(预估有个557文件)
APPLE.OBJ
7KB
85.BMP
458KB
APPLE.CPP
5KB
APPLE.EXE
19KB
55.BMP
900KB
DOSWIN.EXE
37KB
DOSWIN.OBJ
2KB
DOSWIN.CPP
794B
90.BMP
458KB
SORT.CPP
571B
SORT.EXE
15KB
SORT.OBJ
1KB
WIN.EXE
37KB
WIN.OBJ
2KB
WIN.CPP
1KB
46.BMP
900KB
SETFILL.OBJ
1KB
39.BMP
900KB
SETFILL.CPP
535B
SETFILL.EXE
37KB
ELLIPSE.CPP
932B
ELLIPSE.EXE
37KB
ELLIPSE.OBJ
2KB
42.BMP
900KB
FILL.CPP
906B
FILL.OBJ
2KB
FILL.EXE
37KB
38.BMP
900KB
BAR3DBAR.OBJ
1KB
BAR3DBAR.CPP
581B
45.BMP
900KB
BAR3DBAR.EXE
37KB
CHGTYP.CPP
319B
05.BMP
458KB
CHGTYP.EXE
26KB
CHGTYP.ncb
33KB
CHGTYP.DSW
537B
CHGTYP.DSP
3KB
CHGTYP.PLG
1KB
CHGTYP.OBJ
1014B
CHGTYP.OPT
48KB
91.BMP
458KB
QKPASS.CPP
1KB
QKPASS.EXE
13KB
QKPASS.OBJ
2KB
Student.opt
48KB
Student.dsp
3KB
Student.plg
1KB
STUDENT.H
1KB
STUDENT.DSK
3KB
Student.dsw
539B
15.BMP
458KB
Student.ncb
41KB
STUDENT.PRJ
4KB
Student.cpp
659B
Student.obj
4KB
STUDENT.EXE
15KB
BLUEBALL.CPP
815B
BLUEBALL.ncb
33KB
BLUEBALL.OBJ
2KB
BLUEBALL.OPT
48KB
BLUEBALL.PLG
824B
BLUEBALL.DSP
3KB
70.BMP
902KB
BLUEBALL.DSW
541B
BLUEBALL.EXE
37KB
GETDIR.OBJ
1KB
86.BMP
458KB
GETDIR.EXE
12KB
GETDIR.CPP
320B
MAKELINE.EXE
41KB
MAKELINE.OBJ
2KB
77.BMP
902KB
MAKELINE.CPP
879B
SYMBOL.CPP
468B
SYMBOL.OBJ
13KB
17.BMP
458KB
SYMBOL.EXE
22KB
74.BMP
900KB
BAR3D.EXE
32KB
BAR3D.OBJ
2KB
BAR3D.CPP
894B
EGAVGA.BGI
5KB
Liangdian.obj
3KB
liangdian.cpp
1KB
Liangdian.exe
30KB
73.BMP
750KB
94.BMP
259KB
CHGDIS.OBJ
1KB
CHGDIS.CPP
472B
CHGDIS.EXE
15KB
TEXT.OBJ
2KB
EGAVGA.BGI
5KB
52.BMP
902KB
Text.cpp
887B
TEXT.EXE
37KB
DOS.EXE
12KB
92.BMP
458KB
DOS.OBJ
1KB
DOS.CPP
440B
ILIST.PRJ
4KB
ILIST.EXE
17KB
ITEST.CPP
604B
LIST.OBJ
2KB
LIST.H
752B
LIST.CPP
974B
ILIST.DSK
4KB
26.BMP
458KB
CLR_X.OBJ
3KB
64.BMP
902KB
CLR_X.CPP
1KB
CLR_X.EXE
38KB
STRUCT.DSW
537B
STRUCT.OPT
48KB
03.BMP
383KB
STRUCT.DSP
3KB
STRUCT.ncb
41KB
STRUCT.OBJ
2KB
STRUCT.CPP
818B
STRUCT.EXE
16KB
STRUCT.PLG
246B
60.BMP
902KB
PIXELS.EXE
38KB
PIXELS.CPP
1KB
PIXELS.OBJ
3KB
56A.BMP
902KB
LTOR.OBJ
3KB
LTOR.CPP
2KB
56B.BMP
902KB
LTOR.EXE
38KB
RANDOM.ncb
41KB
RANDOM.OBJ
2KB
07.BMP
458KB
RANDOM.OPT
48KB
RANDOM.DSW
537B
RANDOM.PLG
1KB
RANDOM.CPP
733B
RANDOM.EXE
18KB
RANDOM.DSP
3KB
76.BMP
902KB
MAKEBAR.EXE
41KB
MAKEBAR.CPP
798B
MAKEBAR.OBJ
2KB
CHGPAL.EXE
41KB
CHGPAL.OBJ
2KB
CHGPAL.CPP
924B
68.BMP
902KB
CLOCK.EXE
67KB
CLOCK.CPP
1KB
80.BMP
902KB
CLOCK.OBJ
16KB
GETMIN.CPP
676B
GETMIN.DSW
537B
GETMIN.DSP
3KB
GETMIN.ncb
33KB
GETMIN.EXE
15KB
GETMIN.OBJ
1KB
GETMIN.PLG
1KB
GETMIN.OPT
48KB
12.BMP
458KB
OUT.EXE
29KB
OUT.CPP
568B
19.BMP
458KB
OUT.OBJ
13KB
SUM.OBJ
1KB
SUM.DSW
531B
SUM.PLG
1KB
SUM.CPP
415B
SUM.DSP
3KB
SUM.OPT
48KB
SUM.EXE
15KB
10.BMP
458KB
SUM.ncb
33KB
Textwin.exe
12KB
Textwin.obj
2KB
Textwin.cpp
1KB
54.BMP
458KB
CHGDIR.EXE
13KB
CHGDIR.OBJ
2KB
87.BMP
458KB
CHGDIR.CPP
642B
CLRCIR.OBJ
3KB
CLRCIR.EXE
38KB
62.BMP
902KB
CLRCIR.CPP
1KB
ARC.OBJ
1KB
36.BMP
900KB
ARC.EXE
37KB
ARC.CPP
789B
72.BMP
750KB
DRPOINT2.EXE
12KB
DRPOINT2.CPP
1KB
DRPOINT2.OBJ
2KB
MUSIC.CPP
666B
MUSIC.OBJ
951B
81.BMP
212KB
MUSIC.EXE
7KB
CLR4BAR.CPP
2KB
CLR4BAR.EXE
38KB
CLR4BAR.OBJ
3KB
65.BMP
902KB
POINTER.DSP
3KB
POINTER.DSW
539B
POINTER.CPP
795B
POINTER.PLG
1KB
POINTER.EXE
15KB
04.BMP
458KB
POINTER.ncb
33KB
POINTER.OBJ
2KB
POINTER.OPT
48KB
TIMEBAR.EXE
38KB
47.BMP
900KB
TIMEBAR.OBJ
2KB
TIMEBAR.CPP
1KB
58A.BMP
902KB
BARS.CPP
2KB
58B.BMP
902KB
BARS.EXE
38KB
BARS.OBJ
3KB
NIHONG.OBJ
2KB
NIHONG.CPP
820B
NIHONG.EXE
37KB
69.BMP
902KB
说明.txt
275B
Svga64k.bgi
8KB
HILBERT.C
2KB
Svga64k.h
847B
64k_test.c
1KB
ALARM.EXE
15KB
ALARM.CPP
906B
79.BMP
458KB
ALARM.OBJ
2KB
NEWOPER.OPT
48KB
NEWOPER.DSW
539B
NEWOPER.DSP
3KB
NEWOPER.PLG
2KB
13.BMP
458KB
NEWOPER.EXE
28KB
NEWOPER.OBJ
13KB
NEWOPER.CPP
440B
NEWOPER.ncb
41KB
ITSELF.OBJ
3KB
ITSELF.CPP
970B
20.BMP
458KB
ITSELF.EXE
13KB
Huashi.exe
26KB
89.BMP
458KB
Huashi.obj
1KB
Huashi.cpp
709B
MIFENG.EXE
37KB
MIFENG.CPP
486B
MIFENG.OBJ
1KB
40.BMP
900KB
49.BMP
900KB
ROLLING.OBJ
2KB
ROLLING.CPP
1KB
ROLLING.EXE
37KB
SCREEN.EXE
11KB
01.BMP
458KB
SCREEN.OBJ
1KB
SCREEN.DSW
537B
SCREEN.PLG
1KB
SCREEN.CPP
803B
SCREEN.OPT
48KB
SCREEN.ncb
49KB
SCREEN.DSP
3KB
Color.exe
19KB
COLOR.CPP
3KB
Color.obj
4KB
84.BMP
460KB
JINGLING.CPP
432B
44.BMP
900KB
JINGLING.EXE
37KB
JINGLING.OBJ
1KB
CLRARC.EXE
38KB
CLRARC.CPP
2KB
CLRARC.OBJ
3KB
63.BMP
902KB
34.BMP
900KB
RAY.EXE
55KB
RAY.CPP
857B
RAY.OBJ
2KB
HARDDISK.CPP
2KB
93.BMP
458KB
HARDDISK.EXE
16KB
HARDDISK.OBJ
2KB
QUEUE.CPP
823B
QUEUE.EXE
24KB
QUEUE.H
1KB
29.BMP
458KB
QUEUE.PRJ
4KB
QUEUE.OBJ
15KB
QUEUE.DSK
3KB
Mulderiv.cpp
829B
MULDERIV.EXE
16KB
22.BMP
458KB
MULDERIV.OBJ
2KB
97.BMP
458KB
RRS.PRJ
4KB
RR.H
2KB
RRS.EXE
60KB
RRS.DSK
2KB
EGAVGA.BGI
5KB
RRS.CPP
6KB
RRS.OBJ
13KB
61.BMP
902KB
CLRCIR.OBJ
3KB
CLRCIR.DSW
537B
CLRCIR.DSP
3KB
CLRCIR.ncb
33KB
CLRCIR.EXE
38KB
CLRCIR.PLG
812B
CLRCIR.OPT
48KB
CLRCIR.CPP
2KB
JIEMIAN.EXE
38KB
JIEMIAN.OBJ
2KB
JIEMIAN.CPP
959B
50.BMP
900KB
STRING.OPT
48KB
14.BMP
458KB
STRING.ncb
33KB
STRING.DSW
537B
STRING.DSP
3KB
STRING.EXE
13KB
STRING.PLG
1KB
STRING.OBJ
2KB
STRING.CPP
1KB
51.BMP
458KB
TEXT.OBJ
713B
Text.cpp
151B
TEXT.EXE
11KB
PROCESS.CPP
9KB
PROCESS.EXE
78KB
Mouse.h
2KB
PROCESS.PRJ
4KB
PROCESS.OBJ
37KB
WINDW.H
11KB
99.BMP
902KB
PROCESS.DSK
2KB
Keshe.cpp
9KB
EVENT.H
831B
KESHE.OBJ
37KB
EGAVGA.BGI
5KB
59.BMP
902KB
CTOC.CPP
2KB
CTOC.EXE
38KB
CTOC.OBJ
3KB
CTOE.EXE
38KB
CTOE.CPP
2KB
57B.BMP
902KB
CTOE.OBJ
3KB
57A.BMP
902KB
STACK.PRJ
4KB
STACK.OBJ
16KB
STACK.DSK
3KB
28.BMP
458KB
STACK.H
1KB
STACK.EXE
24KB
STACK.CPP
820B
ROLLING.OBJ
2KB
48.BMP
900KB
ROLLING.CPP
926B
ROLLING.EXE
37KB
TIME.OBJ
1KB
78.BMP
458KB
TIME.EXE
17KB
TIME.CPP
243B
SETLINE.CPP
1KB
35.BMP
900KB
SETLINE.OBJ
2KB
SETLINE.EXE
37KB
Variable.ncb
41KB
Variable.obj
992B
Variable.opt
48KB
Variable.dsw
541B
Variable.exe
12KB
Variable.cpp
271B
02.BMP
458KB
Variable.plg
1KB
Variable.dsp
3KB
3DDEMO.OBJ
14KB
3DDEMO.EXE
49KB
3DDEMO.CPP
883B
3DDEMO.PIF
967B
75.BMP
902KB
EGAVGA.BGI
5KB
41.BMP
900KB
BALL.CPP
948B
BALL.OBJ
2KB
BALL.EXE
37KB
FILE.EXE
17KB
95A.BMP
458KB
FILE.OBJ
6KB
FILE.CPP
5KB
95B.BMP
458KB
32.BMP
900KB
LINE.EXE
37KB
LINE.OBJ
1KB
LINE.CPP
1KB
24.BMP
458KB
INCLASS.OBJ
3KB
INCLASS.CPP
1KB
INCLASS.EXE
13KB
TIME.OBJ
2KB
TIME.EXE
13KB
82.BMP
458KB
TIME.CPP
997B
53.BMP
142KB
3DWIN.CPP
504B
3DWIN.OBJ
1KB
3DWIN.EXE
11KB
SHAN.CPP
594B
43.BMP
900KB
SHAN.OBJ
1KB
SHAN.EXE
37KB
WORK.OBJ
22KB
100.BMP
902KB
WORK.EXE
58KB
WORK.CPP
6KB
PAGE.OBJ
14KB
PAGE.CPP
8KB
EGAVGA.BGI
5KB
PAGE.EXE
55KB
98.BMP
458KB
EXCHANGE.CPP
536B
EXCHANGE.OPT
48KB
EXCHANGE.OBJ
1KB
EXCHANGE.DSW
541B
EXCHANGE.EXE
15KB
EXCHANGE.DSP
3KB
11.BMP
458KB
EXCHANGE.PLG
1KB
EXCHANGE.ncb
33KB
DRPOINT1.OBJ
2KB
Drpoint1.cpp
1KB
71.BMP
750KB
DRPOINT1.EXE
12KB
FADEIN.CPP
2KB
66.BMP
902KB
FADEIN.OBJ
3KB
FADEIN.EXE
38KB
Tree.cpp
1KB
Treetest.cpp
777B
TREETEST.OBJ
3KB
30.BMP
458KB
TREE.PRJ
4KB
TREE.DSK
3KB
TREE.OBJ
2KB
Tree.h
415B
TREE.EXE
17KB
FIBONACI.OBJ
1KB
83.BMP
458KB
FIBONACI.EXE
12KB
FIBONACI.CPP
868B
MATH.OPT
48KB
MATH.OBJ
2KB
MATH.EXE
29KB
MATH.CPP
703B
MATH.ncb
33KB
MATH.DSP
3KB
06.BMP
458KB
MATH.DSW
533B
MATH.PLG
1KB
DESTRUCT.OBJ
5KB
DESTRUCT.DSK
3KB
DESTRUCT.EXE
15KB
DESTRUCT.PRJ
4KB
16.BMP
458KB
DESTRUCT.CPP
695B
DESTRUCT.H
1KB
LISTTEST.CPP
512B
BILIST.DSK
3KB
BILIST.H
956B
LISTTEST.OBJ
2KB
BILIST.EXE
14KB
BILIST.PRJ
4KB
BILIST.OBJ
2KB
27.BMP
458KB
BILIST.CPP
1KB
25.BMP
458KB
LIST.DSK
3KB
LIST.OBJ
3KB
LIST.PRJ
4KB
LISTTEST.OBJ
3KB
Listtest.cpp
831B
List.cpp
2KB
LIST.EXE
18KB
List.h
903B
COUNT.CPP
306B
COUNTST.CPP
390B
COUNTER.PRJ
4KB
COUNTST.OBJ
1KB
COUNTER.DSK
3KB
COUNT.H
275B
COUNTER.EXE
12KB
COUNT.OBJ
1KB
18.BMP
458KB
Virfunc.cpp
997B
VIRFUNC.OBJ
3KB
23.BMP
458KB
VIRFUNC.EXE
16KB
21B.BMP
385KB
DERIVED.OBJ
7KB
DERIVED.CPP
2KB
DERIVED.EXE
15KB
21A.BMP
389KB
21C.BMP
383KB
FADEOUT.CPP
2KB
67.BMP
902KB
FADEOUT.OBJ
3KB
FADEOUT.EXE
39KB
MENU.OBJ
3KB
88.BMP
458KB
MENU.EXE
16KB
MENU.CPP
2KB
FUNCTION.CPP
1KB
FUNCTION.ncb
33KB
FUNCTION.DSP
3KB
FUNCTION.PLG
1KB
FUNCTION.DSW
541B
FUNCTION.OPT
48KB
09.BMP
458KB
FUNCTION.OBJ
2KB
08.BMP
458KB
CHAR.PLG
1KB
CHAR.ncb
33KB
CHAR.DSP
3KB
CHAR.DSW
533B
CHAR.CPP
890B
CHAR.OPT
48KB
CHAR.OBJ
2KB
CHAR.EXE
15KB
FUNCTION.EXE
27KB
33.BMP
900KB
Pixel.cpp
401B
PIXEL.OBJ
14KB
PIXEL.EXE
65KB
COLLEGE.PRJ
4KB
96.BMP
458KB
College.h
5KB
COLLEGE.DSK
2KB
COLLEGE.EXE
54KB
COLLEGE.OBJ
25KB
COLLEGE.CPP
1KB
POLYGON.CPP
967B
POLYGON.OBJ
1KB
POLYGON.EXE
37KB
37.BMP
900KB
31.BMP
457KB
DISTREE.PRJ
4KB
TREE.OBJ
3KB
TREE.H
572B
Distree.cpp
2KB
DISTREE.EXE
16KB
DISTREE.DSK
3KB
TREE.CPP
2KB
Distree.obj
4KB
用户评论