Beginners - March 2013 (Page 11)

Help with array question?
 
What is the index of the first element in the array declared below? const int SIZE = 3; int nums...
[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...
[2 replies] Last: thank you a lot :) (by suraya)
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++ woul...
[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...
[3 replies] Last: FYI, it was just reading until EOF. Ctrl-D would have terminated each... (by moorecm)
Compiling issues
 
So I've been working on a code at school and everything was going okay, but I came home and download...
[1 reply] : I'm using Windows 8, by the way, and the school computers are Windows ... (by PaulIsDead)
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 int...
[1 reply] : h (by bojangle32)
matrix help
 
Hello all I have some project about chess so I have 2 rooks and I have to mark which part of matrix ...
[2 replies] Last: As you go through the board, if you find a rook, you set the row and c... (by Lowest0ne)
basic calculator troubles
 
#include <iostream> using namespace std; int main (){ int a; char b ; int c; ...
[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...
[4 replies] Last: thank you guys :) (by suraya)
Help with coding
 
I'm working on the code for a conversation, here's what I have so far: #include <iostream> us...
[2 replies] Last: Okay thank you. This is my first time coding and that was the ghetto w... (by PaulIsDead)
Copy constructor, Assignment operators
 
Hi, I wrote a program and I just don't understand how it works (funny, isn't it?). Could somebody p...
[no replies]
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 el...
[11 replies] Last: Thanks. Got it working!!!! (by tnjgraham)
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...
[3 replies] Last: Function name in expressions is converted implicitly to the bool type ... (by vlad from moscow)
payroll calculator
 
I'm trying to get my payroll calculator to show the regular and overtime hours but after you enter h...
[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), calc...
[no replies]
IDE break down
 
This is my 3rd successive day at trying to install MS VS C++ 2010, and it still does not run. Eac...
[1 reply] : Maybe just try a differant compiler. http://www.codeblocks.org/ (by Yanson)
Issue with struct array program
 
Hello!!! Im posting this because im having an issue with my program, see below. The problem im havin...
[3 replies] Last: Yeah and you didn't assign a value to your total variable befor using ... (by Yanson)
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 calle...
[3 replies] Last: When compiling main.cpp: After the line #include "4Band.h" has been... (by Alrededor)
Array Help
 
Why doesn't my newmaster.txt file have any data in it. Even when I cout << Fname ; after my while l...
[5 replies] Last: Got it! thank you very much for your help. (by gantz2109)
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 ce...
[4 replies] Last: Ok I got it to work without the getline. Thank you for the help! (by Baumer8993)
March 2013 Pages: 1... 910111213... 87
  Archived months: [feb2013] [apr2013]

This is an archived page. To post a new message, go to the current page.