CFanatic

Go Back   CFanatic > Programming > C Programming

Join CFanatic Forum Now

C programing help with file precessing topic posted under C Programming which is a part of Programming category in CFanatic Forum
Reply
 
Thread Tools Display Modes
  #1  
Old 09-03-2010, 07:13 PM
Junior Member
 
Join Date: Sep 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
sourabhsinha is on a distinguished road
| More
C programing help with file precessing

Hello,
I have a test file which looks like following

-------------------------------------------------
file has fruits :: apple orange banana |
23 16 7 |
-------------------------------------------------
means it has 23 apples, 16 oranges and 7 banana. What I want is to,
store the fruit names and their respective numbers in a matrix or fruit names in an 1D array and numbers in another 1-D array so that I can pull particular info when ever I need.

Can you guys help or at least suggest how should I proceed?

Thanks
Reply With Quote
Reply

Thread Tools
Display Modes

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 Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Shell Help: Move file contents into another file niconico96 Shell Scripting 1 04-27-2011 01:23 PM
Certain characters read from file and save in new file meyup C Programming 5 06-12-2010 07:27 PM
File I/O (Reading from a Random-Access File) VersEtreOuNe C++ Programming 0 02-12-2008 03:39 PM
read file n spot blank char n re write file witout extra blank dev1910 C++ Programming 1 12-17-2007 12:43 AM

 

Advertisement

CFanatic Search
Custom Search

Advertisement

All times are GMT -5. The time now is 02:46 AM.



Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO ©2010, Crawlability, Inc.
Cfanatic.com is a premier member of the IDG TechNetwork. For advertising opportunities contact here
Get Paid for Working on Projects Matching Your Expertise at Go4Expert's Jobs Board