C++ Class
How to create a class
Always two files
.cpp file — implementations
ConsoleApplication1.cpp
// ConsoleApplication1.cpp : This file contains the 'main' function. Program execution begins and ends there.
//
#include "pch.h"
#include <iostream>
#include "Pokemon.h"
using namespace std;
int main()
{
int litian = 5;
//How to find the memory address of a variable, : use &variableName
//The address of a variable is not an int, it's a pointer, so you cannot store the address in an int, but you can store it in int*, the * means this int store an address
int* litianAddr = &litian;
cout