C+++

From Esolang
Jump to navigation Jump to search

C+++ is basically C++ but with less abreviations & 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-abreviated, 'new' tells the C+++ that there is a new something, 'main'

initiates a new main