
please wait
by toddlerj1536
Help with recursive square root
|
Hello, I am trying to write this recursive function for my class. We are to use Newton's method to find the square root of a nonnegative real number. Here ... |
Apr 28, 2015 at 9:43am
[no replies]
|
by almica
complex calculator
|
Hello there I am having some trouble with the coding of a complex calculator. I overload the operators (+-*/) to enable the calculation of complex numbers. At t... |
Apr 28, 2015 at 8:34am
[3 replies] Last: Why do I use the re/im of temp? Well: temp. re = a + b.getReal(); /... (by coder777)
|
by dagurr
catching error in c++
|
It is not reading the cathing errors in any way. It just ignores it. Can some one look this over and tell me why? #include <iostream> #include <fstream> ... |
Apr 28, 2015 at 4:23am
[3 replies] Last: thanks for the idea i figured it out (by dagurr)
|
by decoy98
How do I define and use a struct using separate compilation?
|
I'm having trouble on how to define a struct in my header file and implement it using my implementation file. "Friends.h" #ifndef FRIENDS_H_ #define FRIENDS_... |
Apr 28, 2015 at 3:34am
[1 reply] : bump (by decoy98)
|
by tylerb
Bad results in calculating program
|
Hi folks, I need to write a program that calculates a persons clothing size. The formulas are: Hat size = 2.9 times the weight in pounds divided by heigh... |
Apr 28, 2015 at 3:18am
[4 replies] Last: That worked perfect, thanks a ton! (by tylerb)
|
by nsidaris
String Arrays
|
So what this program is supposed to do is have you input 10 names into an array then type a name you want to search for and output how many times that name appe... |
Apr 28, 2015 at 3:15am
[2 replies] Last: Works!, can't believe it was that simple, and I completely understand ... (by nsidaris)
|
by abcdefghijkl
Problem with average
|
This program does not calculate average. I need help to fix it. This is my code. #include <iostream> #include <iomanip> #include <string> using nam... |
Apr 28, 2015 at 3:01am
[2 replies] Last: Works perfect. Thank you for your help. (by abcdefghijkl)
|
by bcav311
loop all the time when hitting q to quit
|
when i hit q to quit it goes into an infi loop and just goes over and over. Is there another way to make this quit? #include <iostream> using names... |
Apr 28, 2015 at 2:27am
[5 replies] Last: That's because you have a random cin outside the loop itself. Just rem... (by Semoirethe)
|
by gilgamesh45
Dynamic Array using Data File
|
I have a data file called "data.txt" which contains an unknown amount of random numbers. I was successfully able to open that file read from it all the numbers ... |
Apr 28, 2015 at 2:17am
[5 replies] Last: Your problem is that you are trying to use std::cin , which is c inpu... (by BlatantlyX)
|
by vavoitus
Templates
|
Write a main function that does the followings: --- Create an empty vector of Student class (see code below). --- Add 4 Student objects to the vector using th... |
Apr 28, 2015 at 2:15am
[3 replies] Last: Please use code tags. But anyway, 1. You need to only declare a defau... (by Semoirethe)
|
by INeedAHero
Can a function return an arbitrary container?
|
Let's say I have a "construct" function. The construct function takes an argument that specifies which container the user wants to be constructed. For exa... |
Apr 28, 2015 at 2:12am
[6 replies] Last: >I s there any possible way for me to deduce the type of T by just exa... (by JLBorges)
|
by Beginner159
Just a quick question
|
Okay I have fined like 99% of my code but I am getting some kind of return error. error C4716: 'personType::isFirstEqual' : must return a value I can't seem ... |
Apr 28, 2015 at 2:09am
[7 replies] Last: Thank you so much! One of my projects is finished! Thanks for helping... (by Beginner159)
|
by Vandalism
Palindrome Recursive
|
Make a program that will determine if the entered string is a palindrome or not using the recursion. MAke sure it accepts space and uppercase letter ex: ente... |
Apr 28, 2015 at 1:47am
[1 reply] : Your palindrome algorithm works fine, the issue is in main. It's never... (by Semoirethe)
|
by JORGEMAL
Arguments/parameters in a callback
|
I am taking my first C++ college class and we are learning the callback concept. I have the code below that is actually working (it is a callback code that resp... |
Apr 28, 2015 at 1:15am
[1 reply] : Shouldn't it work simply to pass pancakesScreen by reference(or a poin... (by Semoirethe)
|
by lew13
Need help with a function
|
Hey guys just trying to pass an array through this function and have it take out the duplicates. I have cruised around the forum to no avail. The pseudocode for... |
Apr 28, 2015 at 1:01am
[2 replies] Last: I didn't get my full code in there I have the parentheses. It doesn't ... (by lew13)
|
by Aideux
While loops + strings
|
I want to write a program that allow the console to take in any number of names, and then output the names and the number of names input. The problem is, I want... |
Apr 28, 2015 at 12:58am
[3 replies] Last: As shadowCODE said, you need to check if the LAST element entered is "... (by Semoirethe)
|
by dsilves1
Need help with loops
|
I need to write a program that takes two years that are input by the user and output every easter sunday in between those years. the problem is that I don't get... |
Apr 28, 2015 at 12:04am
[no replies]
|
by steven99
Turing machine simulator
|
I want a help to make a simple turing machine simulator the user enters the number of states,alphabet,tape,transition,head of the tape position and get the fina... |
Apr 27, 2015 at 11:17pm
[2 replies] Last: that's all what i did (by steven99)
|
by zaforian
HI huge integer broblem
|
Hellow guys, i had a problem with big numbers, can we read a big number(40 digit) to put him in α table, without puting { number,enter, number.....} |
Apr 27, 2015 at 10:14pm
[4 replies] Last: thank you my friend i will look for it :) (by zaforian)
|
by mmiller03
Inheritance
|
Okay I am having a hard time learning c++ and i think i have this code mostly done i just dont know how to finish it off. Any help would be appreciated. Giv... |
Apr 27, 2015 at 9:55pm
[1 reply] : > i just dont know how to finish it off. really? int main() { S... (by shadowCODE)
|