Beginners - September 2015 (Page 21)

function problem, please help.
 
Write your question here. So I'm really new and I just don't understand why my code can't work. Fo...
[3 replies] Last: thanks for the reply, but i still get stuck. how should i fix it ? (by kkl19880913)
I am having trouble making my program output correctly on my 2nd while loop
 
I am just having issues with this program big time. I have been working on it for 6 days and still n...
[1 reply] : http://www.cplusplus.com/forum/general/173931/ I was told to re ask t... (by Giorgio)
I am having trouble making my program output correctly on my 2nd while loop
 
I am just having issues with this program big time. I have been working on it for 6 days and still n...
[6 replies] Last: God Bless you as well (by Giorgio)
by JQ44
Input values into an array.
 
Hey, I'm trying to input some values into an array. The array lenght is determined by an integer ...
[1 reply] : Valid indices for array are from 0 to n-1 . When you try to out... (by Norm Gunderson)
Compiler setup
 
OK, so I feel dumb asking this question, but I haven't been able to figure out what I am doing wrong...
[no replies]
by KMagic
Size of a string
 
I notice that sizeof(string) always gives the value 28 (at least, in my laptop). However, when I dec...
[3 replies] Last: sizeof(std::string) , in-object space for small string storage: GNU... (by JLBorges)
Easter calculator
 
Hello guys I need your help im really new in C++ and I need to do easter calculation to get the righ...
[1 reply] : Hi, I have always wondered how the Easter date was figured out, Now I... (by TheIdeasMan)
stuck looping w/o a break;
 
Hi this is part of an assignment I am working on for conversion of gallons to liters. My question is...
[6 replies] Last: My teacher said we can't use a break in our program unless it is part... (by dhayden)
How to find the values being swapped in two different arrays?
 
How to find the values being swapped in two different arrays? and not allowed to use the std librar...
[4 replies] Last: If you're able to use std::vector, I'd create a vector, and then push_... (by YFGHNG)
Tic Tac Toe
 
Okay guys so i need help big time. We are supposed to create a tic tac toe game vs smart AI. We are ...
[1 reply] : line 65: }while(gameWin() == false); (by closed account 48T7M4Gy)
by ct180
cout from iterating void function in library
 
I'm trying to return from a void function (which I might be doing wrong to begin with) from a lbrar...
[1 reply] : Was able to use ostream and a vector to finish this one! (by ct180)
How to read numbers and operators only from a string?
 
Hi all, I'm trying to make a postfix/RPN calculator, and everything is working except for one lit...
[3 replies] Last: Hi, Just wanted to mention my hearty dislike hatred of constructs l... (by TheIdeasMan)
how char read two digit integer
 
solved
[4 replies] Last: Please don't delete your original post, it is bad form here, and it ma... (by TheIdeasMan)
sum of digits of an int
 
Write your question here. Hi, I am trying to write a code to sum the digits of an integer but it ke...
[10 replies] Last: oops I missed what u wrote. The test is num != 0 (by closed account 48T7M4Gy)
pointer to array to function
 
Hey guys, So I have to write a code that uses a pointer for call by reference to send the elements...
[9 replies] Last: Hi, You should note and implement the things that JLBorges has ment... (by TheIdeasMan)
Help with an assignment
 
Hello Everyone! Hope all is well, Im taking Programming 1 and, im a noob at coding in general,but I...
[no replies]
Switch statement-invalid conersion from char to int
 
hello everyone, I'm not sure whats going on with my switch statement. I have a enumerated type value...
[3 replies] Last: Thank you for your input. Thanks for pointing me in the right directio... (by jpanther)
by besurk
How do I take a string of characters and sum their ascii values?
 
Could someone please explain to me how would I take a string of characters such as 'ABCDEFGHI' and c...
[5 replies] Last: Since a character is an integral type, you can just use accumulate whi... (by Alrededor)
Undeclared identifier help, can't figure out what's wrong
 
It pops up and shows these messages when compiling, but I couldn't figure out what's wrong, can anyo...
[3 replies] Last: It declares the variable as constant. After you set those values, they... (by Zhuge)
Need help with single char value
 
I've look all over the forum for help but I don't understand those solutions. I'm a newbie. I need t...
[17 replies] Last: ... and jlb too for correction on square brackets which I'd forgotten.... (by closed account 48T7M4Gy)
September 2015 Pages: 1... 1920212223... 42
  Archived months: [aug2015] [oct2015]

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