A collection of guides and tutorials by Dante.
Begin your C++ programming journey with this step-by-step guide, designed to take you from a novice to a skilled developer.
Learn the fundamental concepts of C++ programming.
Write a simple program to print “Hello, World!”:
#include <iostream>
int main() {
std::cout << "Hello, World!" << std::endl;
return 0;
}
Understand and apply the principles of OOP in C++.
Create a simple class and use it:
class Animal {
public:
void speak() {
std::cout << "Animal speaks" << std::endl;
}
};
int main() {
Animal animal;
animal.speak();
return 0;
}
Learn and implement essential data structures and algorithms.
Sort an array using quicksort:
void quicksort(int arr[], int low, int high) {
// Implementation of quicksort algorithm
}
Enhance your problem-solving skills through competitive programming.
Solve problems on LeetCode to improve your skills:
// Example problem solution on LeetCode
Dive into advanced C++ topics to deepen your knowledge.
Use a vector from the STL:
#include <vector>
int main() {
std::vector<int> numbers = {1, 2, 3, 4, 5};
for (int num : numbers) {
std::cout << num << std::endl;
}
return 0;
}
Enhance your learning with these resources:
Start small, keep learning, and stay determined. 🚀
愛をこめて ダンテが作りました