Overclock.net - Overclocking.net
     
 
Home Gallery Reviews Blogs Register Today's Posts Mark Forums Read Members List


Go Back   Overclock.net - Overclocking.net > Software, Programming and Coding > Coding and Programming

Reply
 
LinkBack Thread Tools
Old 05-07-08   #11 (permalink)
PC Gamer
 
blade007's Avatar
 
intel nvidia

Join Date: Jun 2007
Location: ON, CANADA
Posts: 2,395

Rep: 106 blade007 is acknowledged by manyblade007 is acknowledged by many
Unique Rep: 88
Trader Rating: 13
Default

bookmarking this
__________________
Aumotocnic - "An unfortunate member of the overclock.net insomnia club"

System: Black & Blue
CPU
Intel E2200 Dual Core 2.2Ghz
Motherboard
Dell Mobo
Memory
4x1GB PC2-5300U DDR2 667
Graphics Card
Galaxy KFA2 GeForce 8600 GT Low Profile
Hard Drive
WD Caviar SE 250GB; E: AcomData PureDrive 320GB
Sound Card
OnBoard
Power Supply
Bestec TFX0250D5W Rev.: X4 250W
Case
Dell Vostro 200 Slim
CPU cooling
Stock Heatsink + 2 80mm Fans
GPU cooling
Stock
OS
Windows Vista Home Premium x86
Monitor
Samsung 226BW 22" LCD
blade007 is offline blade007's Gallery   Reply With Quote
Old 05-08-08   #12 (permalink)
Programmer
 
intel ati

Join Date: Nov 2006
Posts: 1,362

Rep: 91 version2 is acknowledged by some
Unique Rep: 74
Trader Rating: 3
Default

I don't like your thinking of arrays at all. You should be using a topological approach to support the understanding of multi-dimensional arrays. I'll start by asking you about: how do you think of 4 dimensional arrays?

And you don't have an answer because you can't... except by thinking of this: variable[2][8][3][7];
Which doesn't help.

So, I highly recommend for new programmers to think of arrays as a tree diagram. Every new dimension is a new split in a tree. Try drawing it out and you'll see you'll be able to draw as many dimensions beyond 3... Sweet. (Now you can go to some bar and bet people there that you can draw something with 10 dimensions...)
__________________
System: Duo
CPU
Core 2 Duo E6600 B2
Motherboard
Asus P5B Deluxe
Memory
G.SKILL HZ 2x1gb DDR2 800
Graphics Card
Sapphire x1950pro
Hard Drive
WD 640gb, Maxtor 160gb
Sound Card
Audigy 2 ZS
Power Supply
FSP 450W
Case
Ultra Aluminus
CPU cooling
Freezer Pro 7
GPU cooling
Stock
Monitor
20.1'' SOYO LCD (Wide)
version2 is online now   Reply With Quote
Old 05-08-08   #13 (permalink)
PC Gamer
 
jinja_ninja's Avatar
 
intel nvidia

Join Date: Oct 2007
Location: Dorset, England
Posts: 1,690

Rep: 77 jinja_ninja is acknowledged by some
Unique Rep: 70
Trader Rating: 1
Default

Very nicely done.

I don't have the "knack" for coding at all. Tried it many times at college...

I will stick to HTML and Hardware
__________________
Team Fortress 2 Expert

System: Gentlemen.
CPU
E6850 - 3.6Ghz 9x400
Motherboard
MSI P35 Platinum
Memory
4GB OCZ Platinum 6400
Graphics Card
8800GT 512MB 700/2000
Hard Drive
750GB Total
Sound Card
Creative Audigy2 Platinum
Power Supply
Antec EarthWatts 500W
Case
Antec Sonata III
CPU cooling
Tuniq Tower 120
GPU cooling
Thermaltake DuOrb
OS
Vista Business x64 SP1
Monitor
22" Viewsonic VX2255
jinja_ninja is offline   Reply With Quote
Old 05-08-08   #14 (permalink)
Programmer
 
