Contact: aviboots(AT)netvision.net.il
41,620 questions
54,283 answers
573 users
#include <iostream> using std::cout; using std::endl; struct Test { struct { char ch; int n; }; }; int main() { struct Test t; t.ch = 'z'; t.n = 998; cout << "t.ch = " << t.ch << " t.n = " << t.n << endl; return 0; } /* run: t.ch = z t.n = 998 */