上一页 1 ··· 3 4 5 6 7 8 下一页
摘要: 【程序78】题目:找到年龄最大的人,并输出。请找出程序中有什么问题。1.程序分析:2.程序源代码:#define n 4#include "stdio.h"static struct man{ char name[20];int age;} person[n]={"li",18,"wang",19,... 阅读全文
posted @ 2012-05-18 15:11 残阳掠影 阅读(314) 评论(0) 推荐(0) 编辑
摘要: 程序51】题目:学习使用按位与 & 。 1.程序分析:0&0=0; 0&1=0; 1&0=0; 1&1=12.程序源代码:#include "stdio.h"main(){int a,b;a=077;b=a&3;printf("\40: the a & b(decimal) is %d \n",... 阅读全文
posted @ 2012-05-18 15:10 残阳掠影 阅读(265) 评论(0) 推荐(0) 编辑
摘要: c语言经典100题【实用】【程序1】题目:有1、2、3、4个数字,能组成多少个互不相同且无重复数字的三位数?都是多少?1.程序分析:可填在百位、十位、个位的数字都是1、2、3、4。组成所有的排列后再去 掉不满足条件的排列。2.程序源代码:main(){int i,j,k;printf("\... 阅读全文
posted @ 2012-05-18 15:09 残阳掠影 阅读(364) 评论(0) 推荐(0) 编辑
摘要: 最近在调试一个带DML操作的函数时,一直不成功,在PL/SQL中测试时没问题,通过SQL语句调用函数时就不行了,刚开始一直没找到原因,后来无意间把 函数中捕获异常的代码注释掉,终于通过SQL调试时,弹出了一个“ORA-14551: 无法在查询中执行 DML 操作 .”错误,找到了问题原因,就好找解决... 阅读全文
posted @ 2012-05-18 15:02 残阳掠影 阅读(6866) 评论(0) 推荐(0) 编辑
摘要: 先说多线程:方法 1 : CreateThread不用多说,万变不离其宗,这是 Win32 内创建线程的唯一系统方法,以下介绍的多线程创建方式虽然不直接接触这个 Win32 APi,但系统也是通过他创建的。方法 2 : TimerSetEvent这个函数是 Win32 系统的一个高精度计时器函数,通... 阅读全文
posted @ 2012-05-18 14:54 残阳掠影 阅读(25416) 评论(0) 推荐(0) 编辑
摘要: 事实上在 Java / JSP 常引用的网站开发架构中,还可分为 Model 1 与 Model 2。Model 1 还可分为二至三种,如下:第一种是将 HTML 和 .NET (Java) code 混在一起,俗称意大利面式的写法,如:ASP。这种 Inline code 最为人垢病的问题是程序可... 阅读全文
posted @ 2011-11-16 12:16 残阳掠影 阅读(2859) 评论(0) 推荐(2) 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.IO;using System.Security.Cryptography;namespace SEDO{ /... 阅读全文
posted @ 2010-01-21 05:03 残阳掠影 阅读(255) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.IO;using System.Security.Cryptography;namespace Encrypt... 阅读全文
posted @ 2010-01-21 05:02 残阳掠影 阅读(4978) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Security.Cryptography;using System.IO;namespace Encrypt... 阅读全文
posted @ 2010-01-21 05:00 残阳掠影 阅读(329) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.IO;using System.Security.Cryptography;namespace Encrypt... 阅读全文
posted @ 2010-01-21 04:57 残阳掠影 阅读(226) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 下一页