上一页 1 2 3 4 5 6 ··· 12 下一页
摘要: 介绍环信 环信 Web IM SDK 为PC/移动 Web 应用,提供完善的即时通信功能开发能力,屏蔽其内部复杂细节,对外提供较为简洁的 API 接口,方便第三方应用快速集成即时通信功能。 完成功能 环信的SDK集成和配置基本按照官网给的文档就可以实现。本文仅完成了根据用户名互相发收文字信息的功能, 阅读全文
posted @ 2020-03-27 16:44 程嘿嘿 阅读(2018) 评论(0) 推荐(0) 编辑
摘要: 1.使用<select>标签 优点:可以初始化选中项 缺点:不能自定义option的样式,自带的样式很丑 效果图: 代码如下: <select id="group" value="1"> <option value="1">Dimond</option> <option value="2">vert 阅读全文
posted @ 2020-03-06 12:51 程嘿嘿 阅读(52249) 评论(0) 推荐(0) 编辑
摘要: Easy Reverse a singly linked list. Example: Input: 1->2->3->4->5->NULL Output: 5->4->3->2->1->NULL Follow up: A linked list can be reversed either ite 阅读全文
posted @ 2019-12-28 15:48 程嘿嘿 阅读(192) 评论(0) 推荐(0) 编辑
摘要: IDE的下载和安装: 首先,到visual studio官网下载vs2019的安装程序。 学生、或个人开发者免费下载第一个community版本。 下载完成后双击进行安装。安装时要选择安装工作负载。可根据需要勾选相应的负载。因为我们要写c/c++程序,所以勾选了这个使用c++的桌面开发,然后点击右下 阅读全文
posted @ 2019-12-28 15:27 程嘿嘿 阅读(50626) 评论(0) 推荐(3) 编辑
摘要: 查看数据类型使用typeof()方法: typeof (val); 判断其是否为undefined: typeof (val) == 'undefined' 注意undefined一定要用引号括起来。 当val定义但未初始化时下面这行代码输出true,当val是已初始化的其他类型数据,代码输出fal 阅读全文
posted @ 2019-12-26 15:22 程嘿嘿 阅读(2402) 评论(0) 推荐(0) 编辑
摘要: swiper动态改变数据后分页器的页数就变混乱了,导致内容展示不全。 本文的解决方法不能算是真正意义上的解决了问题。只是在展示上符合了要求。 效果图: 解决方法: 每次动态改变数据时都把原来的swiper删除,重新添加并初始化一个swiper,只是改变了swiper-wrapper里的数据。具体代码 阅读全文
posted @ 2019-12-25 16:04 程嘿嘿 阅读(3753) 评论(0) 推荐(0) 编辑
摘要: Medium Given a positive integer n, break it into the sum of at least two positive integers and maximize the product of those integers. Return the maxi 阅读全文
posted @ 2019-12-13 14:56 程嘿嘿 阅读(135) 评论(0) 推荐(0) 编辑
摘要: Medium Given a 2D matrix matrix, find the sum of the elements inside the rectangle defined by its upper left corner (row1, col1) and lower right corne 阅读全文
posted @ 2019-12-10 11:35 程嘿嘿 阅读(171) 评论(0) 推荐(0) 编辑
摘要: Easy You are a professional robber planning to rob houses along a street. Each house has a certain amount of money stashed, the only constraint stoppi 阅读全文
posted @ 2019-11-19 10:04 程嘿嘿 阅读(113) 评论(0) 推荐(0) 编辑
摘要: Medium Given a binary tree, imagine yourself standing on the right side of it, return the values of the nodes you can see ordered from top to bottom. 阅读全文
posted @ 2019-11-18 11:10 程嘿嘿 阅读(119) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 12 下一页