Beginners - April 2014 (Page 30)

by rshoe
Missing first letter in getline();
 
I am writing a small program that ask a user to type in a players name, number and points score and ...
[1 reply] : Never mind I figured it out. The cin.ignore() was in the wrong place. ... (by rshoe)
Higher or Lower Game Help
 
I was wondering if someone could point out where im going wrong, the random number the computer is g...
[4 replies] Last: Ok, thanks (by GourlayPaul)
Help with Fatal Error C1075
 
Write your question here. #include <iostream> #include <string> using namespace std; char...
[4 replies] Last: @ MiiNiPaa - and remove the ; (by AbstractionAnon)
Problem with hash class
 
Hi everyone, I'm trying to finish this program that will read in 15 names and then hash them using a...
[3 replies] Last: When I ran it, it reached the insert function, but crashed at line 88 ... (by AbstractionAnon)
Calling function twice in one printing statement
 
Why is the output "21", but not "12"? #include <iostream> int& add(int &value) { ++va...
[10 replies] Last: @MiiNiPaa you are right, I overlooked the fact that the function here ... (by Cubbi)
Counting words
 
So if anyone out there can help. I have to write a program that count the words of same length from ...
[1 reply] : My professor said we'll just need an array and a loop with functions a... (by Jay1234)
About Eclipse CDT and gcc compiler
 
Recently I installed 64 bit gcc compiler from equation.com. It is installed in C:\gcc directory. ...
[no replies]
giving value to specific chars in an array
 
I have to write a code where I can go into a string array and depending on what char a value is give...
[2 replies] Last: well that was the last place i would have looked. Thanks, I was about ... (by ltorres)
Randomly Generated number problem.
 
I'm still getting in to programing in C++, but one of the things I wanted to do for fun is write a p...
[6 replies] Last: Thank you for the advice and the help. It's very much appreciated. (by eclecticdeviant)
by dupek
Beginer - loosing my hairs
 
Well, I decided to learn the C++. In my age(62) is really hard. I try to expand the simple "password...
[5 replies] Last: Well, I will have no need for my comb again. I pull out my last hair, ... (by dupek)
Run-Time Check Failure #3 - The variable 'weathedata' is being used without being initialized?
 
Hi I'm new to C language programming. I was writing this program but I always keep facing this prob...
[3 replies] Last: You have only one value to store day, so it is impossible to store eve... (by MiiNiPaa)
by xx1182
Is this code Right?
 
Well: enum MyEnum{a, b, c, d, e}; int main() { std::cout << a; just works fine, it prints 0;...
[6 replies] Last: > Is it also possible to declare an enumeration globally and just use ... (by JLBorges)
by toast9
broken while loop
 
I get a number from the user 1,2, or 3. I have a while loop checking to make sure the input was a 1,...
[12 replies] Last: Then nicely say so: ``I recommend you to use parenthesis to improve re... (by ne555)
by Fiton
code won't work ?
 
i have this assignment creating a c++ program for drugstores and registering drugs in drugstore but ...
[2 replies] Last: oh man thanks, it worked i had no idea what i was doing wrong.Thats ex... (by Fiton)
by Chubby
Balanced Parenthesis
 
I try to check for Balanced Parenthesis but i couldnt get to work. I am at stuck at int main how c...
[1 reply] : Although I know of another way to accomplish the checking, I don't und... (by TheBeardedQuack)
EMERGENCEY! could be confusing, but help!
 
I get my total correctly, this is based on aeon shopping car park system, my school assignment. THI...
[17 replies] Last: So its now done. But the value of the J card user that spent 7 hours i... (by playerjun)
Dynamically declared 2 dimensional arrays
 
  As this is my first post on cplusplus.com, first of all thank you in advance for the help I an...
[10 replies] Last: @tath Thanks for your reply. I am initializing the value in construct... (by vineshgada)
What is wrong with this code?
 
Hey guys. so I'm trying to make a program that do operation on matrices. It get's the data from a...
[3 replies] Last: You declared a array that can hold 5 elements and were trying to put 6... (by codewalker)
by Chubby
used undeclared identified
 
balancedparantheses , every StackNode i got error saying used undeclared identified. how can i fix...
[2 replies] Last: You need to declare the balancedparantheses (nice spelling there) fu... (by cire)
by teslaa
Thread function issue
 
I the following error when compiling the below code... '&' : illegal operation on bound member f...
[2 replies] Last: It is possible as this was fine until I created the header and made th... (by teslaa)
April 2014 Pages: 1... 2829303132... 67
  Archived months: [mar2014] [may2014]

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