π§βπ» khumnath β g++ -std=c++17 profile.cpp -o profile && ./profile
#include <iostream> #include <string> #include <vector> using namespace std; string binaryToString(const string& b) { string r; for (size_t i = 0; i < b.size(); i += 8) r.push_back(char(stoi(b.substr(i, 8), nullptr, 2))); return r; } struct Profile { string os, shell, device, website, country, email_bin; vector<string> languages; }; ostream& operator<<(ostream& o, const Profile& p) { o << p.os << "\n" << p.shell << "\n" << p.device << "\n" << p.website << "\n" << p.country << "\n" << "Email: π§ " << binaryToString(p.email_bin) << "\nLanguages: "; for (auto& l : p.languages) o << l << " "; return o; } int main() { Profile me = { "π₯οΈ Deepin 25", "π bash", "π» Lenovo Ideapad Pro 5i", "π https://khumnath.com.np", "π³π΅ Nepal", "0110111001100001011101000110100000101110011010110110100001110101011011010110111001100001011101000110100001000000011001110110110101100001011010010110110000101110011000110110111101101101", {"Javascript", "Typescript", "QML", "C++", "Python"} }; cout << me << "\n"; }

