原创 多線程1 CreateThread
#include "stdafx.h" #include <windows.h> #include <stdio.h> #include <stdlib.h> DWORD WINAPI func(LPVOID number) {
原创 多線程3 互鎖函數
#include "stdafx.h" #include "windows.h" #include "iostream" #include "process.h" long number = 0; unsigned int _st
原创 彈出打開文件窗口,保存文件窗口(C++)
文件保存: private: SaveFileDialog^ saveFileDialog1; this->saveFileDialog1= gcnew System::Windows::Forms::SaveFileDialog;
原创 ps 9,10修飾工具
仿製圖章: 在被仿製的位置,按住alt鍵單擊左鍵。在要選擇的位置,左鍵塗抹即可。 吸色筆工具: 在某個位置單擊左鍵後,該筆的顏色變爲了這個位置的顏色,進而進行修飾。 模糊工具:使被塗抹的位置色彩模糊。 銳利工具:使被塗
原创 Excel補充1
單元格的多選項: 在數據-》數據選項-》條件選項,在這裏可以設置選擇的列表,例如aa,bb等等。 註釋: 選中單元格,右鍵,選擇插入註釋,這裏可以對單元格加註釋。 sheet的保護: 在校閱中,選擇sheet保護,這裏可以對sheet的填充
原创 Xml SelecNodes xpath
#include "stdafx.h" //using namespace System; #using <System.Xml.dll> using namespace System; using namespace System::
原创 CLI添加一個控件
private: System::Windows::Forms::Button^ button_Clear; void InitializeComponent(void) { this->button_Clear =
原创 文件讀取(C++,C#)
文件讀出(C++): FILE *fp_read; char readData[ SI_CMD::WRITE_FILE::MAX_LINE_LENGTH]; int result = fopen_s(&fp_read,SI