Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Organizing a text file

  • 30-11-2004 9:43pm
    #1
    Registered Users, Registered Users 2 Posts: 3,977 ✭✭✭


    Is it possible to write a code for VB that reads a text file of hex values, like 1223A,AD43B,D45C,D43,DAC54,ADCBA4, and organise them in increasing size?


Comments

  • Closed Accounts Posts: 82 ✭✭cyberbob


    sure is


  • Registered Users, Registered Users 2 Posts: 21,264 ✭✭✭✭Hobbes


    Do people in the same class not talk to each other anymore?


  • Registered Users, Registered Users 2 Posts: 3,977 ✭✭✭mp3guy


    i'm not in a class, i'm 16. Is there anyway to do it?


  • Closed Accounts Posts: 82 ✭✭cyberbob


    yeah , do instr to find the commas , and then yer bogstandard hex converting function to convert to numbers (not sure if this is necessary) , write a sorting routine , and print back out to the file


  • Closed Accounts Posts: 17,208 ✭✭✭✭aidan_walsh


    Use what you're been told already about seperating the text, then Google for the bubble sort algorithm.


  • Advertisement
  • Closed Accounts Posts: 82 ✭✭cyberbob


    Use what you're been told already about seperating the text, then Google for the bubble sort algorithm.

    pish , challenge yerself to do it in loglinear time! without googles help


  • Registered Users, Registered Users 2 Posts: 3,977 ✭✭✭mp3guy


    thanks, i'll give it a go


Advertisement