新人求问,C++基本语法学完之后怎么继续学习

xmlored 2014-06-02 09:00:58
本人在上学,上完c++课后,自己也自学了一点,c++的基本语法还算熟悉,现在在学MFC,但是看别人的MFC代码感觉好迷茫,一点点还是看得懂,代码一长就一团糟,求问怎么继续学习,谢谢
...全文
386 15 打赏 收藏 转发到动态 举报
写回复
用AI写文章
15 条回复
切换为时间正序
请发表友善的回复…
发表回复
赵4老师 2014-06-03
  • 打赏
  • 举报
回复
搜索下载安装MSDN98 mk:@MSITStore:C:\MSDN98\98VS\2052\vcsample.chm::/html/_core_alphabetical_list_of_mfc_samples.htm Alphabetical List of MFC Samples Sample Illustrations ACDUAL Demonstrates how to add dual interface support to an MFC-based Automation server. AUTOCLIK Tutorial example illustrating Automation features in Visual C++ Tutorials. AUTODRIV A simple Automation client application that drives the AUTOCLIK tutorial sample application. BINDENRL Databound controls in a dialog-based application with property pages. BINDSCRB Illustration of the use of new COM interfaces to components currently supported by the Microsoft Office suite of products. CALCDRIV Automation client. CATALOG Illustration of direct calls to ODBC functions in general, and the ODBC functions SQLTables and SQLColumns in particular. CATALOG2 Illustration of direct calls to ODBC functions in general using Windows Common Controls. CHATSRVR Discussion server application for CHATTER. CHATTER Client application that uses Windows Sockets. CHKBOOK Record-based (nonserialized) document. CIRC Tutorial sample that teaches you how to create a simple ActiveX control called Circle. CMNCTRL1 Demonstrates how to create and change the styles of Windows Common Controls using MFC classes (Part 1). CMNCTRL2 Demonstrates how to create and change the styles of Windows Common Controls using MFC classes (Part 2). COLLECT MFC C++ template-based collection classes, and standard prebuilt collection classes. CONTAINER Tutorial example illustrating ActiveX Visual Editing container features in Visual C++ Tutorials. COUNTER Using an ISAPI DLL to send image data (rather than HTML data) back to a Web browser. CTRLBARS Custom toolbar and status bar, dialog bar, and floating palette. CTRLTEST Owner-draw list box and menu, custom control, bitmap button, spin control. CUBE OpenGL application using MFC device contexts along with OpenGL's resource contexts. DAOCTL DAO database class functionality and ActiveX controls let you examine a database. DAOENROL Based on ENROLL, but migrated to the DAO database classes. Also serves as Step 4 of the DaoEnrol tutorial. DAOTABLE Creates a Microsoft Access database (.mdb file) and its tables, fields, queries, and indexes using MFC DAO database classes. DAOVIEW DAO database classes and Windows Common Controls let you view the schema of a database. DBFETCH Demonstrates the use of bulk row fetching in the ODBC database classes. DBVList Demonstrates the virtual list view functionality available for the list view common control. DIBLOOK Device-independent bitmap and color palette. DLGCBR32 Adding a toolbar and a status bar to a dialog-based application. DLGTEMPL Shows how to create dialog templates dynamically. DLLHUSK Sharing the DLL version of the Foundation class library with an application and custom DLL. DLLTRACE Statically linking the MFC library to a custom DLL. DOCKTOOL Dragging and floating toolbars that are "dockable". DRAWCLI Full-featured object-oriented drawing application that is also an ActiveX Visual Editing container. DRAWPIC Getting a Windows handle to a bitmap or icon from an LPPICTUREDISP. DYNABIND Dynamic binding of database columns to a recordset. DYNAMENU Dynamically modifying list of items in menus; handling commands not known at compile time; and updating the status bar command prompt for such commands. ENROLL Tutorial example illustrating database features in Visual C++ Tutorials. EXTBIND Shows how to bind data-aware controls across a dialog box boundary. FIRE Dialog-based application that demonstrates five Windows Common Controls. FTPTREE Displays the contents of an FTP site in a tree control. GUIDGEN A dialog-based MFC application used to generate globally unique identifiers, or GUIDs, which identify OLE classes, objects, and interfaces. HELLO Simple application with frame window but no document or view. HELLOAPP Minimal "Hello World" application. HIERSVR ActiveX Visual Editing server application with drag and drop. HTTPSVR Uses MFC Windows Socket classes to implement an Internet HTTP server. IMAGE Demonstrates an ActiveX control that is capable of downloading data asynchronously. INPROC An in-process Automation server that can be loaded as a DLL in the client's address space. IPDRIVE A simple Automation client application that drives the INPROC sample application. LISTHDR Demonstrates the List View and Header Common Controls. MAKEHM Command line utility for associating resources with Help contexts. MDI MDI application that does not use documents and views. MDIBIND Demonstrates data binding in CWnd-derived windows, but only at run time. MDIDOCVW New version of the MDI sample that uses the document/view architecture. MFCBIND Shows how to create an ActiveX document (formerly known as a DocObject) container using the ActiveX document container support classes. MFCCALC An Automation server that implements a simple calculator. MFCIE Uses MFC's CHtmlView and CreBar classes to implement a subset of the functionality provided by Microsoft Internet Explorer. MFCRows Shows how to useCOleDBRecordView to scroll through a table in a database. Also how to use multiple accessors so you can update an Access table that contains an AutoNumber field to be retrieved. MFCUCASE Demonstrates MFC support for Internet Server filter DLLs. MODELESS Demonstrates the use of an MFC CDialog object as a modeless dialog. MTGDI Multithread illustration, where GDI resources are converted to MFC objects and back. MTMDI Multithread illustration, where user-interface events are processed in a separate user-interface thread. MTRECALC Multithread illustration, where recalculations are done in a worker thread. MULTIPAD Simple MDI text editor using the CeditView class. MUTEXES Demonstrates the use of the Cmutex class for multithreading. NPP Editor demonstrating toolbars, status bars, and other controls. OCLIENT ActiveX Visual Editing container application, with drag and drop. ODBCINFO Shows how to determine various ODBC driver capabilities at run time. OLDBARS Provides support for applications that rely on the old implementations of CToolBar and CStatusBar by providing the source code for these classes. OLEVIEW Implementing an OLE object browser through custom OLE interfaces. PINBALL An Internet Server Extension DLL that provides graphics and also redirects users to a Web site for further research. PROPDLG Property sheets (dialogs). ROWLIST Illustrates full row selection in a list-view common control. SAVER Screen saver written with MFC. SCRIBBLE Main tutorial example in Visual C++ Tutorials. SMILEY Modifying properties, calling methods, and handling events from the SMILE control in the SMILEY container. SNAPVW Shows how to use property pages in a MDI child frame window. SPEAKN Multimedia sound using user-defined resources. StockTicker An MFC and ATL application that retrieves stock quotes from the Web and displays them in an ATL control. The user can set the display's properties, including rate of data refresh. STDREG Tool for populating the Student Registration database (used by the Enroll database tutorial) in any format supported by an ODBC driver. Illustrates SQL table creation. SUPERPAD ActiveX Visual Editing server that edits text using CEditView. TEAR MFC console application that uses the Wininet.dll. TEMPLDEF Command line tool that expands source files similar to C++ templates. TSTCON Implements an ActiveX control container using MFC's support for OLE embedding. You can use TSTCON to test ActiveX controls, change their properties, and invoke their methods. TESTHELP An ActiveX control that has its own help file and tooltips. TRACER Tool that sets the Foundation class application trace flags kept in AFX.INI. TRACKER Illustration of the various CRectTracker styles and options. VCTERM Simple terminal emulation program illustrating the use of the Mscomm32.ocx ActiveX control. VIEWEX Multiple views, scroll view, splitter windows. WIZARD97 Demonstrates implementing a wizard that supports background bitmaps and wide header titles and images. This wizard design is supported for Windows 98 and Windows NT 5.0; you must be using Windows 98 or Windows NT 5.0 for this sample to work properly. WORDPAD Uses MFC's support for rich edit controls to create a basic word processor. WWWQUOTE Retrieves information from a database and provides it to the user via an HTTP connection to the server. See Also Microsoft Foundation Class Library Samples Index
赵4老师 2014-06-03
  • 打赏
  • 举报
