会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
茶余饭后
博客园
首页
新随笔
联系
订阅
管理
2025年5月21日
PyQt5学习(二)
摘要: 三、VBoxLayout/HBoxLayout/GridLayout练习(完成登录窗口实战) import sys from PyQt5.QtWidgets import (QApplication, QWidget, QLabel, QLineEdit, QPushButton, QMessage
阅读全文
posted @ 2025-05-21 15:31 笨笨的小虫子
阅读(16)
评论(0)
推荐(0)
2025年5月16日
PyQt5学习(一)
摘要: 一、创建第一个PyQt窗口 1 import sys 2 from PyQt5.QtWidgets import QApplication, QWidget 3 4 class MyWindow(QWidget): 5 def __init__(self): 6 super().__init__()
阅读全文
posted @ 2025-05-16 14:24 笨笨的小虫子
阅读(17)
评论(0)
推荐(0)
2022年12月7日
5-4
摘要: #include<stdio.h>#include<string.h>#define DANWEI_PER 3.2808e-2#define INCH_PER 12int main(void){ int feet; float height,inches; printf("Enter a heigh
阅读全文
posted @ 2022-12-07 20:31 笨笨的小虫子
阅读(315)
评论(0)
推荐(0)
5-3
摘要: #include<stdio.h>#include<string.h>#define WEEK_PER 7int main(void){ int day,week,days; printf("please input day\n"); scanf("%d",&day); while(day>0){
阅读全文
posted @ 2022-12-07 20:31 笨笨的小虫子
阅读(243)
评论(0)
推荐(0)
5-2
摘要: #include<stdio.h>#include<string.h>#define MAX 10int main(void){ int i,data; i=0; printf("please input a integer\n"); scanf("%d",&data); printf("%d\t"
阅读全文
posted @ 2022-12-07 20:30 笨笨的小虫子
阅读(151)
评论(0)
推荐(0)
5-1
摘要: #include<stdio.h>#include<string.h>#define MI 60int main(void){ int min,minute,hour; min=minute=hour=0; printf("please input min\n"); scanf("%d",&min)
阅读全文
posted @ 2022-12-07 20:30 笨笨的小虫子
阅读(257)
评论(0)
推荐(0)
4-8
摘要: #include<stdio.h>#include<string.h>#define GALLON_PER 3.785#define MILEAGE_PER 1.609int main(void){ float mileage,petrol_consumption,mileage_per_gallo
阅读全文
posted @ 2022-12-07 20:30 笨笨的小虫子
阅读(140)
评论(0)
推荐(0)
2022年12月5日
4-7
摘要: #include<stdio.h>#include<string.h>#include<float.h>int main(void){ double double_data=1.0/3.0; float float_data=1.0/3.0; printf("%.6f,%.6f\n",double_
阅读全文
posted @ 2022-12-05 19:34 笨笨的小虫子
阅读(367)
评论(0)
推荐(0)
4-6
摘要: #include<stdio.h>#include<string.h>int main(void){ int i; char name[20],firstname[20]; printf("please input your name:\n"); scanf("%s",name); printf("
阅读全文
posted @ 2022-12-05 19:34 笨笨的小虫子
阅读(339)
评论(0)
推荐(0)
4-5
摘要: #include<stdio.h>#include<string.h>int main(void){ float speed_load,size_of_file,time_load; printf("please input speed load (Mb/s)and size of file(MB)
阅读全文
posted @ 2022-12-05 19:33 笨笨的小虫子
阅读(352)
评论(0)
推荐(0)
下一页
公告