Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > Pro VB 6
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
Pro VB 6 For advanced Visual Basic coders working in version 6 (not .NET). Beginning-level questions will be redirected to other forums, including Beginning VB 6.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro VB 6 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old January 11th, 2008, 10:40 PM
Registered User
 
Join Date: Jan 2008
Location: makati city, , Philippines.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to plomoscky
Default 2 dimentional array

how can i make a two imentional array in creating a program in which the user will input their grade in midterm exam an prefionals then compute their grades using an array the output will automatically show the final gradde and after they enter the midterm grade it i automatically whent to pre final it is in a table basics.thanks i hope you can help me

Reply With Quote
  #2 (permalink)  
Old January 14th, 2008, 12:50 PM
Friend of Wrox
 
Join Date: May 2006
Location: San Diego, CA, USA.
Posts: 643
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
quote:Originally posted by plomoscky
 how can i make a two imentional array in creating a program in which the user will input their grade in midterm exam an prefionals then compute their grades using an array the output will automatically show the final gradde and after they enter the midterm grade it i automatically whent to pre final it is in a table basics.thanks i hope you can help me
Making a two dimensional array is simple. The following will make a 2 dimensional array that will hold values of type double:
Code:
Dim a(5, 5) As Double
Here is one that can hold just about anything:
Code:
Dim a(5, 5) As Variant
Each of these arrays will have a matrix that is 6 x 6 elements (0 through five for each dimension).

However, it looks like what you are asking is for someone to do a homework assignment for you. I would guess that the "how-to" for what you are asking is in the course material for the class you are taking. If you have specific questions, just post them here.

Woody Z
http://www.learntoprogramnow.com
How to use a forum to help solve problems
My blog... please visit
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Convering a String Array to an Integer array nkrust C# 9 November 17th, 2010 12:02 PM
Go from 2d Array to 1d array without defining type OneQuestion General .NET 1 January 10th, 2008 11:13 AM
2 dimentional array ie_lml Pro VB 6 3 November 23rd, 2004 03:13 PM
Passing php array values to javascript array gkrishna Pro PHP 0 November 6th, 2004 03:20 AM
accessing a two dimentional collection array levinll Beginning VB 6 0 September 2nd, 2004 01:55 PM



All times are GMT -4. The time now is 07:06 AM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.