#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
#include <windows.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <math.h>
//goto:直接跳转,可用于跳出多层循环
//把 [字符串] b复制到a:
//
//#include <string.h>
//
//...
//
//strcpy(a, b);
//
//拷贝过程:(从前往后覆盖,'\0'也会复制)
//
//a = { '#','#','#','#','#','#','#','#','#',0}; b = {'a','s','d','f',0};
// |
// |strcpy(a, b);
// |
//a = { 'a','s','d','f',0,'#','#','#','#',0 };
//
//因此打印a时只会打印"asdf"
//memset(void *ptr,int i,int a)——把ptr指向的空间内的前a个字节的内容设置为i这个值
//
//int main()
//{
//
// char a[] = "asdf asdf";//字符串必须加[]
//
// memset(a, '#', 6);//字符在内存中以ascii码值的形式存储,是int
//
// printf("%s", a);//输出######sdf
// //空格也是字符
//
// return 0;
//
//}