Search found 7 matches

by clc02
Tue Mar 31, 2009 7:43 pm
Forum: Programming Discussion
Topic: C++ Beginner?
Replies: 7
Views: 668

Re: C++ Beginner?

Personally I would stay away from anything real-time if you just started. Or anything image wise until you learn the syntax. I couldn't say on a book really, I just google what I need. If you still want to do something in real time after you know the syntaxes well along with your GUI ( http://www.la...
by clc02
Mon Mar 30, 2009 11:13 pm
Forum: Programming Discussion
Topic: How would I get the address of a function?
Replies: 2
Views: 348

How would I get the address of a function?

Title says most. Unless functions are not copied when they are transfered from arguments I'm going to want to use pointers. This is what I have now: void doStuf() { } void (*Ary_func[300])();; Ary_func[0] = &void doStuf(); >.< Scratch this. I couldn't have the () or it would call the function. S...
by clc02
Mon Mar 23, 2009 10:48 pm
Forum: General Gaming
Topic: Ragnarok Online player server
Replies: 19
Views: 2384

Re: Ragnarok Online player server

EDIT: Scratch this. Looked over a post.
Double edit: If this is a player created server where can I get the pre-patched version/link? Unless I'm missing something the link was to the original.
by clc02
Mon Mar 23, 2009 10:29 pm
Forum: Programming Discussion
Topic: Real quick simple question
Replies: 5
Views: 385

Re: Real quick simple question

I did that. I have a tic tac toe function. It make sure it's 1 2 or 3, but, when it returns to the previous function it has a option to exit out. It's 2. So if a person did enter 222 (2, 2 is the position) the 2 will carry over to the previous function and enter it to exit the program.
by clc02
Mon Mar 23, 2009 9:45 pm
Forum: Programming Discussion
Topic: Real quick simple question
Replies: 5
Views: 385

Real quick simple question

Say you have this cin >> char a; cin >> char b; If you typed in 12 it wouldn't stop at the second cin. This can get annoying because if someone typed 123 it might not only bypass that but go back to somewhere else and enter in a value you didn't want in the first place. Is there a way to empty out c...
by clc02
Mon Mar 23, 2009 7:57 pm
Forum: Programming Discussion
Topic: What from here?
Replies: 4
Views: 346

What from here?

I just finished my tic-tac-toe game(cpp). (Not when clicked though, I figure easy to add with some sdl events(?)) I was thinking of add a computer to play against I'm definitely making it into arrays instead of the char row1collum1 = '_'; though. Will be easy to choose spots instead of checking two ...
by clc02
Sun Mar 22, 2009 10:04 pm
Forum: Programming Discussion
Topic: Lua engine?
Replies: 1
Views: 247

Lua engine?

I was wondering if there was a compiler for lua. I'm getting better at cpp but it's a pretty good jump from lua. I think I would have to link it with c or cpp for the GUI unless someone else knows of something like sdl or openGL. There was a lua studio thing but I think it's kinda useless since it's...