Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: gjw1684
  • Content: Threads
  • Order by date
  1. gjw1684

    Heapsort Algorithm

    Good evening, I'm currently writing a program that uses the heapsort algorithm to sort a very large two-dimensional array. However, I'm having problems with the program. What I'm attempting to do is to sort the second column of a two dimensional array. So for instance, suppose that I sort this...
  2. gjw1684

    A Sorting Algorithm

    Hi, I have a question regarding use of a sorting algorithm. Suppose I have a file as follows: 103 32 329 45 340 24 334 43 452 40 What I would like to do is sort each row in ascending order based on the second column value. So if I wanted to sort this, I would have 340 24 103 32 452 40 334 43...
  3. gjw1684

    Creating a Random Number Generator

    Good Afternoon, I would like to know if there is a standard procedure to create a random number generator. In my program, I have a text file that looks something like this: 10012.3 343 23 193 EP 32 49 PO 32 ... ... ... where this has at most 20 columns and an indefinite number of rows. What I...
  4. gjw1684

    Reading a Text File

    Good afternoon, I have a question regarding reading from a text file. Suppose that I have a text file that looks like: 10003 343 0.04 1213 ES1(10-1) 3454 34 10024 342 0.93 1212 ES2(9-2) 3452 34 245 34 10032 331 1.44 1880 MT1(7-6) 2323 21 354 111 345 ... ... ... This text file can go up to...

Part and Inventory Search

Back
Top