按类别查询搜索结果
关于关键词 的检测结果,共 15278
flyfish10000 | 2022-01-25 16:26:22 | 阅读(1870) | 评论(0)
C 数组越界 段错误【阅读全文】
snow888 | 2021-12-10 15:25:57 | 阅读(1030) | 评论(0)
C 与 ECPG 编译 冲突【阅读全文】
C1C2C3C4 | 2021-12-01 10:24:02 | 阅读(50) | 评论(0)
wuyibnsk | 2021-10-20 14:24:12 | 阅读(680) | 评论(0)
    好的程序编写规范是编写高质量程序的保证。清晰、规范的源程序不仅仅是方便阅读,更重要的是能够便于检查错误,提高调试效率,从而最终保证软件的质量和可维护性。本文章适合编程初学者,对于具有一定工程项目开发经验的程序员,建议学习C语言程序代码编写规范—高级版。1 代码书写规范1.1函数定义...【阅读全文】
不熬夜的程序猿 | 2021-10-17 16:02:26 | 阅读(1110) | 评论(0)
#include <stdio.h>#include <stdlib.h>void matrix_print(int row, int col, float** mtx);void matrix_mut(int row_a, int col_a, int col_b, float** a, float** b, float** c);void matrix_print(int row, int col, float** mtx){    int r = 0, c = 0;    for (r = 0; r < row; r++)&...【阅读全文】
【C/C++】 C++的一点积累
shiyigudong | 2021-10-12 23:51:57 | 阅读(790) | 评论(0)
c++ QT 静态成员函数 QApplication::exec using typedef 指定别名【阅读全文】
程序媛吖 | 2021-09-29 13:04:25 | 阅读(680) | 评论(0)
#include <iostream>#include <cstdlib>#include <algorithm>using namespace std;template <typename T>void quicksort(T B[], int lo, int hi);template <typename T>int Partition(T B[], int lo, int hi);int main() {    int a[] = {6,5,0,1,34,9,4,4,4,2,-1};    for(int i = ...【阅读全文】
程序媛吖 | 2021-09-26 11:27:29 | 阅读(650) | 评论(0)
#include <string>#include <iostream>using namespace std;int main(){    string str1;    string str2;    int N;    cin>>N;    cin.ignore(80,'\n');    while(N--)    {     getline(cin, str1,'#');  ...【阅读全文】
程序媛吖 | 2021-09-24 18:27:39 | 阅读(610) | 评论(0)
#include<iostream>using namespace std;const int maxsize =20;class sqlist{    private:        int date[maxsize]; // 存放顺序表中的元素        int length; // 存放顺序表的长度    public:        sqlist(){length=0;}...【阅读全文】
程序媛吖 | 2021-09-24 16:47:06 | 阅读(630) | 评论(0)
#include #include #include #include #include #include std::vector foo( const std::string& str ){    std::vector ret;    std::istringstream is( str );    for( int val; is>>s...【阅读全文】
程序媛吖 | 2021-09-22 18:03:47 | 阅读(750) | 评论(0)
#include <iostream>#include <vector>using std::vector;using std::string;using std::cin;using std::cout;int main() {    int n;    cin >> n;    vector<string> s;    string tmp;    for (int i = 0; i < n; i++) { ...【阅读全文】
shiyigudong | 2021-09-16 16:06:08 | 阅读(740) | 评论(0)
本着长到老,学到老的态度,看见这些东西赶紧记录下来。本文是阅读《c安全编码》后的一些记录,主要记录了容易犯错的一些小知识点,包括 字符类型的大小、realloc和alloc a是使用细节、无符号数据溢出、有符号数据求绝对值、char型数值计算等几个小说明。以后有新的知识点再添加。【阅读全文】
chen45464546 | 2021-06-26 16:39:16 | 阅读(1560) | 评论(0)
调用c语言函数前,需要把sp指针设置到栈底,这样c函数里面压栈出栈才能正常使用还有的会初始化BSS段 ldr x0, =Image$$EL3_STACKS$$ZI$$Limit   这里是取的链接器导出的符号,即栈地址点击(此处)折叠或打开//    // That's the last of ...【阅读全文】
stolennnxb | 2021-06-06 10:58:02 | 阅读(1750) | 评论(0)
本文简要介绍了C++编程当中的一些小坑【阅读全文】
stolennnxb | 2021-05-30 21:20:00 | 阅读(1600) | 评论(0)
本文简要介绍了C++当中copy constructor的一些注意事项【阅读全文】
stolennnxb | 2021-05-28 00:13:57 | 阅读(2100) | 评论(0)
本文简要描述了C++中关于默认构造函数的几个知识点【阅读全文】
【C/C++】 c++对象模型
stolennnxb | 2021-05-17 00:08:55 | 阅读(13250) | 评论(0)
本文简要介绍了c++对象模型【阅读全文】
stolennnxb | 2021-05-09 22:46:53 | 阅读(1760) | 评论(0)
本文简要介绍了c++中实现swap的相关技巧【阅读全文】
wibnmo | 2021-02-28 15:10:06 | 阅读(0) | 评论(0)
轨迹16 | 2021-02-26 11:02:47 | 阅读(3860) | 评论(0)
参考资料时间处理往往有以下几种c++11之前/纯c系统调用的使用方式#include #include int main(){time_t t = time(NULL);printf("time stamp : %lld\n", t);} 获取时间从上面的时间戳中转为tm结构time_t t_ = m...【阅读全文】