Thread: Open source my OIOIC, a completely new object-oriented mechanism for the C.

  1. #1
    Registered User
    Join Date
    Mar 2009
    Posts
    5

    Open source my OIOIC, a completely new object-oriented mechanism for the C.

    OIOIC is a completely new object-oriented mechanism for the C programming language.
    Please download the "OIOIC-Primer-2nd-Edition-English.tar.gz". (the English version of << OIOIC Primer >> )
    http://code.google.com/p/oioic/downloads/list

    Welcome your advice!

    Using OIOIC, you can describe the flower, birds, grass, insects, trees, houses ...
    Using OIOIC, you can describe the elements, atoms, protons, electrons ...
    Using OIOIC, you can describe the earth, the sun, the Milky Way galaxy, collapsar ...
    Using OIOIC, you can describe ...

    1. OIOIC perfectly supplies the gap of object-oriented technology for the C programming language;
    2. OIOIC perfectly solved the multiple inheritance problem in the Software World;
    3. OIOIC perfectly objectivizes multithreading access control of object;
    4. OIOIC unifies the norm of components in the Software World;
    5. OIOIC unifies the structure of code tree in the Software World;
    6. OIOIC unifies the thinking of object-oriented programming in the Software World;
    7. OIOIC unifies all advanced programming languages in the Software World, to make the C programming language as the preferred.
    Last edited by pervise.zhao; 03-11-2009 at 07:21 PM.

  2. #2
    spurious conceit MK27's Avatar
    Join Date
    Jul 2008
    Location
    segmentation fault
    Posts
    8,300
    All I can say is WOW! You should submit this to subgenius.
    C programming resources:
    GNU C Function and Macro Index -- glibc reference manual
    The C Book -- nice online learner guide
    Current ISO draft standard
    CCAN -- new CPAN like open source library repository
    3 (different) GNU debugger tutorials: #1 -- #2 -- #3
    cpwiki -- our wiki on sourceforge

  3. #3
    Registered User
    Join Date
    Mar 2009
    Posts
    5
    I have packed the English version individually.
    Please download the "OIOIC-Primer-2nd-Edition-English.tar.gz". (the English version of << OIOIC Primer >> )
    http://code.google.com/p/oioic/downloads/list

  4. #4
    Malum in se abachler's Avatar
    Join Date
    Apr 2007
    Posts
    3,195
    All I can say is , nice way to reinvent the wheel. The gap of OO for C is already filled, thats what C++ is...

  5. #5
    بابلی ریکا Masterx's Avatar
    Join Date
    Nov 2007
    Location
    Somewhere nearby,Who Cares?
    Posts
    497
    nice job dude .
    Highlight Your Codes
    The Boost C++ Libraries (online Reference)

    "...a computer is a stupid machine with the ability to do incredibly smart things, while computer programmers are smart people with the ability to do incredibly stupid things. They are,in short, a perfect match.."
    Bill Bryson


  6. #6
    Hail to the king, baby. Akkernight's Avatar
    Join Date
    Oct 2008
    Location
    Faroe Islands
    Posts
    717
    I don't get it...
    If someone wants OOP stuff, why not move to C++ o.O?
    It's like... Me re-inventing the light/lamp in the exact same way as (dammit forgot name!) the one who made the first light/lamp, just prolly make it a bit worse, since this isn't made by the C people and thus isn't standard.. I simply don't get it xP
    Currently research OpenGL

  7. #7
    C / C++
    Join Date
    Jan 2006
    Location
    The Netherlands
    Posts
    312
    Quote Originally Posted by Akkernight View Post
    (dammit forgot name!)
    Thomas Edison?

    Ontopic: I can agree with the replies here.
    Operating Systems:
    - Ubuntu 9.04
    - XP

    Compiler: gcc

  8. #8
    Hail to the king, baby. Akkernight's Avatar
    Join Date
    Oct 2008
    Location
    Faroe Islands
    Posts
    717
    Yes, Edison it was xP
    Currently research OpenGL

  9. #9
    spurious conceit MK27's Avatar
    Join Date
    Jul 2008
    Location
    segmentation fault
    Posts
    8,300
    Actually Edison DID NOT invent the lightbulb; he in fact bought the patent.

    And the modern tungsten filament bulb was a whole different group of people again with yet another patent (General Electric).

    ps. I think the OP is being tongue-in-cheek, but I didn't look at the source to see if it was real...i just read the literature
    C programming resources:
    GNU C Function and Macro Index -- glibc reference manual
    The C Book -- nice online learner guide
    Current ISO draft standard
    CCAN -- new CPAN like open source library repository
    3 (different) GNU debugger tutorials: #1 -- #2 -- #3
    cpwiki -- our wiki on sourceforge

  10. #10
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    28,413
    Quote Originally Posted by MK27
    Actually Edison DID NOT invent the lightbulb; he in fact bought the patent.

    And the modern tungsten filament bulb was a whole different group of people again with yet another patent (General Electric).
    The history seems to be far more complex than that; at least it does not involve software patents

    Quote Originally Posted by MK27
    ps. I think the OP is being tongue-in-cheek, but I didn't look at the source to see if it was real...i just read the literature
    The fellow posted the same thing at CodeGuru.com, so it might have been a serious, if misguided or at least grossly exaggerated, attempt.
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  11. #11
    Woof, woof! zacs7's Avatar
    Join Date
    Mar 2007
    Location
    Australia
    Posts
    3,459
    Well, it's a good attempt at whatever it was.

    It has been done before, perhaps the most notable example is glib (note: not glibc). But another common, and well developed "OO" addon to C is eC.

    Not sure how the hello world example, is object orientated in any sense of the word. In fact I'd say you took C backwards, going against the standard function naming convention (lowercase) and defining some odd looking types.
    Code:
    SI32 Main(SI32 argc, SI8 ** argv)
    {
       printf("Hello World\n");
       return 0;
    }
    A define and a few ugly typedefs and you've got a OIOIC program .

    It's also terribly cryptic, not sure what was wrong with C++? You seem to be following a similar path (multiple inheritence, but destroying C compatibility).

  12. #12
    Registered User
    Join Date
    Mar 2009
    Posts
    5
    Last edited by pervise.zhao; 04-27-2009 at 09:01 AM.

  13. #13
    Registered User
    Join Date
    Mar 2009
    Posts
    5
    I have created WGI based on OIOIC. Now I issue the Demo project of WGI 1.0.0. Here to download the Demo project source code:Downloads - oic-wgi - Project Hosting on Google Code
    What WGI? WGI is doing what MFC has done, to encapsulate API, BUT WGI uses OIOIC, instead of C++.

  14. #14
    Registered User
    Join Date
    Dec 2007
    Posts
    2,675
    He's obviously spamming it everywhere, it's here, too.

    Appreciate the effort, dude, but you're overdoing the marketing.

  15. #15
    spurious conceit MK27's Avatar
    Join Date
    Jul 2008
    Location
    segmentation fault
    Posts
    8,300
    Quote Originally Posted by rags_to_riches View Post
    Appreciate the effort, dude, but you're overdoing the marketing.
    Isn't that what this forum section is for?
    C programming resources:
    GNU C Function and Macro Index -- glibc reference manual
    The C Book -- nice online learner guide
    Current ISO draft standard
    CCAN -- new CPAN like open source library repository
    3 (different) GNU debugger tutorials: #1 -- #2 -- #3
    cpwiki -- our wiki on sourceforge

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Open Source License Agreements
    By taylorguitarman in forum A Brief History of Cprogramming.com
    Replies: 3
    Last Post: 06-09-2002, 10:17 PM
  2. My first Scanner (real Open Source)
    By Lynux-Penguin in forum Linux Programming
    Replies: 0
    Last Post: 04-30-2002, 12:12 AM
  3. Open Source and profit...
    By amzolt in forum C Programming
    Replies: 2
    Last Post: 03-28-2002, 09:13 AM
  4. Open source: is it secure?
    By samGwilliam in forum Linux Programming
    Replies: 6
    Last Post: 02-28-2002, 09:58 AM
  5. OpenGL Open Source
    By gnu-ehacks in forum Game Programming
    Replies: 2
    Last Post: 11-29-2001, 12:50 AM