![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
笔记
m0_55279532
这个作者很懒,什么都没留下…
展开
-
大脚叔偿谈:Lua音频秒数转时分秒,文件字节转GMKB
-- 大脚叔偿谈:Lua音频秒数转时分秒,文件字节转GMKB--R.YtblS = table.sortR.YtblC = table.concat--function R.Ytbl4JS( _tbl, _len ) if not _tbl then _tbl = {} end _tbl.push = function(_v) if not _len then _len = #_tbl end _len = 1 + _len _tbl[_len] = _v end _tb..原创 2021-07-13 13:58:54 · 262 阅读 · 0 评论 -
大脚叔偿谈:Linux C Socket网络Demo(TCP/IP)
话不多讲,直接复制,直接编译。第一步,服务端: tcp_server.c#include <stdio.h>#include <string.h>#include <sys/types.h>#include <sys/socket.h>#include <netinet/in.h>#include <arpa/inet.h>int main(int argc,char*argv[]){ int server_so原创 2021-06-29 13:07:48 · 230 阅读 · 0 评论 -
大脚叔偿谈:JS原生(ES5)通过prototype实现类继承,类似Java 的extends
先来看一下在 Java 中,类是如何继承的。虽然我们学的前端,了解一下别的语言未尝不可!// 父类Cls_base, 定义在 ../xhx/app/Cls_base.java 文件中package xhx.app;import android.app.Activity;public class Cls_base extends Activity { protected void sayHello(String msg) {} } // 子类Cls_ch1, 定义在 ../xhx/原创 2021-02-10 11:53:35 · 177 阅读 · 2 评论