#include <iostream>
#include <vector>
#include <unordered_map>
class ManishChaudhary {
public:
std::string name = "Manish Chaudhary";
std::string pronouns = "He | Him";
std::vector<std::string> code = {"C", "C++", "PHP", "Javascript"};
std::vector<std::string> askMeAbout = {"OS-Dev", "Web-Dev"};
std::vector<std::string> frameworks = {"Angular", "Laravel"};
std::string currentFocus = "Learning about ";
std::string funFact = "I am from Haryana (IN)!";
void printInfo() {
std::cout << "Name: " << name << std::endl;
std::cout << "Pronouns: " << pronouns << std::endl;
std::cout << "Code: ";
printVector(code);
std::cout << "Ask Me About: ";
printVector(askMeAbout);
std::cout << "Frameworks: ";
printVector(frameworks);
std::cout << "Current Focus: " << currentFocus << std::endl;
std::cout << "Fun Fact: " << funFact << std::endl;
}
private:
template<typename T>
void printVector(const std::vector<T>& vec) {
for (const auto& item : vec) {
std::cout << item << " ";
}
std::cout << std::endl;
}
};
int main() {
ManishChaudhary manish;
manish.printInfo();
return 0;
}
// Output
Name: Manish Chaudhary
Pronouns: He | Him
Code: C C++ PHP Javascript
Ask Me About: OS-Dev Web-Dev
Frameworks: Angular Laravel
Current Focus: Learning about
Fun Fact: I am from Haryana (IN)!
If you have any inquiries, please don't hesitate to connect with me via e-mail.