473,403 Members | 2,071 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,403 software developers and data experts.

help on making dimond program

Hi,
I need some help to make a dimond that looks like this

*
***
******
***
*

in the centre of the screen using turbo c++ as an assignment but can't find it anywhere

Asim Phoenix
Feb 25 '07 #1
1 1100
horace1
1,510 Expert 1GB
Hi,
I need some help to make a dimond that looks like this

*
***
******
***
*

in the centre of the screen using turbo c++ as an assignment but can't find it anywhere

Asim Phoenix
you need to start by reading up on loops (for, while, etc), e.g. see the Control Structures tutorial in
http://www.cplusplus.com/doc/tutorial/
Feb 25 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

28
by: Siv | last post by:
Hi, If I run the following: strSQL = "Select * FROM Clients;" da = New OleDb.OleDbDataAdapter(strSQL, Conn) 'Create data adapter cb = New OleDb.OleDbCommandBuilder(da) ...
9
by: santosh | last post by:
Hello all, I've put together a small program to count the number of characters and 'words' in a text file. The minimum length of a word, (in terms of no. of characters), as well as word...
21
by: c | last post by:
Hi everybody. I'm working on converting a program wriiten on perl to C, and facing a problem with concatenate strings. Now here is a small program that descripe the problem, if you help me to...
2
by: shirin.no87 | last post by:
how to make solitaire game of win xp with c++? the game should be in this way: 1:deal:to begin the game 28 cards are dealt into seven piles the leftmost pile has one card the next tow cards...
46
by: Narc0 | last post by:
Hello everyone, I have a problem with a rather simple thing. I have to make the code of a program. The program is already made, I have the executable and all, the only thing I need is the source...
1
by: macmac | last post by:
I'm new to this forum and I am in a beginner level with programming too. I posted this thing out hoping that somebody could help me out in making this program. I am working right now as a C++...
1
by: mephoenix2000 | last post by:
Hello, I'm trying to make a c++ program for an assignment a dimond in the centre of the screen Thanks
12
by: adamurbas | last post by:
ya so im pretty much a newb to this whole python thing... its pretty cool but i just started today and im already having trouble. i started to use a tutorial that i found somewhere and i followed...
1
by: Apolakkiatis | last post by:
I need help with this program i am making... it is a print screen application which takes pictures of what's going on by the sendkeys command and pressing Ctrl + Print Scr (I know kind of corny but...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.