回复
buyong 2014-06-03
  • 打赏
  • 举报
回复
深入浅出MFC
百曉生 2014-06-03
  • 打赏
  • 举报
回复
这个对楼主应该能起到一定帮助——http://download.csdn.net/detail/u012421456/6924489
xmlored 2014-06-03
  • 打赏
  • 举报
回复
引用 3 楼 supermegaboy 的回复:
[quote=引用 楼主 xmlored 的回复:] 本人在上学,上完c++课后,自己也自学了一点,c++的基本语法还算熟悉,现在在学MFC,但是看别人的MFC代码感觉好迷茫,一点点还是看得懂,代码一长就一团糟,求问怎么继续学习,谢谢
你的基础还不过关,你自以为“熟悉”而已。可以继续学习c++ primer plus,c++ primer先别看,因为你连MFC的的代码都看不懂。[/quote]谢谢,我去借来看,我不是说MFC代码看不懂,我是不知道那个代码怎么就能实现那个东西的,有什么好办法能了解MFC的原理吗
xmlored 2014-06-03
  • 打赏
  • 举报
回复
引用 5 楼 Baoge_leopard 的回复:
奠定厚实基础请看《C++编程思想 第1卷》《C++编程思想 第2卷》 如果要继续,选择Window平台的话,就学《Windows程序设计》 如果还要更高,请选择,侯捷写的《MFC深入浅出 第三版》,这个书剖析MFC结构,但不做用法讲解,要想摆脱微软的阴影,就得了解这个易用的框架怎么实现的。另外,看一些其他MFC编程的书吧。
我想问下,现在是继续学习C++往windows编程方向学好还是转java学好呢
赵4老师 2014-06-03
  • 打赏
  • 举报
