Even relatively new C programmers have no trouble reading simple C declarations such as int foo[5]; // foo is an array of 5 ints char *foo; // foo is a pointer to char double foo(); // foo is a function returning a double but as the declarations get…
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://localhost:9001/api/size/get. (Reason: CORS header 'Access-Control-Allow-Origin' missing). 打开API项目录,命名用NuGet安装Microsoft.AspNet.WebApi.Cors: 在WebApiCon…
Today I begin to learn to use Git. I learn from Pro Git. And I recommend it which is an excellent book. Some Ideas: Git is a Distributed Version Control System and it is brilliant. And we know that DDoS attack is famous and distributed as well. So, d…
Flesch Reading Ease Time Limit: 1000MS Memory Limit: 65536K Description Flesch Reading Ease, a readability test named after its deviser Rudolf Flesch, is among most ubiquitously used readability tests, which are principally employed for assessment of…
今天在开发过程中,一个单位跑的好好的项目,在家中的Mac下运行时,遇到了下面这个错误: "Lost connection to MySQL server at 'reading initial communication packet, system error: 61" 看错误描述应该是无法连接数据库,OK,我先检查数据库是否正常工作,phpmyadmin看了一下一切正常. 看了一下数据库配置:hostname 使用的是 127.0.0.1,看了一下网上的解决方案,大多是…
Memory, is a complex module in Programing, especially on Windows. This time, I use cpp with win windows api{ VirtualQueryEx(); //Get the available memory page(block) ReadProcessMemory(); //Read the specific memory LookupPrivilegeValue(); //G…