Beginners - March 2015 (Page 18)

C++ project help needed
 
I have to write a program for a class in C++ and when I run the program, the calculations for the subtotal do not calculate correctly. Also the city does not di...
[5 replies] Last: @Infinity223 Maybe you didn't see it in my post, and didn't understan... (by fg109)
Calculate Area
 
I have to write a program that reads length and width from user, calculates and displays area. Also, I need to make separate functions for length, width, area,...
[5 replies] Last: @ megatron 0, @ keskiverto, @ amirtork, Thank you guys for your help. ... (by abcdefghijkl)
Deleting repeated characters in an array
 
I am having a hard time understanding the logic behind comparing variables in an array. I know to create my array but I just cant put my finger on the logic be...
[4 replies] Last: Thanks for all the help. It is much appreciated. I need to read that... (by JMac618)
Trouble with variables
 
In the code below, the first function gets input from the user and the second function is suppose to do some calculation and display an answer. However, I keep ...
[8 replies] Last: im sorry... i meant do is not a function referring to: in do function... (by Little Bobby Tables)
Need help with function
 
x
[3 replies] Last: Thanks for making my day :D (by TarikNeaj)
String array problem
 
Hello. So I am having a little problem right now. I am doing a list of Project ideas to improve my C++ skills ( just started ) and now the excercise is to make ...
[8 replies] Last: I didnt mean OP as in you, look at the last part of my post. (Totall... (by TarikNeaj)
Help me please!!
 
Never mind, figured it out.
[7 replies] Last: The classes should look something like this, according to the requirem... (by fg109)
by Tanner
Why is this wrong?
 
This code is for some reason wrong. I've gone over it 20 times and cannot figure it out. #include "second.h" #include <iostream> #include <string> #in...
[2 replies] Last: Your code with some better looking formatting: second::second() { s... (by fg109)
Help with Real Numbers program
 
So I'm doing this thing for Math, to determine what class of Real numbers a number is (Rational, Integer, Irrational, etc.) and I really don't know how to set u...
[no replies]
Function call
 
Write your question here. what should my function call be #include <iostream> using namespace std; int sigmaFromTo(int num1, int num2); int main () { ...
[4 replies] Last: oh okay, thank you for explaining it to me (by bomgod1914)
by sassy
Help with Arrays!
 
Hello, I've been trying to work out one of my last homework assignments for the past day, and don't seem to be getting anywhere. I'm confused to say the leas...
[1 reply] : Write a program that uses an array of string objects to hold the five... (by TarikNeaj)
Help finding a decent IDE
 
Hey everyone, New here, but not to C++. Just got a new laptop (kinda, it's a surface pro 3) and I've tried using Dev-C++, Code::Blocks, Netbeans 2.0 and Visual...
[2 replies] Last: It refused to compile (by daltojam)
Free tutorials
 
Hi, I'm a begginer in C++, I'm reading the articles of this web, but I want to know if you can tell me about any good websites with free tutorials, examples... ...
[13 replies] Last: Thank yo so much. I'm also going tot buy a book. I'm thinking about T... (by anup30)
C++ homework help
 
Im having trouble trying to figure out why im getting 3 errors: Error 1 error LNK2019: unresolved external symbol "double __cdecl power(double,int)" (?po...
[7 replies] Last: I believe it is because fabs(temp) will always be >= .0001, fabs(-4.57... (by ashleybrown2)
Array Logic
 
Guys, can i ask for your help?, i just want to know on how this code works. Objective: "Write a program that asks the user to type 10 integers of an array. T...
[1 reply] : http://www.cplusplus.com/forum/general/51452/ Edit : I'll explain mo... (by TarikNeaj)
by renzsp
Option menu
 
I want to make a program that has a menu like this - program to find the average - program to find the smallest number - quit the user will only inp...
[2 replies] Last: This does repeat the problem: #include <iostream> int main() { u... (by keskiverto)
For Loops Nooob
 
Hi Guys, I'm trying to teach myself C++ but its proving difficult not having anyone to ask! Videos only explain so much, Basically the example is asking me "...
[11 replies] Last: You could create a character array, with all 4 divisions - char div... (by TarikNeaj)
Assignment help
 
Need some homework help. make sure that you include a comment at the top of your program with your name! make sure you include the output at the bottom ...
[4 replies] Last: Example Input: <textfile containing a list just like the one presente... (by cherrymaed)
by ajp16
switch statement: validating user input
 
I'm writing a program that calculates the area of a circle, triangle, rectangle. However, the program is not supposed to accept negative values for radius, len...
[3 replies] Last: problem solved. Thanks guys! sorry about that with the code tags........ (by ajp16)
by Dkob1
Recursive function
 
I'm trying to write a function to compute 3^2 + 3^3 + ...+ (3^n) Don't get why its saying I have too many arguments: #include <iostream> using names...
[15 replies] Last: @TarikNeaj Yes, your solution is the solution to his code issues, Bu... (by Jaybob66)
March 2015 Pages: 1... 1617181920... 51
  Archived months: [feb2015] [apr2015]

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