CHAR、TCHAR、WCHAR_T之间的区别与问题

摘要: 今天在使用LibXIStream 对视频采集卡进行开发时遇到了给的sample中的程序没问题,而自己写的却无论如何都会失败,打不开相应的采集卡。具体问题时出在这样一个数据结构上的: typedef struct _VIDEO_CAPTURE_INFO { XI_ADAPTER_MODEL adapt 阅读全文
posted @ 2016-12-01 18:49 Bismarck 阅读(190) 评论(0) 推荐(0)

8. String to Integer (atoi)

摘要: 题目如下: Implement atoi to convert a string to an integer. Hint: Carefully consider all possible input cases. If you want a challenge, please do not see 阅读全文
posted @ 2016-11-26 15:49 Bismarck 阅读(123) 评论(0) 推荐(0)

388. Longest Absolute File Path

摘要: 题目如下: Suppose we abstract our file system by a string in the following manner: The string "dir\n\tsubdir1\n\tsubdir2\n\t\tfile.ext" represents: The di 阅读全文
posted @ 2016-11-22 22:13 Bismarck 阅读(206) 评论(0) 推荐(0)