PDA

View Full Version : Help - is this Java? How do I use it?



robertsaunders
10-31-2005, 03:22 PM
I am trying to build a poker page with a poker calculator on it. I have found the programme I want to use at SourceForge.net but my knowledge of programming is so poor that I don't know how to incorporate this open source code into an HTML web page. For that matter, I don't even know what type of code it is!

The source code for the programme I want to use is at http://cvs.sourceforge.net/viewcvs.py/pokersource/poker-eval/examples/pokenum.c?view=markup

An example of this code in use can be seem at: http://twodimes.net/poker/

I know you will probably all be shaking your heads at my ignorance but I would really appreciate your help on this one. I'm sure it's very simple, if only I knew what to do.

Twey
10-31-2005, 08:14 PM
It is C. It needs to be run on the server. If you're good with a server-side language, you can work with the input and output to incorporate it into a dynamic web page. If you're not (and you know C) you can use it as a CGI script.

robertsaunders
11-01-2005, 06:34 PM
It is C. It needs to be run on the server. If you're good with a server-side language, you can work with the input and output to incorporate it into a dynamic web page. If you're not (and you know C) you can use it as a CGI script.

Thanks for your reply. Unfortunately I'm not good with a server-side language and I wouldn't know where to start using it as a CGI script. I told you I was ignorant. However, I am both keen and willing to learn. Where should I start? Is there a webpage that would be able to help me with this, or would it be straightforward enough for you/another forum user to talk me through it?

Would really appreciate any help you might be able to offer me with this one -I might even be able to throw in some free poker tuition in return!

Cheers,

Rob

Twey
11-01-2005, 06:37 PM
I'm quite proficient, thanks :)
You can (start to) learn C here (http://www.cprogramming.com/tutorial/c/lesson1.html), or PHP here (http://www.w3schools.com/php/default.asp). You'll likely need to use C at some point anyway.

robertsaunders
11-01-2005, 06:55 PM
Thanks again Twerty. Had a quick look at the C link you posted. I'm not sure that I am going to figure this out in a hurry am I? Given my current lack of knowledge of anything other than HTML, hwo long would you guess it is going to take me to figure out how to do what I am trying to do?

Twey
11-01-2005, 07:16 PM
Probably quite a long time. You did rather jump in at the deep end here.