![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
编程 数据结构
田天
我还是一个菜鸟
展开
-
纸牌游戏
``Accordian'' Patience You are to simulate the playing of games of ``Accordian'' patience, the rules for which are as follows: Deal cards one by one in a row from left to right, not overlap原创 2014-07-04 10:16:34 · 854 阅读 · 0 评论 -
结构体变量的内存分配
计算机中的内存存放变量时往往并不是按照一个原创 2014-07-31 21:21:51 · 2361 阅读 · 0 评论 -
asii和unicode格式字符串之间的相互转换
wchar_t *str2[4];char *str[4]={"文件1","2222","文件","2014-7-15"};for(int i=0;i{DWORD dwNum = MultiByteToWideChar (CP_ACP,0,str[i],-1,NULL, 0);str2[i]=new wchar_t[dwNum];MultiByteToWideChar原创 2014-07-31 20:25:14 · 738 阅读 · 0 评论 -
泊松分酒
有一个12品脱(pint)的酒瓶,里面装满葡萄酒,另有8品脱和5品脱的瓶子各一个。问如何从中分出6品脱的酒出来?原创 2014-07-04 10:31:54 · 1223 阅读 · 0 评论