搜索找到 47 个匹配
- 2024-11-30 13:58
- 版面: IT大院
- 主题: c++ 练习源码,均测试通过 终端基本输入输出求平均数
- 回复总数: 4
- 阅读次数: 36291
Re: c++ 练习源码,fock
#include <stdio.h> #include <unistd.h> int main(){ pid_t fpid; //fpid表示fork函数返回的值 int count = 0; fpid = fork(); if (fpid < 0){ printf("error in fork!"); }else if (fpid == 0) { printf("I am the child process, my process id is %d\n", getpid()); printf("我是爹的儿子\n"); count+...
- 2024-11-08 12:24
- 版面: IT大院
- 主题: c++ 练习源码,均测试通过 终端基本输入输出求平均数
- 回复总数: 4
- 阅读次数: 36291
Re: c++ 练习源码,sum
#include <iostream> int main(){ int int_n1; int int_n2; int sum; std::cout<<"Enter first interger \n"; std::cin >>int_n1; std::cout<<"Enter second interger \n"; std::cin >>int_n2; sum=int_n1+int_n2; std::cout<<"sum is "<<sum<<std::endl; return 0; } 屏幕截图 2024-11-08 1222...
- 2024-11-08 11:28
- 版面: IT大院
- 主题: c++ 练习源码,均测试通过 终端基本输入输出求平均数
- 回复总数: 4
- 阅读次数: 36291
Re: c++ 练习源码\r \n \t \a
#include <iostream> int main(){ std::cout<<"Welcome \n"; std::cout<<"to c++ \n"; std::cout<<"Welcome \t"; std::cout<<"to c++ \n"; std::cout<<"Welcome \r"; std::cout<<"to c++ \n"; std::cout<<"Welcome \a"; std::cout<<"to c++ \...
- 2024-10-29 15:25
- 版面: IT大院
- 主题: c++ 练习源码,均测试通过 终端基本输入输出求平均数
- 回复总数: 4
- 阅读次数: 36291
Re: c++ 练习源码,均测试通过 CGI
#include <iostream> #include <stdio.h> using namespace std; int main() { cout << "Content-type:text/html\n\n"; cout << "<html>\n"; cout << "<head>\n"; cout << "<title>Hello World the first CGI</title>\n"; cout << "</head>\n"; cout << "<body>\n&...
- 2024-10-29 10:50
- 版面: IT大院
- 主题: c++ 练习源码,均测试通过 终端基本输入输出求平均数
- 回复总数: 4
- 阅读次数: 36291
c++ 练习源码,均测试通过 终端基本输入输出求平均数
#include <iostream> using std::cout; using std::cin; using std::endl; int main(){ int total; int gradecouter; int grade; int average; total=0; gradecouter=1; while (gradecouter<=10){ cout<<"input number please:"; cin>>grade; total=total+grade; gradecouter=gradecouter+1; } average=total/10...
- 2024-07-21 12:58
- 版面: 设计前沿
- 主题: 国际奥运会视觉系统手册欣赏
- 回复总数: 0
- 阅读次数: 48826
国际奥运会视觉系统手册欣赏
mmexportaa950ce14bfc7f1487d69ef5c31af8ef_1721537688464.png mmexportab315aef630a64cd575883b8b2a36768_1721537690690.png mmexport976afbc876d7a20ec774fc0f59cbc5d7_1721537693744.png mmexport1c9ca30a7eec8a1719b0dea11f591a0f_1721537696450.png mmexport83a1da6a3b9a5dda7710bf16ebbdcde1_1721537699261.png mmex...
- 2024-07-19 11:18
- 版面: IT大院
- 主题: Failed to load module script: Expected a JavaScript module script but the server responded with a MIME type of "text/pla
- 回复总数: 0
- 阅读次数: 77189
Failed to load module script: Expected a JavaScript module script but the server responded with a MIME type of "text/pla
使用pdf.js中出现错误: Failed to load module script: Expected a JavaScript module script but the server responded with a MIME type of "text/plain". Strict MIME type checking is enforced for module scripts per HTML spec. 屏幕截图 2024-07-19 105901.jpg 解决方法: 编辑apache服务器配置文件:httpd.conf, 添加以下代码来设置 MIME 类型...
- 2024-07-15 11:38
- 版面: IT大院
- 主题: centos 7.9 glibc升级到 2.28
- 回复总数: 0
- 阅读次数: 45345
centos 7.9 glibc升级到 2.28
**gcc 8.2.0 :** $ gcc -v $ yum -y install wget bzip2 gcc gcc-c++ glibc-headers $ wget -c -P /software/ https://mirrors.tuna.tsinghua.edu.cn/gnu/gcc/gcc-8.2.0/gcc-8.2.0.tar.gz $ cd /software/ $ tar -zxvf gcc-8.2.0.tar.gz $ cd gcc-8.2.0 $ ./contrib/download_prerequisites result: gmp-6.1.0.tar.bz2: OK...