Beginners (Page 3)

problem with Overloading
 
Hello everyone, I need to overload these two functions, the problem is, I am lots rusty in overlo...
[3 replies] Last: Would this code be correct #include <iostream> #include <iomanip> ... (by hungrymouth)
Reference to array pointer issue
 
Hi I have a problem with a private class member which is a const reference to array. Here is the ...
[1 reply] : You're storing a reference to a pointer which isn't sticking around. ... (by cire)
Whats wrong with my code?
 
Hello Everyone. This has been bothering me for a while now and for most of my programs, the line ' i...
[3 replies] Last: instead of typing input you can give the user choice like cout<<"yo... (by programmer007)
pointer won't hold a value
 
Hey guys I working on making a Deque, but right now I'm just trying to make one node with an integer...
[6 replies] Last: Undefined reference means your are referencing something that has been... (by Lowest0ne)
problem with geting difftime
 
hi all why line 42 will give me Error: what im doing wrong? #include <iostream> #include <ctime>...
[2 replies] Last: It looks to me like you are calling mktime incorrectly. Try correcting... (by kevinkjt2000)
What are the best programs to make c++ GUI
 
Im looking for a program to make my gui for my personal programs. only thing im finding online is Q...
[4 replies] Last: @LB the actual form. I already have QT so im gonna try wxwidget. I wa... (by riseandtrade)
by h4ever
function to read arguments
 
I am trying to make working a source codes from articls "Playing with OpenCL: Gaussian Blurring" and...
[6 replies] Last: Included by main.c ? Q1. Yes, they have no value set. The value i... (by keskiverto)
Hard Matrix question
 
I'm doing a practice problem, the question is long so it's better if I just paste it below. I wrote...
[5 replies] Last: dest has only one element, from initialiation. Aceix. (by Aceix)
by h4ever
unknown escape sequence:
 
How to correct this error? args.c|35|warning: unknown escape sequence: '\-' [enabled by default]| ...
[10 replies] Last: Ok, now that we have realised that adjacent string literals are conca... (by JLBorges)
by vxk
Use of Pointers
 
I am sorry if this question is too long or badly presented .I am working on a small framework(open f...
[3 replies] Last: A: From http://stackoverflow.com/questions/9181782/why-are-the-terms... (by keskiverto)
what is a companion types ?
 
In my book i'm studying the size function of the string class in c++ and my book defines the type re...
[1 reply] : std::string::size_type is a member typedef - an alias - for an unsig... (by JLBorges)
by vxk
pointer objects
 
I was going through the following code in Bjarne Stroustrups book, when i encountered the following ...
[5 replies] Last: > where it is useful to use > Shape* p =new Text{….}; > instead o... (by ne555)
Sum of 2 strings in another string
 
This question is very simple but I can't figure it out, I know how to do it with arrays, but now I n...
[1 reply] : C = A + B ; //this doesn't work This piece of code would not work.... (by Aceix)
limit number of object that can be created
 
i want to limit the number of objects that can be created for a class.... like for a class Student...
[1 reply] : You could use a static factory pattern. But why would you want this ab... (by LB)
nested if else statement problem
 
everytime i run, the line "please enter a correct canadian province" keeps appearing even though i p...
[15 replies] Last: @nubforce You have a copy-paste mistake in line 30. 'yukon' should be... (by Yay295)
Finding errors in code
 
I'm doing a practice problem and I'm told there are 4 syntax errors and 2 logical errors in the code...
[5 replies] Last: So, wouldn't I technically have three logical errors? I had to put a c... (by hellworld136)
MASM Program
 
I know this is a C++ forum, but I'm new to the forum world and don't know where to post something ab...
[1 reply] : Here's an assembly forumish thing I found: http://www.dreamincode.net/... (by GaiusBaltar)
weird for loop error
 
I'm using VS 2012. Does anyone know why I'm getting an error on the x in tempArray on the third line...
[2 replies] Last: LOL!! Thankyou Gaius!! Looks like I have semi colon blindness!! Thanks... (by Khillz3000)
Question about arrays
 
In the code below, I'm asked what the function fo(int c , int d ) will do. The function below has 3 ...
[3 replies] Last: Yes it reverses the array. Should I also say, assuming c and d are e... (by giblit)
bool question
 
What does it mean when it says if(!b)? // Example program #include <iostream> #include <string> vo...
[7 replies] Last: I'm doing a practice question with given values for a, b, and c and ju... (by hellworld136)
Pages: 12345... 42
  Archived months: [jul2014]

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