Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Preprocessors

    Lightweight C++ 1.3.2

    Download button

    No screenshots available
    Downloads: 3,153  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    Good (3.5/5)
    34 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    submissions | More programs
    Freeware / FREE
    April 13th, 2005, 18:56 GMT
    ROOT / Programming / Preprocessors

     Read user reviews (1)  Refer to a friend  Subscribe

    Lightweight C++ description

    Lightweight C++ is a language similar to C++ which is translated to C.

    Lightweight C++ is a programming language that looks like C++ (a lightweight C++ dialect) and is directly translated to readable C by the lwc preprocessor.

    Lightweight C++ is more "K&R" and, well, more lightweight. Important thing about lightweight C++ is that by studying the generated C code it is easy to understand how OOP features are implemented and what is the cost of everything.

    Adding new features and extensions is also very easy (much easier than adding new C++ extensions to gcc at least), and this is one of lwc goals: To keep evolving.

    Here are some key features of "Lightweight Cplusplus":

    · function overloading,
    · member functions,
    · inheritance,
    · virtual functions (polymorphism),
    · multiple inheritance,
    · virtual inheritance and pure virtual functions,
    · constructors, destructors,
    · new and delete,
    · default function arguments,
    · simple exceptions (no auto destruction of locals)
    · and a mechanism of simplistic templates (implemented as high-level multi-line macros).
    · operator overloading (works with ptrs when it can)
    · +other

    What's New in This Release:

    · Changed the generated code for the gcc cleanup attribute so that if a constructor throws, the destructor is not invoked. As in the simple case where we don't have the cleanup attribute and like C++.



    Product's homepage

      


    TAGS:

    C++ language | lightweight C++ | programming language | C++ | language | lightweight

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM