General C++ Programming - October 2009 (Page 17)

by Bv202
Visual Studio error
 
Hey, I don't know if this is the correct forum, but I don't know where else to ask it. Anyway, I've now got Visual Studio 2008 professional. It installed ...
[4 replies] Last: Thank you, I'll ask there. (by Bv202)
why the compiler say can not overloa an operator
 
in the definitions class I have .h file TwoD operator =( const TwoD &r ) { return ( *this = r); } IN THE PRIVATE SETION ...
[3 replies] Last: one of the instances looks is infinitely recursive.. Fixed...... (by firedraco)
New - With Constructors
 
I have been usually programming in C, so as usual used malloc/calloc in C++ for allocating memory for classes. I was in for a nice surprise that the contructo...
[2 replies] Last: Thanks, I will try it right away. Default constructor is enough for me... (by luckycusp)
List Iterators question
 
Ok I have a list(let's call it list1) and I would like to mark an element in list1. What I'm doing right now is getting an iterator that marks a position in ...
[2 replies] Last: Yes, you are guaranteed that by STL for the list<> container. In gene... (by jsmith)
Stuck on C++ Project
 
First...this is a basic C++ class for Electrical Engineers. The project states, generate a set of random numbers, seperate them into categories (i.e. 1-20 and ...
[3 replies] Last: First...this is a basic C++ class for Electrical Engineers. The proje... (by buffbill)
by wtf
Windows compatability...
 
How can I know if the programs I write with codeblocks will be compatable with which versions of windows without actually having access to those versions to tes...
[3 replies] Last: <> instructs the preprocessor to look for the file in user-defined dir... (by helios)
HashTable
 
NULL, SOLVED
[6 replies] Last: It doesn't matter, they both are basically the same (complexity wise a... (by firedraco)
Can't concatenate more than one char into a string at a time?
 
Hey all, So I've got this basic question. I have these 5 chars with a single value assigned to each. I would like to take those 5 chars and stick them into a...
[2 replies] Last: Genius. Thanks a lot Bazzy! Works perfectly. (by datta016)
Optimal algorithm for a splitting problem
 
Hello everybody! My problem is this: I have a unit and lot of parts. All parts have a price. These parts create a unit, but lot of way can be exist to cre...
[no replies]
by Alan
Fun program ideas?
 
I feel like making a fun program, autonoma, game, or anything else... I have no ideas on what to do. Im an 'advanced' programmer... I'll try any ideas or fu...
[13 replies] Last: these are all fantastic ideas thank you all! im gonna try to do a spor... (by Alan)
Program Restart
 
I have Program Which is written in C++ . It is peogram which need to be restarted when network connection is lost ... I have made program code which is ping...
[1 reply] : Make a loop so that you can jump back to the beginning of the program ... (by Bazzy)
Strcmp program freezing
 
Hey yall... My program just freezes up after I enter my input.txt file. I emailed it to my professor and he said it worked fine for him. Ive compiled ...
[2 replies] Last: Have you checked what the values for name and data on reading the fi... (by kbw)
Templates, pointers, syntax issues...
 
As usual, I have lots of questions. But you can't blame me: if the C++ tutorial answered them (and I think it should, but I don't complain because the tutorial ...
[13 replies] Last: 11. http://www.cplusplus.com/reference/clibrary/cmath/modf/ (by helios)
by etrinh
passing an array as a nontype template parameter
 
Hi, I want to know if there is way to pass a compile time constant array as a template parameter. The purpose for that is to take benefits of optimisation w...
[3 replies] Last: You might want to look at the boost::mpl library (www.boost.org). It ... (by jsmith)
ASCII (sorry its not C++)
 
Ok, so i was looking up information about ASCII cause I had absolutely no clue about what and why and I came upon an article talking about the 4chan google spam...
[1 reply] : That's Unicode, not ASCII. U+5350. It's the Chinese character 卐. (by helios)
Function call
 
Thx in advance
[5 replies] Last: Is void IBMCameraManager::EventsCallback (PCAMINSTANCE_EVENT pCamInst... (by turbozedd)
October 2009 Pages: 1... 151617
  Archived months: [sep2009] [nov2009]

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