原创 sql(SqlServer)編程基本語法
一、定義變量--簡單賦值declare @a intset @a=5print @a --使用select語句賦值declare @user1 nvarchar(50)select @user1='張三'print @user1declar
原创 解決 UnicodeDecodeError: 'ascii' codec can't decode 錯誤
Ctrl + B 沒結果。查看控制檯信息 如下:Running python -u -i C:\2.pyTraceback (most recent call last): File ".\sublime_plugin.py", line
原创 將十進制數轉換爲IEEE754格式
#include "stdio.h" #include "stdlib.h" #include "string.h" #define datatype int #define MAX_SIZE 50 #define OK 1 #defi
原创 哈夫曼樹
/*博客地址 black4yl.blog.51cto.com*/ #include "stdio.h" #include "malloc.h" #include "string.h" typedef char* HuffmanCode
原创 二叉樹的前中後以及層次遍歷
#include "stdio.h" #include "malloc.h" #define datatype char typedef struct bT { datatypedata; struct bT *lt,*rt; }* bi
原创 一個多線程的Socket通信Demo(C語言實現)
-----------這是客戶端程序-------------- #include "stdio.h" #include "winsock2.h" #include "stdlib.h" #pragma comment(lib,"ws2
原创 一個仿系統自帶計算器程序MFC實現
個人覺得還算可以吧。相似度也有個60%吧。支持帶括號四則運算,支持高級面板,支持進制轉換,支持邏輯運算。Vs2008下編譯。附件下載源代碼.