摘要:
我和朋友们面到的c++试题整理虚表 static const sizeof 可构造不可继承的类stl Iterator失效 map vector vector的removed_if 优化--------------sizeofclass A{ int i; virtual int fun1(){};}A a;sizeof(a)=8//32位机class B{ int i; virtual int fun1(){}; virtual int fun2(){};}B b;sizeof(b)=8//32位机 ,虚表struct 和class的区别struct public class pr... 阅读全文
摘要:
自由顶点格式(flexible vertex format,FVF)http://www.cnblogs.com/xmzyl/articles/1604096.html if( SUCCEEDED( g_pd3dDevice->BeginScene() ) ) { // Draw the triangles in the vertex buffer. This is broken into a few // steps. We are passing the Vertices down a "stream", so first we need /... 阅读全文
摘要:
在d3d 2010 june这个版本里的samples不知道为什么SimpleSample Sample这个 它的documents基本等于没有Starting point for new Direct3D samples.====================================================PathSourceSDK root\Samples\C++\Direct3D\SimpleSampleExecutableSDK root\Samples\C++\Direct3D\Bin\x86 or x64\SimpleSample.exeSample Overvi 阅读全文