typedef struct Test
{
int a, b ;
} Test_struct ;
Test_struct Function()
{
Test_struct foobar ;
foobar.a = 5 ;
foobar.b = 1 ;
return foobar ;
}
BuildingView()
{
cout << Function().a ; // funktioniert nicht
cout << foobar.a ; //funktioniert ebenfalls nicht
}