Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C Programming > How to mid string on a binary string?

Reply
Thread Tools

How to mid string on a binary string?

 
 
Gregory Pietsch
Guest
Posts: n/a
 
      09-22-2005

jt wrote:
> I'm needing to take a binary string start at a certain position and return a
> pointer from that postion to the end of the binary stirng.
>
> something like this:
>
> char bstr[2048];
> char *pos;
>
> pos=mid(bstr,35); / *return a pointer of the rest of the binary string
> starting at element 35 */
>
> Any help showing me how I can do this? I don't know how I can do a char
> *mid(bstr,ele)
>
> Thanks,
> jt


This is another job for the string library from FreeDOS edlin,
available from either ibiblio or alt.sources.

Gregory Pietsch

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: How include a large array? Edward A. Falk C Programming 1 04-04-2013 08:07 PM
(8-bit binary to two digit bcd) or (8-bit binary to two digit seven segment) Fangs VHDL 3 10-26-2008 06:41 AM
A 64-bit binary returning a value to a 32-bit binary? spammenotplui31@yahoo.ca C Programming 12 04-08-2007 07:02 AM
data conversion question (binary string to 'real string') Alexander Eisenhuth Python 5 07-25-2003 06:42 PM
Re: ostreams, ios::binary, endian, mixed binary-ascii Marc Schellens C++ 8 07-15-2003 12:27 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57