Beginners - November 2010 (Page 15)

How to write a generic selection sort?
 
Below is my code template<typename iterator> void selSort(iterator begin, iterator end) { i...
[6 replies] Last: Thanks a lot I study C++ because I need some basis about it before I ... (by stereoMatching)
how can I avoid using map
 
Hi guys. In my code, I use a map to keep a certain class I created" map <vector<short>, Foo *...
[9 replies] Last: If you only need sequential access to the data, why not use a list? Yo... (by m4ster r0shi)
Whats wrong with my calculation??
 
Hi last night i posted a problem, and a few of you guys kindly helped out!! I now have got rid of...
[1 reply] : The Manager class defines 'hours_worked' and 'hourly_rate' which are a... (by coder777)
Functions problem
 
Hey guys, i recently got this assignment and im just at a total loss where to start (too much work l...
[2 replies] Last: void findhighest (double ne, double se, double nw, double sw) { ... (by coder777)
Reference in class, defined when created?
 
I'm having abit of a problem having a reference to a parent classes data member, the trouble is pass...
[2 replies] Last: Well this was a section rather than the entire code, so it does look s... (by Krisando)
Anybody know why this (source files acting odd) happens?
 
I was going to come here for help on a typical C++-related problem (here's a hint: it was about recu...
[2 replies] Last: Thanks. I had an idea it might simply be a Dev-C++ problem. (by Erdrigard)
How to enable with the -std=c++0x when using code blocks?
 
When I trying to test the new feature of C++0X The code blocks always come out this message #...
[2 replies] Last: Thank you very much (by stereoMatching)
Trouble with Friend Functions
 
I'm having some trouble with friend functions. I'm not sure where to put them in the program. Any he...
[4 replies] Last: How do I print the content of the Student object’s private member va... (by golfgirl32)
Another array question - checking for negative values
 
Maybe my brain is just done for the night, but I am having trouble with this simple concept: check t...
[12 replies] Last: Thanks so much! That did it. You were right, I did not need int ... (by zach2123)
Different functions for a salary program, problems.
 
This certain program is needed to calculate how many employees you entered and get their hours to fi...
[no replies]
strings
 
structure will have memory equal to sum of the memory of the members variables in the structure. wha...
[2 replies] Last: Do you need to account for the heap memory allocated by the string? (by PanGalactic)
by fpie22
Need assistance in c++
 
j;;
[18 replies] Last: If you really did have a death in the family, then I genuinely apologi... (by Browni3141)
by mzdr
what wrong here
 
ok im trying to fill an array with numbers this part works but i need to numbers to be in a specific...
[4 replies] Last: Get rid of line 20. Your're while statement currently saying that whil... (by Browni3141)
by Jean55
Searching for a Zip library
 
Hello everybody, I am searching for a easy-to-use library to zip files. My aim is only to zip ...
[3 replies] Last: Thanks. I'm going to try it. (by Jean55)
Arrays
 
I have missed the last week of my Computer Science class with a stomach bug, and as it turns out, i ...
[7 replies] Last: also without arrays you can't iterate through a bunch of variables (li... (by hamsterman)
linkedlist
 
hello, I am having a hard time understand the linkedlist (add,insert,delete) at first or at last....
[6 replies] Last: std::list is a linked list. But a linked list, in general, is simply a... (by filipe)
Arrays of object types
 
in my program a series of classes one for data one for a table, the table class is trying to initial...
[3 replies] Last: Thanks i thought you had to make the manual call or the pointer would ... (by wash me socks)
Why is an adaptor neccesary?
 
Hi Guys ! I don't know why is it necessary to use an adaptor here in this case in order for the p...
[4 replies] Last: Thank you very much, firedraco's answer and the extended explanation b... (by joseplusplus)
i have to write a small program with coordinates, but i stuck.
 
I have to write a program, which asks for points (coordinates), a circle's centre (coordinates) and ...
[6 replies] Last: Thanks, it works now! Another question: i realized, that the first pa... (by sparkthesunoff)
by korbul
Pointer to pointer
 
Hello, I've been Google-ing this around but I couldn't find a straight answer. I have an intri...
[3 replies] Last: You are violating the Principle of Least Knowledge with this sort of a... (by PanGalactic)
November 2010 Pages: 1... 1314151617... 42
  Archived months: [oct2010] [dec2010]

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