
please wait
by tmso
Please help! Problem calling different constructor in constructor
|
Hi, I don't understand why I can't call the constructor of the class 'line' in a constructor of class 'rectangle' when I declared a line member variable in the ... |
May 5, 2011 at 4:17am
[8 replies] Last: Sorry I didn't highlight my code, this is the first time in my life po... (by tmso)
|
#include <vector> |
Ok this one has me a bit confused. I'm trying to compile a .h file by itself #ifndef SOLVER_H_ #define SOLVER_H_ #include <map> #include <vector> te... |
May 5, 2011 at 4:03am
[3 replies] Last: bingo. Thanks. (by theexactpoint)
|
by newone455
Visual Studio and intranet location for projects?
|
I working in Visual Studio 2008 it installed on VMware virtual machine I’d like to store all my projects on host machine so I made share folder and put path i... |
May 5, 2011 at 3:44am
[no replies]
|
by encapsulated
C++ ques doubt 1
|
Hi, I had an exam on OOPS today and wasn't able to answer 3 ques as I am not that good at OOPS. Wish to discuss and understand what could be the possible solut... |
May 5, 2011 at 3:28am
[1 reply] : Look up "const member functions" or "const methods". That should have ... (by Zhuge)
|
by cabbagemista
Creating, Reading From, Writing To Files
|
I have two programs for school. The first program involves the user entering the number of rows and columns of a matrix, then use the random number generator to... |
May 5, 2011 at 2:38am
[2 replies] Last: Oh okay well heres the rest of program 1... #include <iostream> #incl... (by cabbagemista)
|
by coolswathi
Preventing copying and assigning objects
|
Hi, How can |
May 5, 2011 at 2:28am
[2 replies] Last: yes, over-ride default constructors and assignment operators with priv... (by kfmfe04)
|
by Thuraya
Pass 2D array to a function!!
|
how to pass 2D array to a function ? e.g: void twoDim(int values ,int size) { for(int i=0; i<9; i++) { for(int j=0; j<9; j++) ... |
May 5, 2011 at 1:59am
[4 replies] Last: thanks both :> it works. (by Thuraya)
|
by rohanshah1
easy question
|
#include <iostream> #include <cmath> using namespace std; int main() { int i; int z; int x; for (i = 1; i< 10; i++) { x = 2; ... |
May 5, 2011 at 1:54am
[8 replies] Last: by using the = operator z is getting a new value each time. what *= d... (by ascii)
|
by coolswathi
Derived Class
|
Hi, I am a newbie and unable to clearly understand how the classes derived from an abstract base class work. My question is : |
May 5, 2011 at 1:11am
[3 replies] Last: You'll need to override every pure virtual method of the base(s) if ... (by closed account 3hM2Nwbp)
|
by HereTic
Making a math testing program.
|
Hello, my name is Josh Johnson, and I'm new to this forum. I'm 18 years old, and I took a small class on C++ programming online, so I know the basics of program... |
May 5, 2011 at 1:01am
[8 replies] Last: theyre called functions. http://www.cplusplus.com/doc/tutorial/funct... (by ascii)
|
by OkTim
ASCII
|
I have a little problem :), I don't know how to convert char to ASCII number. Can anyone to help me? |
May 4, 2011 at 11:17pm
[no replies]
|
by rvevea
Stepping past stupid
|
I'm just curious if anyone else out there feels dumb at times? My Situation: I've been coding off and on for probably 10 years now (started around the age... |
May 4, 2011 at 11:14pm
[2 replies] Last: True. I learned C (and thought it was C++) by force trying to learn t... (by webJose)
|
by MamoonSaeed
Default Arguments Help
|
Hi guys, I have a program that try's to use default parameters (arguments) as a way for a function to accept varied arguments, however, I keep getting errors... |
May 4, 2011 at 11:04pm
[16 replies] Last: The issue is that his assignment is to use default parameter values, ... (by closed account zb0S216C)
|
by malikrgc
Please help!!! i cant find the problem of the program
|
#include<iostream> #include <string> using namespace std; int main() { int select,select1,installment; int total,total1, char*carModels ={"ford foc... |
May 4, 2011 at 9:44pm
[1 reply] : no need to make a new thread: http://cplusplus.com/forum/beginner/4... (by Disch)
|
by Love236
Modulus understand even more.
|
Hello, i know how to use modulus but i dont understand what a part of this code means: a % 2 == 0 what does 2 == 0 means? why is there a zero over there? ... |
May 4, 2011 at 9:41pm
[5 replies] Last: Thanks, finally got it. (by Love236)
|
by jazpearson
Easily comment out cout
|
In my code, i have lots of couts which i use for debugging purposes. Rather than having to comment out all the cout statements, i've heard there is a much easie... |
May 4, 2011 at 9:08pm
[13 replies] Last: Then how about: #define Debug(x) if (dbug) x; Then you would do: D... (by anonymous23323124)
|
by vutives
According to VS, I'm <<mising ";" before "*">>...
|
Hi everybody. I'm staring into my screen for a while and can't figure out what's wrong. Could you help me? Here's the code of Truck.h: //DONE #ifn... |
May 4, 2011 at 9:07pm
[3 replies] Last: It was indeed the spelling problem. :) (by vutives)
|
by rosuvladut
Ordering matrix components
|
I'm new here but i heard here i can find a helpful community.I have to solve this problem:It reads a square matrix of order n from keyboard. Order in ascending... |
May 4, 2011 at 7:29pm
[no replies]
|
by bardicer
Read Access Violation on QuickSort?
|
My program compiles, but when I do the quicksort call, I get a read access error...and I can't figure out why. Any help? Here is my code. template <class ... |
May 4, 2011 at 6:47pm
[no replies]
|
Array 2D |
I am receiving a C4700 warning. The C++ program I am building, is suppose to allow user to enter (50)numbers, store in array, calculate the average of numbers i... |
May 4, 2011 at 6:38pm
[2 replies] Last: Thank you Disch. The warning is: uninitialized local variable "tot_... (by masquerade1986)
|