vector<CString>&files, 为什么要加&,加&是什么意思?files.size是什么意思?
解决方案 »
- VC6.0中使用UpdateLayeredWindow总时出现未定义错误
- 怎样获取当前的系统时间保存在字符串中,精确到毫秒
- 为Doc添加额外的View在什么位置比较好
- win32下怎样才可以使控件和菜单中的选项变成灰色(只读,不可操作)?
- 请高手解决!!!!!!!!!!!!!!!!!!!1
- 有一个dll,怎么知到是什么类型的dll(MFC DLL,WIN32 dll,WIN32 static)
- CreatePen(...)创建的资源应该由哪个函数去释放?
- 有没有什么好的查内存泄露的工具??
- window blind是怎么实现的?
- CH375或者CH372芯片的使用
- 在VS2010的MFC开发中,如何运行一个外部的BAT批处理文件?
- MFC Dialog应用程序 可以加入Ribbon 吗? 怎么做?
----------------------------
vector::sizepublic member functionsize_type size() const;
Return sizeReturns the number of elements in the vector container.This is the number of actual objects held in the vector, which is not necessarily equal to its storage capacity. Vectors automatically reallocate their storage space when needed or when requested with member resize. To retrieve the current storage capacity of a vector you can call to its member capacity.