Bounda Posted October 30, 2006 Share Posted October 30, 2006 Alright, this may be confusing but ill try to explain: Ive created a program that reads from lines of a txt file, and converts them into an INI file. There are bound to be MANY duplicates of something in the ini, and i want to display the ini in a GUI list. Instead of showing an item 4 times in the list, i want it to say Item x 4, how do i do this?? CS:S Aimbot - List From INI Funcs Link to comment Share on other sites More sharing options...
jvanegmond Posted October 30, 2006 Share Posted October 30, 2006 Alright, this may be confusing but ill try to explain:Ive created a program that reads from lines of a txt file, and converts them into an INI file. There are bound to be MANY duplicates of something in the ini, and i want to display the ini in a GUI list. Instead of showing an item 4 times in the list, i want it to say Item x 4, how do i do this??Read all the ini values to a array. Check every item in that array against every other item. If the items match, delete one of the items and add a number behind one of the values. Then put that new array into the GUI. github.com/jvanegmond Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now