overwriting specific lines on a multidimensional array

Reply

Join Date: Feb 2007
Posts: 77
Reputation: revenge2 is an unknown quantity at this point 
Solved Threads: 2
revenge2's Avatar
revenge2 revenge2 is offline Offline
Junior Poster in Training

overwriting specific lines on a multidimensional array

 
0
  #1
Dec 3rd, 2009
Hello there, I have a set of variables that need to be overwritten onto a certain row on an multidimensional array (char array[100][80]; ) of strings. the variables are integers and they need to be in the form

00:00:00,000 --> 00:00:00,000

I don't know how overwrite the existing row and create the above string format with the integer variables on that row, any suggestions?
|--- A Thank you to all the Forum members ---|
Reply With Quote Quick reply to this message  
Join Date: Sep 2004
Posts: 8,275
Reputation: Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute 
Solved Threads: 815
Team Colleague
Narue's Avatar
Narue Narue is online now Online
Code Goddess
 
0
  #2
Dec 3rd, 2009
>any suggestions?
Yes. Be more specific. I mean, if you can't find the row and then overwrite it with strcpy (or something similar, maybe sprintf), you must have a different problem than the one implied by your question.
Last edited by Narue; Dec 3rd, 2009 at 8:47 am.
In case you were wondering, yes, I do hate you.
Reply With Quote Quick reply to this message  
Reply

Tags
array, multi, overwrite, strings

This thread is more than three months old.
Perhaps start a new thread instead?
Message:




Views: 872 | Replies: 1
Thread Tools Search this Thread



Tag cloud for array, multi, overwrite, strings
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2010 DaniWeb® LLC