[ create a new paste ] login | about

Link: http://codepad.org/aaYq1ZC5    [ raw code | fork ]

C++, pasted on Nov 7:
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
}


Create a new paste based on this one


Comments: