<Param>
<Channel>
<SN>1</SN>
</Channel>
<Subtitle>
<Type>1</Type>
<IsShow>2</IsShow>
<Position>
<H>3</H>
<V>3</V>
</Position>
</Subtitle>
<Subtitle>
<Type>2</Type>
<IsShow>4</IsShow>
<Position>
<H>5</H>
<V>6</V>
</Position>
<Text>7</Text>
</Subtitle>
<Subtitle>
<Type>2</Type>
<IsShow>8</IsShow>
<Position>
<H>9</H>
<V>10</V>
</Position>
<Text>11</Text>
</Subtitle>
</Param>
<Channel>
<SN>1</SN>
</Channel>
<Subtitle>
<Type>1</Type>
<IsShow>2</IsShow>
<Position>
<H>3</H>
<V>3</V>
</Position>
</Subtitle>
<Subtitle>
<Type>2</Type>
<IsShow>4</IsShow>
<Position>
<H>5</H>
<V>6</V>
</Position>
<Text>7</Text>
</Subtitle>
<Subtitle>
<Type>2</Type>
<IsShow>8</IsShow>
<Position>
<H>9</H>
<V>10</V>
</Position>
<Text>11</Text>
</Subtitle>
</Param>
解决方案 »
- 串口ReadFile读取数据一直有阻塞,即使有数据上来
- 如何初始化全局dll
- 关于类成员函数指针【含虚函数】,请高手分析一下。
- 怎么做像下图一样的属性页??
- 怎样在win98下使用原始套接字开发sniffer程序?
- 小弟 有一个问题 急求啊
- 急救,COleTemplateServer::RegisterAll(); 出错?
- 如何做才能达到我的程序开机后自动运行,用程序搞定,?
- 创建DIB外壳程序!
- ***抢分的问题*** 我想利用EDIT控件输入普通文本后,利用"储存"把文本***保存为***在相同目录中file.dat,具体怎么做?
- 关于P2P传输的理论分析之节点排序
- vc 下如何将字符串(包含汉字)转换成16进制
int Find( TCHAR ch ) const;int Find( LPCTSTR lpszSub ) const;int Find( TCHAR ch, int nStart ) const;int Find( LPCTSTR pstr, int nStart ) const;Return ValueThe zero-based index of the first character in this CString object that matches the requested substring or characters; -1 if the substring or character is not found.ParameterschA single character to search for.lpszSubA substring to search for.nStartThe index of the character in the string to begin the search with, or 0 to start from the beginning. The character at nStart is excluded from the search if nStart is not equal to 0.pstrA pointer to a string to search for.ResSearches this string for the first match of a substring. The function is overloaded to accept both single characters (similar to the run-time function strchr) and strings (similar to strstr).Example// First example demonstrating
// CString::Find ( TCHAR ch )
CString s( "abcdef" );
ASSERT( s.Find( 'c' ) == 2 );
ASSERT( s.Find( "de" ) == 3 );// Second example demonstrating
// CString::Find( TCHAR ch, int nStart )
CString str("The stars are aligned");
int n = str.Find('e', 5);
ASSERT(n == 12);CString Overview | Class Members | Hierarchy ChartSee Also CString::ReverseFind, CString::FindOneOf
基本上就是遍历节点,然后比较名称,获取它的值