那个程序很大,差不多有90M,我打开的那个cpp有7000多行
解决方案 »
- 数据的计算问题
- strcpy_s问题
- VFP作为数据源有问题??why!!
- 编译连接错误,请帮忙!为什么呢??
- 急问:如何通过WIN32 API取得当前登录用户的组???
- 画真线,和多边形等图形,除了自带的样式外,能不能自己定义样式?
- 请教:msdn 中"COM Tutorial Sample"的例子在哪里啊?
- 急急!vc 操作 dbf 日期条件查询的问题,急急!
- 有没有一本叫〈电脑编程与技巧〉的杂志?
- 请教高手:在VC的IDE中,当键入一个类时,如CString string_temp.Format....,小数点后会自动出现提示,有些可以找到文档说明,有些没有,那里有比较全的说明?多谢。
- 快2年的mfc屌丝程序员想找方向,望前辈们给点意见
- 大神们,关于com组件的一些基础问题。
CString str,str_csv;
str.Format("%-10s","序号"); //带汉字的就+1
str_csv += str;
str_csv +=",";
strtemp0.Format("%-12s","编号"); //+2
str+=strtemp0;
str_csv += strtemp0;
str_csv +=",";
strtemp0.Format("%-9s","通道"); //-1
str+=strtemp0;
str_csv += strtemp0;
str_csv +=",";
strtemp0.Format("%-10s","分箱");
str += strtemp0;
str_csv += "bin num"; //.csv文件用
str_csv +=",";
CString str_item,str001;
for (int i=0;i<dut_file.test_item_number;i++)
{
str_item.Format("%-10s",test_item[i].name);
if((dut_file.type == 3) && (test_item[i].parameter==3))
str_item.Format("%-15s","RDSON/VDSON");
else if((dut_file.type == 4) && (test_item[i].parameter==2))
str_item.Format("%-15s","VGT/IGT");
str001 = str_item;
if((dut_file.type == 5) && (test_item[i].parameter==3))
{
str_item.Format("%-15s","Ron/Vod");
str001.Format("%-15s","Ron,Vod");
}
else if((dut_file.type == 5) && (test_item[i].parameter==4))
{
str_item.Format("%-10s","Ii");// /Ri
str001.Format("%-10s","Ii");// /Ri
}
str += str_item;
str_csv += str001; //.csv文件用str_item
str_csv +=",";
}
str_item.Format("%-s","Time"); //10
str += str_item;
str +="\n"; //结果显示第一行,参数列表
str_csv += str_item; //.csv文件用
str_csv +="\r\n"; //换行
str_single_result_csv.Insert(0, str_csv); m_richedit_unit.SetSel(-1,-1);
m_richedit_unit.ReplaceSel(str);