![]() |
| | #1 |
| Registered User Join Date: Oct 2009
Posts: 22
| -I have looked at the string library and don't recognize a solution. -Should I create a new smaller array somehow --- perhaps a loop? yep, I'm a newb. |
| Roger is offline | |
| | #2 |
| and the Hat of Guessing Join Date: Nov 2007
Posts: 8,740
| You need to look at the string library again, with the caveat that the words they use may not exactly match the words you are using. For instance, there's strncpy. |
| tabstop is offline | |
| | #3 |
| Guest Join Date: Aug 2001
Posts: 4,923
| If you just want to print it, simply start at index 49 and print up to index 99. If you want to make a copy use a similar approach, but instead of printing, copy the data to a buffer somewhere (don't forget to null terminate the string, though). |
| Sebastiani is offline | |
![]() |
| Tags |
| string, strings |
| Thread Tools | |
| Display Modes | |
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Unkown Hang | Bladactania | C Programming | 31 | 04-22-2009 09:33 AM |
| C programing doubt | sivasankari | C Programming | 2 | 04-29-2008 09:19 AM |
| why cant i start the process i stop using SIGCONT | cruxxe | C Programming | 0 | 06-06-2002 09:06 AM |
| simulate Grep command in Unix using C | laxmi | C Programming | 6 | 05-10-2002 04:10 PM |