Lounge - May 2009

by helios
Learn from others' mistakes
 
Never use iterators for traversing strings in too tight loops, particularly if you expect them to get quite large. I just found my nice function using iterato...
[16 replies] Last: The overall weakness of this (and the previous) technique is that you... (by helios)
Lex & Yacc
 
Hi Guys, I will have some compiler construction stuff on which I will have to work on in near future. I realize that we need to know Lex & Yacc for that. Do...
[5 replies] Last: Thanks for the reply jsmith. Actually, as per our requirements I will ... (by kevinchkin)
by Disch
Using the console for something other than CLI (1,2)
 
Why do so many newbies want to do this? What is the appeal? Is it just because they were introduced to the console with cout/cin and are too scared to move aw...
[26 replies] Last: http://www.ibabuzz.com/transportation/wp-content/uploads/2007/08/usa_t... (by firedraco)
C++. The thinking man's language?
 
Sometimes (quite often actually), I see C/C++ gets bad press and I read things about Java and C# about how wonderful (and easy) they are compared to C++. Ok...
[7 replies] Last: @helios: yes. [Edit:] answer at: http://www.cplusplus.com/forum/lou... (by tition)
by tition
Commenting code
 
Hi all, Since I am about to share my code soon with some colleagues (I am not a professional programmer, nor are they), I have recently became more comment-c...
[3 replies] Last: hehe you were supposed to ask: And what does it do? And I to a... (by tition)
Badly coded breathalyzer
 
Here's an interesting article about a shoddily coded breathalyzer. http://www.dwi.com/new-jersey/state-v-chun/ Base One did an extensive evaluation, find...
[4 replies] Last: It sounds like they were beta-testing the code at the bar. ;> (by rootboy)
C++ 0x
 
Anyone know any good articles on this? If not could you explain to me what is being added / fixed / taken out?
[2 replies] Last: also: http://www.research.att.com/~bs/C++0xFAQ.html (by closed account z05DSL3A)
by helios
Videos: Course on programming paradigms at Stanford
 
Exactly what it says on the tin. A 17 minutes introduction and 26 ~50 minutes lectures. Several languages are covered, including C, C++, Assembly (which Assembl...
[1 reply] : There are also several other video series presented by MIT, Stanford, ... (by Return 0)
CPU/GPU cross Computing
 
I had an interesting idea, though I'm sure some one more qualified must have attempted it before me. But would it be possible to use both the cpu of a comp...
[5 replies] Last: I think OpenCL is the best in this context (by Denis)
What is it with games programming??
 
Is it the flavour of the month. Does any novice here want to be anything other than a games programmer. What about operating systems, compilers, debuggers ...
[18 replies] Last: @ShawnStovall - Ah yes, I think a lot of that stuff is quite enjoyable... (by Mythios)
Hum de dum de dum. I'm bored.
 
Anyone else finish their Blackjack game? (Anyone wanna see mine? ;-) Where is everyone anyway? ... Player Four: it tand ouble-down? s Player Four...
[6 replies] Last: Heh, you're doing fine. Don't sell yourself short. BTW, I've applie... (by Duthomhas)
Professional Programmers
 
This is more for my own benefit but will hopefully help others to, but how many of you users are professional progammers? By all means don't post if you don'...
[3 replies] Last: Thanks for both your inputs, appreciated. (by mcleano)
How long be expert c++ programmer?
 
I want to be new Bill Gates or Steve jobs or other $_$.What can I do? xD.ok How time study of day? thanks
[14 replies] Last: aye aye captain! (by mcleano)
C++ book?
 
At the moment the only decent c++ book I have found to buy is a book from 2003. I was wondering if c++ has changed to much for that book to be of any use still ...
[4 replies] Last: Accelerated C++ is really good book. It's compact, but teaches you ... (by Tevsky)
Visual C++ Compile Question
 
In Visual C++ does your source file have to be in a project to compile/debug it? I would prefer that you could compile/debug the programs without needing to go ...
[3 replies] Last: You need to use the "Visual Studio Command Prompt" to compile from the... (by helios)
Do you think these forums should have a Game Section?
 
What do you think, it'd be helpful? Or ruin these forums?
[7 replies] Last: Ah, awesome - you would have one then hehe. (by Mythios)
I wanted to reply but...
 
http://www.berserkskill.com/../Untitled.jpg or http://www.yellowlemons.com/upload/getimg.php?img=Untitled_1_.jpg This wasn't photoshopped. EDIT: Ol...
[11 replies] Last: Try editing the first post, you might be able to edit the topic title ... (by firedraco)
by wretch
buzzwords: client side vs. server side,
 
Talking to a head hunter today about my work experience, and they ask whether my experience is front end, back end, or both. Thought is was a rather rude perso...
[1 reply] : Client-side typically means GUI programming experience. Server-side e... (by PanGalactic)
How to shoot yourself in the foot
 
http://www.fullduplex.org/humor/2006/10/how-to-shoot-yourself-in-the-foot-in-any-programming-language/ Hilarious. A lot of the comments are fantastic too. He...
[5 replies] Last: shoot oneself in the foot Verb shoot oneself in the foot 1. ... (by closed account z05DSL3A)
programming to design a vending machine in c++ language
 
my program works as far as asking the user to enter the money and keeping count of the money enter. but once enough money is entered to purchase an item the pro...
[13 replies] Last: disrecharge what i posted im sleeping and i realized what i was doing ... (by long818)
May 2009 Pages: 12
  Archived months: [apr2009] [jun2009]

This is an archived page. To post a new message, go to the current page.