📄 bianyi.cpp
字号:
#include "iostream.h"
#include "string.h"
#include "math.h"
//#include "stdio.h"
public class analysis
{
void GetChar()//将下一个输入字符读到ch中,搜索指示器前移一字符位置
{
}
void GetBC()//检查ch中的字符是否为空白,若是,则调用GetChar直至ch中进入一个非空白字符
{
}
void strcat(pram1,pram2)//将ch中的字符连接到strToken之后
{
}
bool isLatter(char a)//判断ch中的字符是否是字母
{
}
bool isDigit(char b)//判断ch中的字符是否是数字
{
}
int Reserve(char)//查找保留字表,判断strToken中的字符串是否是保留字,若是则返回它的编码,不是返回0
{
}
int returncode(int code)
{
}
}// endof class
int main()
{ int i=0,j=0;
char ch=0;
char strToken[120];
cout<<"input \n end with '\\' "<<endl;
while(ch!='\\')
{cin>>ch;
strToken[i]=ch;
i++;
}
while(strToken[j]!='\\')
{cout<<strToken[j];
j++;
}
cout<<endl;
//cout<<"hello!"<<endl;
return 0;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -