Beginners - November 2017 (Page 30)

Help with infinite prompt loop
 
So im creating a roulette program for fun and have finished it, just adding smaller details and have...
[1 reply] : while ((rules != 'y' || rules != 'Y') || (rules != 'n' || rules != 'N'... (by jonnin)
by shamar
Help me with this program
 
Hello Good night. I'm Beginner and I've received this program to do its due tonight and i'm still ha...
[8 replies] Last: int numbers , i, sum = 0; //this re-declares the same variables you al... (by jonnin)
what am i doing wrong
 
The value of price and number of items comes to be 0 when reading file. class cart { private: ...
[1 reply] : we can't see anything. price is set to zero. no is set to zero. If ... (by jonnin)
by cash
HELP!!
 
How do I fix this code so that when a user inputs the column they want to find the sum of they find ...
[9 replies] Last: @Andy, i agree it can be confusing the first time you look at it (by Yolanda)
by RP65
Can someone help me with this C++ code?
 
I am a beginner with C++ can someone help me with this code? I can't figure out why the rainfall in...
[1 reply] : totalRainfall =+ rainfall ; Recheck the syntax of that operator.... (by keskiverto)
How can I make a loop in switch?
 
Hello. What i'm required to do is to create a menu, call a function, and ask the user if he wants t...
[5 replies] Last: Thank You ne555. I forgot that char only take 1 character. That's ... (by elver garric)
does tdm-gcc support c++ 17: SOLVED
 
i want to update Gcc on my codeblocks to the latest standard[c++ 17] but when i checked tdm-gcc lat...
[5 replies] Last: yea, works great am now on -std=c++17 , thanks again. (by Yolanda)
by MegsD
C++ simple GUI conversion
 
Doing a C++ GUI for extra credit, I want the user to input his/her age and output a result depending...
[7 replies] Last: Thanks @Thomas1965 for showing an example it finally works Also Thank... (by MegsD)
by cash
HELP!!
 
How do I fix this code so that when a user inputs the row they want to find the sum of they find the...
[1 reply] : cout << "Enter row index 0-2:" << endl; cin >> index; s=0; for(j... (by Repeater)
compare two sets and add elements
 
Hello everyone, I would like to compare two sets (t_set and n_set). if there is an element in n_set...
[5 replies] Last: If ease of programming is the goal, at the cost of run-time efficiency... (by JLBorges)
by i773
Error when trying to build boost
 
When trying to run the bootstrap.bat for boost_1_65 (Windows 10 64bit) I get this error: C:\User...
[3 replies] Last: I had the same issue but my compiler was MinGW. I found the solution ... (by KosTTTT)
array function, sum
 
Write your question here. good day, im having difficulty understanding the problem "cannot conver...
[5 replies] Last: thank you all for the replies. god bless you all. (by newguy17)
Reference Parameter help/confusion
 
I am new to Reference Parameters, and am in confusion on why my program is displaying a different ou...
[3 replies] Last: cout << x << " and " << y << " and " << duplicate(x, y, z) << endl; ... (by Repeater)
by wnp007
Roman numerals to Decimal converter using arrays
 
I have been able to implement my code to work with unit numbers(less than 10) as well single digit n...
[8 replies] Last: there is a way, on that website, they listed rules you can use to dete... (by Yolanda)
Need Help with problem please!
 
I am trying to make a program that makes you choose a pattern and then a size and then print out tha...
[2 replies] Last: The part about asking if they want to go again is not is not needed ju... (by surge57)
Help on void functions and functions and my code
 
Hello, I am really lost in getting my code to work as well as using void functions and non main l...
[3 replies] Last: start by saying what does not work. the only thing I see right off i... (by jonnin)
by cash
finding largest column in 2d array
 
For the array created I'm having a problem finding the largest column. #include<iostream> us...
[1 reply] : hello, i understand your problem and the answer is simple but can be c... (by Yolanda)
Break doesn't work in swith stmt
 
Sorry about the Italian, but i don't have time to translate. The program works perfectly, the questi...
[3 replies] Last: @BlueRyse Here are some ideas to consider about your code: * Each c... (by TheIdeasMan)
EXplaination of insertbeg and display in layman's language
 
I make this program work using trial and error and from help on this site but i cant understand what...
[4 replies] Last: Oh ok guys i think i get a idea about what is happening. New value ge... (by suyashsing234)
else without a previous if with an if in the code.
 
#include<iostream> using namespace std; int main(){ float numero,numero2,numero3, resultado...
[4 replies] Last: Humans are smarter than computers. It cannot understand (A < x < B) Bu... (by jvlinh)
November 2017 Pages: 1... 282930313233
  Archived months: [oct2017]

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