- 6月 29 週三 201616:07
Notepad++支持顯示回车符,换行符,TAB键,行首,行尾等特殊字符
- 6月 28 週二 201623:05
C語言:顯示中文字錯誤
今天在寫小程式的時候遇到編碼問題,我輸出一段中文字
1 | cout<<"午餐"; |
參考這篇
http://www.mathworks.com/matlabcentral/answers/90383-fix-problem-when-mex-cpp-file
- 1月 04 週一 201619:17
Matlab 2015a 無法 mex -setup
Error using mex
No supported compiler or SDK was found. For options,
visit
http://www.mathworks.com/support/compilers/R2015a/win64.html.
- 11月 28 週六 201511:26
有趣文章
大揭秘!男性比女性短命的11個原因
http://www.msn.com/zh-tw/health/medical/%E5%A4%A7%E6%8F%AD%E7%A7%98%EF%BC%81%E7%94%B7%E6%80%A7%E6%AF%94%E5%A5%B3%E6%80%A7%E7%9F%AD%E5%91%BD%E7%9A%8411%E5%80%8B%E5%8E%9F%E5%9B%A0/ss-BBjI6Fr?ocid=wispr#image=1
http://www.msn.com/zh-tw/health/medical/%E5%A4%A7%E6%8F%AD%E7%A7%98%EF%BC%81%E7%94%B7%E6%80%A7%E6%AF%94%E5%A5%B3%E6%80%A7%E7%9F%AD%E5%91%BD%E7%9A%8411%E5%80%8B%E5%8E%9F%E5%9B%A0/ss-BBjI6Fr?ocid=wispr#image=1
- 11月 17 週二 201516:15
隨身碟
之前買了隨身硬碟,今天要放一個6GB的檔案,顯示「檔案太大無法放置在目的地檔案系統」,
上網找大部分都說要格式化,將FAT32格式化成NTFS,才能用。
隨身碟要FAT32 轉成 NTFS才能存檔
上網找大部分都說要格式化,將FAT32格式化成NTFS,才能用。
隨身碟要FAT32 轉成 NTFS才能存檔
- 9月 09 週三 201510:11
C語言: 今日學習紀錄
strncpy
char * strncpy ( char * destination, const char * source, size_t num );
Parameters
destination Pointer to the destination array where the content is to be copied. source C string to be copied. num Maximum number of characters to be copied from source.
size_t is an unsigned integral type.
destination is returned.
Output:
char * strncpy ( char * destination, const char * source, size_t num );
Parameters
size_t is an unsigned integral type.
Return Value
destination is returned.
Example
| |
Output:
|
