最近要将一个项目移植到xp下,但在xp下运行exe文件后,总是报错说XXX.exe is not a valid win32 application。但输出的的确是win32 release版本的exe。
解决办法如下:
1、安装VS2012 update 1
2、安装VS2012 update 4
3、重启VS,打开项目,右键项目->properties->Configuration P...
代码:class Solution {public: bool isValid(string s) { string left = "([{"; string right = ")]}"; stack stk; for(auto c : ...
分类:
其他好文 时间:
2015-03-03 01:04:29
阅读次数:
185
代码: 1 class Solution { 2 public: 3 bool isPalindrome(string s) { 4 transform(s.begin(), s.end(), s.begin(), ::tolower); 5 auto lef...
分类:
其他好文 时间:
2015-03-02 23:51:02
阅读次数:
170
有台机器使用Yum的时候,报错如下:YumRepo Error: All mirror URLs are not using ftp, http[s] or file.Eg. $releasever is not a valid release or hasnt been released yet/...
分类:
Web程序 时间:
2015-03-02 18:30:56
阅读次数:
296
Write a program to solve a Sudoku puzzle by filling the empty cells.
Empty cells are indicated by the character '.'.
You may assume that there will be only one unique solution.
A sudoku...
分类:
其他好文 时间:
2015-03-02 14:53:12
阅读次数:
135
golang httpserver如果采用 fmt.Fprintf(w, result)来输出json数据时,若json数据包含%号,则会出现问题。输出结果里面会包含(MISSING)字样,造成json格式错误。把输出函数替换为w.Write即可。func Action(w http.Respons...
分类:
Web程序 时间:
2015-03-02 11:01:58
阅读次数:
228
Sudoku is a numbers filling game, most known by people is 9x9 class, the algorithm is using confirmed numbers to get all possible numbers for each cel...
分类:
系统相关 时间:
2015-03-02 10:57:50
阅读次数:
179
原文地址:http://yanwushu.sinaapp.com/tfs_wersioncontrol_config_file_not_valid/
使用TFS进行源代码管理时可能会出现问题:缓存文件wersioncontrol.config无效。进而导致项目连接不到TFS服务器。本文描述此问题的解决方案。
导致这种问题的原因可能很多,比如电脑异常关机,Visual Studio异常关...
分类:
Web程序 时间:
2015-03-01 21:05:02
阅读次数:
185
Write a program to solve a Sudoku puzzle by filling the empty cells.Empty cells are indicated by the character'.'.You may assume that there will be on...
分类:
其他好文 时间:
2015-03-01 18:26:16
阅读次数:
155
Determine if a Sudoku is valid, according to: Sudoku Puzzles - The Rules.
The Sudoku board could be partially filled, where empty cells are filled with the character '.'.
A partially fille...
分类:
其他好文 时间:
2015-03-01 15:45:20
阅读次数:
136