云胡同学
云胡同学
全部文章
分类
C++(8)
java(2)
leetcode(34)
python(11)
Web前端(11)
剑指offer(1)
基础小项目(1)
小程序(1)
我的安卓之路(11)
数据库(1)
数据结构(11)
未归档(37)
算法(30)
软件配置(2)
题解(1)
归档
标签
去牛客网
登录
/
注册
云胡同学的博客
全部文章
(共162篇)
qt登录界面及窗口跳转
新建一个login.ui表示登录界面的ui。 设置一个manage类,管理界面的显示,刚开始,登录界面显示,聊天界面关闭。 列表内容 Manage::Manage()//登录界面显示,聊天界面关闭 { log = new Login( NULL,this); chat...
2017-07-05
0
388
socket通信之传送数据
QTcpServer的基本操作: 1、调用listen监听端口。 2、连接信号newConnection,在槽函数里调用nextPendingConnection获取连接进来的socket。 QTcpSocket的基本能操作: 1、调用connectToHost连接服务器。 2、调用wai...
socket
2017-07-04
0
424
socket通信-客户端
客户端向服务器端发送连接请求,连接成功接收服务器发送的数据。 新建工程,Base class选择QWidget,在工程文件tcpServer.pro中添加一行代码 QT += core gui QT += network 我们在widget.ui中添加3个标签Label和两个L...
socket
通信
2017-07-03
0
400
socket通信-服务器端
服务器 新建工程,Base class选择QWidget,在工程文件tcpServer.pro中添加一行代码:QT += network。 QT += core gui QT += network ui中添加一个label,用于显示状态信息。 在widget.h文件中做以下...
2017-07-03
0
438
66. Plus One
题目描述 Given a non-negative integer represented as a non-empty array of digits, plus one to the integer. You may assume the integer do not contain any...
2017-06-25
0
444
80. Remove Duplicates from Sorted Array II
题目描述 Follow up for “Remove Duplicates”: What if duplicates are allowed at most twice? For example, Given sorted array nums = [1,1,1,2,2,3], Your ...
2017-06-23
0
378
26. Remove Duplicates from Sorted Array
题目描述 Given a sorted array, remove the duplicates in place such that each element appear only once and return the new length. Do not allocate extra s...
2017-06-22
0
387
27. Remove Element
题目描述 Given an array and a value, remove all instances of that value in place and return the new length. Do not allocate extra space for another arra...
2017-06-22
0
329
个人信息管理
#include "stdafx.h" #include<stdio.h> #include<string.h> #include<windows.h> #define maxstudent 40//最大的学生数40 typedef struc...
2017-06-20
0
360
求期望方差
#include<iostream> #include<cmath> using namespace std; int main() { double a[100], sum = 0, expect = 0, variance = 0; int n; ...
2017-06-13
0
383
首页
上一页
5
6
7
8
9
10
11
12
13
14
下一页
末页