![]() |
|
#1
|
|||
|
|||
Binary converterI havent started writing it yet but just need to know how i can find the place of a 1 or 0 in a string (like the 5th number is a 0) and go from there on.
i tryed to google it but that didnt work |
|||
|
#2
|
|||
|
|||
Re: binary converterQuote:
|
|
#3
|
|||
|
|||
Re: binary convertercharcter-wise
|
|
#4
|
|||
|
|||
Re: binary converterQuote:
http://www.cplusplus.com/reference/s...ring/find.html If you are using C-style null-terminated strings, consider the strchr() standard call: http://www.cplusplus.com/reference/c...ng/strchr.html Otherwise by brute force, iterate through each character of the string, & compare it to whatever you want. |
Recent GIDBlog
Toyota - 2009 May Promotion by Nihal
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| New to programming (Homework Help) | fishguts | Miscellaneous Programming Forum | 1 | 12-Sep-2007 11:50 |
| Binary to Decimal Conversion | Saberwing | C Programming Language | 5 | 28-Dec-2006 15:57 |
| help with 16-bit binary nos | phil1234 | C Programming Language | 1 | 02-Mar-2006 13:06 |
| copying a portion of Binary file into another Binary file | vishi | C Programming Language | 5 | 25-Jul-2005 09:05 |
| Binary Tree Trouble | neufunk | C Programming Language | 4 | 06-Dec-2004 10:52 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The