题解列表
二级C语言-计算素数和(超简单的C语言代码)
摘要:解题思路:用prime函数判断是否为素数从而判断是否家境sum中。参考代码:#include <stdio.h>
int isprime(int x) //判断x是否为素数,真1假0(注意数字1……
二级C语言-统计字符【小白C语言】【详细注释】大家都能看得懂
摘要:解题思路:没什么好写的注意事项:参考代码:#include <stdio.h>
#include <string.h>//为了调用strlen()函数
int main(void)
{
……
【递归】C语言模块化解决分解质因数问题
摘要:解题思路:就是这样注意事项:参考代码:#include <stdio.h>
int isPrime(int n)//判断是否为质数,真1假0
{
for (int i = 2; i ……
带头结点的单链表删除元素
摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>typedef int ElemType;typedef struct LNode{ El……
链表,逆序创建单链表,在带头结点的单链表中进行删除
摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>typedef int ElemType;typedef struct LNode{ El……
[编程入门]自定义函数之字符串连接-调用函数
摘要:解题思路:注意事项:参考代码:#include<stdio.h>
#include<string.h>
void fun(char a[],char b[],char c[],int lena,i……
Ikaros-打印图案 C++解决
摘要:解题思路:对齐打印即可参考代码:#include<iostream>using namespace std;int main(){ cout << " *" << endl; cout << " *……
Ikaros-第一个HelloWorld程序
摘要:解题思路:简单的就输出就可以参考代码:#include<iostream>using namespace std;int main(){ cout<<"*********************……