General C++ Programming - January 2011 (Page 19)

First character not being printed?
 
Hi everyone, I'm writing a project for college that requires us to translate an input file (read dir...
[12 replies] Last: In C++ that's <cstring>. (by filipe)
by Whorse
Access Violation Reading Error
 
...
[17 replies] Last: Can you show what you've changed? (by kbw)
by Whorse
Self contained double ended linked list.
 
Good evening everyone, I've recently been issued a challenge. I've got a brief to write a self conta...
[17 replies] Last: It is very useful in the scenario where you want to learn something. (by hamsterman)
std::tr1::shared_ptr equivalent in MS VC6
 
Hi Guys, In VS2010 C++ I can use std::tr1::shared_ptr all well and fine. However, in MS VC6 this ...
[3 replies] Last: +1 for moorecm's question Have you tried actually constructing the ... (by simeonz)
graphics
 
can any one help me to tell me the use of getmaxx() and rand () functions in graphics turbo c++ ...
[7 replies] Last: it is really a problem that some universities still use turbo c++.but ... (by lovelyhakeem)
What's wrong with this code?
 
class LongitudeLatitude : public std::pair<double,double> { public: static const double earthRad...
[1 reply] : double isn't an integral type. You must initialise earthRadius outsid... (by kbw)
by Whorse
Passing a constructor into a function.
 
Good evening everyone. I have an assignment I'm working on at the moment that is causing some troubl...
[2 replies] Last: u can do it like : node->Push(new ListNode("Sample")); (by agvarun)
Dejhnb.m
 
qsasa
[8 replies] Last: Don't worry sometimes you have to take a step back. Add breakpoints... (by budman85)
Simplification
 
Greetings all! I think I am in a rather big pickle. I am trying to reengineer some old C code in...
[4 replies] Last: kbw...Right now I'm running on MSVS2005, but I'm going to be going to ... (by godsgood33)
my code malfunction if i add this part to it why?
 
Hi all i have this code that i wrote and if i include this particular part it just doesnt read the n...
[2 replies] Last: Hi Shredded, Thanks a bunch! it worked : ) Regards, Desmond (by desmondli)
What operator is better (*) or (&) opeartors applied to a function argument?
 
a)void Fx(int* I) {++*I;} void main() {int I; Fx(&I);} b)void Fy(int& I) {++I;} ...
[6 replies] Last: Here's an example of funtions with optional parameters: Windows Platf... (by kbw)
Mscvp100.dll automatic installation
 
I need Mscvp100.dll to be able to run a program. I know it's because Microsoft Visual C++ 2010 Redis...
[3 replies] Last: Or just.. http://cplusplus.com/forum/windows/33979/#msg183084 ... (by blackcoder41)
vector.push_back corrupts referenced object???
 
Hi all! New here in the forums, hope someone might be able to help with this. Im working on a small...
[5 replies] Last: Reserve increases the size of the vector's internal memory, which may ... (by firedraco)
Saving and reading from a file
 
Hello, Im trying to setup a sort of accounts system for a bank and im trying to save customers da...
[3 replies] Last: You can use a tab character instead of space "\t" cin will work wi... (by budman85)
Inline Virtual Functions
 
Hi just a quick question about inlining virtual functions. Say i have a class hierarchy like so: ...
[5 replies] Last: Ok thanks for your help I think that's cleared things up for me. (by slicedpan)
why we need dynamic_cast
 
Hi, I got some understanding about dynamic_cast but could anyone provide me any pratcial scenario w...
[2 replies] Last: dymamic_cast allows for a typesafe downcast . Consider these class... (by kbw)
cout << "hello"; vs cout.operator<<("hello");
 
The former displays hello while the latter displays an address. Could someone help me understand ...
[3 replies] Last: Yep http://www.cplusplus.com/reference/iostream/ostream/operator%3C%3C... (by ne555)
Need <tr1/tuple> free download
 
Hi, I need to download <tr1/tuple>, but I can't find it anywhere online. Help. Thanks, Mike
[1 reply] : Try the Boost Tuple library. That's what the TR1 standard is based on... (by PanGalactic)
C++0x
 
I know its coming in 2011, but what if any features that are useful to a c++ programmer available al...
[1 reply] : SCOPED ENUMS, BROSEF :-) (by Kiana)
create a small os (educational)
 
opengl library can be used for gui of my educational os?
[7 replies] Last: And how much experience do you have? (by king214)
January 2011 Pages: 1... 1718192021... 24
  Archived months: [dec2010] [feb2011]

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