std::cout
class

#include <iostream>

class box_world
{
public:
  void greeting() const
  {
    std::cout
      << "Cheers, c++ !"
      << std::endl;
  }
};

int main()
{
  auto box = box_world{};
  box.greeting();
}

c++ std::copy:
copy memory area

#include <algorithm>

int main()
{
  // c++ array
  char src[] = {"Hello, c++!"};
  // Note: src[11] == '\0'
  int size = 11 + 1;
  char * dst = new char[size];
  std::copy(src, src+size, dst);
  delete [] dst;
}
cpp/c++

c++ std::fill:
fill memory area

#include <algorithm>

int main()
{
  // c++ array
  char src[100];
  std::fill(src, src+100, '0');
}

c++ Tutorial:

Learn c++ in days


Download

Download nirtcpp source code:
nirtcpp-2.1.0-src-snapshot-2024062502.txz (md5)

SYCL

Intel dpcpp/cpp: Enter

Adaptivecpp acpp: Enter

SYCL Home: Enter

#include <sycl/sycl.hpp>

Latest Update:

esv::fmax

c++ Silice

c++ Silice

Enter

c++ Silice Silice

Enter

c++ Silice Unsilice

Enter

c++ Lvalue and Rvalue

Enter

Dig Botan

Dig Botan

Enter

Dig Haiku

Dig Haiku

Enter

Esvcpp

Esvcpp is an evolving sekos versatile c++ library.

Enter

Nirtcpp

Nirtcpp is a graphics and game engine forked irrlicht.

Enter

Projects

c++ projects of cppfx.xyz

Enter

q3viewer

Quake3 Map Scene Viewer written in c++

Enter

Happy cpp sycl examples

c++ sycl examples

Enter

Apps Case

Some useful apps

Enter

Logs

Logs - Record my c++ explorer

Enter

B2 Build

B2 is a very powerful c++ project build system.

Enter

Esvcpp Install

Install b2 build, Install boostbook, Install quickbook, Install Esvcpp

Enter