Beginners - October 2014 (Page 56)

by Jon15
Problem with using/calling function
 
I am writing a program that will output the roots of a 2nd degree polynomial. I have to use the func...
[1 reply] : Also, i wrote a similar program before and this is it, would this stil... (by Jon15)
Array Expander Function Using Pointers
 
Still working on this same problem. My assignment is to create a function that accepts an array as a...
[5 replies] Last: This works even better, thanks again! Don't I have to delete the poin... (by blairtch)
Need Help With Linking Files For A Class
 
Im not sure if this question belongs in beginner section but i need help with how to link my classes...
[3 replies] Last: I dont understand what are you trying to do (by closed account 28poGNh0)
spacing check trouble
 
hello i ran into some trouble with my function. we are required to check if the spacing is valid in ...
[4 replies] Last: You want to check if the following or preceding is a space so you need... (by danghotties)
Error calling function
 
The code below is currently unfinished. It's eventually going to calculate tuition via how many cred...
[1 reply] : COMPUTE_CHARGES should be passed a value of type double. but not the ... (by closed account 1CfG1hU5)
by mekovi
Simple C++ Help
 
We had to write a C++ Program to find the first five twin prime pairs of numbers (Twin Primes are pr...
[7 replies] Last: something like this .. #include <iostream> using namespace std; boo... (by anup30)
by ayou
Need immediate help writing program due tomorrow
 
You are to write a complete C++ program that does the following. It will ask the user how many st...
[3 replies] Last: okay i have tried writing out the program out myself and this is what ... (by ayou)
How does the setw() work exactly?
 
I thought that for every number you have inside the parenthesis, it would indent the text by one spa...
[no replies]
Help with basic division in code?
 
Hey everyone! I'm taking a programming class in college, and it's been going really well so far. We ...
[4 replies] Last: hi, Because of the nature of integer division : 155/ (66 * 66) is les... (by TheIdeasMan)
"==" question?
 
if z is an int and z=8 why would z=='8' be false?
[2 replies] Last: a very simple example using z. #include <stdio.h> int main() { ... (by closed account 1CfG1hU5)
by jbing
20 Line Function
 
Trying to write a source file with a function to give to "a company" to drive. Pseudocode For each...
[no replies]
error C2065: 'outfile' : undeclared identifier Help.
 
Someone please look and at my code and show how i need to fix this. Write a program to calculate ...
[no replies]
Random Number Loop to Array
 
I really struggle with arrays and I have found out I needed an array to retrieve the values the prog...
[1 reply] : Anyone? (by programmile592)
by CDavis
Strings
 
I have a current assignment where I need to take lets say a chunk of code and be able to analysis it...
[7 replies] Last: Ok this may make more sense the rest of the problem is to look for cer... (by CDavis)
Making a triangle and summing using while loops
 
I am trying to 1: Calculate the sum of the square numbers leading up to a user entered integer. For ...
[11 replies] Last: I edited my above comment. check it. (by Java90)
by davez
promp the user for invalid input
 
float num; cout<<"Enter Number: "; cin>>num; now what i need to is to display an invalid inpu...
[3 replies] Last: if (num != static_cast<int>(num)) (by MiiNiPaa)
Taylor series problems
 
I'm having 2 problems with this program. 2.I can't find out how to make the Taylor Series work wit...
[no replies]
factorial
 
Ok so I am having trouble with my initial declaration of my factorial statement for my final output ...
[1 reply] : Line 19 and 61 remove that "long" you will be redeclaring your functio... (by closed account SECMoG1T)
Calculate the Days Between Two Dates?
 
This program should calculate the number of days between two months after validating that the inputs...
[no replies]
Help pls Quadratic equation pass by value
 
Hey guys, help this beginner pls. The professor wants us to write the program below. The problem is...
[5 replies] Last: Example: #include <vector> #include <limits> #include <cmath> std::v... (by MiiNiPaa)
October 2014 Pages: 1... 5455565758... 70
  Archived months: [sep2014] [nov2014]

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