代码搜索:输出可调
找到约 10,000 项符合「输出可调」的源代码
代码结果 10,000
www.eeworm.com/read/238066/13909502
txt 例4.1.txt
例4.1 在主函数中调用其他函数。
#include
using namespace std;
void printstar(void) //定义printstar函数
{
cout
www.eeworm.com/read/389891/8495166
m kthspec.m
function [P,f]=kthspec(x,k,fs)
%周期图法计算信号k阶功率谱
%参数说明
% P 输出功率谱幅值,行向量
% f 输出频率,行向量
% x 输入调制信号
% k 非线性变换阶数
% fs 信号采样率
%函数体
x=interp(x,k); %k倍插值,调整采样率
x=x.^k
www.eeworm.com/read/389036/8551870
c main.c
#define uchar unsigned char //定义一下方便使用
#define uint unsigned int
#include //包括一个52标准内核的头文件
sbit P10 = P1^0; //要控制的LED灯
uchar scale;//用于保存占空比的输出0的时间份额,总共10份
//模拟PWM输出控制灯的10个亮度
www.eeworm.com/read/286602/8757145
txt 例4.16.txt
例4.16 在调试程序时,常常希望输出一些所需的信息,而在调试完成后不再输出这些信息。可以在源程序中插入条件编译段。下面是一个简单的示例。
#include
using namespace std;
#define RUN //在调试程序时使之成为注释行
int main( )
{ int x=1,y=
www.eeworm.com/read/286602/8757216
txt 例7.8.txt
例7.8 口袋中有红、黄、蓝、白、黑5种颜色的球若干个。每次从口袋中任意取出3个球,问得到3种不同颜色的球的可能取法,输出每种排列的情况。
#include
#include //在输出时要用到setw控制符
using namespace std;
int main( )
{ enum c
www.eeworm.com/read/385782/8788934
txt 实验4答案.txt
实验 4
1. 从键盘输入一个字母,如果输入的是小写字母,将其转换成大写字母后输出,否则原样输出。
import java.io.*;
class Chp5_T4_1
{
public static void main(String args[]) throws IOException
{
char ch;
System.out.println("输入一个
www.eeworm.com/read/385782/8788938
txt 验4答案.txt
实验 4
1. 从键盘输入一个字母,如果输入的是小写字母,将其转换成大写字母后输出,否则原样输出。
import java.io.*;
class Chp5_T4_1
{
public static void main(String args[]) throws IOException
{
char ch;
System.out.println("输入一个
www.eeworm.com/read/385782/8788939
txt 验4答22案.txt
实验 4
1. 从键盘输入一个字母,如果输入的是小写字母,将其转换成大写字母后输出,否则原样输出。
import java.io.*;
class Chp5_T4_1
{
public static void main(String args[]) throws IOException
{
char ch;
System.out.println("输入一个
www.eeworm.com/read/385779/8788987
txt 实验4答案.txt
实验 4
1. 从键盘输入一个字母,如果输入的是小写字母,将其转换成大写字母后输出,否则原样输出。
import java.io.*;
class Chp5_T4_1
{
public static void main(String args[]) throws IOException
{
char ch;
System.out.println("输入一个
www.eeworm.com/read/385779/8788998
txt 验4答案.txt
实验 4
1. 从键盘输入一个字母,如果输入的是小写字母,将其转换成大写字母后输出,否则原样输出。
import java.io.*;
class Chp5_T4_1
{
public static void main(String args[]) throws IOException
{
char ch;
System.out.println("输入一个