Licht's Avatar
 
amd ati

Join Date: Mar 2007
Location: Bel Air
Posts: 8,527
Blog Entries: 3

Rep: 247 Licht is acknowledged by manyLicht is acknowledged by manyLicht is acknowledged by many
Unique Rep: 165
Folding Team Rank: 844
Trader Rating: 0
Default

Quote:
Originally Posted by version2 View Post
I don't like your thinking of arrays at all. You should be using a topological approach to support the understanding of multi-dimensional arrays. I'll start by asking you about: how do you think of 4 dimensional arrays?

And you don't have an answer because you can't... except by thinking of this: variable[2][8][3][7];
Which doesn't help.

So, I highly recommend for new programmers to think of arrays as a tree diagram. Every new dimension is a new split in a tree. Try drawing it out and you'll see you'll be able to draw as many dimensions beyond 3... Sweet. (Now you can go to some bar and bet people there that you can draw something with 10 dimensions...)
My thinking of arrays is to help the user understand the way they can use coordinates. Using a tree for a 2 dimensional array wouldn't totally encompass the understanding of these uses. For example your listing numbers in rows of ten. Every y x's value is increased by 10 because of this (x being horizontal coordinate y being vertical.) On a tree that could look confusing, but imagining it how it is (a plain) will yield instant "ok i understand that, simple" responses.

System: AMD-AMD-ATI
CPU
AMD Athlon X2 5200+
Motherboard
Gigabyte 790X AM2+
Memory
2x 1Gb Kingston && 2x 1Gb Wintec
Graphics Card
Saphire HD 3870
Hard Drive
[RAID0] [2X] WD 160GB 7,200RPM
Sound Card
X-Fi Extreme Gamer Fatality Professional
Power Supply
OCZ Game-X-Stream 700w
Case
NZXT Black Steel
CPU cooling
Stock Heatskin & Fan
GPU cooling
Stock Saphire 3870 Cooling
OS
Windows Vista Home Premium x64 SP1
Monitor
Samsung SyncMaster 19" Widescreen
Licht is offline I fold for Overclock.net Licht's Gallery   Reply With Quote
Old 05-08-08   #15 (permalink)
Kernel Sanders
 
rabidgnome229's Avatar
 
intel nvidia

Join Date: Feb 2006
Location: Pittsburgh
Posts: 4,900
Blog Entries: 1

Rep: 549 rabidgnome229 is becoming famousrabidgnome229 is becoming famousrabidgnome229 is becoming famousrabidgnome229 is becoming famousrabidgnome229 is becoming famousrabidgnome229 is becoming famous
Unique Rep: 327
FAQs Submitted: 6
Trader Rating: 5
Default

Quote:
Originally Posted by version2 View Post
I don't like your thinking of arrays at all. You should be using a topological approach to support the understanding of multi-dimensional arrays. I'll start by asking you about: how do you think of 4 dimensional arrays?

And you don't have an answer because you can't... except by thinking of this: variable[2][8][3][7];
Which doesn't help.

So, I highly recommend for new programmers to think of arrays as a tree diagram. Every new dimension is a new split in a tree. Try drawing it out and you'll see you'll be able to draw as many dimensions beyond 3... Sweet. (Now you can go to some bar and bet people there that you can draw something with 10 dimensions...)
His way is a good method of beginning to understand multidimensional arrays. It is unfeasible with higher numbers of dimensions, but if you really need to think critically about multidimensional arrays its best to think about how they are layed out in memory (linearly) rather than trying to wade through trees. If you try to do it with trees you run into a different problem - a 10x10x10 array already has 1000 leaves and would be way too dense to actually be a useful visual.
__________________
BIG BROTHER
I put on my robe and wizard hat...

IS WATCHING