回复
引用 14 楼 xmlored 的回复:
[quote=引用 13 楼 zhao4zhong1 的回复:] MSDN98\SAMPLES\VC98\MFC\TUTORIAL\SCRIBBLE\STEP1~7\*.* 这个压力楼主应该还能承受。
才来论坛不久就看到过好多次赵4老师~~,你说的这个我不太懂是啥诶,我只知道MSDN是干嘛用的[/quote] 搜索下载安装MSDN98 mk:@MSITStore:C:\MSDN98\98VS\2052\vcsample.chm::/html/_sample_mfc_scribble.htm SCRIBBLE: Illustrates Use of Foundation Class Libraries Click to open or copy STEP1 Click to open or copy STEP2 Click to open or copy STEP3 Click to open or copy STEP4 Click to open or copy STEP5 Click to open or copy STEP6 Click to open or copy STEP7 SCRIBBLE is the tutorial sample application discussed in Visual C++® Tutorials. The SCRIBBLE sample directory has seven subdirectories that correspond to different steps in the tutorial. Each subdirectory contains the complete sources for a given step. SCRIBBLE provides simple illustrations of a wide breadth of MFC features. Step 1 through Step 6 of theScribble Tutorial give the best introduction to the following framework features. Application objects Documents, views, and document templates Commands, message maps, and command user interface updating MDI (multiple document interface) frame and child windows Toolbars and status bars Update hints from documents to views Dialogs, data exchange, and validation Scroll view Splitter window Printing and print preview Context-sensitive Help Refer to other samples for illustrations of advanced use of the above features, and for illustrations of many other features not covered in the tutorial. Step 7,Creating an OLE Server, of the Scribble Tutorial adds another step to the development of the SCRIBBLE application by introducing OLE Visual Editing server functionality. The STEP1 sample demonstrates the following keywords: CDC::LineTo; CDC::MoveTo; CDC::SelectObject; CDialog::DoModal; CDocument::DeleteContents; CDocument::OnNewDocument; CDocument::OnOpenDocument; CDocument::SetModifiedFlag; CFrameWnd::Create; CFrameWnd::DockControlBar; CFrameWnd::EnableDocking; CFrameWnd::LoadFrame; CObList::GetHeadPosition; CObList::GetNext; CObject::AssertValid; CObject::Dump; CObject::Serialize; CPen::CreatePen; CView::DoPreparePrinting; CView::GetDocument; CView::OnBeginPrinting; CView::OnDraw; CView::OnEndPrinting; CView::OnPreparePrinting; CWinApp::AddDocTemplate; CWinApp::Enable3dControls; CWinApp::EnableShellOpen; CWinApp::InitInstance; CWinApp::LoadStdProfileSettings; CWinApp::RegisterShellFileTypes; CWnd::DoDataExchange; CWnd::GetCapture; CWnd::OnCreate; CWnd::OnLButtonDown; CWnd::OnLButtonUp; CWnd::OnMouseMove; CWnd::PreCreateWindow; CWnd::SetCapture; CWnd::ShowWindow; CWnd::UpdateWindow; CreatePen; DragAcceptFiles; LineTo; MoveTo; RGB; ReleaseCapture; SelectObject The STEP2 sample demonstrates the following keywords: ……
xmlored 2014-06-03
  • 打赏
  • 举报
