首先,来看第一问: 1:fatal error C1010: 在查找预编译头时遇到意外的文件结尾。是否忘记了向源中添加“#include "pch.h"”? 估计时在编译时没有找到include “pch.h”头文件,查了很多资料说只要禁用头文件就行了 步骤: 找到自己的测试.cpp文件; 右键点击 ...
分类:
其他好文 时间:
2019-08-03 10:40:12
阅读次数:
228
// ConsoleApplication1.cpp : 此文件包含 "main" 函数。程序执行将在此处开始并结束。// #include "pch.h"#include <iostream>#include <Windows.AI.MachineLearning.h>#include <coni ...
分类:
其他好文 时间:
2019-07-14 15:26:29
阅读次数:
74
#include "pch.h"#include <iostream>#include<algorithm>#include<cmath>using namespace std;//选择排序void selectSort(int arr[], int n) { for (int i = 0; i < ...
分类:
编程语言 时间:
2019-07-13 15:02:18
阅读次数:
136
iOS开发过程中使用一些常用的宏可以提高开发效率,提高代码的重用性;将这些宏放到一个头文件里然后再放到工程中的-Prefix.pch文件中(或者直接放到-Prefix.pch中)直接可以使用,灰常方便。 做了一些分类和注释,可以根据自己习惯再添加或者删除或者修改这些宏进行使用。 #ifndef Ma... ...
分类:
移动开发 时间:
2019-07-12 14:22:58
阅读次数:
143
Invert a binary tree. Example: Input: Output: 方法2:递归求解,简洁的让人觉得可怕,跑的还飞快,推荐食用👍 ...
分类:
其他好文 时间:
2019-07-10 00:59:52
阅读次数:
137
w4G-in5u3SH75RoB3VZIX8htiZgw4ELilwvPcHAIQWfwfXv5n0IHDp5hv 1BM3+H1XygMtiE0-JBgacjE9tz33sIh542EmsGs1yg638UxVfmWqNLqu- Zw91XxNEiZF7DC7-iV1XbSfsgxI8Tvqr-Z ...
分类:
其他好文 时间:
2019-07-08 10:49:33
阅读次数:
137
// 遍历数组内容 NSArray * array = @[@"1",@"2",@"3",@"4",@"5",@"6"]; [array.rac_sequence.signal subscribeNext:^(id _Nullable x) { NSLog(@"数组内容:%@", x); }]; /... ...
分类:
其他好文 时间:
2019-06-28 15:18:01
阅读次数:
161
// tt.cpp : This file contains the 'main' function. Program execution begins and ends there. // #include "pch.h" #include #include typedef LONG NTSTAT... ...
分类:
其他好文 时间:
2019-06-28 15:07:00
阅读次数:
138
Command-Line Arguments All the executable programs above have a main(void) program more generally, executables take arguments on the command line thes ...
分类:
编程语言 时间:
2019-06-23 22:38:23
阅读次数:
130