473,806 Members | 2,795 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Moving text across the screen with C++

1 New Member
i am creating a " Hello World" program. i need to make it loop and have it bounce from one side of the screen to another in command prompt. I have no idea how to do this.....i am so lost and my teacher needs this program done by wendsday. help please and thank you for all that do.


to have the phrase "hello world" on the screen i can do but to loop it im lost. thank you
Oct 1 '07 #1
1 8590
sicarie
4,677 Recognized Expert Moderator Specialist
Well, there are 3 parts to loops that you need to figure out: 1) start conditions, 2) end conditions, and 3) what you want it to do each time it loops.

So it looks like you have your start (when the program is executed), but when do you want to end it? Is this an infinite loop? When does it end?
Oct 1 '07 #2

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

Similar topics

9
62538
by: puzzled | last post by:
I'm trying to use a small gif of a Christmas tree as a horizontal divider across the screen (which could be any number of pixels wide). My attempt at doing this was basically like this: <img alt="tree graphic (1k)" src="tree.gif" height="60" width="100%"> So I got a tree that looked like a funhouse mirror reflection - 60 pixels high, like I asked; but stretched fully across the screen. It looked like someone dragged a green...
14
4034
by: Roger Withnell | last post by:
How to I find out what size text the browser is set to? Thanks in anticipation.
6
3016
by: kklickman | last post by:
I've got a page with two columns: one floats left, the other doesn't float. The page displays fine in Netscape no matter what. In IE (both 6 and 7), it looks fine as long as the browser window is more than 800 pixels wide. However, when the browser window gets narrow, IE pushes the text in the right-hand column to below where the left-hand column ends. I can't figure out where I went wrong. Sample page is...
0
1550
by: =?Utf-8?B?QW5kcmV3?= | last post by:
I have 6 small touch screens that are connected to my pc to a special video card. The video driver splits up my screen in six sections, 3 across the top and 3 across the bottom. They are all even size. Now the video card displays a section of my screen to the corresponding touch screen. I have a separate app that release the touch(mouse) location on the small touch screen back to my main pc and moves the mouse to the appropriate location on...
2
3329
by: jonny | last post by:
I am using Visual Web Developer with ASP and VB.NET to build website. I would like to have Text moving across my screen that says "Example text moving across screen for viewers to read.". I am new to web and VB.NET programming so please help me with step by step. (Just when I got used to VB 6.0 now I have to starting learning VB.NET)
10
6785
by: cjparis | last post by:
Hello everyone. If anyone can give me a hand I would be gratefull Am doing a site which requires a moving element and have used DHTML to do it. Have a simple Browser detect script to sort IE from Netscape. IE is ok but the Netscape browser including Firefox and Safari are not working now. Not sure why. The idea is that when you mouseover the arrows the gallery div moves to left and right. I have changed the script and now the image...
5
2837
Death Slaught
by: Death Slaught | last post by:
Here comes the headaches. Ok I need to know how to do the following. (I think my brains gona fall out.....please don't just give me the answer but talk me through it so I can understand it.) I need to know how to make text scroll across a limited amount of space across the screen. I need to know how to put pauses(or reduce the speed) of/in the text.
12
1930
by: =?Utf-8?B?TWFyaw==?= | last post by:
I modified a C# application from Bob Powell that moves graphics primitives around on the screen into a Vb.NET 2005 application. I want to modify this application so along with moving regular geometric shapes, I can also move the alphanumeric characters as well. For example I place the character "A" on the screen and when I point to it with the mouse the character will be outlined and while holding down the left mouse button move the "A"...
15
2454
by: mcjason | last post by:
I saw something interesting about a grid pair puzzle problem that it looks like a machine when you find each that work out the way it does and say with all the others that work out the way they do together overlapping common pieces but say connected each working out as connected, but together as connected it's connected with the others connected. a whole machine where connected together is a condition of the machine together as...
0
9599
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10371
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10374
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10111
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9193
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6877
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5684
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4330
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3853
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.