Beginners - November 2015 (Page 26)

invalid input
 
///
[2 replies] Last: I want the program to start again after the message prompts "Sorry, th... (by beesea309)
by beemo
calling a function
 
i am having issues with a question which requires the calling of a function but i don't see what I'v...
[6 replies] Last: am i supposed to define the string in the main function or in the seco... (by beemo)
little recursion question
 
I am a beginner. I have given myself a little recursion exercise. I have a binary search tree. I ...
[4 replies] Last: OK, that was a good suggestion and the warning is now gone. Can we loo... (by dschwart)
by TPL
[C++]
 
Okay, so. My program averages numbers entered by the user, it also counts how many numbers the user ...
[2 replies] Last: So, what exactly do I need to do to make it check the last number? (by TPL)
<< and >> not working
 
I don't really know how to explain it, but the compiler somehow don't like it when I use a variable ...
[4 replies] Last: Thanks for the replies! I just had to restart visual studio and then i... (by AmazingBKaiser)
For loop condition statement
 
This is a bit of a silly question, but why does the following not execute the body for(int ...
[3 replies] Last: Thanks for the answering the question Kevin C, makes sense now actuall... (by Student555)
Vowel or consonant what if user inputs a number?
 
i cannot understand else if logic how to do it why it shows the message of consonant? Because ...
[1 reply] : Your if statement syntax is not correct. You neglected to close the q... (by JayBari)
How to return to int main() from other functions pressing the key ESC?
 
Hello there. I want to do something very simple but probably the solution is very tricky since I am...
[3 replies] Last: Escape is a key with the numerical value of 27 - if I remember correct... (by Thomas1965)
by rtang
Function Calls
 
I'm new to this and cannot get the program to execute... Any help would be appreciated. Trying ...
[2 replies] Last: Your code doesn't execute because you have compile errors. Line 10: ... (by AbstractionAnon)
Make table of values
 
Decimal Binary Hexadecimal Char 33 00100001 0x21 ! 34 00100010 0...
[1 reply] : F.e. use a for-loop. for (unsigned int i = 0; i <= 127; i++) { /... (by tcs)
Vowel or consonant what if user inputs a number?
 
In a vowel check program whether user inputs a vowel or consonant what if a user inputs a number and...
[4 replies] Last: i have tried this when i enter 1 it shows consonant i dont know why t... (by Thomas1965)
Binary Trees Question
 
Hello everyone, I am learning about Binary Trees and I got stuck. I am trying to create a tree, ins...
[4 replies] Last: bstree is a pointer so access its value using operator->() . retu... (by tcs)
Functions + arrays ( maybe pointers are needed not sure )
 
K so my prof gave us this question : 1. In the main function (Provide the source code and captu...
[1 reply] : You used function printArray as an array variable! int printCol(int ... (by tcs)
Function Call Help.
 
The average grade come out right, but the letter grade is not working right. Im guessing is the FUNC...
[2 replies] Last: Thank you MrGoat (by nanopad)
Print out unlimited squares from ascii char.
 
Hi i want to make software that print out unlimited squares from * at sides and . in middle. I hav...
[1 reply] : First I would put the code to print the square in a separate function ... (by Thomas1965)
Output screen problems
 
I am running a for loop for 50 cycles. I am printing nothing but 0s and blank spaces. When I don't i...
[1 reply] : Can you show us the code? (by Thomas1965)
by mullax
Contolling the variable changed depending on the input.
 
I am making a tic tac toe game and need the players to enter an input to permanently change a certai...
[1 reply] : I need this to happen for nine variable. How would I do this. Our ... (by closed account 48T7M4Gy)
Accepting more than one argument
 
I was really hoping someone could help me out here, as I am totally stuck. How do I accept an -f fla...
[5 replies] Last: Have it working now. Thank you all for your help :-) Now I better und... (by cpq2g1zw2)
Nothing will print out.
 
As the title says, I can't seem to get anything to print out. The point of the code is to be able to...
[1 reply] : while(x = 1) Should be while(x == 1) = is an assignment operator... (by TarikNeaj)
Default parameter constructor with Member intialization lists?
 
Is there a way in c++ to combine a default parameter constructor with member initialization list? S...
[4 replies] Last: Because im lazy :) But thank you JLBorges for your response, which i... (by Arslan7041)
November 2015 Pages: 1... 2425262728... 53
  Archived months: [oct2015] [dec2015]

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