C+++

From Esolang
Jump to navigation Jump to search
This article is not detailed enough and needs to be expanded. Please help us by adding some more information.

C+++ is basically C++ but with less abbreviations & it has new syntax added to make things slightly easier.

Hello World

C++:

int main()
{
   printf("Hello, world!\n");
   return 0;
}

C+++:

integer new main()
{
   println.format("Hello, world!");
   return 0;
}

Syntax Examples

In the hello world example, the 'int' is un-abbreviated, 'new' tells the C+++ that there is a new something, 'main' initiates a new main