
please wait
by hdyh
stack problem. help!!
|
I want to display input,delete and show in stack, but there a problem in switch case loop, expected before int please help me. #include <iostream> us... |
Nov 3, 2015 at 12:03pm
[1 reply] : You need another cin where the user enters the value to push: sw... (by coder777)
|
by shome
arguments to program while running backtrace(gdb)
|
my program takes a few argumnents. while running it(with the required arguments)i got a seg fault. i generated core file. then i want to run backtrace as: ... |
Nov 3, 2015 at 11:03am
[no replies]
|
Overloading an operator question |
Solved |
Nov 3, 2015 at 7:52am
[6 replies] Last: Yes, you may write this: Test& Test::operator += (const TestX& t){ ... (by coder777)
|
by EdWar82
New instead of Malloc
|
I've been working with a tutor on one of my assignments and within they had use me malloc. I am being told by my instructor that I should use new instead. In or... |
Nov 3, 2015 at 6:07am
[5 replies] Last: Awesome! Thank you for your help on this one! (by EdWar82)
|
by LainStorm
Working with functions (void), where am i messing up?
|
#include <iostream> using namespace std; void multiplicationFunction(); //multiplying input and num in the main function { cout << num << " times " << inpu... |
Nov 3, 2015 at 5:26am
[3 replies] Last: Your addition/multiplication functions don't know what "num" and "inpu... (by magnum pi)
|
Expected Primary-expression |
I keep getting the error "error: expected primary-expression before ',' token" when there is clearly a comma there. What am I missing? #include <iostream>... |
Nov 3, 2015 at 4:58am
[2 replies] Last: Gotcha. Thanks:) (by sirconfusedalot)
|
Annual Mean Temperature Problem |
Hi, I'm currently dealing with an issue trying to write a program for homework. I need to take the input of multiple temperatures (up to 50), then find the aver... |
Nov 3, 2015 at 2:48am
[5 replies] Last: I second what ShiftLeft said! :D But if your project requires you to u... (by magnum pi)
|
by StoriesOfRen
Functions are kicking my butt....
|
Can someone give me a better explanation on functions??? the empty one for the menu I kind of understand because you don't have to reference anything... anyway ... |
Nov 3, 2015 at 2:41am
[no replies]
|
by tripplex95
Bank C++ class program and arrays
|
thats the main.cpp but when i read in the values in the array and enter the desired number for withdraw or deposit i cant get it to read that the acoout is savi... |
Nov 3, 2015 at 2:13am
[2 replies] Last: need help not understanding i also have a class file (by tripplex95)
|
by scrueyke2
Using loops to print contents of an array
|
There are 4 parts to this assignment. I have to first 3 completed but am having trouble with the fourth part. • Write the code that will display only the ... |
Nov 3, 2015 at 2:02am
[7 replies] Last: Is such an optimization possible? After all: strlen(myCharArray) may n... (by magnum pi)
|
by PopRockCandy
warning: variable set but unused
|
warning: variable 'ret' set but not used [-Wunused-but-set-variable] warning: variable 'turn' set but not used [-Wunused-but-set-variable] receiving these erro... |
Nov 3, 2015 at 12:43am
[2 replies] Last: The warnings are advisory, they are not fatal to your program being co... (by closed account E0p9LyTq)
|
by Powdertrail
Passing functions via pointers
|
Hello. I was wondering: how should I call a function stored in a separate file that of whom I know nothing but the header? If I had a function for a queue t... |
Nov 2, 2015 at 11:45pm
[2 replies] Last: Use std::queue<> http://en.cppreference.com/w/cpp/container/queue ... (by JLBorges)
|
Debug error I can't seem to solve + any advice on this program |
Hi guys, I'm writing a program to score a performers score, based on 5 judges. The score will be calculated by dropping the highest score and the lowest score, ... |
Nov 2, 2015 at 10:57pm
[12 replies] Last: http://www.cplusplus.com/doc/tutorial/functions/ (by Zaita)
|
by stooper1002
Anybody?
|
Hey, everybody I was just wondering how long did it take you to master c++. Im asking to see if im just taking far to long or if it takes everybody a while. |
Nov 2, 2015 at 10:54pm
[2 replies] Last: C++ is always evolving so you can never truly master it. C++11, C++14 ... (by Zaita)
|
by hdyh
Stack to state input, show and delete
|
I try to make a coding to show a stack that state input, show and delete. But there is a mistake in the coding that i cant find by myself. Help me to solve this... |
Nov 2, 2015 at 10:47pm
[3 replies] Last: Use a reasonably current compiler (and for g++: enable C++11 with -std... (by JLBorges)
|
by kamilhassaan
i need help with this code using the while loop.
|
Write a program that will ask the user to enter a finite amount of numbers between 1 and 10 and display the product of the entered numbers. The amount of num... |
Nov 2, 2015 at 8:57pm
[2 replies] Last: Thanks man (by kamilhassaan)
|
by drtran83
Please help me figure this out!!
|
Hey guys, I'm trying to modify my old program to now incorporate a sort function to sort the data into descending order. I think I've got the sort properly pro... |
Nov 2, 2015 at 4:56pm
[6 replies] Last: Your loop starting line 67 doesn't do anything either. I'm not sure wh... (by magnum pi)
|
How do I compare integer array elements with each other in the same array? |
Hey all! I'm trying to write a program that generates random numbers from 1-365 and then stores each random number in the array. I've managed to do that thus ... |
Nov 2, 2015 at 4:51pm
[2 replies] Last: Right now, you are generating 365 random numbers and storing them. The... (by tallyman)
|
by qwaserdf
Doubt with Classes
|
Could anybody tell me why at the end of the code, x and y are valued 12 and 32, since the member function "Lee" is void type and besides is executed in the scop... |
Nov 2, 2015 at 4:42pm
[2 replies] Last: Thanks Shadowmouse, I still have to check the basics. Goodbye. (by qwaserdf)
|
by andriusvv8
C++, error: incompatible types in assignment
|
Can anybody help me, what's wrong with my code ? ... struct Duomenys { ... int Balart ... }; ... void Suma(int suma , int B , int... |
Nov 2, 2015 at 1:34pm
[3 replies] Last: Suma has return type void, which means it doesn't return anything. (by Peter87)
|