以下是各种设备的连接情况下,正线和反线的正确选择。其中HUB代表集线器,SWITCH代表交换机,ROUTER代表路由器:-following is the connection of the equipment, and the line-line and the correct choice. HUB hub which representatives, representatives SWITCH switches, routers ROUTER representatives :
一个读取和写入ini配置文件的例子。从list1中读出数据写入到ini文件,再从ini文件写入到list2。-Ini to read and write a configuration file example. List1 in读出数据from written to ini file, ini file from the write to list2.
操作INI文件,非常方便...
使用方法:
1.先把IniFile.h,IniFile.ccp加入Porject,在要使用该类的头文件中加入
#include "IniFile.h",及CIniFile IniFile
2.读取和写入:
string = IniFile.GetString("section","item","默认")
int = IniFile.GetInt("section","item",666)
IniFile.SetString("section","item","设置值")
IniFile.SetInt("section","item",666)
3.ini文件名及路径在初始化时,用SetFileName()设置-Operation of INI file, is very convenient to use ...: 1. First IniFile.h, IniFile.ccp adding Porject, to be used in the first such document by adding# Include
可以把你选择的文件类型用你选择的程序打开。显示的图标也可以由你自己选择。附带SDK程序源代码。比较好用的程序-You can open the file you chose with the program you chose.You also can choose the icon,with SDK program source code.A good program.
vc++文档与视图之间分离的示例程序,学习文档-视图相互作用函数的程序-vc++ document and view examples of the separation between the procedures, study documentation- view of the interaction function of the procedures