码迷,mamicode.com
首页 >  
搜索关键字:crt-secure    ( 558个结果
C++(自带异常,使用示例)
C++(自带异常,使用示例) #define _CRT_SECURE_NO_WARNINGS #include <iostream> #include <string> //系统提供标准异常 #include <stdexcept> using namespace std; class Person ...
分类:编程语言   时间:2021-04-27 14:52:17    阅读次数:0
C++(template模板 && 类模板 成员函数类外实现)
C++(template模板 && 类模板 成员函数类外实现) 类模板,成员函数类外实现 #define _CRT_SECURE_NO_WARNINGS #include <iostream> #include <string> using namespace std; template<class ...
分类:编程语言   时间:2021-04-27 14:30:06    阅读次数:0
c++(继承 &&菱形继承)
c++(继承 &&菱形继承) #define _CRT_SECURE_NO_WARNINGS #include <iostream> using namespace std; class Animal { public: int m_Age; }; class Sheep :virtual publ ...
分类:编程语言   时间:2021-04-26 13:09:57    阅读次数:0
Codeforces Round #712 (Div. 2) A~E 题解
本场链接:Codeforces Round #712 (Div. 2) A. Déjà Vu 签到题,尝试一下插入首位元素或者插入第一个不是a的位置.两者都不行必然是NO. #define _CRT_SECURE_NO_WARNINGS #include <bits/stdc++.h> using ...
分类:其他好文   时间:2021-04-06 14:34:27    阅读次数:0
实验 2 C语言中的表达式及输入输出函数编程应用
#define _CRT_SECURE_NO_DEPRECATE #include <stdio.h> int main() { int num; scanf("%d", &num); printf("2049%04d\n", num); scanf("%d", &num); printf("204 ...
分类:编程语言   时间:2021-03-29 12:27:05    阅读次数:0
1085 Perfect Sequence (25 分)
1 #pragma warning(disable:4996) 2 #define _CRT_SECURE_NO_WARNINGS 3 4 #include <iostream> 5 #include <algorithm> 6 #include <cmath> 7 #include <vector ...
分类:其他好文   时间:2021-03-05 13:14:39    阅读次数:0
c++调试输出到输出窗口
首先添加预处理定义_CRT_SECURE_NO_WARNINGS //例子:调试输出("%d和%d\n", 123,500); void 调试输出(const char* strOutputString, ...) { #define PUT_PUT_DEBUG_BUF_LEN 1024 char ...
分类:编程语言   时间:2021-02-22 12:06:11    阅读次数:0
我的第九个代码
我的第九个代码 #define _CRT_SECURE_NO_WARNINGS 1#include<stdio.h> struct Book{char name[20];short int price;}; int main(){struct Book b1 = { "C语言程序设计",45 };p ...
分类:其他好文   时间:2021-02-19 12:52:44    阅读次数:0
C语言链表——头插法和尾插法
#define _CRT_SECURE_NO_WARNINGS #include<stdio.h> #include<stdlib.h> typedef struct ListNode{ int val; ListNode* next; }Node_t, *pNode_t; void print_l ...
分类:编程语言   时间:2021-02-03 11:00:00    阅读次数:0
杨辉三角
//第一次尝试:#define _CRT_SECURE_NO_WARNINGS #include<stdio.h> #include<stdlib.h> #define N 10 //正常排列的杨辉三角 int arr[N][2 * N - 1] = { 0 }; void YangHuiTrian ...
分类:其他好文   时间:2020-11-17 12:33:54    阅读次数:7
558条   1 2 3 4 ... 56 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!