- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
6 Posted Topics
Re: Do you know anything about data structures, because this sounds like homework to me. Anyway I'm not giving you code because of the last statement but I will help you understand what you have to do. You're going to want to put all the numbers in vector, then you are … | |
I am having some problems finding a good example of a program that runs as a system tray icon, does anyone have one or know where to find a good one with a well readable source code file that I can look at? And I would prefer it to be … | |
I found Ancient Dragon's code snippet for reading the files in a folder. I modified it a little because I want it to display what those files are. The problem is, it also displays the two parent directories, '.' and '..'. I was wondering if there was a way to … | |
Re: I got this code to work how I wanted to, and I was wondering if there was a way to get rid of the parent directory displays '.' and '..'. [code]int seekdir(vector<LIST>& mylist,vector<string> &file, string path) { DIR* dir = opendir(path.c_str()); vector<string> lst; struct dirent *d; if(dir == 0) { … | |
Re: what you could do is save each number into a file, then read that file line by line into a bubble sorter. Then when the program is done the first value in the file would be your highest number and the last number would be your lowest number. | |
I am trying to modify a program to read in a file that will then output it to a new file without all the whitespace in between the data. This is so I can convert it to a csv file and read it into paraview to make a visualization of … |
The End.