Thread: working with files

  1. #1
    Unregistered
    Guest

    Question working with files

    I am having a problem getting a small portion of my program to work. The problem is a follows:

    i have two files each containing a city name and then a number eg.

    Bermingham 34
    Talahassee 23
    London 42

    I need to read these files into parallel arrays. So far about everything I have tried had gone wrong somewhere.

    The next part is sorthing the arrays what is the best way to do that? I need to sort first by number then alphebetical.....

    Any help you can offer would be greatly appreciated.

  2. #2
    Still A Registered User DISGUISED's Avatar
    Join Date
    Aug 2001
    Posts
    499
    you should really post some code so that we can see where you may have gone wrong in the first step.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Program Deployment and DLL/OCX Files?
    By dfghjk in forum C++ Programming
    Replies: 5
    Last Post: 06-16-2008, 02:47 AM
  2. Ressources files
    By mikahell in forum Windows Programming
    Replies: 4
    Last Post: 06-19-2006, 06:50 AM
  3. Working with DLL files...
    By Devil Panther in forum Windows Programming
    Replies: 8
    Last Post: 11-15-2004, 12:42 AM
  4. working with resource files
    By the Wookie in forum Windows Programming
    Replies: 4
    Last Post: 02-01-2003, 10:26 AM
  5. Dos commands hehe
    By Carp in forum A Brief History of Cprogramming.com
    Replies: 2
    Last Post: 01-17-2003, 02:51 PM