- 博客(4)
- 收藏
- 关注
原创 c语言只包含头文件.h而不包含.c时无法通过编译,报错(函数未定义)undefine reference to ‘xxxxx‘
先给解决方法//test.h#ifndef TEST_H#define TEST_H#include<stdio.h>void testprint();#endif//test.c#include"test.h"void testprint(){ printf("test!!!!!!!!\n"); system("pause");}//main.c#include"test.h"int main(){ testprint(
2022-03-27 16:09:30
3104
1
原创 cmd控制台的颜色与颜色代码不一致
先贴个参考方案C语言调整控制台颜色、大小、标题、文字位置、窗口位置、按钮_cjz2005的博客-优快云博客_c语言color控制台是C语言最实用的窗口,下面几招可以随心控制控制台。1.改变颜色(1)全局用color指令可以迅速调节全控制台的文字颜色及背景颜色:#include <stdio.h>#include <stdlib.h>int main(){ printf("PureColorText\n"); system("pause"); system("color ...htt
2022-02-28 00:02:46
460
原创 Git fatal: unable to auto-detect email address
参考过的帖子:Git fatal: unable to auto-detect email address_follow轻尘的博客-优快云博客问题描述废话较多,看方法的直接跳转到最后。按照廖雪峰的Git教程在Windowns上配置git,并编辑文件进行提交时,出现以下错误提示:** Please tell me who you are.Run git config --global user.email &quot;you@example.com&quot; git c
2022-02-27 23:42:00
1046
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人