[Show all top banners]
Back to: Kurakani General Refresh page to view new replies
 Project
[VIEWED 3210 TIMES]
SAVE! for ease of future access.
Posted on 12-30-06 10:13 AM     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 

I have got a project in my C++ programming course to be completed within coming week. In the project I have to draw a graph in an X-Y plane coordinate plane where Y represents vertical axis and X represents horizontal axis. The graph is between variables x and y, where x and y are two arrays. These two arrays are formed by generating random numbers.

The C++ programming taught in my University is not CLR Console application type but it is a windows forms application type i.e. it is visual C++ express edition 2005 in dot NET Environment. Here first an interface (or a form) is created with different text boxes and buttons with the help of toolbox and properties window and codes are written in different event handlers.

This is an extra credit project and is very important to me. If I completed this project, I will get ‘B’ grade otherwise I will just get ‘C’ grade. If I get just ‘C’, my overall GPA becomes less than 3 and it will be difficult to get admission in higher level.

I have started this project by creating interface and writing some codes. When I run the program, I get a form with a button on it. When I click on btnStart, I will get a white screen and two coordinate’s axes X and Y. These two axes are also labeled as 1, 2, 3 etc. Now I don’t know how to generate random numbers for two arrays x and y such that I will have a graph between those arrays on the screen, when the program is run.

I will be so grateful if anyone assists me by giving necessary codes for the remaining part of my project.
 


Please Log in! to be able to reply! If you don't have a login, please register here.

YOU CAN ALSO



IN ORDER TO POST!




Within last 7 days
Recommended Popular Threads Controvertial Threads
TPS Re-registration case still pending ..
and it begins - on Day 1 Trump will begin operations to deport millions of undocumented immigrants
All the Qatar ailines from Nepal canceled to USA
Travel Document for TPS (approved)
NOTE: The opinions here represent the opinions of the individual posters, and not of Sajha.com. It is not possible for sajha.com to monitor all the postings, since sajha.com merely seeks to provide a cyber location for discussing ideas and concerns related to Nepal and the Nepalis. Please send an email to admin@sajha.com using a valid email address if you want any posting to be considered for deletion. Your request will be handled on a one to one basis. Sajha.com is a service please don't abuse it. - Thanks.

Sajha.com Privacy Policy

Like us in Facebook!

↑ Back to Top
free counters