Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1923221
  • 博文数量: 424
  • 博客积分: 1291
  • 博客等级: 中尉
  • 技术积分: 2682
  • 用 户 组: 普通用户
  • 注册时间: 2012-08-13 01:34
个人简介

linux oracle 网络安全 编程

文章分类

全部博文(424)

文章存档

2016年(22)

2015年(53)

2014年(57)

2013年(242)

2012年(50)

发布时间:2012-12-31 20:44:11

实验目的: 理解C语言中如何计算补码,掌握“矛盾”赋值时如何处理数据。 实验步骤: 1.验证没有赋值的变量的值是“随机的”。 1.1在VC6.0没有赋值的整型变量其存储单元中每个字节都是0xcc。如程序 #include <stdio.h> void main() { long i; short j; printf("%lx,%hx\n", i, j); } 的输出为:cccccccc,cccc。 但是这只是vc6.0为了方便观测数据主动为程序中的变量设置的状态。 1.2在Win-TC可以清楚地看出,没有赋值的变量的值是“随机的”。 2.计算机中处......【阅读全文】

阅读(5512) | 评论(0) | 转发(0)

发布时间:2012-12-31 20:39:43

c语言中有关负数的存储 开发环境VC6.0 下面是一段测试小程序: int main(int argc, char* argv[]) {      short int k;        unsigned short int j;               k = 0xcdac;       ......【阅读全文】

阅读(1783) | 评论(0) | 转发(0)

发布时间:2012-12-30 01:15:40

SQL> create or replace procedure sp_pro7(goodsnum char) is  2  v_category goods.category%type;  3  begin  4  select category into v_category from goods where goodsid=goodsnum;  5  if v_category='家具' then  6  update goods set unitprice=unitprice-10......【阅读全文】

阅读(1125) | 评论(0) | 转发(0)

发布时间:2012-12-29 23:46:31

create or replace procedure sp_pro6(spname char) is --创建一个过程附带一个输入形参v_price goods.unitprice%type;--变量类型begin--执行部分select unitprice into v_price from goods where goodsname=spname;if v_price<5 then--条件语句update goods set unitprice=unitprice*1.1 where goodsname=spname;end if;end;   exec sp_pro......【阅读全文】

阅读(3453) | 评论(0) | 转发(0)

发布时间:2012-12-28 00:23:39

其实一个人开不开心,很大部分都是和钱有关系!没钱什么都搞不了!努力过后成果没那么快显示,这是自然的规律,但是往往事情都是发生在你规划的前一步!没办法!继续走吧,至少好过停在原地,什么都不搞。坚信太阳就快来了!提升自己、沉淀自己。......【阅读全文】

阅读(819) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册