Here's a one-page cheat sheet covering basic C++ syntax:
1. Comments
// Single-line comment
/* Multi-line
comment */
2. Data Types
int // Integer
float // Floating point
double // Double-precision floating point
char // Character
bool // Boolean (true/false)
int x = 10; // Declare and initialize
float y; // Declare
y = 3.14; // Assign value
#include <iostream>