- 博客(6)
- 资源 (1)
- 收藏
- 关注
转载 C# 调用System.data.compute(……)简化一些简单的计算(+-*/%,abs())
using System; using System.ComponentModel; using System.Data; using System.Windows.Forms; namespace WindowsApplication1 { public partial class Form1 : Form {
2014-11-17 15:36:01
645
原创 Mac下Myeclipse编辑HTML中文乱码;或许对相似问题也有帮助
html> TestHtml.html ;charset=utf-8> html;charset=US-ASCII"> rel="stylesheet" type="text/css"href="./styles.css">--> YES中文
2014-09-28 20:23:42
459
转载 Edit Control按回车表示点击Button1
BOOL CTestDlg::PreTranslateMessage(MSG* pMsg) { if(pMsg->message == WM_KEYDOWN) { if(pMsg->wParam == VK_RETURN)//当按下键为回车键时 { OnButton1();//调用按钮函数 return TRUE; }
2014-07-19 15:58:26
873
原创 追加写入txt
打开文件的时候这么写:CStdioFile file(_T("DEMO.txt"), CFile::modeWrite | CFile::modeCreate | CFile::typeText | CFile::modeNoTruncate);重点在
2014-07-12 08:38:16
506
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人