Need Input on new project

Whether you're a newbie or an experienced programmer, any questions, help, or just talk of any language will be welcomed here.

Moderator: Coders of Rage

User avatar
zodiac976
Chaos Rift Regular
Chaos Rift Regular
Posts: 156
Joined: Thu Jun 18, 2009 10:03 am
Current Project: Booklet & Text RPG
Favorite Gaming Platforms: PC, PS3, PSP
Programming Language of Choice: C++
Location: AL
Contact:

Re: Need Input on new project

Post by zodiac976 »

MarauderIIC wrote:
zodiac976 wrote:Can you show a small example of selecting by
criteria?

Code: Select all

void myFunc(int someParam) {
    Something* s; //s for "shorthand"
    s = myArray[someParam];
    s->doSomething();
}
Thanks that helps :mrgreen:.
Post Reply