![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C
CodeJugend
我,什么都莫得
展开
-
Vs_Code对c进行debug的时候遇到的一个问题以及解决方案
之前在vscode进行debug调试的时候就会发生这个问题,这个问题也是我找了几天百度也到现在才成功解决的(图为网页随机找图截取,问题一样,我解决的时候已经没有这个提示了所也懒得改回来刻意截图了)这个时候下面的终端也会有以下提示Unable to start debugging. Program path '***.exe' is missing or invalid. GDB failed with message: "***.exe": not inexecutable format:原创 2020-10-17 19:04:39 · 8558 阅读 · 2 评论 -
HuffmanTreeCode.c
HuffmanTreeI leaned it about few months ago, then I found this and decided to uploadit.The code part:#include <stdio.h>#include <string.h>#include <stdlib.h>#define ALPHABET_LENGTH 26char alphabet[] = {'a', 'b', 'c', 'd', 'e'.原创 2020-07-06 21:05:47 · 250 阅读 · 0 评论 -
ax^2+bx+c=0(c)
#include <stdio.h>#include "math.h"main(){float a, b, c, disc, x1, x2, realpart, imagpart;scanf("%f, %f, %f", &a, &b, &c);printf("The quation");if (fabs(a) <= 0.000001) ...原创 2020-04-08 13:11:13 · 679 阅读 · 0 评论 -
Struct learning diary5
#include <stdio.h>#include <stdlib.h>#define LEN sizeof(struct student)struct student{ long num; float score; struct student *next;};int n;struct student *creat(){...原创 2020-04-08 12:18:50 · 128 阅读 · 0 评论 -
Hanoi Tower(c) study diary
#include <stdio.h>void move(char holenein, char setzenein){ printf("%c-->%c\n", holenein, setzenein);}void hanoi(int n, char ein, char zwei, char drei){ if (n == 1) { ...原创 2020-04-08 12:14:48 · 90 阅读 · 0 评论 -
Calculate the days of year(c)
#include <stdio.h>int counting(int year, int month, int day);main(){ int y, m, d; int days; printf("date input:\n"); printf("Year:\n"); scanf("%d", &y); printf("M...原创 2020-04-08 12:10:32 · 231 阅读 · 0 评论 -
Stack.h(c)
#include<stdlib.h>#define TRUE 1#define FALSE 0#define OK 1#define ERROR 0#define INFEASIBLE -1#define OVERFLOW -2#define STACK_INIT_SIZE 100#define STACKINCREMENT 10typedef int Stat...原创 2020-04-08 12:08:53 · 1788 阅读 · 0 评论 -
CLinkList(仅学习用)
#include <stdio.h>#include <stdlib.h>typedef struct CLinkList{ int data; struct CLinkList *next;}node;void InitLinkList(node **pNode); //初始化链表void Insert(node **pNode...原创 2020-04-08 12:00:32 · 290 阅读 · 0 评论