System: It goes to eleven
CPU
E6300
Motherboard
DS3
Memory
2GB XMS2 DDR2-800
Graphics Card
EVGA 8600GTS
Hard Drive
1.294 TB
Sound Card
Audigy 2 ZS
Power Supply
Corsair 520HX
Case
Lian-Li v1000B Plus
CPU cooling
TTBT
GPU cooling
Thermalright V2
OS
Arch Linux/XP
Monitor
Samsung 226bw
rabidgnome229 is online now Overclocked Account   Reply With Quote
Old 05-10-08   #16 (permalink)
PC Gamer
 
DjQurt's Avatar
 
amd nvidia

Join Date: Jul 2007
Location: Colorado
Posts: 1,365

Rep: 35 DjQurt is acknowledged by some
Unique Rep: 35
Folding Team Rank: 497
Trader Rating: 0
Default

argh i cant get past the first step! when i open toolbox nothing is in there and i can find buttons to drag! help me licht!
__________________
Quote:
Originally Posted by coltsrock View Post
johnny: Mommy, Mommy can i have a beer?
mom: Did the wii tell you to have one?
johnny: Yess
mom: Ok, you can have one
games im playing- Mass effect, Crysis, Oblivion with mods, TF2, Lost planet, and Cod4 online

My zune

System: Vista broke!
CPU
athlon 64 x2 3600+ @3ghz
Motherboard
Biostar Tforce 560 AM2+
Memory
2x1gb Mushkin HP2
Graphics Card
Gigabyte 8800gt
Hard Drive
2x80+200gb HDD
Sound Card
Onboard
Power Supply
500w rosewill
Case
Thermaltake SopranoRS
CPU cooling
AC 64 pro + AS5
GPU cooling
DuOrb + AS5
OS
Vista x86
Monitor
neovo F-419
DjQurt is offline I fold for Overclock.net   Reply With Quote
Old 05-10-08   #17 (permalink)
Programmer
 
Licht's Avatar
 
amd ati

Join Date: Mar 2007
Location: Bel Air
Posts: 8,527
Blog Entries: 3

Rep: 247 Licht is acknowledged by manyLicht is acknowledged by manyLicht is acknowledged by many
Unique Rep: 165
Folding Team Rank: 844
Trader Rating: 0
Default

Quote:
Originally Posted by DjQurt View Post
argh i cant get past the first step! when i open toolbox nothing is in there and i can find buttons to drag! help me licht!
Have you created a new Windows Forms project?

System: AMD-AMD-ATI
CPU
AMD Athlon X2 5200+
Motherboard
Gigabyte 790X AM2+
Memory
2x 1Gb Kingston && 2x 1Gb Wintec
Graphics Card
Saphire HD 3870
Hard Drive
[RAID0] [2X] WD 160GB 7,200RPM
Sound Card
X-Fi Extreme Gamer Fatality Professional
Power Supply
OCZ Game-X-Stream 700w
Case
NZXT Black Steel
CPU cooling
Stock Heatskin & Fan
GPU cooling
Stock Saphire 3870 Cooling
OS
Windows Vista Home Premium x64 SP1
Monitor
Samsung SyncMaster 19" Widescreen
Licht is offline I fold for Overclock.net Licht's Gallery   Reply With Quote
Old 05-14-08   #18 (permalink)
AMD Overclocker
 
alawadhi3000's Avatar
 
intel nvidia

Join Date: Oct 2005
Location: Bahrain
Posts: 1,480

Rep: 133 alawadhi3000 is acknowledged by manyalawadhi3000 is acknowledged by many
Unique Rep: 94
Hardware Reviews: 5
Trader Rating: 23
Default

Awesome, REP+

from what I see is that C# is a combination of C++ and VB codes right?
__________________
GeForce 8800GTS 320MB/9600GT 512MB

3DMark06 11518/10963
3DMark05 17948
3DMark03 36902/36240
3DMark01 49944/43675

Total 116312

