
please wait
by beesea309
invalid input
|
/// |
Nov 16, 2015 at 8:00pm
[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've done wrong in my code. #include <iostream> using name... |
Nov 16, 2015 at 7:52pm
[6 replies] Last: am i supposed to define the string in the main function or in the seco... (by beemo)
|
by dschwart
little recursion question
|
I am a beginner. I have given myself a little recursion exercise. I have a binary search tree. I want to write a function that tells me if a particular value... |
Nov 16, 2015 at 7:34pm
[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 entered, that were valued over 100. However, the counter ... |
Nov 16, 2015 at 6:57pm
[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 or function with << or >>; #include "FileManager.h" ... |
Nov 16, 2015 at 6:48pm
[4 replies] Last: Thanks for the replies! I just had to restart visual studio and then i... (by AmazingBKaiser)
|
by Student555
For loop condition statement
|
This is a bit of a silly question, but why does the following not execute the body for(int i = 0; i ; i++) cout << "print " << endl; i is supp... |
Nov 16, 2015 at 5:35pm
[3 replies] Last: Thanks for the answering the question Kevin C, makes sense now actuall... (by Student555)
|
by themohal
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 you check only for two possibilities. If it is not a vowel ... |
Nov 16, 2015 at 5:28pm
[1 reply] : Your if statement syntax is not correct. You neglected to close the q... (by JayBari)
|
by freiheit1991
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 still very new to programming, I have a main menu void func... |
Nov 16, 2015 at 5:13pm
[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 to write a program that will use functions to calculate and ... |
Nov 16, 2015 at 4:23pm
[2 replies] Last: Your code doesn't execute because you have compile errors. Line 10: ... (by AbstractionAnon)
|
by kdesai23
Make table of values
|
Decimal Binary Hexadecimal Char 33 00100001 0x21 ! 34 00100010 0x22 " 35 00100011 0x23 # ... |
Nov 16, 2015 at 4:21pm
[1 reply] : F.e. use a for-loop. for (unsigned int i = 0; i <= 127; i++) { /... (by tcs)
|
by themohal
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 why it shows the message of consonant?how can i show the me... |
Nov 16, 2015 at 4:14pm
[4 replies] Last: i have tried this when i enter 1 it shows consonant i dont know why t... (by Thomas1965)
|
by whathecode
Binary Trees Question
|
Hello everyone, I am learning about Binary Trees and I got stuck. I am trying to create a tree, insert the nodes and then I am planning to implement a bunch of... |
Nov 16, 2015 at 4:09pm
[4 replies] Last: bstree is a pointer so access its value using operator->() . retu... (by tcs)
|
by PandaQuin
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 captured output screen) a. Declare and initialize a two-D... |
Nov 16, 2015 at 3:48pm
[1 reply] : You used function printArray as an array variable! int printCol(int ... (by tcs)
|
by nanopad
Function Call Help.
|
The average grade come out right, but the letter grade is not working right. Im guessing is the FUNCTION CALL, but im not having any luck trying to solve it. Ca... |
Nov 16, 2015 at 1:48pm
[2 replies] Last: Thank you MrGoat (by nanopad)
|
by totalnooob
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 have code here to print only one square from input number that ... |
Nov 16, 2015 at 12:25pm
[1 reply] : First I would put the code to print the square in a separate function ... (by Thomas1965)
|
by sidekick123
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 include a sleep function, my output screen is normal. But whe... |
Nov 16, 2015 at 9:49am
[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 certain variable. for e.g if I had a character variable called A ... |
Nov 16, 2015 at 8:29am
[1 reply] : I need this to happen for nine variable. How would I do this. Our ... (by closed account 48T7M4Gy)
|
by cpq2g1zw2
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 flag for file versus defining test.txt, with what I have alread... |
Nov 16, 2015 at 6:56am
[5 replies] Last: Have it working now. Thank you all for your help :-) Now I better und... (by cpq2g1zw2)
|
by die9991
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 take the alternating sums of two vectors and add them all t... |
Nov 16, 2015 at 6:39am
[1 reply] : while(x = 1) Should be while(x == 1) = is an assignment operator... (by TarikNeaj)
|
by Arslan7041
Default parameter constructor with Member intialization lists?
|
Is there a way in c++ to combine a default parameter constructor with member initialization list? So something like this: class Example{ private: int var1... |
Nov 16, 2015 at 5:37am
[4 replies] Last: Because im lazy :) But thank you JLBorges for your response, which i... (by Arslan7041)
|