1. 关于scanf
1.1 读入数字
scanf 的返回值表示成功输入的变量个数,当输入结束时,scanf将无法再次读取数据,返回0
# include <stdio.h>
# include <math.h>
# include <time.h># define M 1000000;
// compute the max,…
客户端
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head><title>websocket client</title><script src"http://cdn.bootcss.com/sockjs-client/1.1.1/sockjs.min.js"></script>…