Beginners - October 2013 (Page 66)

Homework help
 
Need help with the user friendly functions and how to ask the user if they want to play again. T...
[6 replies] Last: Why isn't numbers used when checking the answer? The switch () ... (by Chervil)
STL containers vs queues through linked lists
 
1) What is the difference between queues developed through linked list concept and STL containers? ...
[2 replies] Last: What is the difference between queues developed through linked list c... (by Catfish4)
for loop?
 
Hi everyone! I need help with a loop...I believe the one I need to use is a for loop but I might ...
[4 replies] Last: I agree with giblit , a for loop is good when the number of iteration... (by TheIdeasMan)
avoid switch crash
 
Hey folks, I've already turned in this assignment as it fulfills the requirements. I was just wo...
[2 replies] Last: For example function to validate input: #include <iostream> #include ... (by MiiNiPaa)
by layzer
Help with getting functions to work
 
So for my homework i have to create 3 files, a main, a functions, and a header file. The program is...
[10 replies] Last: This will work also double validpck() { if ((pck == 'a... (by admkrk)
while loop not reading "\n"
 
how do i stop the loop? int main() { string str; while(str != "\n") { cout<<"Insert data o...
[2 replies] Last: ah I see. Totally forgot about that .empty() function.. Thanks (by jorellc)
Help with "error: expected `;' before '{' token"
 
Despite trying to follow the conventions for a void function, I still have an issue with the bug at ...
[5 replies] Last: thanks all. (by cpplease)
A dynamic 'vector' container that cannot be resized
 
Is there a container like std::vector that is guaranteed not to be resized or re-allocated? I would ...
[2 replies] Last: Why not a vector of pointers to objects? Makes more sense to me. Or ev... (by xismn)
How to copy constructor with unique_ptr in Linked Stack
 
So, moving from Linked List, I now have to build a Linked Stack, which I think is pretty much simila...
[5 replies] Last: Instead of this:[code firstline=11] LinkedNode(T newElement, un... (by LB)
Problem with switch structure
 
Can anybody tell me what is my problem here? #include <iostream> #include <iomanip> using na...
[7 replies] Last: integer divided by integer returns integer. Throw a float in there and... (by giblit)
Starting to get annoyed with this
 
Im not sure whats wrong with my code but I've tweaked it like 20 times. Can anybody help me? I feel ...
[4 replies] Last: @Hedgehog Ninja Sorry 'bout that ;) I guess the saying is true, then... (by whitenite1)
Need Help with Part 2
 
ok, so im doing a c++ programing class at my online school, right now, it needs me to make a second ...
[7 replies] Last: nvm, figured it out, just replaced all the code for the else in the ge... (by logoster)
by AGZZ21
C++ 3 dice rolls with only 1 int?
 
I'm doing a project of a crown and anchor game where you basically bet on a side of a dice and if yo...
[3 replies] Last: for(int x = 0; x < 3; x++) { //dice roll code } while(//us... (by GRex2595)
Why is my program crashing?
 
My program was basically made to prompt the user for a positive integer and tell the user whether th...
[1 reply] : Line 30. Division by zero. See if you can step through the program and... (by booradley60)
by Wakobu
Do-while Beginner Question
 
Hi there, I'm new to the forums here so forgive me if there is some Code of Conduct I'm not foll...
[3 replies] Last: why doesn't it work if I declare it inside the loop? By creating va... (by Uk Marine)
Creating a new object within a function implementation for that class.
 
Just trying to make a new object temporarily for swamping values. It's not liking what I'm doing. E...
[3 replies] Last: Try it this way: template<typename T> void MyVector<T>::swap(MyVector<... (by norm b)
by brillo
Producer and Consumer problem
 
Hey guys I am working on a producer and consumer problem where a producer will produce 5 random numb...
[2 replies] Last: It worked! Thanks for your help. (by brillo)
Array Based Deque
 
i need to create an array-based deque implementation. It should not use shifting, it needs to allow ...
[7 replies] Last: That is really difficult to read. (by GRex2595)
Homework help
 
I am having trouble understanding my teacher's explanation. I need help with this assignment. 3....
[6 replies] Last: I can figure out this: double calcAverage(double value1,double valu... (by eyenrique)
if/else syntax question
 
Good evening everyone. The following is part of a code for a photocopy cost calculator program. I a...
[2 replies] Last: Line 1 to 12 is where the user is supposed to choose what paper format... (by Annatar)
October 2013 Pages: 1... 6465666768... 86
  Archived months: [sep2013] [nov2013]

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