/// message processing loop. idle time is used to render the scene.
///
static int main()
{
using(framework sampleframework = new framework())
{
return sampleframework.exitcode;
}
}
}
对于这段新代码,应当强调三点。首先,除了static main方法之外,所有的内容都删除了,
/// message processing loop. idle time is used to render the scene.
///
static int main()
{
using(framework sampleframework = new framework())
{
return sampleframework.exitcode;
}
}
}
对于这段新代码,应当强调三点。首先,除了static main方法之外,所有的内容都删除了,