This must be a C++ code in which the integer fastCount has been
initialized by passing 0 to its default constructor.  And the loop runs
infinitely.

 

 

From: [email protected] [mailto:[email protected]] On Behalf
Of Gopi Krishna Komanduri
Sent: Wednesday, July 08, 2009 4:01 PM
To: [email protected]
Subject: Re: [c-prog] AI gaming

 

Hi,
   Can any one explain what this code is. I am confused with method
declaration in the for loop. and I know I didnt provide any definition.
I am assigning 0 to this method address.

syntactically I understood. But clearly dot understand what is the use
of it etc.

int main()
{
for( int fastCount( 0 ); 1 ; )
{

    printf("Hello:");
    fastCount = 0;

}

    return 1;

}

GopiKrishna Komanduri
Software engineer
[email protected]
<mailto:Hyderabadgopikomanduri%40yahoo.com> 
 

--- On Wed, 8/7/09, Thomas Hruska <[email protected]
<mailto:thruska%40cubiclesoft.com> > wrote:

From: Thomas Hruska <[email protected]
<mailto:thruska%40cubiclesoft.com> >
Subject: Re: [c-prog] AI gaming
To: [email protected] <mailto:c-prog%40yahoogroups.com> 
Date: Wednesday, 8 July, 2009, 10:12 AM

Jack Jennings wrote:

> SVMAYOL wrote:

>> anyone who is an AI game programmer here?

>> im looking for a technical paper,..im planning of creating my own AI

> game soon..hope any one could provide me a reference..or a technical

> paper will do..

>> regards,

>> sv

> 

> This may not be what you are looking for, but I found an excellent

> example of a game written in C++ with complete source. When you build

> this in Visual Studio with Debug, you are able to run the game and
break

> it at any point to see how the code operates the game. The game is

> called OpenTTD which stands for Transport Tycoon Deluxe. The download

> site is www.openttd. org/ In the code of OpenTTD, there are modules

> referring to the "AI" which as Thomas wrote are simply the algorithms

> used to create the "behavior" of the computer players.

> 

> As far as a technical paper, googling came up with something pretty

> quick that may be a good overview of game design. It's some college

> course web-resource site by a guy from California.

> http://www.alanemri ch.com/PGD/ PGD_Directory. htm

> 

> Try googling terms like "Game design", "Strategy Game programming" ,
etc.

> 

> HTH.

> 

> Jack Jennings

Forgot to mention: The standard jumping off point for game development 

is www.gamedev. net.

-- 

Thomas Hruska

CubicleSoft President

Ph: 517-803-4197

*NEW* MyTaskFocus 1.1

Get on task. Stay on task.

http://www.CubicleS oft.com/MyTaskFo cus/











See the Web&#39;s breaking stories, chosen by people like you. Check out
Yahoo! Buzz. http://in.buzz.yahoo.com/

[Non-text portions of this message have been removed]




--------------------------------------------------------------------------
This message w/attachments (message) may be privileged, confidential or 
proprietary, and if you are not an intended recipient, please notify the 
sender, do not use or share it and delete it. Unless specifically indicated, 
this message is not an offer to sell or a solicitation of any investment 
products or other financial product or service, an official confirmation of any 
transaction, or an official statement of Merrill Lynch. Subject to applicable 
law, Merrill Lynch may monitor, review and retain e-communications (EC) 
traveling through its networks/systems. The laws of the country of each 
sender/recipient may impact the handling of EC, and EC may be archived, 
supervised and produced in countries other than the country in which you are 
located. This message cannot be guaranteed to be secure or error-free. 
References to "Merrill Lynch" are references to any company in the Merrill 
Lynch & Co., Inc. group of companies, which are wholly-owned by Bank of America 
Corporation. Securities and Insurance Products: * Are Not FDIC Insured * Are 
Not Bank Guaranteed * May Lose Value * Are Not a Bank Deposit * Are Not a 
Condition to Any Banking Service or Activity * Are Not Insured by Any Federal 
Government Agency. Attachments that are part of this E-communication may have 
additional important disclosures and disclaimers, which you should read. This 
message is subject to terms available at the following link: 
http://www.ml.com/e-communications_terms/. By messaging with Merrill Lynch you 
consent to the foregoing.
--------------------------------------------------------------------------
 


[Non-text portions of this message have been removed]

Reply via email to