摘要:
原文地址http://blog.csdn.net/sdspp/archive/2006/09/20/1255179.aspxC/C++ 程序设计员应聘常见面试试题深入剖析 1.引言 本文的写作目的并不在于提供C/C++程序员求职面试指导,而旨在从技术上分析面试题的内涵。文中的大多数面试题来自各大论坛,部分试题解答也参考了网友的意见。 许多面试题看似简单,却需要深厚的基本功才能给出完美的解答。企业要求面试者写一个最简单的strcpy函数都可看出面试者在技术上究竟达到了怎样的程度,我们能真正写好一个strcpy函数吗?我们都觉得自己能,可是我们写出的strcpy很可能只能拿到10分中的2分。... 阅读全文
阅读排行榜
C#中的委托例子,备查
2008-05-10 12:26 by OntheMars, 169 阅读, 收藏,
摘要:
usingSystem;usingSystem.Collections.Generic;usingSystem.Text;namespacedelegateExp1...{classProgram...{delegatevoidSimpleDelegate();staticvoidF()...{System.Console.WriteLine("helloworld");}staticvoidMultiCall(SimpleDelegated,intcount)...{for(inti=0;i<count;i++)d();}staticvoidMain(string[ 阅读全文
字符串与数之间转换函数
2008-02-18 14:48 by OntheMars, 166 阅读, 收藏,
摘要:
转自 &豪 - C++博客字符串与数之间转换函数 atof(将字符串转换成浮点型数) 相关函数 atoi,atol,strtod,strtol,strtoul 表头文件 ... 阅读全文
凸包(类实现)
2008-02-18 01:44 by OntheMars, 166 阅读, 收藏,
摘要:
凸包(类实现) /**//*************************************************************************Author:WHU_GCCCreatedTime:2007-8-1313:59:37FileName:convex_hull.cppDescription:************************************************************************/#include<iostream>usingnamespacestd;#defineout(x)(cout&l 阅读全文
C#.net常用函数和办法集
2007-08-21 15:50 by OntheMars, 166 阅读, 收藏,
摘要:
转载自网络:C#.net常用函数和办法集 1、DateTime 数字型 System.DateTime currentTime=new System.DateTime(); 1.1 取当前年月日时分秒 currentTime=System.DateTime.Now; 1.2 取当前年 int 年=currentTime.Year; 1.3 取当前月 int 月=currentTime.Month; 1.4 取当前日 int 日=currentTime.Day; 1.5 取当前时 int 时=currentTime.Hour; 1.6 取当前分 int 分=currentTime.Minute; 阅读全文
浙公网安备 33010602011771号