General C++ Programming - June 2009 (Page 8)

by BrianM
Removing integers from another player
 
Ok, so this code here works and runs fine. The only thing is that I am trying to figure out a way t...
[7 replies] Last: It is a function prototype. You need to write the body. (by Duthomhas)
vectors and inheritance in C++
 
Hi, I was trying to use inheritance to make the existing std::vector to a two dimensional vector.He...
[4 replies] Last: sorry! It was a typo. (by sulthana)
constructor and destructor not called
 
hello everybody I have a piece of code where I create an object with the default constructor, but...
[4 replies] Last: now why would the compiler think I would declare a function inside an... (by Disch)
Free professional C++ source code.. (1,2)
 
Hello folks, I am rather new to C++. I tried to read several books and learn by doing but I don't kn...
[34 replies] Last: I am a person who creates some C++ programs only for fun. Even if are ... (by Nobun)
Seg Fault using overloaded new operator.
 
Could someone please explain why i get a seg fault at the place indicated below. Thanks. #inc...
[4 replies] Last: Actually, the code is wrong. Base* poBase = new Derv ; This is a... (by closed account S6k9GNh0)
releaseing allocated memory on exit
 
Hi everybody, I am writing a scientific program with lots of math calculations in linux. I use e...
[13 replies] Last: kbw, thanks.... I'll try to follow the first strategy. (by ro milano)
Running a Program for a Really Long Time and Using time.h
 
I'm trying to figure out what would happen if my program was left running for a long time. At th...
[3 replies] Last: 3 is the man pages section where clock() appears, not a parameter for ... (by helios)
Attention for project plz
 
My all dear Friends: I am making a project in Visual C++. From my side i have done this very accur...
[6 replies] Last: Thanks all of you people you tried to solve my problem and now its... (by gmghulamabbas)
by Disch
nested templates: legal?
 
I'm trying to have a templated function inside a template class. Example: template <typename ...
[9 replies] Last: Perhaps your compiler is a bit outdated? Alright that's what I fi... (by Disch)
Read all lines
 
How can this code: #include <iostream> #include <fstream> #include <string> #include <cstdlib> ...
[4 replies] Last: Where does that go? (by jbrooksuk)
Can u solve this probleml plss ??
 
C++ Relating Questions 1. Lottery Winners: A lottery ticket buyer purchases 10 tickets a week, alwa...
[1 reply] : http://en.wikipedia.org/wiki/Linear_search http://en.wikipedia.org/wi... (by helios)
by ishwa
cinema seat reservation
 
hi can someone please help me to make a c++ source code about cinema seat reservation (50 seats only...
[no replies]
c++ equation
 
hi guys i'd like some help with transforming this equation to a c++ code please help me x=1...
[4 replies] Last: ln(x)==log(x) as far as the cmath library is concerned. The decimal ... (by tition)
by pccX
C++ book
 
I'm looking for a good C++ book that is: - Not too difficult - Easy examples - Self-contai...
[10 replies] Last: Sorry for the small bump of this thread, but how about learncpp.com? I... (by Bv202)
float/double to string
 
How do I convert float and double variables into null-terminated strings (without string stream, if ...
[7 replies] Last: It depends on the floating-point number format. For IEEE, converting f... (by Duthomhas)
by ishii
Please Check the Code and he1pme
 
Kindly Check the Code Given Below and add comments where necessary and also Use of Hungarian Notati...
[1 reply] : #include <iostream> #include <fstream> #include <string> using n... (by closed account S6k9GNh0)
Changing window size with WinAPI
 
How do I change the window size with WinAPI? Do I have to destroy the window and recreate it with ne...
[2 replies] Last: Yes. Thanks :) (by Tom Backton)
GetProfilesDirectory()
 
Anyone here has had any experience with the aforementioned function included inside Userenv.h? ...
[3 replies] Last: Indeed, am using VC2005 ! Thanks~!!! (by Alexandro)
error: incomplete type is not allowed
 
Hi, I'm having a continual problem of wanting to make two classes refer to each other. I keep get...
[11 replies] Last: Dear All You Helpful People, Thank you all very much for some extre... (by smcguffee)
Get Text From Other-Forms TextBox
 
Hey dudes! :) I need help with retrieving text from a texbbox...it's not in my 'own' form i want...
[2 replies] Last: HI! :) thanks for your respond but I'm serious dude :D i've rea... (by TheMapf)
June 2009 Pages: 1... 678910... 13
  Archived months: [may2009] [jul2009]

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