Location:
Search - strtok
Search list
Description: Using the UnderC Tokenizer Class
It s often necessary to parse complex text files, where standard i/o
is too clumsy. C programmers fall back on strtok(), but this can be
tricky to use properly. Besides, you are still responsible for keeping
strtok() fed with new input, and I don t like the schlepp.
Tokenizer is a text-parsing input stream, modelled after the (undocumented)
VCL TParser class, and based on the UnderC tokenizing preprocessor front-end.
Platform: |
Size: 16553 |
Author: lee |
Hits:
Description: This string-include defines all string functions as inline functions. Use gcc. It also assumes ds=es=data space, this should be normal. Most of the string-functions are rather heavily hand-optimized,
see especially strtok,strstr,str[c]spn. They should work, but are not
very easy to understand. Everything is done entirely within the register
set, making the functions fast and clean.
Platform: |
Size: 11959 |
Author: hehe |
Hits:
Description: This XML parser segments a given string in situ (like strtok), performing scanning/tokenization, and parsing in a single pass.
Platform: |
Size: 29880 |
Author: x |
Hits:
Description: Using the UnderC Tokenizer Class
It s often necessary to parse complex text files, where standard i/o
is too clumsy. C programmers fall back on strtok(), but this can be
tricky to use properly. Besides, you are still responsible for keeping
strtok() fed with new input, and I don t like the schlepp.
Tokenizer is a text-parsing input stream, modelled after the (undocumented)
VCL TParser class, and based on the UnderC tokenizing preprocessor front-end.
Platform: |
Size: 16384 |
Author: lee |
Hits:
Description: This string-include defines all string functions as inline functions. Use gcc. It also assumes ds=es=data space, this should be normal. Most of the string-functions are rather heavily hand-optimized,
see especially strtok,strstr,str[c]spn. They should work, but are not
very easy to understand. Everything is done entirely within the register
set, making the functions fast and clean.
Platform: |
Size: 11264 |
Author: hehe |
Hits:
Description: This XML parser segments a given string in situ (like strtok), performing scanning/tokenization, and parsing in a single pass. -This XML parser segments a given string in situ (like strtok), performing scanning/tokenization, and parsing in a single pass.
Platform: |
Size: 29696 |
Author: x |
Hits:
Description: 测试控制台的函数,defines the entry point for the console application-defines the entry point for the console application
Platform: |
Size: 150528 |
Author: guoxiaoliang |
Hits:
Description: usage of strtok function in c++.
Platform: |
Size: 1024 |
Author: james smith |
Hits:
Description: 实现window下strtok(char *a,char *b) 函数的功能,在a中查找b并返回指向azhongb的指针,如果a为NULL返回前位置-strtok function program
Platform: |
Size: 1024 |
Author: lxd |
Hits:
Description: 从一串字符串中提取逗号隔开的字符片段,从而可以提取需要的数据等内容。-get data from a string by using a function named strtok to cut a long string.
Platform: |
Size: 3966976 |
Author: 熊麒麟 |
Hits:
Description: strtok(char s[], const char *delim) 用来将字符串分割成一个个片段。参数s指向欲分割的字符串,参数delim则为分割字符串中包含的所有字符。当strtok()在参数s的字符串中发现参数delim中包涵的分割字符时,则会将该字符改为\0 字符。在第一次调用时,strtok()必需给予参数s字符串,往后的调用则将参数s设置成NULL。每次调用成功则返回指向被分割出片段的指针。-strtok- break down a string into tokens (ANSI)
A sequence of calls to this routine breaks the string <string> into a
sequence of tokens, each of which is delimited by a character from the
string <separator>. The first call in the sequence has <string> as its
first argument, and is followed by calls with a null pointer as their
first argument. The separator string may be different from call to call.
The first call in the sequence searches <string> for the first character
that is not contained in the current separator string. If the character
is not found, there are no tokens in <string> and strtok() returns a
null pointer. If the character is found, it is the start of the first
token.
strtok() then searches from there for a character that is contained in the
current separator string. If the character is not found, the current
token expands to the end of the string pointed to by <string>, and
subsequent searches for a token wil
Platform: |
Size: 4096 |
Author: roc |
Hits:
Description: 分隔函数, 分隔函数, 分隔函数, 分隔函数, 分隔函数, 分隔函数, 分隔函数, 分隔函数, 分隔函数, 分隔函数, -Partition function
Platform: |
Size: 1024 |
Author: 张平 |
Hits:
Description: 本示例程序详细展示了使用strTok的方法,是理解此库函数的重要参考。-This example shows the use of the program in detail strTok way to understand this is an important reference library functions.
Platform: |
Size: 182272 |
Author: 乔飞翔 |
Hits:
Description: For deprecated symbols like strcat, strtok.. pragma warning (disable : 4996).
Platform: |
Size: 1024 |
Author: dangliba |
Hits:
Description: defs that come uucp.h.
-defs that come uucp.h.
Platform: |
Size: 3072 |
Author: vuewengnb |
Hits:
Description: 使用UDP 创建一个服务器:client 和 server各一个进程
1)UDP服务器,可以接受各路发来的信息, 收到消息之后, 添加确认字符(ack)发回给对应用户
如 client1发送helloworld给服务器
服务器收到后,返回 getMsgACK:helloworld
2)client1会记录自己发出的所有信息,并确认服务器是否收到了 ,
也就是client1同时接收服务器发来的消息,对消息进行分析getMsgACK: (strtok)
确认服务器收到后, 把信息从发出链表中删除;
3) 如果消息链表有内容,每隔1秒提示是否重发该消息 alarm()-
299/5000
Use UDP to create a server: client and server each process
1) UDP server, you can accept the information sent each way, after receiving the message, add confirmation characters (ack) back to the corresponding user
If client1 sends helloworld to the server
When the server receives it, it returns getMsgACK: helloworld
2) Client1 will record all the information they sent, and confirm whether the server received,
Which is receiving client server1 at the same time the news sent to the analysis of information GetMsgACK: (strtok)
Confirm the server receives, the information the list issued to delete
3) If the message list has a content, every 1 second prompts whether to re-send the message alarm ()
Platform: |
Size: 2048 |
Author: 张贻洁 |
Hits:
Description: strtok函数与strtok_r函数的形式及功能简介;还有他们的使用,包含函数源码(Strtok functions and strtok_r functions in the form and function profiles, as well as their use, including function source code)
Platform: |
Size: 4096 |
Author: 熊熊火001
|
Hits: