The Way To Great

通往伟大的路

用户操作
[即时聊天] [发私信] [加为好友]
AlbertID:zinking3
58933次访问,排名1801好友15人,关注者21
where there is a will,there is a way to great.
zinking3的文章
原创 191 篇
翻译 6 篇
转载 14 篇
评论 27 篇
Albert的公告
最近评论
yiyi:这个功能我知道

但是,这玩艺怎么去掉?我有个地方控制buttonbar里的内容根据鼠标缩放,缩到一半文字给截了,它就给我弹个tooltip出来- -

buttonbar又没有itemRenderer这样的属性,就算有,也不可能放label,要知道button怎么去掉这个功能也好办啊
奇怪的jane:so, reference is changed to have different value, but if you assume now each listener received different value , its not correct, they will both received latest assigned value . overall inline fun……
sap99:www.sap99.com/,SAP99资料多多

SAP免费资料下载
http://www.sap99.com

有很多的学习资料,推荐一下,
ocean:Loading Collada Files into Papervision3D

Testing Kinematics with Papervision3D Collada

DCC Tutorials
怎么没连接,请楼主修复下,谢谢!!!
空军一号:太好了!
爱死你了,哈哈
文章分类
收藏
相册
RIA的朋友们
不会飞的鱼
更新很快,关注业内的RIA朋友Y-Boy(RSS)
存档
订阅我的博客
XML聚合  FeedSky
订阅到鲜果
订阅到Google
订阅到抓虾
订阅到BlogLines
订阅到Yahoo
订阅到GouGou
订阅到飞鸽
订阅到Rojo
订阅到newsgator
订阅到netvibes

原创 【C&C++】sscanf的用法测试收藏

新一篇: 【C&C++】上海交大以前的一道复试题 | 旧一篇: 【可用性】【转载】可用性:规则和原则

我也不写说明了, 转一个博客地址,然后给出我今天测试的所有方面的代码
我想理解的话,在C语言里如何去解析字符串就不再是一个问题了。
http://www.cnblogs.com/redstar/archive/2007/10/11/921554.html

#include <iostream>
#include 
<fstream>
#include 
<cstdlib>
#include 
<cstring>


using namespace std;


int main()
{

    
/*sscanf parse tests*/
    
int d=0;
    
char buf[20];
    
//sscanf("parent 2","%*s%d",&d);            /*Can Parse Correctly*/
    
//sscanf("parent25","parent%d",&d);            /* result 25 returned*/
    
//sscanf("parent2","%*s%d",&d);                /*Cannot parse because %s is assigned "parent2"*/
    
//sscanf("parent2","%*6s%d",&d);            /*Can Parse Corrently Because width specified*/
    
//sscanf("parent2","%*[a-z]%d",&d);            /*Parse Correctly use WildCard*/
    
//sscanf("parent2parent","%*[a-z]%d",&d);    /*Parse Correctly use WildCard*/
    
//sscanf("parent22parent","%*[a-z]%1d",&d);    /*result 2 returned*/
    
//sscanf("asd/35@32","%*[^/]/%d",&d);        /*result 35 returned*/
    sscanf( "iios/12DDWDFF@122""%*[^/]/%[^@]", buf );
    cout 
<< d << endl;


    
int a, b, c;
    sscanf(
"2006:03:18""%d:%d:%d"&a, &b, &c);
    cout 
<< a << b << c << endl;

    
return 0;
}

发表于 @ 2008年03月22日 16:57:00|评论(loading...)|编辑

新一篇: 【C&C++】上海交大以前的一道复试题 | 旧一篇: 【可用性】【转载】可用性:规则和原则

评论:没有评论。

发表评论  


登录
Csdn Blog version 3.1a
Copyright © Albert