Search:

Type: Posts; User: ashley

Search: Search took 0.01 seconds.

  1. Problem buidling in Visual Studio 2005 (new to C++)

    Hi,

    I've been programming in C for a while, but recently have been looking into developing VST audio plug-ins at Uni. I've been given the Visual Studio project files for some basic plug-ins and...
  2. Need help finding a simple 'shortest path' algorithm

    Hi,
    I've been looking around the internet for a while now trying to find some source code for a 'shortest path' algorithm. I've come across a couple now, but the ones I've found haven't been very...
  3. Replies
    5
    Views
    13,735

    Right, I've had a bit of a mess around with the...

    Right, I've had a bit of a mess around with the program. Now the information is stored in an array of structures (The trim function just gets rid of the spaces at the beginning and end of strings so...
  4. Replies
    5
    Views
    13,735

    Just because I wasn't sure about getting data...

    Just because I wasn't sure about getting data from an array of structures.
    If I did have an array of structures like this:


    SONG array[2000];

    would I print the title of track 5, for example,...
  5. Replies
    5
    Views
    13,735

    Passing arrays of pointers into functions

    Hello again everyone,
    Still working on my program to store a list of mp3 details from a text file.
    I've been writing a few functions to perform different operations on the stored information, such...
  6. Program is crashing since I added a new function. Where have I gone wrong?? :S

    I've made a program that takes information from a list of mp3s in a text file and stores them into a structure, which is then looked up using an array of pointers.
    Each mp3 has the info: Track No -...
  7. Getting 'LINK : error : Internal error during SetupPhase' when I execute in VisualC++

    I've written a small program that stores information from a list in a .txt file to a structure, which can then be looked up through an array of pointers.
    I finished writing a basic test version of...
  8. Replies
    2
    Views
    1,405

    Is there a limit to the size of 2-D arrays?

    I was hoping to put some data into a large, two-dimensional array

    int array[2319][2319];
    I compile everything and it comes up with 0 errors and 0 warnings, but when I execute the file, it just...
  9. thanks guys, was hoping I could keep all the info...

    thanks guys, was hoping I could keep all the info in one .txt file, but that seems like the sensible thing to do. Gonna look into the algorithms. Had a quick scan through and it looks promising. ...
  10. Advice on storing and recalling information (distances between cities)

    I am writing a program that takes information from a .txt file. On each line of the file are the names of two cities and the distance between them (in miles). I want the user to be able to type in...
  11. ah, wasn't aware of that thanks for the advice!

    ah, wasn't aware of that
    thanks for the advice!
  12. Had a go with strtok. It works great! Just what...

    Had a go with strtok. It works great! Just what I needed
    Thanks again for all your help!!
  13. ah, brilliant! Thanks for your help Vart! sorry,...

    ah, brilliant! Thanks for your help Vart!
    sorry, stupid mistake.
    There's one other thing you might be able to help me with:
    If I have a txt file with a list of names (each line having a persons...
  14. Beginner: Having trouble getting an input from a .txt file into a string

    Hi, wondering if anyone out there can help me with this.
    I'm learning C and having a bit of trouble getting to grips with taking inputs from external files.
    I made a .txt file, test.txt, which...
Results 1 to 14 of 14