Dear all, I have debian sid and gcc 4.6.2-4 and libstdc++ 4.6.2-4, and i compile following program: ///////////////// #include <iostream> using namespace std; struct x{ int x; int y; }; int main(){ struct x *p; cin >> p->x ; int e; cin >> e; return 0; } ///////////////////////////////// When i run it under debian sid, i get segmentation fault for cin >> p->x, but when i compile it under ubuntu, i run it without error. What's problem under debian? (i like debian....) --mohsen
Attachment:
signature.asc
Description: This is a digitally signed message part