Click here to Skip to main content
15,898,900 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Problem with reading big amount of numbers from file Pin
David Crow13-Apr-10 10:16
David Crow13-Apr-10 10:16 
GeneralRe: Problem with reading big amount of numbers from file Pin
vonpik16-Apr-10 3:43
vonpik16-Apr-10 3:43 
GeneralRe: Problem with reading big amount of numbers from file Pin
David Crow16-Apr-10 4:41
David Crow16-Apr-10 4:41 
Rant(*&#@*!^ Templates PinPopular
Tim Craig9-Apr-10 20:40
Tim Craig9-Apr-10 20:40 
GeneralWelcome Pin
CPallini10-Apr-10 4:43
mveCPallini10-Apr-10 4:43 
GeneralRe: Welcome Pin
Tim Craig10-Apr-10 21:30
Tim Craig10-Apr-10 21:30 
GeneralRe: (*&#@*!^ Templates Pin
Gary R. Wheeler11-Apr-10 1:31
Gary R. Wheeler11-Apr-10 1:31 
GeneralRe: (*&#@*!^ Templates Pin
Tim Craig11-Apr-10 9:36
Tim Craig11-Apr-10 9:36 
Gary R. Wheeler wrote:
Implementing them to the standard is just so freaking complicated that compiler designers don't seem to be able to issue decent diagnostics for them. The point at which they detect problems is so far removed from the original source that they can't associate the two.


I think that's a big reason I sat on the bench about them for so long. When I played with them in the past, I didn't really need them so it was more of an academic exercise. Then I just got frustrated with them and bagged it. I'm using VC++ 20008 now and it doesn't choke as much but diagnostics aren't much better.

Gary R. Wheeler wrote:
My main source of never-ending grief is ">>" versus ">{space}>".


I got bit on that one early and now, if I'm on my game, remember to look for it. Part of the whole finicky somewhat arcane notation which has to be just so or you're scratching your head again about compiler errors. Sniff | :^)

Gary R. Wheeler wrote:
Most of the Boost libraries do not like to be mixed with other libraries such as MFC or ATL.


Gary R. Wheeler wrote:
I would imagine Boost requires that your wxWidget objects have certain Boost-specified characteristics, and they don't. You might need to encapsulate them in your own objects for serialization purposes.


Yes, ran into that one but fortunately so far I'm only serializing two, wxColor and wxString. I first tried deriving serializable classes from them but ran into problems. Now I just have a data container to shadow wxColor and create an instance to do the serialization at the point it's needed. For wxString, I convert it to an std::string and go from there. I'm sure as time goes on, I'll be building up the repetoire but that's a bridge that can be double crossed later. On top of that, I'm using OpenCV, too, with its own set of simple primitives but since it's a C API, it will be a bit easier as the data is public for most of it.
You measure democracy by the freedom it gives its dissidents, not the freedom it gives its assimilated conformists.

QuestionProblem in AT+CSCA command in AT commands. Pin
Le@rner9-Apr-10 19:29
Le@rner9-Apr-10 19:29 
Questionhow to implement three indepedent random number generators in the same subroutine/function Pin
mrby1239-Apr-10 17:34
mrby1239-Apr-10 17:34 
AnswerRe: how to implement three indepedent random number generators in the same subroutine/function Pin
Adam Roderick J9-Apr-10 18:09
Adam Roderick J9-Apr-10 18:09 
GeneralRe: how to implement three indepedent random number generators in the same subroutine/function Pin
mrby1239-Apr-10 18:25
mrby1239-Apr-10 18:25 
GeneralRe: how to implement three indepedent random number generators in the same subroutine/function Pin
Adam Roderick J9-Apr-10 19:23
Adam Roderick J9-Apr-10 19:23 
GeneralRe: how to implement three indepedent random number generators in the same subroutine/function [modified] Pin
mrby1239-Apr-10 19:40
mrby1239-Apr-10 19:40 
GeneralRe: how to implement three indepedent random number generators in the same subroutine/function Pin
mrby12310-Apr-10 19:34
mrby12310-Apr-10 19:34 
GeneralRe: how to implement three indepedent random number generators in the same subroutine/function Pin
Adam Roderick J10-Apr-10 20:52
Adam Roderick J10-Apr-10 20:52 
GeneralRe: how to implement three indepedent random number generators in the same subroutine/function Pin
mrby12314-Apr-10 7:21
mrby12314-Apr-10 7:21 
GeneralRe: how to implement three indepedent random number generators in the same subroutine/function Pin
mrby12314-Apr-10 7:20
mrby12314-Apr-10 7:20 
Questionpost mouse move, wheel, RClick messages, (captured by CView) to the started thread Pin
m_code9-Apr-10 11:46
m_code9-Apr-10 11:46 
AnswerRe: post mouse move, wheel, RClick messages, (captured by CView) to the started thread Pin
Adam Roderick J9-Apr-10 18:11
Adam Roderick J9-Apr-10 18:11 
GeneralRe: post mouse move, wheel, RClick messages, (captured by CView) to the started thread Pin
m_code9-Apr-10 18:43
m_code9-Apr-10 18:43 
GeneralRe: post mouse move, wheel, RClick messages, (captured by CView) to the started thread Pin
Adam Roderick J9-Apr-10 19:12
Adam Roderick J9-Apr-10 19:12 
QuestionC++ class hierarchy design problem Pin
kylur9-Apr-10 9:00
kylur9-Apr-10 9:00 
AnswerRe: C++ class hierarchy design problem Pin
Jonathan Davies9-Apr-10 10:28
Jonathan Davies9-Apr-10 10:28 
GeneralRe: C++ class hierarchy design problem Pin
kylur12-Apr-10 9:47
kylur12-Apr-10 9:47 

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.