Beginners - October 2019 (Page 10)

Problem with calculator using a linked list stack
 
I am having trouble with a calculator class where I need to use a stack data structure to evaluate a...
[15 replies] Last: You're right, I asked my professor about it and the equation he meant ... (by Jorge626)
by Horror
Printing out String (Struggling)
 
I'm honestly struggling on this program. I'm only trying to do one function where I must print out a...
[6 replies] Last: your functions relying on so many array arguments looks dangerous and ... (by malibor)
by Ocine
How to get inverse permutation of string based on array position
 
I have two separate codes that work separate, but they don't really accomplish what I want. I have a...
[4 replies] Last: Are you sure line 13 is right? That doesn't do what your example in th... (by dhayden)
circular referencing Linker error 2005
 
Hi all, Can you please suggest how I can avoid such a linker error without moving my function som...
[6 replies] Last: I don't have Visual Studio, so I don't know exactly why :-) but it's a... (by Enoizat)
Printing an array
 
Code is only returning 1. Not sure why, would really appreciate any help. #include <iostream> ...
[2 replies] Last: Awesome! Thanks for the help. (by Brendon130)
by jonnin
New at c++.Talking about style seems right?
 
}else{ if it works for you, whatever, but I can't begin to tell what brackets go with what blocks of...
[1 reply] : PLEASE stop making multiple topics on the same subject. You've alread... (by deleted account xyzzy)
by Jdur17
Code to solve for a linear equation.
 
I dont know how to approach the problem of finding the variable in the equation format of: x + y = z...
[11 replies] Last: Input: The input contains several test cases. The only line of each... (by Jdur17)
How to repeat my outer loop?
 
Hello all again, I have a Lumber Order program I need to write. I need to get the loop to repeat its...
[7 replies] Last: - Read the customerID as a whole line. After all, you print it out exa... (by dhayden)
I have a problem with the editing style again, any ideas?
 
What does that mean?
[5 replies] Last: It sounds like the prof wants a particular coding style. Ask him/her w... (by dhayden)
Can anyone help me please to correct this UML diagram (Linked below). I have already translated this UML into C++ code?
 
Write your question here. Can anyone help me please to correct this UML diagram (Linked below). I...
[1 reply] : The link does not work for me. What kind of help do you need? (by coder777)
Permutation question
 
How many permutation can I make with 5 numbers with order. e. The first number can be 1-34. The ...
[1 reply] : I was just about to say that there’s a standard container that would... (by highwayman)
even character "a" detected as "EVEN"
 
its good, numbers detected well if its even or odd. but when i input letters or other symbols it sho...
[5 replies] Last: Since C++14* input failure assigns a default value to the target objec... (by Duthomhas)
help displaying iterations after loop goes through
 
Hello, I was wondering if someone could help me with a way to display a counter on my output af...
[2 replies] Last: thanks for your response. another question. do you know a way to have ... (by theghost)
Copying a directory_entry to a string variable?
 
I've been trying to figure this out for a while. How can I make a copy of a directory_entry varia...
[2 replies] Last: Ohh, thank you very much JLBorges! (by PiggiesGoSqueal)
[Error] too many initializers for char array
 
Hey seniors, I am facing a problem of initialization of character array, it gives error of too mu...
[3 replies] Last: Line 3 would work if you were creating a std::string array. A 2D char... (by deleted account xyzzy)
Bubble sort a linked list
 
Hey guys, I have to finish this program by tonight and I have everything working except how to do a ...
[4 replies] Last: Why do you insert at the end of the list? It's horribly inefficient. ... (by dhayden)
Can you call the destructor? Classes.
 
If so, how? class Blah{ public: void fnc() {} ~Blah(){ std::cout << "blah"; }...
[5 replies] Last: There are no memory leaks in any of the code examples above. All memor... (by Ganado)
Static Class Variables? Confusing message
 
I was trying to make a class that check how many objects you’ve made of it, and then prevents you ...
[4 replies] Last: Because if the constructor of an object completes, what that represent... (by Ganado)
by swa9
Default initialization
 
What is default initialization, when does it occur? Would 'x' be considered as default initialized?...
[11 replies] Last: What about global variables what clause would they come under? http:... (by Cubbi)
Linked List HELP!!
 
Hi! I'm making a linked list where it contains 6 elements and wherein if input a number, starting fr...
[3 replies] Last: Duplicate of http://www.cplusplus.com/forum/general/263954/ EDIT: and... (by MikeyBoy)
October 2019 Pages: 1... 89101112... 18
  Archived months: [sep2019] [nov2019]

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