Thread: How can I incorporate this code into a web page?

  1. #1
    Registered User
    Join Date
    Nov 2005
    Posts
    4

    How can I incorporate this code into a web page?

    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. Can anyone help me?

    The source code for the programme I want to use is at
    http://cvs.sourceforge.net/viewcvs.p....c?view=markup


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

    NB My knowledge of any computer code other than HTML is virtually nil, so if you are kind enough to reply, please bear this in mind.
    Last edited by MisterRob; 11-01-2005 at 05:29 PM.

  2. #2
    Registered User
    Join Date
    Mar 2005
    Location
    Mountaintop, Pa
    Posts
    1,058
    I keeping getting a page not found on the following link...

    http://cvs.sourceforge.net/viewcvs....m.c?view=markup

    Bob

  3. #3
    Registered User
    Join Date
    Nov 2005
    Posts
    4
    Thanks Bob - for some reason I seemed to enter the address incorrectly. I have just edited the orginal post so hopefully it should work now.

    But just to be sure, I will post it again:

    http://cvs.sourceforge.net/viewcvs.p....c?view=markup

    Hope that works.

    Rob
    Last edited by MisterRob; 11-01-2005 at 05:31 PM.

  4. #4
    Registered User
    Join Date
    Mar 2005
    Location
    Mountaintop, Pa
    Posts
    1,058
    I'll need some information. Keep in mind I have almost no HTML experience. What I'd like to know is how data is moved from the web page to/from a backend database such as SQL Server. What I'm trying to figure out is this "interface". I'd appreciate a very detailed description of how this is done from a HTML point of view. If I can figure out the interface, then this looks like a fairly simple project.

    Also, you'll have to find the following two files on that site in order for me to compile the code.

    poker_defs.h
    enumdefs.h

    But anyway, I'll give it a shot if I get the needed files.

    Bob
    Last edited by BobS0327; 11-01-2005 at 06:55 PM. Reason: Additional info needed

  5. #5
    Registered User
    Join Date
    Nov 2005
    Posts
    4
    Quote Originally Posted by BobS0327
    What I'd like to know is how data is moved from the web page to/from a backend database such as SQL Server. What I'm trying to figure out is this "interface".

    ...

    Also, you'll have to find the following two files on that site in order for me to compile the code.
    poker_defs.h
    enumdefs.h
    Oh dear, the further I go with this, the more I realise how little I understand! I'm afraid I don't know the answer to your first question Bob, but hopefully there will be someone reading who does, and is willing to help. Anyone?

    The second part was easier. I have found the files you list at the following URL:
    http://cvs.sourceforge.net/viewcvs.p...-eval/include/

    Thanks for you help thus far Bob. I really hope we can move forward with this one.

    Rob

  6. #6
    Registered User
    Join Date
    Mar 2005
    Location
    Mountaintop, Pa
    Posts
    1,058
    IMHO, I think the front end of this "project" is out of context with the purpose of this site. It has to be designed using html and either ASP or PHP which is totally unrelated to C.

    I would suggest you seek assistance with the front end on a more appropriate site and then return to this site seeking assistance with the back end. The backend which is the poker code has to be morphed into a poker server which interacts with the front end thru either ASP or PHP.

    Good Luck

    Bob

  7. #7
    Registered User
    Join Date
    Nov 2005
    Posts
    4
    OK thanks Bob - I'll try posing in a PHP forum and see what response I get.

    Rob

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. web page loading ...
    By twomers in forum C++ Programming
    Replies: 2
    Last Post: 01-21-2006, 01:42 PM
  2. Trying to capture POST method from Web Page
    By nice_guy_mel in forum Networking/Device Communication
    Replies: 8
    Last Post: 04-01-2005, 06:57 AM
  3. Obfuscated Code Contest
    By Stack Overflow in forum Contests Board
    Replies: 51
    Last Post: 01-21-2005, 04:17 PM
  4. Interface Question
    By smog890 in forum C Programming
    Replies: 11
    Last Post: 06-03-2002, 05:06 PM