摘要: 1 #include<stdio.h> 2 #include<math.h> 3 int main() 4 { 5 while(1) 6 { 7 double a,b,c; 8 double delta; 9 double x1,x2; 10 char ch; 11 printf("请输入三个系数: 阅读全文
posted @ 2020-03-18 17:31 树下一朵云 阅读(3957) 评论(0) 推荐(0) 编辑
摘要: 调用Windows.h头文件下的SetConsoleTextAttribute函数改变文字和背景颜色。 调用形式为: SetConsoleTextAttribute( HANDLE hConsoleOutput, WORD wAttributes );hConsoleOutput表示控制台缓冲区句柄 阅读全文
posted @ 2020-03-18 15:27 树下一朵云 阅读(2973) 评论(0) 推荐(0) 编辑
摘要: 数据库的创建 数据库的分离与附加 生成脚本(架构,数据) 表:创建、修改、删除 字段类型介绍:int,bit,datetime,decimal(5,2),char/varchar/nvarchar 字符串类型n的区别:有n表示unicode编码,每个字符占一个字节; 没有n表示非unicode编码, 阅读全文
posted @ 2020-03-18 14:29 树下一朵云 阅读(391) 评论(0) 推荐(0) 编辑