| Microsoft Visual C++ Code Samples |  |
|
| Microsoft provides over 20 Visual C++ general samples including: “Upgrading Stored Procedures to Work with SQL Server 2005,” (leveraging an existing extended store procedure and using C++ to develop CLR code); “Language Features Overview,” (covers the key concepts of the new C++ features); “How to Map C/C++ Compiler Flags from Other Compilers into Visual C++;” “.NET Framework Resources with Windows Forms,” (using the .NET Framework resource in C++ applications and common Windows Forms components); “Windows Forms Pocket calculator,” (using C++ and the .NET Framework Windows Forms classes); and “MDI Drawing Application,” (developing a Windows Forms MDI application in C++ with.NET Forms Framework classes).
| http://msdn2.microsoft.com/en-us/library/ms236269(VS.80).aspx
|
|
| Microsoft has 3 walkthroughs that cover some of the features of Visual C++ 2005. These walkthroughs include: “Exposing a .NET Plug-In Model” (extends the Scribble MFC sample to support a plug-in model), “Using /clr:pure Features” (use of reflection in an MSIL application), and “Using Profile-Guided Optimizations” (how to use profile-guided optimization (PGO), using PGO build menus, and advanced topics).
| http://msdn2.microsoft.com/en-us/library/ed57y7kf(VS.80).aspx
|
|
| Microsoft provides 48 samples of the ATL (active template library) in Visual C++. Samples include the ACTIVEDOC, ASYNC, ASYNC attributes, ATLAgent attributes (CCommand and CAssessor), ATLColletcions (ICollectionOnSTLImpl and CComEnumOnSTL), ATLBUTTON, ATLCON, ATLCON attributes, ATLDuck, ATLDuck attributes, ATLEventHandling, ATLFire, ATLFire attributes, ATLMovie attributes, ATLPages, ATLSafeArray, ATLSecurity, ATLTangram attributes, ATLTraceTool, AutoThread, BEEPER, BEEPER attributes, CatDB, CDINFO att5ributes, CIRC, CIRCCOLL attributes, COMMAP attributes, CThreadPool, CustomString, DBViewer, DCOM, DIRECT3D attributes, DispSink, DispSink attributes, DynamicConsumer, LABRADOR attributes, Marquee, MFCATL, MultiRead, MultiRead attributes, OPENGL attributes, POLYGON, SUBEDIT, SUBEDIT attributes and UpdatePV.
| http://msdn2.microsoft.com/en-us/library/65t81w8a(VS.80).aspx
|
|
| Microsoft provides 29 samples of the ATL Server in Visual C++. Samples include the ATLRT, BlobCache, CLStencil, DataSetConsumer, Hotswap, HttpClient, HttpPing, Input, ISAPIFilter, Mailer, MantaWeb, OnlineAddressBook, PerformanceCounter, PerformancePersist, PerformanceScribble, PooledAsync, RegExp, SessionSettings, SRFSyntax, SecureSOAP, SOAPDataTypes, SOAPDebugApp, SOAPState, SOAPTransport, StencilCache, WeatherService, WebDbg and Webfeatures.
| http://msdn2.microsoft.com/en-us/library/2h0012a3(VS.80).aspx
|
| |
| |
| |
|
| Microsoft provides five samples of the MASM (Microsoft Macro Assembler) for Visual C++. Topics include EUCLIDSTEI1 (algorithm for finding greatest common divisor), EUCLIDSTEP2 (an extension of step 1 using a .asm file), PRIMESSTEP1 (Sieve of Eratosthenes project), PRIMESSTEP2 (extension of step 1 using a .asm file) and PRIMSSTEP3 (an extension of step 2 using a header file and .asm).
| http://msdn2.microsoft.com/en-us/library/t13a3526(VS.80).aspx
|
|
| Microsoft provides 59 samples of MFC for Visual C++. Samples include the ACDUL, AUTOCLIK, BUTTON, CALCDRIV, CIRC, CMNCTRL1, CMNCTRL2, COLLECT, CONTAINER, CTRLBARS, CTRLTEST, CUBE, DHtmlExploer, DIBLOOK, DLGCBR32, DLGTEMPL, DLLHUSK, DLLScreenCap, DOCKTOOL, DRAWCLI, DYNAMEU, HIERSVR, HTMLEdit, INPROC, LICENSED, LOCALIZE, MDI, MDIDOCVW, MFCBIND, MFCIE, MFCCALC, MMXSwarm, MODELESS, MTMDI, MTRECALC, NPP, OCLIENT, OLEVIEW, PROPDLG, REGSVR, ROWLIST, SCRIBBLE, SimpleImage, SNAPVW, SPEAKN, SPINDIAL, Spiro, StockTicker, SUPERPAD, TIME, TSTCON, TESTHELP, TRACKER, VariantUse, VIEWEX, WinFormintegration, WORDPAD and XLIST.
| http://msdn2.microsoft.com/en-us/library/482ck6x8(VS.80).aspx
|
|
|
| |
 |
|