代码改变世界

阅读排行榜

CString.Format %s 字符串 要用char *

2014-01-18 21:29 by hongjiumu, 735 阅读, 收藏,
摘要: CString.Format %s 字符串 错了,应该是:std::string str;CString sql;sql.Format("%s",str.c_str());所以正确的说法是%s c字符串 阅读全文

js做带编辑,保存,删除,添加功能的表格

2012-09-06 19:18 by hongjiumu, 723 阅读, 收藏,
摘要: <!--产品属性处理部分开始--> <table id="productAttributeBlock" class="tabEditList" style="width:100%;"> <thead> <tr> <th> 属性类型 </th> <th> ... 阅读全文

bcp功能

2013-12-06 21:09 by hongjiumu, 716 阅读, 收藏,
摘要: #include "MyBCP.h" #include "odbcss.h" //1,Allocate an environment handle and a connection handle. //2,Set SQL_COPT_SS_BCP and SQL_BHCP_ON to enable bulk copy operations. void CMyBCP::Initialize() { SQLRETURN l_uiReturn; l_uiReturn=SQLAllocHandle(SQL_HANDLE_ENV,NULL,&m_hEnvir 阅读全文

通过类名字符串调用类成员和实例化

2012-08-22 17:30 by hongjiumu, 686 阅读, 收藏,
摘要: using System;using System.CodeDom.Compiler;using Microsoft.CSharp;using System.Reflection;using System.Configuration;namespace ConsoleApplication1{ class Program { static void Main(string[] args) { //在App.Config中读取类的定义字符串 string ClassDefined = ConfigurationM... 阅读全文

error C2556: 'const char &MyString::operator [](int)' : overloaded function differs only by return type from 'char &MyString::operator [](int)'

2014-02-15 20:40 by hongjiumu, 659 阅读, 收藏,
摘要: char & operator[](int i);const char & operator[](int i);/*const char & operator(int i);*/编译出错:error C2556: 'const char &MyString::operator [](int)' : overloaded function differs only by return type from 'char &MyString::operator [](int)'修改:char & operator[](in 阅读全文
上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 42 下一页