Click here to Skip to main content
16,004,882 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Problem with Adding a vector to my program Pin
Christian Graus27-Nov-02 10:12
protectorChristian Graus27-Nov-02 10:12 
GeneralRe: Problem with Adding a vector to my program Pin
Chris Losinger27-Nov-02 10:29
professionalChris Losinger27-Nov-02 10:29 
GeneralRe: Problem with Adding a vector to my program Pin
Christian Graus27-Nov-02 10:37
protectorChristian Graus27-Nov-02 10:37 
GeneralRe: Problem with Adding a vector to my program Pin
Chris Losinger27-Nov-02 10:45
professionalChris Losinger27-Nov-02 10:45 
GeneralRe: Problem with Adding a vector to my program Pin
Christian Graus27-Nov-02 10:48
protectorChristian Graus27-Nov-02 10:48 
GeneralRe: Problem with Adding a vector to my program Pin
Chris Losinger27-Nov-02 10:51
professionalChris Losinger27-Nov-02 10:51 
GeneralRe: Problem with Adding a vector to my program Pin
Rickard Andersson2027-Nov-02 10:57
Rickard Andersson2027-Nov-02 10:57 
GeneralRe: Problem with Adding a vector to my program Pin
Christian Graus27-Nov-02 11:54
protectorChristian Graus27-Nov-02 11:54 
Rickard Andersson wrote:
while(1){ // do something}

I'd regard this as a bad idea. Why not while (whatever condition you end up breaking on), or a do...while if you want to make sure it runs once ?

But you're right, it's generally good to treat warnings as errors, which is why using namespace... should not be a warning, there are places where it is useful. The whole basis of C++ is to provide the constructs that you may one day need, and not to confine you to what the impliments think is a good idea. That's one reason it is so powerful.


Christian

No offense, but I don't really want to encourage the creation of another VB developer. - Larry Antram 22 Oct 2002

Hey, at least Logo had, at it's inception, a mechanical turtle. VB has always lacked even that... - Shog9 04-09-2002

Again, you can screw up a C/C++ program just as easily as a VB program. OK, maybe not as easily, but it's certainly doable. - Jamie Nordmeyer - 15-Nov-2002
GeneralRe: Problem with Adding a vector to my program Pin
Rickard Andersson2028-Nov-02 3:31
Rickard Andersson2028-Nov-02 3:31 
GeneralRe: Problem with Adding a vector to my program Pin
Alvaro Mendez27-Nov-02 12:23
Alvaro Mendez27-Nov-02 12:23 
QuestionMSChart.ocx Axis Scaling at runtime ? Pin
Koep27-Nov-02 6:34
Koep27-Nov-02 6:34 
GeneralCControlBar ranting... Pin
Maximilien27-Nov-02 5:34
Maximilien27-Nov-02 5:34 
GeneralRe: CControlBar ranting... Pin
Shog927-Nov-02 5:50
sitebuilderShog927-Nov-02 5:50 
GeneralGDI Question Pin
Selevercin27-Nov-02 5:15
Selevercin27-Nov-02 5:15 
GeneralRe: GDI Question Pin
techno_guru27-Nov-02 5:36
techno_guru27-Nov-02 5:36 
GeneralRe: GDI Question Pin
Rick York27-Nov-02 5:55
mveRick York27-Nov-02 5:55 
GeneralRe: GDI Question Pin
Selevercin27-Nov-02 6:32
Selevercin27-Nov-02 6:32 
GeneralRe: GDI Question Pin
Rage27-Nov-02 20:39
professionalRage27-Nov-02 20:39 
QuestionHow do I access the View Pin
NickOne27-Nov-02 4:47
NickOne27-Nov-02 4:47 
GeneralPb with modeless Dialog in VS Add-in Pin
cnaudeau27-Nov-02 4:26
cnaudeau27-Nov-02 4:26 
GeneralEnable EditMenu for RichEdit Pin
Joerg Wiedenmann27-Nov-02 2:40
Joerg Wiedenmann27-Nov-02 2:40 
GeneralAbout Ole DB Pin
deffer27-Nov-02 1:50
deffer27-Nov-02 1:50 
QuestionHow can I do “text wrapping” for a text in a button control Pin
Hamzeh27-Nov-02 1:07
Hamzeh27-Nov-02 1:07 
AnswerRe: How can I do “text wrapping” for a text in a button control Pin
Jason Henderson27-Nov-02 3:11
Jason Henderson27-Nov-02 3:11 
AnswerRe: How can I do “text wrapping” for a text in a button control Pin
Roger Stewart27-Nov-02 3:24
professionalRoger Stewart27-Nov-02 3:24 

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.