As you see,Give me source.
来源:学生作业帮 编辑:百度作业网作业帮 分类:综合作业 时间:2024/07/09 04:06:19
As you see,Give me source.
![As you see,Give me source.](/uploads/image/z/6764868-36-8.jpg?t=As+you+see%2CGive+me+source.)
#include
#include
#include "jzcpu.h"
#define TMP_FILE_NAME "tmpcpu123.tmp"
#define DEBUG() (printf("%d\n",__LINE__))
int main()
{
FILE *fd;
int mhz;
char command[300];
printf("CPUOver Clock\n"
"");
fd = fopen("getMhz.sh","w");
fprintf(fd,"#!/bin/bash\n\nMHz=0\n\n"
"if [ %d -gt 420 ] ; then\n"
"\techo \"Advice:You'd better not set CPU's clock,"
" it may shutdown myself or no answer!\"\n"
"\tread -s\n\tclear\n\t"
"echo -e \"please enter a number to set CPU's clock up\"\n\t"
"read -e MHz\n\techo $MHz > %s\n"
"fi\n",cpu_get_clock(),TMP_FILE_NAME);
fclose(fd);
system("bash getMhz.sh");
fd = fopen(TMP_FILE_NAME,"r");
fscanf(fd,"%d",&mhz);
close(fd);
if (mhz != 0)
{
cpu_init();
set_cpu_clock(mhz);
printf("Now,CPU‘s clock is %dMHz\n",cpu_get_clock());
}
sprintf(command,"rm -f getMhz.sh %s",TMP_FILE_NAME);
system(command);
return 0;
}
#include
#include "jzcpu.h"
#define TMP_FILE_NAME "tmpcpu123.tmp"
#define DEBUG() (printf("%d\n",__LINE__))
int main()
{
FILE *fd;
int mhz;
char command[300];
printf("CPUOver Clock\n"
"");
fd = fopen("getMhz.sh","w");
fprintf(fd,"#!/bin/bash\n\nMHz=0\n\n"
"if [ %d -gt 420 ] ; then\n"
"\techo \"Advice:You'd better not set CPU's clock,"
" it may shutdown myself or no answer!\"\n"
"\tread -s\n\tclear\n\t"
"echo -e \"please enter a number to set CPU's clock up\"\n\t"
"read -e MHz\n\techo $MHz > %s\n"
"fi\n",cpu_get_clock(),TMP_FILE_NAME);
fclose(fd);
system("bash getMhz.sh");
fd = fopen(TMP_FILE_NAME,"r");
fscanf(fd,"%d",&mhz);
close(fd);
if (mhz != 0)
{
cpu_init();
set_cpu_clock(mhz);
printf("Now,CPU‘s clock is %dMHz\n",cpu_get_clock());
}
sprintf(command,"rm -f getMhz.sh %s",TMP_FILE_NAME);
system(command);
return 0;
}
As you see,Give me source.
see you as see me
英语翻译I could never know someone who didn't see me as a source
will you see me as spoiled?
tell me what you see give me the answer .
Could you give me your answer as soon as possible?
Please give the letter to her as you --------- (see) her.
see you as see
I see you give it to me stop playing
I cann't see what you give me now!
Can you give me Can you give me even the ______ clue as to w
I can give you all os me if you like me as I like you.