Click here to Skip to main content
16,006,440 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: .Net Pin
Christian Graus12-Apr-02 12:52
protectorChristian Graus12-Apr-02 12:52 
GeneralWriting mpeg file with DirectX Pin
Martin Laporte12-Apr-02 10:08
Martin Laporte12-Apr-02 10:08 
GeneralLoadImage() for NT (Q264347) and RLE compression Pin
12-Apr-02 9:38
suss12-Apr-02 9:38 
GeneralRe: LoadImage() for NT (Q264347) and RLE compression Pin
Christian Graus12-Apr-02 12:52
protectorChristian Graus12-Apr-02 12:52 
GeneralDemo Program Help Pin
ed112-Apr-02 9:35
ed112-Apr-02 9:35 
GeneralRe: Demo Program Help Pin
Christian Graus12-Apr-02 13:09
protectorChristian Graus12-Apr-02 13:09 
GeneralRe: Demo Program Help Pin
ed115-Apr-02 3:18
ed115-Apr-02 3:18 
GeneralRe: Demo Program Help Pin
Christian Graus15-Apr-02 10:30
protectorChristian Graus15-Apr-02 10:30 
In the STL section. Smile | :)

I tried this yesterday with no success, but hopefully here is a link to my vector article, which is at http://www.codeproject.com/vcpp/stl/STL101.asp (just in case it didn't work again ).

ed1 wrote:
Which is better for intensive number crunching? (Vectors or Carray)

Vector, only because the STL comes with a ton of algorithms, which have been written to be as optimised as possible.

ed1 wrote:
Can a vector hold a custom structure?

Absolutely, but you'll need to read my article on function objects to see how to use custom objects with the algorithms. Of course CArray has no algorithms at all, so it's hardly a bad thing, in fact you'll find it amazingly powerful.


Christian

The tragedy of cyberspace - that so much can travel so far, and yet mean so little.

"I'm somewhat suspicious of STL though. My (test,experimental) program worked first time. Whats that all about??!?!
- Jon Hulatt, 22/3/2002
GeneralWhats the deal with IDispatch? - give us a clue!!! Pin
12-Apr-02 8:54
suss12-Apr-02 8:54 
GeneralRe: Whats the deal with IDispatch? - give us a clue!!! Pin
Le centriste12-Apr-02 9:15
Le centriste12-Apr-02 9:15 
GeneralRe: Whats the deal with IDispatch? - give us a clue!!! Pin
12-Apr-02 9:40
suss12-Apr-02 9:40 
GeneralRe: Whats the deal with IDispatch? - give us a clue!!! Pin
Gerald Schwab12-Apr-02 9:42
Gerald Schwab12-Apr-02 9:42 
GeneralRe: Whats the deal with IDispatch? - give us a clue!!! Pin
12-Apr-02 9:51
suss12-Apr-02 9:51 
GeneralRe: Whats the deal with IDispatch? - give us a clue!!! Pin
Gerald Schwab12-Apr-02 9:48
Gerald Schwab12-Apr-02 9:48 
GeneralRe: Whats the deal with IDispatch? - give us a clue!!! Pin
Gerald Schwab12-Apr-02 9:50
Gerald Schwab12-Apr-02 9:50 
GeneralRe: Whats the deal with IDispatch? - give us a clue!!! Pin
12-Apr-02 10:04
suss12-Apr-02 10:04 
GeneralRe: Whats the deal with IDispatch? - give us a clue!!! Pin
12-Apr-02 10:06
suss12-Apr-02 10:06 
GeneralRe: Whats the deal with IDispatch? - give us a clue!!! Pin
Gerald Schwab12-Apr-02 10:05
Gerald Schwab12-Apr-02 10:05 
GeneralRe: Whats the deal with IDispatch? - give us a clue!!! Pin
12-Apr-02 10:15
suss12-Apr-02 10:15 
GeneralRe: Whats the deal with IDispatch? - give us a clue!!! Pin
Gerald Schwab12-Apr-02 10:38
Gerald Schwab12-Apr-02 10:38 
GeneralRe: Whats the deal with IDispatch? - give us a clue!!! Pin
12-Apr-02 10:42
suss12-Apr-02 10:42 
GeneralFormatting Rebar Pin
funbag12-Apr-02 8:36
funbag12-Apr-02 8:36 
GeneralRe: Formatting Rebar Pin
Andres Manggini12-Apr-02 9:19
Andres Manggini12-Apr-02 9:19 
GeneralProperty Sheet Wizard Questions Pin
moobob12-Apr-02 8:27
moobob12-Apr-02 8:27 
GeneralChanging focus to control Pin
Hans Ruck12-Apr-02 8:12
Hans Ruck12-Apr-02 8:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.