Playing C++ games online?

This is a discussion on Playing C++ games online? within the Game Programming forums, part of the General Programming Boards category; Originally posted by ventsyV So in two words: C++ does not run on web pages. That was more than 2 ...

  1. #16
    Registered User
    Join Date
    Jun 2003
    Posts
    18

    Re: A subducker is here :-)

    Originally posted by ventsyV
    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 ?
    That's actually 7 words......

    I wasn't trying to be "cool", or "narly", or whatever. I just had the urge to do it....and no, I don't do everything I have an urge for either.....
    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

  2. #17
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,892
    Originally posted by Fordy
    >>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
    Except for those who don't use Windows, or those who don't use IE, or those who have ActiveX disabled, or those who are unwilling to download native code that can do ANYTHING on their PC just to run some game inside a web browser (if I download native code, I want it to run as standalone, damnit! ), or those...


    ActiveX is evil!
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

  3. #18
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,786
    Originally posted by CornedBee
    Except for those who don't use Windows, or those who don't use IE, or those who have ActiveX disabled, or those who are unwilling to download native code that can do ANYTHING on their PC just to run some game inside a web browser (if I download native code, I want it to run as standalone, damnit! ), or those...


    ActiveX is evil!
    I said nothing about platforms, applications or security......He said that you couldt run your C++ code within a web page.....I showed how you could

    ActiveX is pretty evil....but that doesnt mean it doenst work!

  4. #19
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,892
    Yeah, right...

    But applets are still better.
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

  5. #20
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,786
    I always hated applets...anything I tried to do with them was a pain!.......if I wanted something graphical with user input, I'd use Flash these days....

    In principal I like the idea of ActiveX in web coding .....but the amount of risks it creates is huge in practice...and the fact that it's specific to 1 browser and not ported to other platforms means it isnt great for web coding unless you have a very specific target

  6. #21
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,892
    I don't like Flash very much, I'd much prefer seeing a proper SVG implementation to play with.
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

  7. #22
    Registered User
    Join Date
    Jun 2003
    Posts
    18
    Originally posted by CornedBee
    I don't like Flash very much, I'd much prefer seeing a proper SVG implementation to play with.
    Flash is OK if it's used right...and done right.
    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

  8. #23
    ventsyV
    Guest

    ActiveX

    I totaly forgot about ActiveX. But is ActiveX a standart part of C++. I mean is it part of the ANSI C++. I do not use VC++. I use gcc. Can I still make ActiveX applets on it. I have never done ActiveX applets. I admit that, but if you can only do it with VC++ ... well than I would not consider that "C++". By C++ I mean ANSI C++.
    have fun :-)

  9. #24
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,786
    ActiveX components can be created with any compiler that can create create 32 bit windows executables.

    For the MIDL part (Interface Definitions), you need a seperate tool.....

    It is possible to create ActiveX without VC++ (I can show you links on the web where they are creating COM components with assembler!), but without MFC or ATL it's very, very difficult

  10. #25
    ventsyV
    Guest

    Ok I am a bit confused here

    Ok so If I have my C++ I compile I got the .obj. Then what ? I am confussed. I do not have experiance with ActiveX so can you explain what is ALT and MFC ??
    If you have some links I can use ... ?
    Thanks

  11. #26
    ventsyV
    Guest

    to Eric Hansen

    I did not ment to be harsh on you. Just some people (like me) are a bit of with the abbreviations ...

  12. #27
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,786
    A search @ MSDN (or even Google) will reveal what you ask...

    MFC - Microsoft Foundation Classes - a C++ wrapper library around the widows API. Has some nifty classes for building COM and ActiveX components. Needs MFC runtime to work, but if you have a high enough version of VC++, then you can statically link the runtime to your app/component - this is a bit bloaty though

    ATL - Active Template Library (this is what it has been called, but Microsoft has a habit of changing abbreviations to support whatever it's touting at the time) - A C++ Template library used to create COM componets. Like MFC, but only for COM and makes componets much leaner and more powerful than MFC does.

    Both come with VC++

  13. #28
    Registered User
    Join Date
    Jun 2003
    Posts
    18

    Re: to Eric Hansen

    Originally posted by ventsyV
    I did not ment to be harsh on you. Just some people (like me) are a bit of with the abbreviations ...
    No sweat, I'm sorry for jumpin' on you.....it wasn't a great day that day....
    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

Page 2 of 2 FirstFirst 12
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, 10: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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21