摘要:
VB :Like运算符(1).“?”代表单个字符(2).“*”代表0或多个字符(3).“#”代表0-9的单个数字(4).[字符列表]代表任何在列表中的字符(5).[!字符列表]代表任何不在列表中的字符 Dim MyCheck As StringMyCheck="aBBBa" Like "a*a" ' 阅读全文
摘要:
using System; using System.Collections.Generic; using System.Text; using System.Runtime.InteropServices; namespace ConsoleApplication1 { class Program 阅读全文
摘要:
Windows 系统下的 vs 中可以使用 _kbhit() 函数来获取键盘事件,使用时需要加入 conio.h 头文件 #include <conio.h> #include <iostream> using namespace std; int main() { int ch; while (1 阅读全文