
please wait
by xxvms
Conversion to char
|
Hi there Can you help me please with this. What (char)i exactly do? I understand it converts integer numbers to equivalent ASCII, but I don't understa... |
Apr 6, 2017 at 11:31am
[2 replies] Last: thanks Gunnerfunner, I didn't cover casting operators yet, so that is... (by xxvms)
|
by etrusks
Can reading a character from the std::istream result in failbit being set?
|
Can reading a character from the std::istream result in failbit being set? #include <iostream> #include <string> int main() for(std::string str... |
Apr 6, 2017 at 11:06am
[4 replies] Last: Thank you very much man, much appreciated! :) (by etrusks)
|
by NabeelUsmani
Cin Input.
|
Hi there, I can't input my balance value. As I put full name for the account holder string with spaces, it takes the second word after the space as a balance v... |
Apr 6, 2017 at 9:31am
[3 replies] Last: You've already got string in your current program, OP line 3, why chan... (by gunnerfunner)
|
by Meden
ranged based for in multidimensional array
|
What type does auto become in the following code? int main() { int arr = { { 2, 3, 4 }, { 5, 6, 7} }; for( auto &row : arr) for(auto &col... |
Apr 6, 2017 at 8:11am
[3 replies] Last: > What does col = 7 do then? col is a poor name for the variable; I... (by JLBorges)
|
by Faizan008
time.h
|
I used time.h to get system time. The time it returned is 21.20.00 7 FEB 1997. My question is: Can any one explain why it is returning this time? Thanks |
Apr 6, 2017 at 6:30am
[9 replies] Last: Thanks everyone. (by Faizan008)
|
by learner47
Stuck in arrays...
|
A user specify the number of elements of ana array and then input those elements into the array. I want to display those numbers which are unique meaning not re... |
Apr 6, 2017 at 5:48am
[4 replies] Last: Thank you so much for the help... (by learner47)
|
by Rickster99
Creating a basic calculator
|
Write your question here. Hi, I am self teaching myself C++ (I have some prior experience) and going through the basics. When typing in a basic calculator, I h... |
Apr 6, 2017 at 5:17am
[2 replies] Last: sum = null + null Not quite. In that example all the variable are ... (by TheIdeasMan)
|
by imastruggler
What's the difference between a function that returns and one that doesn't
|
At first I thought returned function were ones with equations, but it turns out void functions can be defined with values too, so I'm lost and can't tell when a... |
Apr 6, 2017 at 3:48am
[1 reply] : All functions (well, almost all: we can safely ignore the few exceptio... (by JLBorges)
|
by thhs345
Rainfall Code question???
|
Hey, I was writing this rainfall statistics code where we're supposed to print the rain in inches that fell in each month, with the values given to us. Everythi... |
Apr 6, 2017 at 2:50am
[11 replies] Last: Thank you so much for your help! I really appreciate it! (by thhs345)
|
by NabeelUsmani
Simple Question about Print Function.
|
I have base class Employee and a derived class Manager. If I put two print functions in each class then Which one it would use if I change Manager object M to E... |
Apr 6, 2017 at 1:08am
[1 reply] : why don't you just try it and see? (by gunnerfunner)
|
by jman2690
How do I declare a Global Vector?
|
Hello thank you for taking the time to help. Does someone know the proper way to declare a vector GLOBALLY? The following code works when I put the vector withi... |
Apr 6, 2017 at 12:16am
[2 replies] Last: thank you so much for your help! (by jman2690)
|
by Tavalya
I need your help ...pls
|
Re my program below, I am having difficulty to: i) ask user if he wants to play again or not after every time he guesses right. ii) code a counter that contro... |
Apr 6, 2017 at 12:03am
[4 replies] Last: Hi Enoizat, you are totally correct and I agree with you ... thank you... (by Tavalya)
|
by shinapo
help with reversal array oder / swapping
|
This was on a test sometime ago. I wanna practice creating this but for some reason the swap did not show and not complete. I think there are some logic error w... |
Apr 5, 2017 at 11:29pm
[3 replies] Last: Consider the output of this program (which echoes your logic.) #incl... (by cire)
|
by Dani17q
function to sum the diagonal of a matrix
|
Hey folks, I am having problems with sumMajorDiagonal. I am suppose to create that function so that the program adds the fist diagonal of the matrix, but my fun... |
Apr 5, 2017 at 10:51pm
[2 replies] Last: http://www.cplusplus.com/forum/beginner/212598/ (by closed account 48T7M4Gy)
|
by Dani17q
sum of the diagonal of a matrix
|
Hey folks, I am having problems with sumMajorDiagonal function. I am suppose to create that function so that the program adds the fist diagonal of the matrix, b... |
Apr 5, 2017 at 10:50pm
[1 reply] : http://www.cplusplus.com/forum/beginner/212528/ (by closed account 48T7M4Gy)
|
by arbwok
Problem with creating substring for last word
|
I'm having trouble figuring out how to find the last string in the file. I know my problem, but can't think of a way around it. #include <iostream> #in... |
Apr 5, 2017 at 10:18pm
[1 reply] : I'm having trouble figuring out how to find the last string in the fi... (by jlb)
|
by persades
Help with classes
|
I'm learning how to use classes and everything was going pretty smooth up until the end when i call myGoat.getName(); in main im getting an error that says... |
Apr 5, 2017 at 10:00pm
[7 replies] Last: xxvms okay i got it , idk what i was thinking, basically i wanted it t... (by persades)
|
by thexfiles
Branching Assignment Tweet Decoder
|
I am having trouble with this 3 step assignment. I have some starter code that is given but I am very confused on how to go about it. Here is the details of... |
Apr 5, 2017 at 9:41pm
[10 replies] Last: #include <iostream> #include <string> #include <cstdlib> using name... (by thexfiles)
|
by rmaddox55
Prime Factorization Program
|
I am writing a Prime Factorization function that outputs the factors of the number that is entered if it is prime. I have the function to test whether a number ... |
Apr 5, 2017 at 8:45pm
[2 replies] Last: 1) find a prime number (re-use last if it was successful from 3, else ... (by jonnin)
|
by xxvms
where do developers meet in London?
|
Hi there can someone advise me where do developers meet in London? If I want to be involved with community, is there any place like this? also I would li... |
Apr 5, 2017 at 8:41pm
[no replies]
|