Learn C++

C++ is a general-purpose programming language created by Bjarne Stroustrup as an extension of the C programming language, or "C with Classes".

Companies and DAOs like Solana Labs, Findora Foundation, Fuel Labs, Status, Zama, Fluence Labs, WalletConnect, Ethereum Foundation, Unruly Technologies and Decenter use C++ to work on Findora, Sway, Status, Zama, WalletConnect, Fluence, Spacemesh, DeFi Saver, Avalanche and Internet Computer.

Conquer the basics of C++ here and go pro once you get the hang of it. Average salaries for C++ developers are approximately $85k-115k/yr.

Variables are declared like this:

int port = 8333;

You can create one and assign a value later:

int port;
port = 8333;

To make a constant variable whose value cannot change:

const int port = 8333;

There are several variable types:

int, float, double, char, bool

Functions are declared like this:

void hello() {
  cout << "Hello World"; // print a string to output
}

Functions are declared like this:

// `void` means the function does not return anything
void hello() {
  cout << "Hello World"; // print a string to output
}

You can use them like this:

int add(int a, int b) {
   return (a + b);
}

cout << "The sum of 1 + 2 = " << add(1, 2);

You can create more complex data types:

class Blockchain {
  public:
    string name;
    int port;
}

// create an object
Blockchain bitcoin;

// assign values to it
bitcoin.name = "Bitcoin";
bitcoin.port = 8333;
Effective Modern C++: 42 Specific Ways to Improve Your Use of C++11 and C++14

If you'd like to go beyond the basics, here's a good read:

Effective Modern C++: 42 Specific Ways to Improve Your Use of C++11 and C++14