Beginners - September 2014 (Page 50)

by davez
HEEEELp
 
Can someone help me i want to create a program that computes the running product of all the numbe...
[2 replies] Last: its ok sir i already solved it (by davez)
C++ Calculator won't sum the numbers.
 
Hello, The code I pasted below is runnable however, at the end as you can see it will not sum th...
[5 replies] Last: I am using DEV C++. i think that's very old, but maybe someone else ... (by mutexe)
How This Code is Working?
 
//ForStatistics.cc //Computes the sample mean and variance of N numbers input at the keyboard....
[4 replies] Last: int main() //i dont know but we always writing this Seeing this i w... (by mutexe)
need help with completing this calculator C++
 
My calculator works in LXterminal but it needs something to add in it. They said WHILE YOU DIVIDE if...
[2 replies] Last: i think you are confusing about the QUOTIENT ^^ (by xenovia12)
by ephekt
function to remove the current item
 
I am having a heck of a time trying to get this function to work right. It does work but not for th...
[4 replies] Last: You could alternatively subtract first then not have to subtract 1 fro... (by giblit)
Sort Array
 
Working on a coding problem and I'm stuck on a sort array. I need to write two functions (one to dis...
[8 replies] Last: Thank you, Giblit. I understand how bubble sorts work, but the coding ... (by ksmarine1980)
by Blank
Functions
 
my assigment, include these three functions getsalesAmt -this function prompts the user to ente...
[no replies]
Cin not working, help please
 
When I ask the user to input their friends name, the output completely skips the option to enter any...
[4 replies] Last: No, when you use std::cin >> variable; it leaves a newline in the bu... (by giblit)
Finding area/perimeter of triangle
 
In my assignment I have to find the area and the perimeter of a triangle with already given values f...
[4 replies] Last: You need to include the asterisk for multiplication. Parenthesis don't... (by Cody0023)
by T4l0n
resize array using pointers
 
I wrote this program to create more memory for arrays as soon as i input more than 10 numbers. When ...
[10 replies] Last: We understand what it is to be initialized. The point is that there i... (by Lowest0ne)
Bubble sort algorithm
 
hi please i need help to solve this problem! Measure elapsed time for Bubble sort algorithm, for mu...
[1 reply] : For something like this it will probably finish in a matter of microse... (by giblit)
Name of this function?
 
I'm asked for the out put of a code, I calculated it, but it's also asking me for the "name" or what...
[no replies]
Please help me understand/fix this.
 
I made the mistake of taking this intro c++ class and I am incredibly frustrated and confused. I ...
[1 reply] : This sounds like a job for a sorting algorithm the simplest one woul... (by Hertz)
C++ Encountering Errors
 
Hello, I am new to these forums and for the past two days have been experimenting with C++. I code...
[1 reply] : line 120 - you don't need the data types in front of the arguments sen... (by wildblue)
Counting lines from file and diplaying them in reverse order
 
I want to count the lines from input.txt and to display the lines in the output text in reverse orde...
[1 reply] : fout << s; // s=0, why? because std::istream.getline() uses the '\n'... (by Yanson)
Flipping a matrix array
 
I'm trying to flip a 4x5 matrix so that the rows will be in reverse order. For instance... 1 2 3...
[3 replies] Last: For example, when count is 7 i and j are also both 7. Are they? Let... (by keskiverto)
Clear the output
 
Hey! I need some help, i want to get rid clean the output after certain thing happens, but not sure ...
[1 reply] : http://www.cplusplus.com/forum/beginner/3207/ (by rafae11)
Simple math question.
 
I just started taking a class in C++ at school and had a quick nooby question. What happens to the r...
[1 reply] : Do you understand the meaning of double and int in the above code... (by Chervil)
by ps8v9
Template syntax in Stroustrup's Tour
 
Chapter 5 in Stroustrup's "Tour of C++" introduces templates. In chapter 8, however, he uses some te...
[1 reply] : Hmm. The discussion in the subsequent text implies that the template f... (by ps8v9)
by plp384
Why must I put ; before cout when using multi-way if-else statement
 
I am using Microsoft Visual Studio 2010. I am creating a shipping cost program that compares the ...
[7 replies] Last: @keskiverto I just looked at my textbook and it does not have a cond... (by plp384)
September 2014 Pages: 1... 48495051
  Archived months: [aug2014] [oct2014]

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