题解列表
c代码记录之选择排序--指针练习
摘要: #include
int main(){
int num[10],i,j,min,middle;
//建立10个长度的整型数组
……
计算球体积,认识EOF
摘要:解题思路:注意事项:EOF是End Of File的意思,表示文件结束,无可读取参考代码:#include<stdio.h>#include<math.h>#define PI 3.14159int ……
自定义函数之字符串反转
摘要:解题思路:注意事项:参考代码:#include<stdio.h>void dx_print(char a[],int n){ int i=0; for(i=n-1;i>=0;i--) ……
自定义函数之字符串连接
摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>void str_cat(char a[],char b[]){ strcat(a,b); ……
[编程入门]结构体之成绩记录
摘要:解题思路:注意事项:参考代码:class Student():
def input(self, student_id, name, score):
self.student……
[编程入门]结构体之成绩统计 屎山代码 只会语法
摘要:解题思路:注意事项:参考代码:class Student:
def input(self, student_id, name, score):
self.student_i……
c代码记录之TOM数(atoi函数用于字符串转数字,单个字符不行)
摘要:代码1:用atoi函数
#include
#include
int main()
{
char str[20],num[2];//因为atoi……