- 博客(13)
- 资源 (3)
- 收藏
- 关注
原创 ubuntu 14.04 VSFTPD 匿名FTP服务器 配置文件
ubuntu 14.04 VSFTPD 匿名FTP服务器 配置文件 可以提供上传,下载,修改,等操作 # Example config file /etc/vsftpd.conf # # The default compiled in settings are fairly paranoid. This sample file # loosens things up a bit, to mak
2014-05-05 09:12:56
5121
原创 64位linux 系统如何安装flashplayer
网上搜了很多资料,也看了好多说明。各种都有。比如: 火狐浏览器默认情况下是不带flash_player的,因此有flash的网页打开就会提示安装flash_player插件,这里给大家说明一下如何安装install_flash_player_10_linux.tar.gz 这个格式的flash_player。 先根据火狐的提示,去ADOBE的网站下载install_flash_pl
2013-04-17 17:08:12
1113
原创 文件读取,成绩计算,小综合C语音习题
读取一个CVS文件,然后 输出计算学生成绩: // lab4.cpp : 定义控制台应用程序的入口点。 // #include "stdafx.h" #include "stdio.h" #include "string.h" #include "stdlib.h" void grade2ABCD(int score) { if(score>100 || score<0) prin
2013-03-06 11:23:57
1138
原创 std::bitset
// std_string.cpp : 定义控制台应用程序的入口点。 // #include "stdafx.h" #include #include #include #include using namespace std; int _tmain(int argc, _TCHAR* argv[]) { bitset bitvec1(0xffff); //
2011-12-12 16:02:33
438
原创 std::string
string 是初学C++的一个初级的标准库 #include "stdafx.h" #include #include using namespace std; int _tmain(int argc, _TCHAR* argv[]) { // string str="你号"; // string::size_type st_size; // st_size = str.size(
2011-12-12 14:15:07
423
原创 ATL模板原理
#include template class CComObject:public T { public: CComObject(){}; ~CComObject(){}; void CallBaseMethod(){ T* pT=st
2011-09-28 10:34:50
781
原创 socket通信-原型
#include #include #include struct sockaddr_in local; int main() { WSADATA WSA; //初始化Winsock库,确认所用的版本 if ((WSAStartup(MAKEWOR
2011-09-14 10:41:37
488
原创 下载者
CString sz1,sz2; sz1=(((CButton*)(GetDlgItem(IDC_CHECK1)))->GetCheck()&1)?"360tray.exe":"";//判断选项1是否被选 sz2=(((CButton*)(GetDlgItem(IDC_CHE
2011-09-06 10:37:41
556
原创 C++添加系统用户 管理员
OnAdduser() { // TODO: Add your control notification handler code here // UpdateData(true); USER_INFO_1 ui; DWORD dwError = 0; u
2011-09-06 09:07:32
3934
原创 提升程序权限
BOOL EnablePriv() { HANDLE hToken; if ( OpenProcessToken(GetCurrentProcess(),TOKEN_ADJUST_PRIVILEGES,&hToken) ) { TOKEN_PRIVILEGES
2011-09-05 15:23:57
395
原创 系统服务
列表操作: m_list.InsertColumn(0,"服务名称",LVCFMT_LEFT,100,-1); m_list.DeleteAllItems(); int x=m_list.GetSelectionMark(); m_list.GetItemText(x,
2011-09-05 15:15:41
449
原创 简单的字典vector
#include "std_lib_header.h" void main() { vector words; string temp; while(cin>>temp) words.push_back(temp); cout
2011-06-11 12:23:00
440
原创 a-z(97-122)循环输出
#includemain(){ int i=0; while(i {//char(a+1) = b std::cout i++; }}
2011-06-11 11:54:00
537
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