SyntaxFix
Write A Post
Hire A Developer
Questions
Like this:
#include <string> #include <vector> struct user { std::string username; std::vector<unsigned char> userpassword; }; int main() { user r; // r.username is "" and r.userpassword is empty // ... }