
please wait
by JohnMorris
cpp PrimerPlus PE 6-2
|
I know that there is a couple of different ways I could have gone with this, but it works. Reason why I had to use the setprecision was because it kept coming u... |
Aug 1, 2014 at 3:59pm
[7 replies] Last: Ok cool. Thanks (by JohnMorris)
|
by Aman Agarwal
spoj problem 5
|
http://www.spoj.com/problems/PALIN/ http://ideone.com/v5jrgV Compilation ERROR!!! help me out.. |
Aug 1, 2014 at 3:45pm
[1 reply] : http://www.cplusplus.com/forum/beginner/1/ (by ResidentBiscuit)
|
by RRosalinda
Question mark in a code
|
Hi everybody, While I was working i came across a code which was written by somebody else. I see a function defined in a class as [void CCommandHandling::n... |
Aug 1, 2014 at 3:35pm
[3 replies] Last: Yes. PLEASE USE CODE TAGS (the <> formatting button) when posting ... (by AbstractionAnon)
|
Tic Tac Toe Program does work, but.... |
Hello Everyone, My daughter and I are about 4 weeks into C++. I have a tic tac toe program that I just finished and it works quite well. I am curious if ther... |
Aug 1, 2014 at 3:31pm
[6 replies] Last: % is the modulus operator. This will return the remainder after divis... (by discofire)
|
by xenovia12
function
|
hello i have question void lose() { cout<<"Game over! You lose"; cout<<endl; if(exp>=50) { cout<<"You exp has been down into "<<exp-50... |
Aug 1, 2014 at 2:33pm
[12 replies] Last: If you take approach #1, every function called needs to return exp bac... (by AbstractionAnon)
|
What are adapters usefull for? |
I`m talking about container adapters. The std::stalk, queue and priority_queue. Like could someone give me examples of when they come in useful. Thank yo... |
Aug 1, 2014 at 2:14pm
[1 reply] : Some algorithms use such concepts. Towers of Hanoi. There you move pi... (by keskiverto)
|
by nooblet001
Simple question, Please answer
|
Hello! Considering that Deduct is a vector... Why does putting an "=" in the test expression not work when testing with a vector.size? for (int i = 0; i <=... |
Aug 1, 2014 at 11:55am
[3 replies] Last: Oh I forgot. Thanks! (by nooblet001)
|
by VisuAlly
How do I make this work correctly?
|
I'm trying to make a program that has 6 colors on the side, which can be clicked to change the color of the canvas. This is built just for three colors though. ... |
Aug 1, 2014 at 7:41am
[1 reply] : How do I make it six colrs?? It doesn't matter whether you have 3,6,o... (by coder777)
|
by user123
HTTP POST request
|
I am trying to perform a POST request, but my code is not working so I'd like to know any alternative methods. Im looking for an easier method without using so... |
Aug 1, 2014 at 7:36am
[3 replies] Last: What method should I use? I really hate sockets, I thought you didn... (by kbw)
|
by pilotnate
iostream issues
|
The program will ask the user to enter in data, then copy this data to a file, and will then print it out in a table, then store the data in a master file (copi... |
Aug 1, 2014 at 7:05am
[3 replies] Last: ur welcome :) (by cyberdude)
|
by dlundy1
How to make DELAY between cout Statements
|
Hey guys, I would like to learn to put a delay between output and input statements. How can I do this? #include <iostream> using namespace std; int main... |
Aug 1, 2014 at 6:42am
[5 replies] Last: I've learned something. Thanks Ganado ! Yes, POSIX has dropped usle... (by Duthomhas)
|
by jynx678
Conversions
|
I have a fraction class, but I need to add functions that will convert a fraction to a float and vice versa. This is what I've been trying to work with. Thank... |
Aug 1, 2014 at 6:36am
[1 reply] : Unless explicitly required by the assignment to have a WholeNumber m... (by Duthomhas)
|
by cplusone
Too Many Repetitive Inputs To Get The Loops To Exit.
|
Hello! I have written a program that will calculate the area of a circle, rectangle, and a triangle if so chosen by the integers the user inputs (1-4, 4 is quit... |
Aug 1, 2014 at 6:14am
[2 replies] Last: Those mistakes were pretty simple. I am sorry I didn't catch them myse... (by cplusone)
|
by amjxxx
Running Total in Do While Loop
|
This is a homework assignment so I understand that answers cannot be given. I have been having trouble trying to figure out how to create a running total in m... |
Aug 1, 2014 at 3:12am
[5 replies] Last: Okay, thank you! You are right, this is very helpful! I will try this ... (by amjxxx)
|
by dgsm98
For loops not printing
|
I'm making a simple program that will use a for loop to print numbers in between the two variables, after the program asks the user to input two numbers, it won... |
Aug 1, 2014 at 2:40am
[2 replies] Last: Thank you, I don't even know how I made that mistake. (by dgsm98)
|
by metulburr
c++11 returning a tuple from function
|
Im trying to return a tuple from a function. Im not sure what the problem is? #include <iostream> #include <tuple> #include <cmath> std::tuple<int, dou... |
Aug 1, 2014 at 2:07am
[3 replies] Last: ahh, thank you guys... (by metulburr)
|
by MaximilianR
Input file problem
|
I am using NetBeans and i just want to open a file but it doesn't work. I have got my main.cpp and next to it my file. The output is "Failed". Thank you for ... |
Aug 1, 2014 at 2:07am
[1 reply] : Where is your executable located? That's what matters, not your .cpp f... (by Ganado)
|