#include "stdafx.h" #using <mscorlib.dll> using namespace System; struct MyInfo { int x,y; }; int square(int a) { return a * a; } int main(void) { MyInfo info; info.x = 10; info.y = 20; Console::WriteLine(square(info.x)); }