Visual_C_Book_Prg.rar

  • PUDN用户
    了解作者
  • Visual C++
    开发工具
  • 3.5MB
    文件大小
  • rar
    文件格式
  • 1
    收藏次数
  • 10 积分
    下载积分
  • 28
    下载次数
  • 2010-04-29 15:19
    上传日期
多线程文件传输的实例,实现多个线程传输同一个文件,在服务器端多个线程以共享方式打开一个需要传输的文件,然后各个线程分别读取各自的一部分数据并分别发送给客户端,客户端同样各个线程分别接收服务端对应的线程发送的文件数据,最后将接收的临时文件合并为最终完整的文件。
Visual_C_Book_Prg.rar
内容介绍
======================================================================== MICROSOFT FOUNDATION CLASS LIBRARY : FileTransferServer ======================================================================== AppWizard has created this FileTransferServer application for you. This application not only demonstrates the basics of using the Microsoft Foundation classes but is also a starting point for writing your application. This file contains a summary of what you will find in each of the files that make up your FileTransferServer application. FileTransferServer.dsp This file (the project file) contains information at the project level and is used to build a single project or subproject. Other users can share the project (.dsp) file, but they should export the makefiles locally. FileTransferServer.h This is the main header file for the application. It includes other project specific headers (including Resource.h) and declares the CFileTransferServerApp application class. FileTransferServer.cpp This is the main application source file that contains the application class CFileTransferServerApp. FileTransferServer.rc This is a listing of all of the Microsoft Windows resources that the program uses. It includes the icons, bitmaps, and cursors that are stored in the RES subdirectory. This file can be directly edited in Microsoft Visual C++. FileTransferServer.clw This file contains information used by ClassWizard to edit existing classes or add new classes. ClassWizard also uses this file to store information needed to create and edit message maps and dialog data maps and to create prototype member functions. res\FileTransferServer.ico This is an icon file, which is used as the application's icon. This icon is included by the main resource file FileTransferServer.rc. res\FileTransferServer.rc2 This file contains resources that are not edited by Microsoft Visual C++. You should place all resources not editable by the resource editor in this file. ///////////////////////////////////////////////////////////////////////////// AppWizard creates one dialog class: FileTransferServerDlg.h, FileTransferServerDlg.cpp - the dialog These files contain your CFileTransferServerDlg class. This class defines the behavior of your application's main dialog. The dialog's template is in FileTransferServer.rc, which can be edited in Microsoft Visual C++. ///////////////////////////////////////////////////////////////////////////// Other standard files: StdAfx.h, StdAfx.cpp These files are used to build a precompiled header (PCH) file named FileTransferServer.pch and a precompiled types file named StdAfx.obj. Resource.h This is the standard header file, which defines new resource IDs. Microsoft Visual C++ reads and updates this file. ///////////////////////////////////////////////////////////////////////////// Other notes: AppWizard uses "TODO:" to indicate parts of the source code you should add to or customize. If your application uses MFC in a shared DLL, and your application is in a language other than the operating system's current language, you will need to copy the corresponding localized resources MFC42XXX.DLL from the Microsoft Visual C++ CD-ROM onto the system or system32 directory, and rename it to be MFCLOC.DLL. ("XXX" stands for the language abbreviation. For example, MFC42DEU.DLL contains resources translated to German.) If you don't do this, some of the UI elements of your application will remain in the language of the operating system. /////////////////////////////////////////////////////////////////////////////
评论
    相关推荐
    • 文件合并.zip
      程序运行后打开文件,显示各个文件的路径,并进行内容的合并
    • bin文件合并工具
      在单片机的开发过程中,经常需要将两个单独的bin文件合并成一个文件,方便烧写和生产。 超好用的一个工具,可以实现两个二进制bin文件的合并,任一指定偏移量合并。使用它可以直接将编译好的两个bin文件按照程序员...
    • 手机快播文件合并
      根据自己需要用java写的一个文件合并工具,经测试可以合并手机快播p2pcache缓存的文件为一个独立的视频文件,合并后文件默认后缀是avi如果不能正常播放自己修改后缀名为适应格式
    • pdf 文件合并
      DF合并工具:PDFBinder 1.2绿色便携版 ———————————————— PDFBinder是一个极为简便的PDF合并软件,直接运行PDFBinder.exe即可,但是需要.NET Framework运行库支持
    • Java 文件合并
      读取两个文件合成一个文件写出去,bufferReader,FeilReader
    • CSV文件合并工具
      最近用到CSV文件合并较多,但网上找了一些不太好使用,所以自己写了一点。文件合并的部分代码,一开始是完全用C语言写的,后面用MFC加了界面。有需要的可以拿去参考。 本身工具很简单,一开始想利用python,但后面想...
    • hex文件合并
      压缩文件里是hex格式文件的合并源码,用c语言实现将两个hex文件合并成一个hex文件,用于mcu开发中将bootloader和app的合并生成一个烧录文件
    • txt文件合并
      C++编写的文件合并,利用fopen,fwrite等函数实现,编程学习之用。可能存在BUG
    • C#文件合并
      用C#写的一个可以实现文件合并的软件。。。。
    • TXT文件合并工具
      TXT文件合并软件是采用微软C#语言开发,合并文件数量没有限制,文件大小没有限制(前提是你的电脑内存也要足够多大才行),文件合并使用多线程进行处理,速度非常之快,合并100万的数据不到1秒,软件界面简洁美观,...