General C++ Programming - October 2012 (Page 25)

Question About find_if
 
Hello, I'm trying to find an element in a vector using find_if. If I had a vector<string>, I woul...
[3 replies] Last: Also you can define the equality operator that compares an object of y... (by vlad from moscow)
Which of these 2 programming styles is most recommended for use?
 
Hello everybody, sorry if the title was confusing but I wasn't sure how to make it clear. =/ So, I ...
[7 replies] Last: With this: CParentClass Object = CDerivedClass(); Object.VirtualMeth... (by TheIdeasMan)
[URGENT] Statistical Calculator
 
I really need help on this for my exercise, I do not wish to see any losses mark. I beg someone coul...
[2 replies] Last: I've solved it. Thank You (by boyagin)
Program halts for no apparent reason
 
Hi, A C++ program written by me refuses to work, halting and leaving no error message. I'm not that...
[2 replies] Last: Yep, it works now. Thanks a bunch! (by thestraycat27)
PROBLEM UNDERSTANDING THE HEAPSORT ALGORITHM
 
Hi everyone, is there anybody here who can explain to me how the HeapSort algorithm is implemented. ...
[no replies]
Math question
 
Hi, I recently applied to a job and took a programming test. I didn't hear back, so I'm assuming ...
[12 replies] Last: > the choice depends on the distance the water is from the man compare... (by ne555)
SHELLEXECUTEINFOW information
 
Hello, I have been looking for an example or some documentation about this SHELLEXECUTEINFOW, but th...
[4 replies] Last: I see, ok, thank you for your help! (by tsukune)
Conversion from infix to postfix .It don't work.
 
function definitions in classes are all right. problem is in output. error may be in handling arra...
[4 replies] Last: ok. thanks a lot. i got the point. http://www.cplusplus.com/forum/gene... (by closed account DETpfSEw)
multiple inheritance
 
write a program to multiple inheritance
[3 replies] Last: I don't see a question. (by kbw)
by shafh
Map of object
 
Hi. Im new to c++, and have currently a problem mapping my object: #include "dag.h" #inclu...
[7 replies] Last: if you want to use your class with std::map you need a constructor so... (by coder777)
virtualization technologies
 
Hi to all! I have one simple game (for PC, ะก++). I want to make a portable version of this game, so...
[6 replies] Last: Write once compile anywhere That's C++'s motto. you can not run wind... (by majidkamali1370)
by MAQAH
Binary Search
 
Its a problem of the logic in binary search int binarySearch ( double array , double itemToF...
[3 replies] Last: You can give up on this one (bottom <= top) Only if your su... (by ShlomoZien)
Replacing vectors for something faster
 
I was wondering if i could use something faster than a vector. This program creates windows and whe...
[6 replies] Last: Again I am shooting in the dark here. With Qt, you create a Dialog Bo... (by TheIdeasMan)
by lmd141
Subscript must have integral type
 
Hi, for the piece of code I'm working on at the moment I've encountered a fairly basic problem that ...
[2 replies] Last: After a bit of googling, I think I've found the library you are using.... (by closed account DSLq5Di1)
Amazing output
 
In the name of Allah Hello, everyone I wrote the following sample program but I got an amazing o...
[4 replies] Last: I'm with sloppy when it comes to snprintf() and <iostream>, etc. I as... (by andywestken)
Templates for Units conversion
 
This is carrying on from the question I asked in this post. http://www.cplusplus.com/forum/gener...
[2 replies] Last: @naraku9333 Thanks for your reply. Ok, so I might be able to have t... (by TheIdeasMan)
Help with Merging Lists
 
Hey everyone, I've been assigned this problem for my course and I am COMPLETELY lost. I've spent the...
[no replies]
Iterating through a folder
 
I'm currently working on a personal project that I plan to make go through a number of files, taking...
[2 replies] Last: boost.filesystem is the most portable solution today, and MSVC already... (by Cubbi)
Arrary dimension don't have to be const?
 
I cannot believe this, this dimension won't be known until runtime, but it works. #include <iost...
[4 replies] Last: Thanks ,your information is very useful! (by northfly)
Personal Best
 
So I wrote this today, but it closes upon first input. #include <cstdlib> #include <iostream> usi...
[7 replies] Last: i want the else on line 87 to be paired with the very first if stateme... (by rhoninho)
October 2012 Pages: 1... 2324252627... 50
  Archived months: [sep2012] [nov2012]

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