Go to Post Also, there are times when the folks who run this ice cream store don't have the flavors I like. Can you believe that?!!! Although this really frustrates me, I get over this treachery and I still order something. After all, it is ice cream. I like ice cream. - Andy Baker [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
  #15   Spotlight this post!  
Unread 24-01-2007, 17:49
Phantomechanics's Avatar
Phantomechanics Phantomechanics is offline
phantom mechanics
AKA: joey
FRC #2028
Team Role: Student
 
Join Date: Jan 2007
Rookie Year: 2007
Location: hampton VA
Posts: 7
Phantomechanics is an unknown quantity at this point
Send a message via AIM to Phantomechanics
Re: hey, stupid question but...

Hey you who had the problem, are you still with us?
Why do you even have 'max'? Couldnt you just use this?
Code:
int intMax(int x, int y)
{                                //here is where I get the syntax error
    if(y > x)
        x = y;
    
    return x;
}
 


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 03:57.

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