jweinst1
8/21/2016 - 11:50 PM

example from c plus plus on structs

example from c plus plus on structs

#include <iostream>

struct strcont {
	char str[4];
};

int main() {
    strcont f = {"foo"};
    std::cout << f.str << std::endl;
    return 0;
}
//foo