365key.com
发现·保存·分享@天天网摘

Q版365key  设为首页 加为收藏 帮助

 首页  网址  添加  我的网摘  我的订阅  最新网摘  收录榜  点击榜  同好  配置  工具箱  标签  兴趣小组 
  IT168 |  华军下载 |  猫扑 |  VeryCD |  CSDN技术 |  DoNews |  9Flash |  中金 |  游侠 |  股票天下 |  游戏公会 |  电子工程 |  白银时代 |  和365Key合作

wlmzfx的网摘列表 RSS格式输出  365Key邮件订阅,每天可以定期收到邮件通知  使用 POTU 订阅
搜索词: 时间:
分类:     排序:
 
刷新列表 共1页、2项网摘
怎样将TextField 或者 TextArea 中的数据存储到数组中?点击:43
 分类:.net; math 时间:2006-10-3 18:42:59 wlmzfx收录 复制到我的网摘
转自某牛牛对我的一个问题的解释:

#include
#include

char str[] = "lazy";
char string[] = "The quick brown dog jumps over the lazy fox";
char fmt1[] = " 1 2 3 4 5";
char fmt2[] = "12345678901234567890123456789012345678901234567890";

void main( void )
{
char *pdest;
int result;
printf( "String to be searched:\n\t%s\n", string );
printf( "\t%s\n\t%s\n\n", fmt1, fmt2 );
pdest = strstr( string, str );
result = pdest - string + 1;
if( pdest != NULL )
printf( "%s found at position %d\n\n", str, result );
else
printf( "%s not found\n", str );
}
Output

String to be searched:
The quick brown dog jumps over the lazy fox
1 2 3 4 5
12345678901234567890123456789012345678901234567890

lazy found at position 36


不知道这一段代码对你有没有什么帮助
或许有,没怎么仔细看,,不过函数的功能是在里面的了
例如在TextField 中输入 5 3 6 8 9 4
怎样将它们存储到数组xx[6]中,使xx[0]=5 .... xx[5]=4
将TextArea 中的数据存储到二维数组中?
例如在TextArea中有下面的数据:
5 6 3 2 1
8 9 5 4 2
4 5 6 8 2
怎样将它们存储到二维数组yy[3][5]中
在VC++或VC.NET中如何实现?
谢谢!
http://community.csdn.net/Expert/topic/5061/5061548.xml?temp=.7281153
数值分析部分算法实现 - 有一种自由叫开源 - mlsx's blog,Linux的天堂点击:26
 分类:Math 时间:2006-10-2 19:35:59 wlmzfx收录 复制到我的网摘
两周前,有人拜托我写一个有关数值分析的程序,就是对离散点的拟合:能够对给出的一些离散点,做出最近似的多项式。
于是就有了下面的一些实现:

1.lagrange插值函数的实现:
http://mlsx.xplore.cn/read.php/205.htm
页码: [1 共1页、2项网摘

使用帮助 |  如何保存网摘 |  给365Key提建议 |  媒体报道 |  站长推广须知
Copyright (C) 2004 365Key.com--天天网摘 All Rights Reserved