
please wait
by prgramr
calling base class func from derived class
|
if there is a base class has a function "abc()" and a derived class overrides it. How can we call the base class abc() from the derived class abc()? |
Jul 29, 2013 at 8:27am
[1 reply] : void my_derived::abc() { my_base::abc(); } (by Jaybob66)
|
by ivan1
Code for identifying roads on squares
|
Hi all, I am trying to code up something like this: I have a square with 1 point on each edge (1,2,3,4). I want to list all possibilities to reach from 1 to ... |
Jul 29, 2013 at 8:05am
[5 replies] Last: Actually I need to print all the paths between two nodes. It is an und... (by ivan1)
|
by Kyle C
Multiple Constructors
|
I can't seem to understand why my the code only uses the first constructor. Please help! #include<iostream> using namespace std; #include <cstring> co... |
Jul 29, 2013 at 8:03am
[2 replies] Last: Because you're only using the first constructor (or default construc... (by Olysold)
|
by Rezivor123
Arrays and Array parameters
|
Really stuck on this practice assignment.. The Grader class is keeping track of a set of exam scores. Scores can be added one at a time thru calls to a... |
Jul 29, 2013 at 7:36am
[11 replies] Last: Also does this improve the findBiggest? #include <iostream> #defi... (by Rezivor123)
|
advice for complete beginner |
Hi. I'm a complete beginner to C++ and want some advice for starting out. I intend on teaching myself through books and online tutorials and eventually creating... |
Jul 29, 2013 at 7:34am
[7 replies] Last: well after continuing to try to compile it, to no avail, i've explored... (by caunterstrike)
|
by Rezivor123
Class Array
|
Really stuck on this practice assignment.. The Grader class is keeping track of a set of exam scores. Scores can be added one at a time thru calls to addS... |
Jul 29, 2013 at 7:07am
[1 reply] : Duplicate: http://www.cplusplus.com/forum/beginner/107511/ http://www.... (by cire)
|
by romulosd
flush and sync
|
What's the diferençe between flush and sync()? If with flush i already make a synchronization, why exist sync or vice-versa? |
Jul 29, 2013 at 6:26am
[11 replies] Last: Thank you very much! (by romulosd)
|
by dessoul
Simple game...not so simple anymore
|
I've exhausted my personal knowledge and reading of (D.S. Malik: C++ Programming, 6th ed) as to what I am doing wrong/ needs to be done. I'd really appreciate a... |
Jul 29, 2013 at 5:57am
[14 replies] Last: I really wanted to make use of array and 'for' loop in my function, bu... (by dessoul)
|
by Rezivor123
Grader Class - best and worst scores
|
Hi, I am new to array and classes, I am working on a homework assignment and have come to a bit of a stand still We are to add scores through an addScore o... |
Jul 29, 2013 at 4:41am
[5 replies] Last: I am still stuck on how to set up my addscores in adding scores to an ... (by Rezivor123)
|
SFML help.. |
I need help setting up SFML, I have set it up exactly how it says on the sfml website, for code blocks and yet nothing happens, Help please! |
Jul 29, 2013 at 4:02am
[18 replies] Last: Don't use 1.6, use 2.1 (by naraku9333)
|
by CharChen
How to use TRACE Macro if I don't use MFC
|
TRACE Macro is a part of the MFC, isn't it? How to use TRACE Macro if I don't use MFC? To display messages from your program in the debugger Output win... |
Jul 29, 2013 at 3:56am
[no replies]
|
by motubet
need help debugging character input.
|
I wrote a program that reads input a word at a time until a lone 'q' entered.The program then report the number of words that began with vowels,the number that... |
Jul 29, 2013 at 3:44am
[2 replies] Last: Thanks it works now. (by motubet)
|
Statistics of Elements in an array |
1) Program a C++ function for big random number generator (bigRand(int mR , int RANGE)) that receives an integer array as an argument, and its size (range). Th... |
Jul 29, 2013 at 3:31am
[2 replies] Last: no problem,, just do write the above programs i am saving it to clear ... (by junaidkhan2013)
|
by IWishIKnew
GetAsyncKeyState: Wrong Returns??
|
So, I recently emplemented some code that used some other buttons on the keyboard, I used GetAsyncKeyState() to do it. The function I used goes like this: ... |
Jul 29, 2013 at 3:27am
[2 replies] Last: I think you missed the part where p is initialized as false . So, ... (by IWishIKnew)
|
by Own3D
Problem when user gives answer
|
Hi there. I am new to this wonderful community! :) I am facing a problem on my code.This is my code which solves second degree equation. The problem is that... |
Jul 29, 2013 at 3:05am
[2 replies] Last: cin.fail() my work to keep it from going crazy. This is the best link... (by closed account jwkNwA7f)
|
by Justin5978
Help with array of structs
|
Hello all, I am creating a program for a final class project and I have come across an issue. I have an array of structs and I am currently working on a fun... |
Jul 29, 2013 at 2:32am
[7 replies] Last: Do you even know what a pointer is? http://www.cplusplus.com/doc/tuto... (by Veltas)
|
rand() help |
I am trying to make a tic tac toe game with c++ console, and for a player vs. computer i am just going to make the computer place an 'O' in random positions. us... |
Jul 29, 2013 at 1:01am
[7 replies] Last: Then it sounds like your issue lies with the input stream. The input ... (by Veltas)
|
by leo255
Need help with my basic game (attack/health/etc.)
|
I'm learning about Inheritance and Polymorphism right now, and I am using TheNewBoston's tutorial as a basis for what I am doing. I didn't really do much, but I... |
Jul 28, 2013 at 11:46pm
[3 replies] Last: As players and monsters share lots of data types and capabilities, suc... (by SmeeAfshin)
|
by Dalos
Why wont return work?
|
I'm not sure whats happening but my peice of code broke at some point and now it can't detect pressing return. This is all in a function. while(n... |
Jul 28, 2013 at 11:31pm
[1 reply] : Firstly, the keywords 'not', 'and' and 'or' work slightly differently ... (by Veltas)
|
by JB2005
Getting a 1 for word count from a string
|
Trying to count the words in a string and I seem to get a zero or a one. I have seen fixes in these forums but for some reason I can't seem to apply them correc... |
Jul 28, 2013 at 11:17pm
[5 replies] Last: Basically what that line says is, if there is not a word there, dont p... (by Hertz)
|