Beginners - September 2013 (Page 42)

Problems QDateEdit
 
Hi everybody ! I have a problem to susbract two QDateEdit. I just wanna find the difference in te...
[1 reply] : "Long hours of research." Did it involve reading the Qt documentation... (by keskiverto)
by ngopza
Design patterns in c++
 
hi.My cousin asked me to help with his assignment .Unfortunately the spec does not clarify. I am sup...
[3 replies] Last: It would benefit your cousin much more, if he would do his homework hi... (by keskiverto)
Allocating huge arrays
 
Hey I need to do a binary search on an array of 2 million elements but my programs bugging out at a ...
[4 replies] Last: > Do you want to use more of C++? > http://www.cplusplus.com/reference... (by JLBorges)
HOMEWORK NEEDED DONE
 
Given a 4 Parallel Array below with initial values. string students = {"Anne", "Brad", "Don"...
[1 reply] : Break the problem down and then solve it. You want to do this: Read ... (by Mats)
Partially filled arrays
 
Someone please help me out here. I'm trying to fill an int array with values from stdin. The use...
[6 replies] Last: Got it. Thank you everybody! I'm moving on to a next block of code. (by Stremik)
How do I put my codeblocks back in default settings?
 
Hello, I don't know what happened to my codeblocks, but whenever I start up my codeblocks, it wou...
[no replies]
books. 6th or 7th edition
 
Hello I started to learn C++ a bit ago and wondered what peoples thoughts were on books and wher...
[4 replies] Last: Thanks. You guys are a great help, thanks for everything if you can th... (by ragecoder)
by RLC
Loading struct pre-compile error
 
Lines 82 and 83 are giving errors: No operator " " matches these operands operand types are: golf [ ...
[4 replies] Last: http://www.cplusplus.com/reference/istream/istream/get/ (by keskiverto)
by aggsyb
Selecting a random string from my string array
 
Hi, probably very easy but never done it before! if I have a string array like the following strin...
[2 replies] Last: tried a few different versions but cant get it working , could you pro... (by aggsyb)
Help sorting an array inside a struct
 
Hello all I am trying to figure out how to sort an array(actors) by their last name using bubble sor...
[3 replies] Last: Now I am trying to figure out how to get it to sort by the actor's las... (by trevormoon)
by elfeck
Restricting copy-constructor
 
Hello, I want a non-accessible (private) copy-constructor of a class except (!) for std::vector of ...
[7 replies] Last: > It need to update pointers if the objects of the class in question ... (by JLBorges)
do not enter 20 or 40
 
#include <iostream> #include <string> using namespace std; int main() { ...
[2 replies] Last: why cant i do the numbers 20 - 40????? (by Nerodic)
Just throwing this out there (sdl 2.0)
 
I guess I should've put this on the sdl forums, I will if you guys cant do it. here it is: optimi...
[4 replies] Last: Thank you! (by Raccoon)
What's the best way to check for incorrect data input
 
I'm using this to check for a non float entered by the user. Is there a better way, I know you can r...
[1 reply] : I've often seen if(!(cin >> type)) on this site, so that should be eno... (by maeriden)
sin/cosin/tangent stuff?
 
Hey folks, I recently decided to go back to school in an effort to learn c++, I am currently 4 weeks...
[4 replies] Last: http://www.cplusplus.com/forum/general/102410/ fixed: #define _USE_M... (by tntxtnt)
by Ch1156
Passing a vector to a pointer help...
 
Ok so i pretty much got everything working, i just looked up a little help but i did the rest myself...
[3 replies] Last: std::vector has a default constructor that initializes it to an empty ... (by maeriden)
by Codeez
function returns iter to value match, what to return if no match/
 
Hi folks, In C++ Primer 5th I've been tasked with this: Write a function that takes a pair of...
[4 replies] Last: I don't recomment it, but just so you know you can overload the return... (by maeriden)
adding loop
 
Well I am working on something that add's up any bills a person may have , but I want to have a loop...
[3 replies] Last: you know after trying it out I think a endless while loop would prove ... (by twiggystardust)
outputting items into a format
 
I have a struct array set to take inputs then output them in a sort of table. I'm trying to do this...
[3 replies] Last: Assuming you are using strings, you can just check the size() method. (by Zhuge)
Largest magnitude?
 
Hello, I am working on an assignment and am having problems with one of the questions. The quest...
[5 replies] Last: well you can, but you could do cout<< CHAR_MAX i believe. (by closed account Dy7SLyTq)
September 2013 Pages: 1... 4041424344... 64
  Archived months: [aug2013] [oct2013]

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