码迷,mamicode.com
首页 >  
搜索关键字:c char c++ string    ( 126199个结果
c语言 13-12
1、 #include <stdio.h> #include <time.h> char data_file[] = "datatime.dat"; void get_data(void) { FILE *fp; if((fp = fopen(data_file, "r")) == NULL) pr ...
分类:编程语言   时间:2021-06-10 17:48:54    阅读次数:0
SQL IMAGE字段读取
SQL IMAGE字段读取出来,需要转换成二进制字符串否则是乱码 var stext,sTextA :String; begin sTextA :=ADOQuery.FieldByName('well').AsString; //功图二进制数据 for j:=1 to Length(sTextA) ...
分类:数据库   时间:2021-06-10 17:44:09    阅读次数:0
JavaSE: FileOutputStream类 & FileInputSteam类
FileOutputStream类 <1> 基本概念 java.io.FileOutputStream类:用于将图像数据之类的原始字节流写入到输出流中。 <2> 常用的方法 方法声明 功能介绍 1.FileOutputStream(String name) 根据参数指定的文件名来构造对象 2.Fil ...
分类:编程语言   时间:2021-06-10 17:40:43    阅读次数:0
数据类型
数据类型 强类型语言 安全性高,速度慢 要求变量都必须先定义后才能使用 弱类型语言 Java数据类型分为 基本类型 引用类型 八大基本数据类型(primitive type) //整数Itint num = 1;//最常用byte num2 = 20;short num3 = 30;long num ...
分类:其他好文   时间:2021-06-10 17:40:26    阅读次数:0
class Class, package java.lang; rt.jar
java文件中包含3700行 /** * Returns the {@code Class} object associated with the class or * interface with the given string name. Invoking this method is * e ...
分类:编程语言   时间:2021-06-09 10:31:41    阅读次数:0
实验六
1 // P280例8.15 // 对教材上的程序作了微调整,把输出学生信息单独编写成一个函数模块 // 打印不及格学生信息和所有学生信息程分别调用 #include<stdio.h> #include<stdlib.h> #include<string.h> #define N 4 // 运行程序 ...
分类:其他好文   时间:2021-06-08 23:46:49    阅读次数:0
LLVM 获取Value Type
void llvtype(std::string_view k, Value* v) { std::cout << std::format("{}:{}:{}", k, (int)v->getType()->getTypeID(), v->getName().str() ) << "\n"; } . ...
分类:其他好文   时间:2021-06-08 23:38:58    阅读次数:0
颜色单位
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> <style type="text/css"> .box1{ width: 100px; height: 100px; /* * 颜色单位: * 在CSS可以直接 ...
分类:其他好文   时间:2021-06-08 23:31:53    阅读次数:0
实验六
实验任务一: #include<stdio.h> #include<stdlib.h> #include<string.h> #define N 3 // 运行程序输入测试时,可以把N改小一些输入测试 typedef struct student { int id; /*学生学号 */ char n ...
分类:其他好文   时间:2021-06-08 23:29:04    阅读次数:0
贪心算法
本算法采用广播电台覆盖区域来做演示,设置五个电台集合,存放可以覆盖的区域,再设置一个总集合,存放所有的区域,然后只要未全覆盖,则每次都选择能包括最多未覆盖区域的电台,这就是一个最优解。代码如下: public static void main(String[] args) { HashMap<Str ...
分类:编程语言   时间:2021-06-08 23:28:46    阅读次数:0
126199条   上一页 1 ... 27 28 29 30 31 ... 12620 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!