-
Replied To a Post in Play MP4 files with TMediaPlayer in D2007
The TMediaPlayer component should be able to play with any codec installed on your computer. Can you play the file normally using Windows Media Player from Explorer? -
Replied To a Post in speed of file copy
His question is why the rewritten stuff on Windows 7 works so much faster than what he had been using. @OP: You state that you are using `CopyFileEx()` (a Win … -
Replied To a Post in Standard library
I notice you are spamming the forum with a lot of questions that you could easily get the answer to by simply reading [the documentation](http://en.cppreference.com/w/) or simple searches on Google. … -
Replied To a Post in C Preprocessor directives
There is no exhaustive list, because each compiler system + OS has their own. There are common, standard ones, though. [Here's the GNU CPP's documentation.](https://gcc.gnu.org/onlinedocs/cpp/Index-of-Directives.html#Index-of-Directives) Hope this helps. -
Replied To a Post in Depth of a tree (not necessarily a binary tree)
Why are you subtracting 1 on line 11? -
Replied To a Post in graphics.h problem in dev c++ version 4.9.9.2
Plenty of people still program with ancient, pre-standard compilers, particularly in places like India. Also, there does exist the [WinBGIm port](http://winbgim.codecutter.org/) for MinGW, so old BGI code certainly can and … -
Replied To a Post in [win32] - how build menu shortcuts?
No. All (normal) messages go to a window event handler. The functions you write to handle events can, of course, be as window agnostic as you like. -
Replied To a Post in Can SomeBody Help me to Correct this QuickSort Code. I think mistake is in
Quicksort over a non-random access sequence is, I admit, tricky. -
Replied To a Post in Can SomeBody Help me to Correct this QuickSort Code. I think mistake is in
Why is everyone trying to quicksort a linked list? -
Replied To a Post in sorting string array
I hesitate to link to another site for your answer, but your question about how to use `qsort()` is entirely answered in the FAQ [here](http://www.cplusplus.com/faq/sequences/sequencing/sort-stuff/#c). It explains how `qsort()` works … -
Replied To a Post in Display Rows continuously from start to bottom
You are not being *specific* -- your question is very *vague*. So far as I can tell, you want to display 1000 things in 20 slots, but without any way … -
Replied To a Post in weird theme problem with my app on windows 7 64
I wish I could say. Richedit does have some random issues. 1) Make sure you are linking to the most current RichEdit DLL (4.1). 2) Make sure your window with … -
Replied To a Post in which one is faster?
Is there something left out about the format of the data you are searching? There is no way to search *random* data faster than O(n). However, if your data were … -
Replied To a Post in Display Rows continuously from start to bottom
I'm confused. Are you talking about a circular buffer? -
Replied To a Post in Finding command line width in Linux
stty is not the best option for this. You should first look to see if the environment variable $COLUMNS exists. It is most likely to be correct. Failing that, use … -
Replied To a Post in sorting linked list alphabitecally
*You* go try to use `std::sort` with `std::list` first. And this is a very obvious homework problem, either from an actual school or from a book. -
Replied To a Post in sorting linked list alphabitecally
Neither `std::sort()` nor quicksort are appropriate for sorting a linked list. Further, homeworks typically expect you to do the sorting yourself. -
Replied To a Post in Can I override the static functions?
To be clear, *no*, you *cannot* override static methods. (You can *overload* them, though.) The reason is simple: a static method cannot appear in a class's virtual function table, so … -
Replied To a Post in C++ file handling help
That code is wrong in a number of subtle and dangerous ways. But what it is trying to do is write the binary value of a 'PasswordGenerator' object to file. … -
Replied To a Post in Display picture in console
Using a library and decoding an image yourself are two totally different things. The OP cannot change his compiler's environment, but there is never any restriction on the files you … -
Replied To a Post in sorting linked list alphabitecally
What you've got seems to introduce but not use 't', and has a bug on line 16 (when temp->next is NULL). Also, you are endeavoring to do two things at … -
Created Reference for AGE of items in Delphi
Hey all. I'm always frustrated that I cannot seem to find a reference that shows when a feature was *introduced* in Delphi. For example, to use ErrOutput, I have to … -
Replied To a Post in Need a debugger for Lazarus on Mac, gdb not found
Apple is putting a lot of effort into LLVM. Unfortunately, the LLVM debugger doesn't work with FPC (yet, AFAIK). You'll either have to get an old copy of the GDB …