System: My Rig
CPU
Intel Core 2 Duo E8400 @ 3.6GHz 1.15v 24/7
Motherboard
Gigabyte GA-P35-DS3P
Memory
4GB GSkill DDR2-1000 (2X2GB)
Graphics Card
eVGA 8800GTS 512MB
Hard Drive
2X WD 500GB
Sound Card
X-FI XtremeMusic
Power Supply
Enermax Noisetaker 485W
Case
Thermaltake Soprano
CPU cooling
Thermaltake Big Typhoon + TT LED Fan
GPU cooling
Stock
OS
Vista Ultimate X64 SP1
Monitor
HP 2207h
alawadhi3000 is offline   Reply With Quote
Old 05-14-08   #19 (permalink)
Programmer
 
Licht's Avatar
 
amd ati

Join Date: Mar 2007
Location: Bel Air
Posts: 8,527
Blog Entries: 3

Rep: 247 Licht is acknowledged by manyLicht is acknowledged by manyLicht is acknowledged by many
Unique Rep: 165
Folding Team Rank: 844
Trader Rating: 0
Default

Quote:
Originally Posted by alawadhi3000 View Post
Awesome, REP+

from what I see is that C# is a combination of C++ and VB codes right?
No C# is a combination of C++ and Java. Nothing like VB in the slightest if you get into either more then just the up front images.

System: AMD-AMD-ATI
CPU
AMD Athlon X2 5200+
Motherboard
Gigabyte 790X AM2+
Memory
2x 1Gb Kingston && 2x 1Gb Wintec
Graphics Card
Saphire HD 3870
Hard Drive
[RAID0] [2X] WD 160GB 7,200RPM
Sound Card
X-Fi Extreme Gamer Fatality Professional
Power Supply
OCZ Game-X-Stream 700w
Case
NZXT Black Steel
CPU cooling
Stock Heatskin & Fan
GPU cooling
Stock Saphire 3870 Cooling
OS
Windows Vista Home Premium x64 SP1
Monitor
Samsung SyncMaster 19" Widescreen
Licht is offline I fold for Overclock.net Licht's Gallery   Reply With Quote
Old 05-14-08   #20 (permalink)
AMD Overclocker
 
alawadhi3000's Avatar
 
intel nvidia

Join Date: Oct 2005
Location: Bahrain
Posts: 1,480

Rep: 133 alawadhi3000 is acknowledged by manyalawadhi3000 is acknowledged by many
Unique Rep: 94
Hardware Reviews: 5
Trader Rating: 23
Default

Quote:
Originally Posted by Licht View Post
No C# is a combination of C++ and Java. Nothing like VB in the slightest if you get into either more then just the up front images.
I saw the messagebox is same as VB and got confused

I didn't try C# yet as the college requires c++, VB and JAVA only
__________________
GeForce 8800GTS 320MB/9600GT 512MB

3DMark06 11518/10963
3DMark05 17948
3DMark03 36902/36240
3DMark01 49944/43675

Total 116312

System: My Rig
CPU
Intel Core 2 Duo E8400 @ 3.6GHz 1.15v 24/7
Motherboard
Gigabyte GA-P35-DS3P
Memory
4GB GSkill DDR2-1000 (2X2GB)
Graphics Card
eVGA 8800GTS 512MB
Hard Drive
2X WD 500GB
Sound Card
X-FI XtremeMusic
Power Supply
Enermax Noisetaker 485W
Case
Thermaltake Soprano
CPU cooling
Thermaltake Big Typhoon + TT LED Fan
GPU cooling
Stock
OS
Vista Ultimate X64 SP1
Monitor
HP 2207h
alawadhi3000 is offline   Reply With Quote
Reply

Tags
learn, programming, programming guide, visual c#



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools



All times are GMT -4. The time now is 07:47 PM.


Overclock.net is a Carbon Neutral Site Creative Commons License Internet Security By ControlScan

Terms of Service / Forum Rules | Privacy Policy | Advertising | Become an Official Vendor
Copyright © 2008 Shogun Interactive Development. Most rights reserved.
Page generated in 0.29003 seconds with 9 queries