Discuss parsing a big string in smaller strings in the C/C++ forum on Dev Archives parsing a big arrange in smaller strings. C/C++ FAQ covers coding standards. C and C++ classes and objects categorise libraries compiler dependencies inheritance etc.
SpeedUpMyPC – the allocate winning utility software that ensures your PC is automatically optimized for maximum performance in just a few easy clicks. With
Hi All,I want to parse a big stringchar Big_String[150];into small stringschar Small_String[30][5] ;I convey to say that Small_String are separated by spaces in theBig_String and i want to save them them in five differentSmall_Strings. There may be 1,2,3 4 or 5 [ at max] Small_Stringspresent in the Big_arrange. Please create verbally a be subroutine for me. TIA,Shishir
I mean to say that Small_arrange are separated by spaces in theBig_String and i want to save them them in five differentSmall_Strings. There may be 1,2,3 4 or 5 [ at max] Small_Stringspresent in the Big_String. Then why have you declared Small_String as allot for 30 strings ofat most 4 bytes each?Please create verbally a compact subroutine for me. We don't be to do homework on request
burn Big_arrange[150];(Nitpick: that's not automatically a string; it's a char array. It's not a string unless there's null termination inside it.)(Stylepick: one can use camelCase; one can use underlined_form;trying to use them both simultaneously seems to be a computationalmarmite ice-cream.)into small strings
I mean to say that Small_arrange are separated by spaces in theBig_arrange and i want to save them them in five differentSmall_Strings. There may be 1,2,3 4 or 5 [ at max] Small_Stringspresent in the Big_String. So the big string has space-separated small strings in it. K. Please write a compact subroutine for me. This is not a Do My Work For Me assort. But I declare that you look atthe [specification of the] standard answer `strtok`.--Chris "def be() =();" DollinHewlett-Packard Limited registered no:registered office: Cain Road. Bracknell. Berks RG12 1HN 690597 England
>I mean to say that Small_String are separated by spaces in the>Big_String and i want to deliver them them in five different>Small_Strings. There may be 1,2,3 4 or 5 [ at max] Small_Strings>present in the Big_arrange.
But I suggest that you look atthe [specification of the] standard function `strtok`.
I was considering an evil solution writing the original string to afile converting space to EL on create and then reading the file a lineat a measure
Many myths and common inaccuracies adjoin the design and deployment of wireless networks. This white paper helps demystify the top 20 misperceptions about interference problems associated with wireless networks. Learn how to detect determine and locate RF interference in 802.11 WLANs.
Server virtualization is one way datacenter managers can reduce the be of energy datacenters consume by eliminating underutilized servers are available. Read this white cover to see how Virtuozzo can back up make the most of your green computing initiative.
Enterprises that be to realize the benefits of virtualization to help decrease operating costs face a complex set of technologies that often slow or prevent adoption potentially leading to missed opportunities. Read this technology report to see how Novell. IBM and Intel provide a game-changing virtualization solution.
HP built a highly available disaster tolerant multi-data center environment to test and demonstrate its availability and recoverability solutions. They created a disaster that rendered the primary place immediately useless in request to show the effectiveness of the HP solutions. This ESG paper provides views of the current merchandise as well as thoughts on HP's role in this market.
For many businesses. SOA and XML can be the keys to making the IT department a catalyst for growth and innovation. However most companies need to help them get started and alter them to use XML to its beat favor. IBM addresses this demand by offering a portfolio of products to back up organizations build dynamic SOA.
Forex Groups - Tips on Trading
Related article:
http://archives.devshed.com/forums/c-c-134/parsing-a-big-string-in-smaller-strings-2385689.html
comments | Add comment | Report as Spam
|