摘要: 如果使用预编译的SQL语句 例如: public void test() throws SQLException { Connection connection = null; PreparedStatement pstm = null; connection = DriverManager.get 阅读全文
posted @ 2020-08-29 12:07 strcoy_s 阅读(220) 评论(0) 推荐(0) 编辑
摘要: 一 函数指针介绍 函数指针指向某种特定类型,函数的类型由其参数及返回类型共同决定,与函数名无关。举例如下: int add(int nLeft,int nRight);//函数定义 该函数类型为int(int,int),要想声明一个指向该类函数的指针,只需用指针替换函数名即可: int (*pf)( 阅读全文
posted @ 2019-09-14 11:53 strcoy_s 阅读(132) 评论(0) 推荐(0) 编辑
摘要: 一: 如何定义函数指针 该函数类型为int(int,int),要想声明一个指向该类函数的指针,只需用指针替换函数名即可: int (*pf)(int,int);//未初始化 这个函数指针可调用所有的有两个int形参的,并且返回类型为int的函数,将函数名赋给指针变量就行 二:用typedef定义函数 阅读全文
posted @ 2019-09-14 11:41 strcoy_s 阅读(1013) 评论(0) 推荐(0) 编辑
摘要: 待定 阅读全文
posted @ 2019-09-14 11:33 strcoy_s 阅读(173) 评论(0) 推荐(0) 编辑
摘要: // ConsoleApplication1.cpp : 此文件包含 "main" 函数。程序执行将在此处开始并结束。// #include "pch.h"#include <iostream>#include <Windows.AI.MachineLearning.h>#include <coni 阅读全文
posted @ 2019-07-14 13:21 strcoy_s 阅读(182) 评论(0) 推荐(0) 编辑
摘要: 对虚函数的理解还是不够,学着后面的忘着前面的,很烦,不知道是自己理解不到位,还是其他的原因,不知道有没有必要再看一编C语言。。。。。。。。 阅读全文
posted @ 2019-07-01 13:39 strcoy_s 阅读(114) 评论(0) 推荐(0) 编辑