Beginners - July 2019

"The Greatest and Least of These"
I'm going through a school book from last semester. I am struggling with understanding why the follo...
[8 replies] Last: Another way: #include <iostream> int main() { const int SENTINE... (by JLBorges)
C++11 Lambda Type
Whenever one creates a lambda, the type is always auto, so I was wondering, is the type that it is v...
[15 replies] Last: 🤷‍♂️ I honestly don’t even remember. It just didn’t work ... (by highwayman)
by RicoJ
What iterator does .end() return exactly?
Now I am trying to write my own container and I need to return an end iterator using .end() function...
[11 replies] Last: Ok I got it, since we can compare two iterators by comparing their poi... (by RicoJ)
Data entry displaying
Write your question here. Guys is there a chance i can get help with displaying my database i have ...
[4 replies] Last: Definitely TurboC++ India seems dedicated to it. (by dutch)
Can't understand this "for" cycle in the program (1,2)
#include <iostream> using namespace std; void print_partitions(int sum_val, int n) { int pos = 0,...
[20 replies] Last: Intentionally. "Learn on my own" makes "me" the teacher. "I" instructe... (by keskiverto)
Appending text in a QTextEdit
Hi everyone, I'm struggling a lot to append the text from a series of object files in an object a...
[4 replies] Last: while (table != NULL) when that loop ends `table ' will be null the... (by ne555)
Clearing array of objects
Hi everyone, I'm having the following issue. I have made a GUI in Qt but it is crashing and I'm no...
[4 replies] Last: right so it needs to be { delete table ; table = 0; /... (by jonnin)
by Ashmor
C++ and SFML. Angles won't work, help!
Hey guys, I'm new to programming and SFML. I'm trying to make something like a canon. It's gonna fir...
[10 replies] Last: I improved my code, using some suvat formulas. It seems to be working ... (by Ashmor)
by RicoJ
Question - Unary Operator Overloading in Class
I am trying to overload dereference * in class node_itr. How do I know if the overloaded * operator...
[4 replies] Last: Awesome, Thanks guys! :) (by RicoJ)
Buffer Overrun while writing.... Please help!
Hi there all. I am writing a little Hangman console-app in c++ to try and learn the language. It is...
[15 replies] Last: @DaveGold, By the way... The 'overrun' problem was only present in v... (by Niccolo)
Class Pointers to itself
How would I write the code that would make a pointer to a pair that contains any type as its .first...
[11 replies] Last: Don’t worry I’m not going anywhere near recursive macros anytime s... (by highwayman)
Please help clear my confusion about pointers/stack/heap
Hi, I am trying to understand pointers and meanwhile trying to choose which naming convention to c...
[11 replies] Last: At least others with the same/similar questions will benefit from this... (by Furry Guy)
by berce
Rotate the amount of increase; X times (1,2)
Hi, dear all I have a question I hopeful that do you help me to get the result I want The proble...
[20 replies] Last: //1 3 5 7 9 11 amount of number:6 counter of loop: 6-1:5(2-2-2-2-2) ... (by keskiverto)
header files - first step
Hello to all forum members, Probably more than one knows this task, but although it seems very simp...
[13 replies] Last: A note on Visual Studio This error: The "CL.exe" command terminat... (by Niccolo)
Roast me (1,2,3)
Ok maybe not exactly, but I need someone to tell me the failings of my division function because it ...
[43 replies] Last: Oh, awesome! :) (by highwayman)
getting datas from XML : NetSuite WebService
I want to get data from NetSuite WebService . This is how my code looks like: public class HomeC...
[no replies]
Copy-and-Swap idiom/Move Semantics
Hello, today I just learned about the copy-and-swap idiom. In my textbook, they also give an example...
[6 replies] Last: A third example comes to mind, though a simple example case is a bit c... (by Niccolo)
create a purchase function
hello ! I am new here. I need your help.I created program for inventory management. Please guide ...
[3 replies] Last: Hello umairbilal, I have been working on the program and have some qu... (by Handy Andy)
by atoken
read a text file store then write to it.
I am working on a school project where I have to create a time clock (which I have working) and stor...
[9 replies] Last: @highwayman, Isn’t seekg only supposed to be for input and not ou... (by Handy Andy)
debug window: watches. show vector<bool> values
hi community when lm trying to show a vector<bool> values in the watches debugger window, it says: s...
[2 replies] Last: All those answer they only works with no boolean vector I already pos... (by vincentthorpe)
July 2019 Pages: 123... 11
  Archived months: [jun2019] [aug2019]

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