Thread: Playing C++ games online?

  1. #1
    I am he who is the man! Stan100's Avatar
    Join Date
    Sep 2002
    Posts
    361

    Question Playing C++ games online?

    Can you play games made in C++ online? I know that java is online, but can you play games made in c++ online? Without actually downloading the exe
    Stan The Man. Beatles fan

    When I was a child,
    I spoke as a child,
    I thought as a child,
    I reasoned as a child.
    When I became a man,
    I put childish ways behind me"
    (the holy bible, Paul, in his first letter to the Cor. 13:11)

  2. #2
    Confused Magos's Avatar
    Join Date
    Sep 2001
    Location
    Sweden
    Posts
    3,145
    I usually play Warcraft 3 online, and that was made in C++ (+assembly and some other) .
    MagosX.com

    Give a man a fish and you feed him for a day.
    Teach a man to fish and you feed him for a lifetime.

  3. #3
    Registered User
    Join Date
    Mar 2003
    Posts
    73
    I think they mean like a java applet, where you can play it off the internet w/o actually downloading the program to your hard drive.. (or like a flash game... )

  4. #4
    I am he who is the man! Stan100's Avatar
    Join Date
    Sep 2002
    Posts
    361
    I think they mean like a java applet, where you can play it off the internet w/o actually downloading the program to your hard drive.. (or like a flash game... )
    Dead on.
    Stan The Man. Beatles fan

    When I was a child,
    I spoke as a child,
    I thought as a child,
    I reasoned as a child.
    When I became a man,
    I put childish ways behind me"
    (the holy bible, Paul, in his first letter to the Cor. 13:11)

  5. #5
    Registered User
    Join Date
    May 2003
    Posts
    195
    Muds, like those text based rpgs are can be played online using telnet or something

  6. #6
    I am the worst best coder Quantrizi's Avatar
    Join Date
    Mar 2002
    Posts
    644
    Yes, using Perl/CGI...it is possible.

  7. #7
    Registered User Zephyr's Avatar
    Join Date
    Jun 2003
    Posts
    5
    So you can upload C++ to a website the same way you would upload anything else? Dude, that's cool! I just wrote my very first game, I'll have to get it up on the internet, it's not very good though.

  8. #8
    Registered User moonwalker's Avatar
    Join Date
    Jul 2002
    Posts
    282
    so wait a minute... are you guys suggesting you can run c++ code on webpages like java/javascript ????

  9. #9
    Registered User
    Join Date
    Jun 2003
    Posts
    18
    Originally posted by moonwalker
    so wait a minute... are you guys suggesting you can run c++ code on webpages like java/javascript ????
    Right....AFAIK. Search at http://www.hotscripts.com in the C/C++ and/or the Perl directory....I've seen some stuff on there before.
    Quantum Theory Entertainment

    Team #0005 US FIRST Robotics Team Website Designer
    Contact me on AIM: evanescence s0ul

    Compiler/IDE: Microsoft Visual Studio (C++) 6.0 / Microsoft .NET 2003

  10. #10
    Registered User Zephyr's Avatar
    Join Date
    Jun 2003
    Posts
    5
    Originally posted by Eric Hansen
    Right....AFAIK.
    What does AFAIK stand for? As far as I know?

  11. #11
    I lurk
    Join Date
    Aug 2002
    Posts
    1,361
    Originally posted by Zephyr
    What does AFAIK stand for? As far as I know?
    AFAIK it does.

  12. #12
    Registered User
    Join Date
    Jun 2003
    Posts
    18
    Originally posted by Eibro
    AFAIK it does.
    Yes, A(s) F(ar) A(s) I K(now)...hence AFAIK
    Quantum Theory Entertainment

    Team #0005 US FIRST Robotics Team Website Designer
    Contact me on AIM: evanescence s0ul

    Compiler/IDE: Microsoft Visual Studio (C++) 6.0 / Microsoft .NET 2003

  13. #13
    ventsyV
    Guest

    Cool A subducker is here :-)

    Ok guys, I've never posted here before. I hang out at
    www.subduck.com check it out nice site.
    Lets get to the subject. Moonwalker, confused by this thread here ask (at subduck's forums) if there is a way to run C++ from the web. When we told him NO he gave us link to this forum.
    Some people here say u can run a C++ code on your browser ?
    C++ is compiling language. Once you compile you have an object file. Once the object file is linked by the linker you have executable. Java on another hand has interpreter that "translates" the java code to machine language. Most browsers have such interpretor build in (or you can add it to yours). They download the code and the interpretor translates each instruction to machine code. C++ does not have that. There are some other languages that use C++ syntax. JavaScript for example. That is not C++. I guess you can upload executable on the server and run it, but it will run on the server not on your machine.
    So in two words: C++ does not run on web pages.
    That was more than 2 words but... .
    By the way, using typos and/or sms type of abreviations is not cool at all. It is difficult for the others to understand. Using them does not make u cool . If you want to learn something about the hacker's culture check out this:
    http://www.l0t3k.org/biblio/hacking/...ker-howto.html
    Stay cool !
    p.s
    I am just trying to help here. No hard feelings OK ?

  14. #14
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,793
    >>So in two words: C++ does not run on web pages.

    Rubbish! And I count more than 2 words in that statement!!

    If you code an active component in C++ you can create instances and call members using a scripting language....therefore, the code I write in C++ can be executed on a web page

  15. #15
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,793
    Oh and here's a quick activeX example I just threw together. Compiles with VC++6.

    Build it, that will register the component....the run the html file in internet explorer

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Good online games thread
    By the dead tree in forum A Brief History of Cprogramming.com
    Replies: 11
    Last Post: 02-04-2006, 11:51 PM
  2. Programming online games...
    By Gapless in forum Game Programming
    Replies: 4
    Last Post: 10-22-2003, 05:46 PM
  3. what games are you playing currently?
    By FloatingPoint in forum A Brief History of Cprogramming.com
    Replies: 55
    Last Post: 07-08-2003, 08:40 PM
  4. packets, graphics, and online games
    By Invincible in forum Game Programming
    Replies: 15
    Last Post: 06-14-2002, 12:54 PM