文件名称:print
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:16.27kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
编写一个程序可以让用户选择在指定位置打印出不同的图形,如正立等腰三角形,倒立等腰三角形,矩形,正方形、菱形和多边形。图形由随机选择的*或者#组成。所谓指定位置是指图形离左边屏幕最近字符与左屏幕边界的距离字符数。(注意,由于字符大小和间隔的原因,字符组成的正方形图案可能并不标准)。-Write a program that allows users to choose to print out the specified location of different graphics, such as the legislation is being isosceles triangle, inverted isosceles triangle, rectangle, square, diamond, and polygons. Graphics by the random selection of the* or# form. The so-called specified location refers to the graphic characters from the left side of the screen and the left edge of the screen recently the distance the number of characters. (Note that, due to the size and spacing of the reasons for characters, character pattern composed of squares may not be standard).
(系统自动生成,下载前可以参看下载内容)
下载文件列表
fourth.dsw
fourth.ncb
fourth.opt
fourth.plg
main.cpp
polygon.cpp
polygon.h
rectangle.cpp
rectangle.h
reversetriangle.cpp
reversetriangle.h
square.cpp
square.h
triangle.cpp
triangle.h
diamond.cpp
diamond.h
fourth.dsp
fourth.ncb
fourth.opt
fourth.plg
main.cpp
polygon.cpp
polygon.h
rectangle.cpp
rectangle.h
reversetriangle.cpp
reversetriangle.h
square.cpp
square.h
triangle.cpp
triangle.h
diamond.cpp
diamond.h
fourth.dsp
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.