
please wait
Help with array question? |
What is the index of the first element in the array declared below? const int SIZE = 3; int nums2 = {1, 2, 3}; |
Mar 28, 2013 at 1:39am
[3 replies] Last: You should be able to figure that out from the information you've been... (by Zhuge)
|
by suraya
program writing to memory after the end of the heap
|
hey guys i wrote this code and it keeps giving me an error which says that the program is writing to memory after the end of the heap. how can i fix this proble... |
Mar 28, 2013 at 12:25am
[2 replies] Last: thank you a lot :) (by suraya)
|
by Anthony jr
I'm a 13 year old kid and i want to learn c++
|
Ok guys I'm 13 years old and i think it would be cool to create a game of some sort.I heard c++ would is good for this. So I wanted to know where do i start lea... |
Mar 27, 2013 at 10:16pm
[6 replies] Last: @Catfish3 Don't bring him down. I programmed in C++ for 3 months and t... (by closed account N36fSL3A)
|
2 vectors and 1 is a string |
I have to right a program that takes in a name and a number ex:(John 17 Jane 12) and then print them on the screen but i don't know how to make the one that is ... |
Mar 27, 2013 at 10:00pm
[3 replies] Last: FYI, it was just reading until EOF. Ctrl-D would have terminated each... (by moorecm)
|
by PaulIsDead
Compiling issues
|
So I've been working on a code at school and everything was going okay, but I came home and downloaded Dev-C++ (same one I downloaded at school) and when I try ... |
Mar 27, 2013 at 9:38pm
[1 reply] : I'm using Windows 8, by the way, and the school computers are Windows ... (by PaulIsDead)
|
by bojangle32
help understanding inputing from file into an array
|
I am having trouble understaind the specific way to read from a file and putting th einformation into an array and continue reading info from there problem: TFT... |
Mar 27, 2013 at 9:32pm
[1 reply] : h (by bojangle32)
|
by memkara588
matrix help
|
Hello all I have some project about chess so I have 2 rooks and I have to mark which part of matrix is marked by rook. Something like this A1 and B2 are rooks... |
Mar 27, 2013 at 9:25pm
[2 replies] Last: As you go through the board, if you find a rook, you set the row and c... (by Lowest0ne)
|
by taylw006
basic calculator troubles
|
#include <iostream> using namespace std; int main (){ int a; char b ; int c; cout<< "please enter a number \n"; cin >> a; cout << "pl... |
Mar 27, 2013 at 8:59pm
[1 reply] : figured it out. It should've been a string not a char because it measu... (by taylw006)
|
by suraya
why cant i generate a random number of type double?
|
hey guys i wrote this code and i want to generate randome numbers of type double. i dont know how to do that. it keeps giving me an error saying illegal type o... |
Mar 27, 2013 at 8:44pm
[4 replies] Last: thank you guys :) (by suraya)
|
by PaulIsDead
Help with coding
|
I'm working on the code for a conversation, here's what I have so far: #include <iostream> using namespace std; int main () { string i; cha... |
Mar 27, 2013 at 8:42pm
[2 replies] Last: Okay thank you. This is my first time coding and that was the ghetto w... (by PaulIsDead)
|
by Nielian
Copy constructor, Assignment operators
|
Hi, I wrote a program and I just don't understand how it works (funny, isn't it?). Could somebody please explain? Here is my overloaded operator + Vektor... |
Mar 27, 2013 at 8:29pm
[no replies]
|
by tnjgraham
How to check to see if an element in vecto contains a certain value
|
Hey, I am working on this project where I am storing info from status messages in a vector. Once elements are stored I am reading the vector and displaying the... |
Mar 27, 2013 at 8:28pm
[11 replies] Last: Thanks. Got it working!!!! (by tnjgraham)
|
by SamuelAdams
Trouble understanding Leap year function
|
When I run this, the return value is always "1". I left in my test code I'm trying to figure out why the return value is always 1 and how to fix it. Just to mak... |
Mar 27, 2013 at 8:06pm
[3 replies] Last: Function name in expressions is converted implicitly to the bool type ... (by vlad from moscow)
|
by FaffyWaffle
payroll calculator
|
I'm trying to get my payroll calculator to show the regular and overtime hours but after you enter hours worked it asks enter Y to rerun. I'm trying my hardest ... |
Mar 27, 2013 at 8:03pm
[12 replies] Last: Got it working Thanks for your help. (by FaffyWaffle)
|
by smac92
Tax Calcualtion Using Functions
|
Hi, I'm trying to edit a recently written program to use specific funtions: calcSingle(income), calcMarriedFilingJointly(), calcMarriedFilingSep(), calcHeadOfHo... |
Mar 27, 2013 at 7:56pm
[no replies]
|
by hkapur97
IDE break down
|
This is my 3rd successive day at trying to install MS VS C++ 2010, and it still does not run. Each time after re-installing I get the following error - '... |
Mar 27, 2013 at 7:46pm
[1 reply] : Maybe just try a differant compiler. http://www.codeblocks.org/ (by Yanson)
|
by bbunn77
Issue with struct array program
|
Hello!!! Im posting this because im having an issue with my program, see below. The problem im having are errors with my function calls saying the compiler cant... |
Mar 27, 2013 at 7:14pm
[3 replies] Last: Yeah and you didn't assign a value to your total variable befor using ... (by Yanson)
|
by regnar86
My object is producting an error. Cannot figure out what is wrong.
|
I created two header files w/ their corresponding .cpp file and one main. I created one object called Resistor_4Band Resistor4 and another called Resistor _5_Ba... |
Mar 27, 2013 at 7:05pm
[3 replies] Last: When compiling main.cpp: After the line #include "4Band.h" has been... (by Alrededor)
|
by gantz2109
Array Help
|
Why doesn't my newmaster.txt file have any data in it. Even when I cout << Fname ; after my while loop I don't get anything printed on screen. If I do cout <<... |
Mar 27, 2013 at 6:59pm
[5 replies] Last: Got it! thank you very much for your help. (by gantz2109)
|
by Baumer8993
What Is Wrong With My Name Finder?
|
For my C++ class we have a big list of movies, and we have to print out the names when we enter a certain director. Here is my code: cout << "Enter Part Of ... |
Mar 27, 2013 at 6:52pm
[4 replies] Last: Ok I got it to work without the getline. Thank you for the help! (by Baumer8993)
|