回复
引用 13 楼 zhao4zhong1 的回复:
MSDN98\SAMPLES\VC98\MFC\TUTORIAL\SCRIBBLE\STEP1~7\*.* 这个压力楼主应该还能承受。
才来论坛不久就看到过好多次赵4老师~~,你说的这个我不太懂是啥诶,我只知道MSDN是干嘛用的
赵4老师 2014-06-03
  • 打赏
  • 举报
回复
MSDN98\SAMPLES\VC98\MFC\TUTORIAL\SCRIBBLE\STEP1~7\*.* 这个压力楼主应该还能承受。
xmlored 2014-06-03
  • 打赏
  • 举报
回复
引用 9 楼 buyong 的回复:
深入浅出MFC
嗯嗯,这个我正在看,好厚一本,压力好大
默伊清风 2014-06-02
  • 打赏
  • 举报
回复
奠定厚实基础请看《C++编程思想 第1卷》《C++编程思想 第2卷》 如果要继续,选择Window平台的话,就学《Windows程序设计》 如果还要更高,请选择,侯捷写的《MFC深入浅出 第三版》,这个书剖析MFC结构,但不做用法讲解,要想摆脱微软的阴影,就得了解这个易用的框架怎么实现的。另外,看一些其他MFC编程的书吧。
Claude_Ray 2014-06-02
  • 打赏
  • 举报
回复
首先说我也是新手,水平不足,以下仅仅是个人建议:语言的学习不要心急,简单点的代码也有写的很棒的,看到好的自己认真敲一两遍,复杂的一点点分析,分段百度谷歌。经典的书一本本的啃,建议同时包括C语言的书,如the c program language,会有很多收获。最重要的还是打好基础,把必要的算法和数据结构熟练掌握,有时间请学好数学。
飞天御剑流 2014-06-02
  • 打赏
  • 举报
回复
引用 楼主 xmlored 的回复:
本人在上学,上完c++课后,自己也自学了一点,c++的基本语法还算熟悉,现在在学MFC,但是看别人的MFC代码感觉好迷茫,一点点还是看得懂,代码一长就一团糟,求问怎么继续学习,谢谢
你的基础还不过关,你自以为“熟悉”而已。可以继续学习c++ primer plus,c++ primer先别看,因为你连MFC的的代码都看不懂。
Morrisss_ 2014-06-02
  • 打赏
  • 举报
回复
数据结构,看一下。
碼上道 2014-06-02
  • 打赏
  • 举报
回复
可以继续学习一下MFC,注重思想。 后面再学习看你后面想做什么了,做游戏,还是做手机开发啥的。

33,311

社区成员

发帖
与我相关
我的任务
社区描述
C/C++ 新手乐园
社区管理员
  • 新手乐园社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