Got it.
Type: Posts; User: Kanshu
Got it.
Double oops.
Oops. I forgot to save it first.
Actually, I posted this already at the sticky post about recommended books. But it may be better bringing this to everybody's attention. (And I want to see if the link now appears on my signature.)
Hmm. I should study this algorithm. Good thing it's finally fixed.
And this one also.
Rated the books? No. I just needed to keep track of my downloads so I haven't read them yet. But now, I'm starting to read them and pick the best.
Well, for the kind of applications I'm developing (not in C/C++), I probably don't need a lot of speed because me and my target users won't notice the difference in fractions of a second.
However,...
Actually, I don't know about the "inline" keyword so I have no preference. I just copied the code straight from the O'Reilly CHM and pasted it on my compiler. It worked fine at first because all the...
These are the three files. I removed the implementation in the stackk.cpp, but both main.cpp and stackk.h contain all those lines.
// File: main.cpp
//---------------------------
#include...
And same folder.
Yup. Same project.
Although my intention is to build a library of classes, naturally at this stage in the design process, I won't be creating the static library yet. I'll be opening/editing/compiling both main source...
Like I said, I already did these things, but I'm getting a linker error - a linker error - undefined reference to MyClass::init() from my compiler Dev-C++. I put the
class MyClass { ... };
inside...
I don't know if anybody here is aware of librarything.com, but you can list all your books there. Although, the free account limits your library to 200 titles.
This is my library of C/C++/C#...
How is a C++ class packaged? I want to build a library of classes that I can reuse. The class definition I'm guessing goes to a header file. I suppose the class implementation (i.e., methods, etc. )...
Do you mean to say that one source file and two working files are enough to implement the algorithm? (From the looks of it, he is using the source file as a working file also.)
I'm skeptical, but...
I've read about the merge sort algorithm at wikipedia.org:
Merge sort - Wikipedia, the free encyclopedia
I wanted to confirm that the algorithm uses recursion. It does. So, now I'm wondering...
Hmm. Let me restate that. The myfile.read() did not trigger the myfile.eof() condition for the last record.
I ran your program to see the contents of the file and discovered that using !myfile.eof() will read the last record twice. So, if you are using this condition during the merge, it will most likely...
Some refinement needed. It's not skipping some text files.
I did it. Thanks a million guys. By the way, it's not a C++ program. I had to be less ambitious regarding my programming abilities. Anyway, now that I have a working program, maybe I can get help...
I know about dir > list.txt. That's how I populated my Excel file before. The problem comes in when you want to insert newer entries. It's not a straightforward process.
Anyway, the spreadsheet...
Chess is just one category of ebooks I download. I already went past the 2,000 mark for the others months ago. All in all, I probably have 30GB of ebooks already.
Anyway, adding entries to some...
I already tried using Excel last year to catalog hundreds of chess ebooks I downloaded. It was too much work and the problem of updating the list is a problem.
whiteflags: I think the FAQ link has the necessary codes I need to create the utility program. Thanks.
phantomotap: Actually, I already wrote a Visual Foxpro program to do this. It just have that...