Go to Post You inspire your way. I'll inspire my way. - Andrew Schreiber [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #11   Spotlight this post!  
Unread 20-01-2007, 15:57
brainonska's Avatar
brainonska brainonska is offline
Registered User
AKA: Magical Steve
FRC #1155 (Sciborgs)
Team Role: Programmer
 
Join Date: Apr 2006
Rookie Year: 2006
Location: New York City
Posts: 19
brainonska is an unknown quantity at this point
Send a message via AIM to brainonska
Re: hey, stupid question but...

i could be wrong...

but you declared the integer variable "max" in the function.

try putting "int max;" in your first line of code along with all your other variable declarations and then in the function... "max = ..."
__________________
Real programmers don't comment their code:
it was hard to write... it should be hard to understand
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Stupid Variable question.... BillyJ Programming 3 20-02-2006 19:49
Stupid question but... Adam Y. Math and Science 6 16-02-2004 19:29
Really stupid question psychoCHIPMUNKK Kit & Additional Hardware 3 15-02-2004 00:26
stupid question x10 Tom Bottiglieri CD Forum Support 1 04-02-2004 22:40
ill probably feel stupid but i do anyway so... Anthony Kesich Programming 8 05-11-2003 12:53


All times are GMT -5. The time now is 23:56.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi