1.实验任务11.行方向 #include<stdio.h> int main(){ printf(" o o\n"); printf("<H> <H>\n"); printf(" I I I I\n"); return 0; } 2.列方向 #include<stdio.h> int main() ...
分类:
编程语言 时间:
2021-03-15 11:30:29
阅读次数:
0
一,数据类型转换 (1),自动类型转换: 1. 特点:代码不需要进行特殊处理,自动完成。 2. 规则:数据范围从小到大。 3.转换规则:范围小的类型向范围大的类型提升, byte、short、char 运算时直接提升为 int 。 byte、short、char‐‐>int‐‐>long‐‐>flo ...
分类:
其他好文 时间:
2021-03-15 11:23:32
阅读次数:
0
#include <fstream> #include <strstream> using namespace std; int main(int argc,char*argv[]) { strstream textfile; ifstream in(argv[1]); textfile << in ...
分类:
编程语言 时间:
2021-03-15 11:07:17
阅读次数:
0
5 浮动 标准文档流 块级元素:独占一行 h1~h6 p div 列表。。。 行内元素:不独占一行 span a img strong 行内元素可以被包含在块级元素中,反之,则不可以~ 5.2 display 却可以这样做 <!DOCTYPE html> <html lang="en"> <head ...
分类:
Web程序 时间:
2021-03-15 10:58:26
阅读次数:
0
前面的章节介绍socket通信的时候,socket的服务端在同一时间只能和一个客户端通信,并不是服务端有多忙,而是因为单进程的程序在同一时间只能做一件事情,不可能一边等待客户端的新连接一边与其它的客户端进行通信。 一、并发的服务端 如果把socket服务端改为多进程,在每次accept到一个客户端的 ...
分类:
系统相关 时间:
2021-03-15 10:55:03
阅读次数:
0
/// <summary> /// 日期格式 2019-04 /// </summary> public const string DATE_MONTH_FORMAT = "yyyy-MM"; /// <summary> /// 日期格式 2019-04-25 /// </summary> publ ...
分类:
其他好文 时间:
2021-03-15 10:39:21
阅读次数:
0
【资源下载】下载地址如下:https://docs.qq.com/doc/DTlRSd01BZXNpRUxl #include "inif.h" #include <at89x52.h> #include <absacc.h> #include "LCD1602.H" unsigned char d ...
分类:
其他好文 时间:
2021-03-12 12:41:26
阅读次数:
0
public class Demo04 { public static void main(String[] args) { //低 >高 //byte、short、char->int->long->float->double int i = 128; //强制转换,(类型)变量名 高-->低 by ...
分类:
编程语言 时间:
2021-03-11 19:31:35
阅读次数:
0
【资源下载】下载地址如下:https://docs.qq.com/doc/DTlRSd01BZXNpRUxl #include <reg52.h> #include <intrins.h> #define uchar unsigned char // 以后unsigned char就可以用uchar ...
分类:
其他好文 时间:
2021-03-11 14:48:55
阅读次数:
0
#include <stdio.h>#include <stdlib.h>void myputs(char*p) //此处的*号是标志,标志这P是一个指针{ if(p==NULL){ printf("需要输出的字符串为空,请重新输入"); }else{ while(1) {putchar(*p++) ...
分类:
其他好文 时间:
2021-03-11 14:18:40
阅读次数:
0