会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
txzing
博客园
首页
新随笔
联系
订阅
管理
2021年4月29日
Ubuntu扩展磁盘空间
摘要: 参考博文: https://blog.csdn.net/weixin_39446611/article/details/104261264?utm_medium=distribute.pc_relevant_t0.none-task-blog-2%7Edefault%7EBlogCommendFro
阅读全文
posted @ 2021-04-29 14:27 txzing
阅读(128)
评论(0)
推荐(0)
2021年4月28日
在VScode中运行C/C++
摘要: 根据这三篇文章: http://c.biancheng.net/view/8077.html http://c.biancheng.net/view/8114.html https://blog.csdn.net/weixin_55710926/article/details/115600738?u
阅读全文
posted @ 2021-04-28 11:12 txzing
阅读(114)
评论(0)
推荐(0)
2021年4月15日
一个好用的C语言操作
摘要: 在C语言中#必须是一行中的首个非空格字符,也就是说#前面可以有空格,但是不能有其他字符。 用下面的方法,方便更新数组内容,直观 main.c文件: #include <stdio.h>#include <string.h> static char city_name[][20] = {#includ
阅读全文
posted @ 2021-04-15 10:52 txzing
阅读(61)
评论(0)
推荐(0)
2021年4月13日
Python下载超快
摘要: pip install numpy -i https://pypi.douban.com/simple 用pip命令下载大型库时速度慢,换源下载后下载速度很快 -i https://pypi.douban.com/simple pip3 install numpy scipy matplotlib
阅读全文
posted @ 2021-04-13 10:34 txzing
阅读(207)
评论(0)
推荐(0)
Python多线程
摘要: import _thread #线程import time signal_value = 0 def th1(): a = 0 global signal_value while(1): if(signal_value == 0): print("a") signal_value = 1 a+=1
阅读全文
posted @ 2021-04-13 10:15 txzing
阅读(46)
评论(0)
推荐(0)
2021年4月12日
C语言回调函数
摘要: #include <stdlib.h>#include <stdio.h>int Callback_1(int a) ///< 回调函数1{ printf("Hello, this is Callback_1: a = %d \n", a); return 0;} int Callback_2(in
阅读全文
posted @ 2021-04-12 19:55 txzing
阅读(166)
评论(0)
推荐(0)
2021年4月9日
VScode中运行python
摘要: 引用:https://www.cnblogs.com/xiaojwang/p/11331202.html
阅读全文
posted @ 2021-04-09 17:29 txzing
阅读(33)
评论(0)
推荐(0)
2021年4月1日
ubuntu的一些错误解决
摘要: 在安装软件时,出现问题 执行: sudo rm /var/lib/dpkg/lock-frontend 解决问题
阅读全文
posted @ 2021-04-01 14:12 txzing
阅读(52)
评论(0)
推荐(0)
2021年3月11日
关于Verilog HDL实现奇数分频
摘要: verilog代码: module div_3#(parameter DIV = 7)( //改变参数DIV的值就可以改变分频时钟的频率 input clk ,//时钟 input rst_n ,//复位 //输出信号定义 output wire clk_out ); //信号定义 reg [3:0
阅读全文
posted @ 2021-03-11 14:41 txzing
阅读(288)
评论(0)
推荐(0)
2021年3月5日
算术移位与逻辑移位
摘要: 算术移位指令对带符号数进行移位。逻辑移位指令对无符号数进行移位。 算术左移、右移,逻辑左移、右移的图示如下 算术左移和算术右移主要用来进行有符号数的倍增、减半; 逻辑左移和逻辑右移主要用来进行无符号数的倍增、减半。 算术左移和逻辑左移一样都是右边补0: 比如 00101011 算术左移一位:0101
阅读全文
posted @ 2021-03-05 10:57 txzing
阅读(2625)
评论(0)
推荐(0)
下一页
公告