Wesley13 Wesley13
4年前
C++ 11
std::terminate(); set_terminate,产生异常会调用该函数,默认是调用abortvoidhandler(){cout<<"error~~~~~~~~~~~~~~~~~~";}std::set_terminate(handler);//默认调用
Wesley13 Wesley13
4年前
C 扩展库
CRUDtablecreatetableifnotexistsstudent(idintauto_increment,namevarchar(16)notnull,ageintnotnull,addres
Wesley13 Wesley13
4年前
C++ 窗体
1、引用include<stdlib.h//include<stdio.hinclude<windows.hinclude<stdio.hinclude<shellapi.hpragmacomment(lib,"user32")pragmacomment(lib,"gdi32.lib")
Wesley13 Wesley13
4年前
C 标准库
strcatAppendsacopyofthesourcestringtothedestinationstring.Theterminatingnullcharacterindestinationisoverwrittenbythefirstcharacterofsource,a
Stella981 Stella981
4年前
C# SqlBulkCopy
原文地址:https://www.cnblogs.com/ShoneH/p/4691454.html下面的原地址忘了publicboolExcuteNonQuery(DataTabledt){stringconnStringSystem.Configuration.ConfigurationManag
Stella981 Stella981
4年前
C++ opencv
Python版见https://blog.csdn.net/qq\_40870689/article/details/88757081(https://www.oschina.net/action/GoToLink?urlhttps%3A%2F%2Fblog.csdn.net%2Fqq_40870689%2Farticle%2Fdetails%2F88
Wesley13 Wesley13
4年前
C++面试
C/C基础dynamic\_cast和static\_cast区别,为什么dynamic\_cast能做到类型检查new和malloc区别,new实际上执行了什么操作,可能在什么步骤出现异常虚继承的细节,纯虚函数智能指针的作用和实现,auto\_ptr和share\_ptr区别,循环引用,weak
Stella981 Stella981
4年前
C# ToString()
前言C中的ToString()方法的用法及其丰富,这里罗列了一些常见的使用方式,慢慢补充...ToString("yyyyMMddhh:mm:ss")输出格式化后的日期时间字符ToString("x2")转换为16
Wesley13 Wesley13
4年前
C++进阶
///任何时候都不要在构造函数或析构函数中调用虚函数/classdog{public:stringm_name;
Stella981 Stella981
4年前
C# RestoreDirectory
OpenFileDialog与SaveFileDialog都有RestoreDirectory属性,这个属性默认是false,打开一个文件后,那么系统默认目录就会指向刚才打开的文件。如果设为true就会使用系统默认目录stringfName;OpenFileDialogopenFileDialognewOpenFileD