#include <iostream>
class Profile {
private:
std::string name;
int age;
std::string location;
public:
Profile(std::string name, int age, std::string location) {
this->name = name;
this->age = age;
this->location = location;
}
void introduce() {
std::cout << "Name: " << name << std::endl;
std::cout << "Age: " << age << std::endl;
std::cout << "Location: " << location << std::endl;
std::cout << "=================================================================" << std::endl;
std::cout << "Welcome to my profile!" << std::endl;
std::cout << "I am in the 4th semester of Computer Science." << std::endl;
std::cout << "Currently learning C++ with SFML, OpenGL and Unreal Engine." << std::endl;
std::cout << "Also studying Japanese and currently at N5 level." << std::endl;
std::cout << "=================================================================" << std::endl;
}
};
int main()
{
Profile profile("Thiago Ianuch", 21, "Curitiba - Brazil");
profile.introduce();
return 0;
}
Highlights
- Pro
Pinned Loading
-
MinhaLista
MinhaLista PublicSite para criar sua lista de anime e manga utilizando PHP e MySQL
PHP 2
-
-
-
-
Casa-do-Microondas
Casa-do-Microondas PublicSite de uma assistência técnica de microondas utilizando React, Node.js e MySQL
-
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.