Notices
The Basement Non-Honda/Acura discussion. Content should be tasteful and "primetime" safe.

C++ experienced peeps chime in...

Thread Tools
 
Old Jan 31, 2007 | 01:04 PM
  #31  
Grifter's Avatar
Grifter
Senior Member
 
Joined: Dec 2000
Posts: 44,835
Likes: 0
From: the southwest
Default

my mistake
it should be

if (num > max)
{
max = num;
}

if (num < min)
{
min = num;
}

ill post my program when iget home
Reply
Old Jan 31, 2007 | 03:05 PM
  #32  
Red X's Avatar
Red X
x pǝɹ
 
Joined: Feb 2003
Posts: 6,246
Likes: 1
From: Upstate
Default

Now I understand what you were trying to do, thanks to Grifters re-work
Reply
Old Jan 31, 2007 | 04:07 PM
  #33  
wedley2's Avatar
wedley2
Thread Starter
bboy Wesley West
 
Joined: Oct 2003
Posts: 15,390
Likes: 0
From: six-five-o
Default

i got it working during class today and sent it in.

time for the next assignment, deals with arrays and functions!!! yay

thanks guys for your help.
Reply
Old Jan 31, 2007 | 04:12 PM
  #34  
Grifter's Avatar
Grifter
Senior Member
 
Joined: Dec 2000
Posts: 44,835
Likes: 0
From: the southwest
Default

functions ftw
Reply




All times are GMT -8. The time now is 10:51 PM.