Beginners (Page 50)

I don't know whats wrong with my code.
my code gives me a runtime error "vector iterator not incrementable" here is my code and I'm pret...
[4 replies] Last: You do advance the counter whether you erase an element or not. That ... (by keskiverto)
switch, constant expression
I have declarated this: const int peasant = 300; const int footman = 900; const int ar...
[6 replies] Last: It would probably help if you showed the complete class definition and... (by jlb)
Help with string array?
Your program compiles cleanly (at least the second copy of it). What help do you need? PLEASE USE ...
[no replies]
by Winsu
I have a base class, and two derivaded class from that one...what I want to do is to have a class w...
[5 replies] Last: my idea is that GRADUATE person is somebody who is student while he i... (by Winsu)
cin.get proplem
HELLO THERE i used this code to assign variable form user input and show what he entered int a = c...
[4 replies] Last: You may want to use your favourite search engine and search for "ASCII... (by jlb)
Using dynamic array function but can't figure out size
I know that a vector would solve all of my issues, but the chapter is on pointers and I have to make...
[6 replies] Last: Wow. I attempted that before even posting the question, but my syntax ... (by D0CHollywood)
This is my first time to use std::map and it wasn't very successful. Could somebody help with this c...
[8 replies] Last: C++98 is not a compiler. It is the first official C++ standard. It se... (by keskiverto)
Sting Vector not storing correctly
My problem is with what should be a fairly basic procedure, but is causing a huge holdup in my progr...
[2 replies] Last: The vector is large enough, adding j++ and k++ after i++ now makes the... (by Feymanismyhero)
expected unqualified-id before ')' token
I managed to get rid of all errors I've had with this except for one. In line 42 error: expected un...
[1 reply] : On line 8 you have: int SendKeyPress(unsigned short KeyCode, bool IsD... (by firedraco)
Need help with my beginner calculator code
Can someone please tell me why this shows some weird results? it compiles, but it doesn't do what i...
[8 replies] Last: Instead of goto, use separate functions and just call the functions. (by Feymanismyhero)
by wrymn
2D C++ Box collision response
Hi, I am really big noob and I cannot really write this part of code. I need to write collision dete...
[4 replies] Last: If you know it won't be null then use a reference. (by dhayden)
I've managed to create a calculator that accepts different operators and any amount of numbers using...
[2 replies] Last: Nice Link (by AssignmentExpert)
Q about array length.
Hi, I am trying to make an array that forks for any sized array. So i tried that i start the code th...
[5 replies] Last: @shadowCODE Ty you for your answer and explanation. (by hohanyo)
by koopey
can't set up QT(GUI for c++)
i downloaded 5.4.2 version of QT but getting following errors when building a project. 10:23:24:...
[no replies]
class string initialize error !why ?
Write your question here. #include <iostream> #include <string> using namespace std; cl...
[9 replies] Last: #include <iostream> #include <string> #include <functional> const st... (by JLBorges)
question and see what's wrong
Hello, I keep trying to do this after I type name and then click on enter. It keeps closing itself. ...
[13 replies] Last: I had to edit my message here since I finally solved the problem. The ... (by DCisthebest)
by Winsu
to keep variables private I need a passthrough
I have achieved to overload operator <<, I have found out that It can not be a member of the functio...
[6 replies] Last: That's true thank you!! (by Winsu)
Using inheritance with a payroll program
I am trying to get a payroll program to work with multiple classes and using inheritance. I have bee...
[2 replies] Last: If I run the program with this input: Dave s 40.2 18.4 Scottie h 44.3... (by dhayden)
Quick simple test for beginners
Heres a quick test if you wanna do it: Create an object to store information about a CD. The obje...
[4 replies] Last: Post what you have done so far :) (by Softrix)
by omurad
Array initializing error
I know that the error that I'm getting has something to do with it only being compatible with C++11 ...
[6 replies] Last: I'll check it out, thanks for the help and suggestions! (by omurad)
Pages: 1... 4849505152... 61
  Archived months: [may2015]

Cannot post in this page. To post a new message, go to the first page.