最近在溫故知新中
繼續閱讀Tag Archives: C++
練習C++程式分享:cin.ignore();
練習C++程式分享:cin.ignore();
繼續閱讀2024第一天第一件事: 享受學習C++
2024第一天第一件事: 上課
縱然使用C與C++已經超過20年了,但遇到好老師好課程,還是再次投入享受學習。
C++ ‘尋找程式視窗及變更位置大小’程式小改善 (A minor enhancement for ‘Find programs’ Windows and Change Position/Size’
加入滑鼠中鍵滾動時變換ListBox項目
繼續閱讀優化PDM查詢零件之ERP庫存資訊與成本功能 (Optimizing PDM system for querying ERP inventory information and costs of parts)
日前研發部提出對此功能優化之需求:優化PDM整批查詢零件之GP庫存量與成本功能。
繼續閱讀C++11 __func__,好用 (__func__is very useful)
(C++11) 預先定義的識別碼 __func__
會隱含定義為字串,其中包含封入函式的非限定和未限定名稱。 __func__
是由 C++ 標準所授權,而不是 Microsoft 擴充功能。
C++ 尋找程式視窗及變更位置大小 (Find programs’ Windows and Change Position/Size with C++)
本程式功能為找出在Windows所有執行中程式的所有視窗,並可個別變更視窗的位置與大小。
繼續閱讀C++ 查詢電腦IP, ChatGPT有幫到 (Ping IP helped by ChatGPT)
近日因為作業需求需要查詢遠端電腦的開機狀態,直覺就想到ping ip。
繼續閱讀C++ 擷取控件資訊包含資料庫(Retrieve control’s information including data base)
在BCB6設計一功能,在Form之任何控件上按Ctrl_q,即列示游標所在元件的物件資訊,包括資料庫來源資料。對資料來源之理解、除錯、維護大有幫助。
繼續閱讀C++ 在for..next中刪除ADOQuery資料時要注意的細節 (Some details we should be careful with while deleting ADOQuery’s data in For..Next)
在for..next中刪除ADOQuery資料時,要注意一些細節,不然有些資料會沒刪到,所得結果就會錯誤。
We should be careful with some details while deleting ADOQuery’s data in a For..Next or we will get wrong data result.
C++呼叫SQL預存程序傳送E-Mail(A C++ application calling a SQL stored procedure to mail out)
本文展示以C++程式呼叫SQL預存程序傳送E-Mail的作法。
This article is showing how to use C++ program calling a SQL stored procedure to mail out.
繼續閱讀
C++兩程式互傳訊息實例 — PDM的觀圖功能(viewing CAD drawings in PDM)
繼上文中提到的兩程式互傳訊息之後,近日以互傳訊息完成PDM的觀圖功能。
After last article described how to transfer message between two programs, I recently have used this method to accomplish the viewing function of the PDM system.
繼續閱讀
C++小案例分享 : 兩支視窗程式雙向互傳訊息(Transferring message to each other between two programs)
本文展示以C++ (Borlad C++ Cuilder 6) 設計兩支視窗程式雙向互傳訊息作法 — prg1與prg2互傳訊息。
This article is presenting how to design two programs within BCB6 to let them can transfer messages to each other.
C++小案例分享 : 兩支視窗程式單向傳遞訊息 (Transferring message from a program to the other)
本文展示以C++ (Borlad C++ Cuilder 6) 設計兩支視窗程式單向傳遞訊息的作法 — prg1傳訊息給prg2。
This article is presenting how to design two programs within BCB to let one can transfer message to the other. 繼續閱讀
C++ 有趣的一件事:另類遞迴 (An interesting event:abnormal recursion)
想試寫兩個程式,可以互相呼叫及傳遞訊息什麼的。
Try to design two programs that they can transmit messages to each other, so they can do some communicating things or so.
C++獲取網芳資料夾安全性的管理者權限(Getting the authority of administrator from network shares)
通常為了安全起見,必須將分享資料夾的NTFS安全性設為users或everyone僅唯讀不允修改寫入,然而在執行程式時卻又必須依程式系統的帳號權限來寫入。這要如何做到呢? 本文分享作法。
(Usually for security reasons, we must set network shared-folder’s NTFS security to read-only for normal users or everyone . But at the same time , the folder also needed by writting by program . What would we do ? This article is showing the practice.)