YTEC en C++

What is C++?

C++ is a general-purpose programming language created by Bjarne Stroustrup as an extension of the C programming language. Contrary to C, it's a multi-paradigm language.

C++ was designed with a bias toward system programming and embedded, resource-constrained software and large systems, with performance, efficiency, and flexibility of use as its design highlights. Although complex, it's expert friendly for those cases where you need it.

See our Node-RED project where it was especially suitable.

  • Type-safe
  • Expert-friendly
  • Predictable execution
  • Performance
  • Language stability

Some code examples

Hello World


#include <iostream>

int main()
{
    std::cout << "Hello, world!" << std::endl;
}
                    

RAII style resource management


void Client::writePingResp()
{
    // RAII style resource management
    std::lock_guard<std::mutex> locker(writeBufMutex);

    if (2 > writebuf.freeSpace())
        writebuf.doubleSize();

    writebuf.headPtr()[0] = 0b11010000;
    writebuf.advanceHead(1);
    writebuf.headPtr()[0] = 0;
    writebuf.advanceHead(1);

    setReadyForWriting(true);
}
                    

Interested in working with us?

You can always contact us. First, we serve as a guide to support your success with information technology. Then we craft top-grade software that helps your company continue to perform.

Contact us