Beginners - May 2019 (Page 16)

by mpg
largest element in an array using recursion?
Can you help me about write largest element in an array using recursion? I found this can you expl...
[5 replies] Last: template <typename T> T maximum( T *a, int n ) { return n == 1 ? *... (by lastchance)
Passing multi dimension array to a DLL
Hi everyone, I am trying to write a simple test dll that will be called from a program written in...
[2 replies] Last: Sorry Salem_c Or when you compile it? I know the number of columns ... (by skiner36)
by Bopaki
help with overloading operator= for a queue
Here is my code 4 the overloading of operator= template<class Type> constlinkedQueueType<Type>&...
[4 replies] Last: Problem sorted out. Thanks everybody Found the answer from the book of... (by Bopaki)
Copy and swap idiom
Hello, I had a question regarding the "copy and swap"-idiom which I've encountered when overloading...
[9 replies] Last: kyrresc, could you please have a look at the accepted answer here: htt... (by Enoizat)
by gggss
[1 reply] : im trying to make a function that when toggled it will send the tex... (by salem c)
Best OBD2 Scanners
What is the output of this program and Explain the logic? How to find the best obd2 scanner for the ...
[1 reply] : Are you sitting in an exam at the moment, and unable to use a compiler... (by salem c)
Inheritance Class - Problem
Hi guys, I'm having a problem which involves inheritance. I am trying to prompt the user to inpu...
[no replies]
& and ~
Hi, I have a practice exam, and wanted to make sure I was right on a question. In C++ the____*___...
[4 replies] Last: Most likely, the ~ is referring to the declaration of a destructor of... (by Furry Guy)
Validate Input Exercise
Hey I'm trying to validate whether a string array contains an integer or not. I'm required to use a ...
[3 replies] Last: > outputted the value stored in num and I get 49. Why is that? https:/... (by ne555)
Detecting punctuation marks in QString variables
Hi everyone, Does anyone know how to remove punctuation marks from a QString variable ? I have ch...
[2 replies] Last: As a PS to the above suggestion, there are other forms of remove() tha... (by mzimmers)
by mpg
Recursion exercises
I have thes 3 exercises but I have problems with this new argument about recursion in c++: 1) int s ...
[9 replies] Last: Ignores non-alphanumerics and differences in case: #include <string> ... (by lastchance)
by kenken
Mutable and Immutable
I am a beginner in C++ as well as Python. I am having a hard time understanding mutable and immutabl...
[3 replies] Last: You should note that the concepts surrounding immutability are differe... (by Duthomhas)
Are QChar functions compatible with QString ?
Hi everyone, I'm trying to code a function which can ditinguish letters in strings from numerals a...
[2 replies] Last: ... (by Enoizat)
Hello everybody, thanks in advance. I'm novice with galib (genetic algorithms)
[6 replies] Last: Thank you, I found a new release in github (by psosmol)
by Pecvx
Destructor for class without dynamically allocated memory
How does the destructor for a class without dynamically allocated objects look? I know the compiler ...
[4 replies] Last: Release what memory? void dummy() { int victim; } There was memor... (by keskiverto)
by Bopaki
What does this error mean?
C:\Martin\Savitch\SavitchDownloads\Chapter13\Chapter13\StackFrame\stack.cpp:10:9: error: expected ...
[3 replies] Last: Okay I have found the problem and sorted it out. Thanks everybody (by Bopaki)
My practice assignment program should ask the user for the values of p, q, e,and d that are required...
[5 replies] Last: This makes it somewhat clearer. What values have p, q, e, d, and op (o... (by nuderobmonkey)
May 2019 Pages: 1... 141516
  Archived months: [apr2019] [jun2019]

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