
C与STM32
文章平均质量分 75
Rime_
在?看看 Python。
展开
-
安卓 AsyncTask 异步任务
安卓异步任务实验代码(未修改)xmljava实验代码(未修改)xml<?xml version="1.0" encoding="utf-8"?><androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" x原创 2021-06-14 23:34:36 · 1699 阅读 · 3 评论 -
C语言的小问题
C的小问题常用函数1. 字符串转成数字常用函数1. 字符串转成数字int str_to_int(char * str, int size){ /* 将 str 头几位转换成 int 类型 */ int res = 0; int coe = 1; int index = size - 1; while(index >= 0){ res += (*(str + index) - '0') * coe; coe *= 10;原创 2020-09-28 15:39:47 · 853 阅读 · 0 评论