General C++ Programming (Page 12)

Multiple inheritance and virtual functions with differente signature bu same name
 
Dear experts, I have the following code which does not compile: #include <iostream> using names...
[7 replies] Last: my problem is that preD::foo needs to access something initialized in... (by dhayden)
problem with pointers
 
I want to implement the mutual-avoidance iteration with c++. The method consists to generate random ...
[6 replies] Last: The code from the relativisticobserver page has the same error that yo... (by doug4)
by Lex33
Can Signal
 
I have also another problem with a task,perhaps somebody can tell me how I should paint it in 1)? 1...
[5 replies] Last: I have also painted the Can Signal for 0xB5 Is it right ? https://www... (by Lex33)
problems with strings
 
I have to take a name that is in the format of Last, First Middle and give output that takes the str...
[4 replies] Last: Good that you got it working. I think there's an easier way. void i... (by Thomas1965)
How Will I Compute The Normals at Vertices using 3D Object? (1,2)
 
Hello Professionals, Good day. I would like to ask about the 3D aspect of my previous post recently...
[22 replies] Last: Thank you very much to those who shared their insights and especially ... (by kindgnice)
by kokudo
C++ Arduino Coding
 
Hey guys. I'm very new to C++ coding and am stuck on a problem with my arduino code. I'm wondering ...
[1 reply] : it looks like you need more checks. something like if(high) pattern ... (by jonnin)
by Pickle
How to replace a part of .txt file with fstream
 
Hello, I tried to modify the content of .txt file using code below: (part of function) std::stri...
[1 reply] : You cannot simply insert into the middle of a text file; you could pos... (by Repeater)
by Dani90
Need help!!!!
 
Hello ..how to calculate complexity for this algorithm f=1; x=3; for (int i = 1; i <= n; i*=2) ...
[3 replies] Last: @tpb disgusting (by Dani90)
by Lex33
Task C++ Difficult help please
 
Hello I have a little Problem with this task . Some I have already implemented in the code: I will...
[15 replies] Last: Some Ideas Guys ? (by Lex33)
Adding Windows.h library in eclipse
 
Hi, I use compiler, which is minGW. Then, I installed opencv library through cmake and compiler wit...
[1 reply] : windows.h should come with your compiler you don't need to do anything... (by Yanson)
Efficiency for Style?
 
Generally, I like to break down my if statements into predicate functions for clarity and neatness. ...
[7 replies] Last: I guess readability is subjective, but to me That's good feedback th... (by Aaron Vienneau)
by Lahs
Competitive programming
 
Sheokand loves strings. Chef has N strings S1,S2,…,SN which he wants to give to Sheokand; however,...
[1 reply] : Please note that this is not a homework site. We won't do your homewor... (by keskiverto)
by d3vcho
How to lowercase string with special chars?
 
Hello! I need to lowercase a string that may contain special chars like, for example, "Á". I saw t...
[2 replies] Last: Hello Thomas, thanks for the fast answer. Excuse me but I'm kinda new ... (by d3vcho)
by Dani90
find all possible permutation for n integer
 
Hello.. how to find all possible permutation for n integer using backtracking algorithm
[3 replies] Last: Then say something in that post instead of TOTALLY IGNORING PEOPLE WHO... (by tpb)
logic bug
 
i guys am using qt to make a simple x and o gui, whenever I click on button number 9,it will seem...
[2 replies] Last: thanks Jonnin very true,I actually do go out of bounds in my bool ar... (by adam2016)
by Heymid
De-allocation problems when stacking container onto container
 
#include <iostream> using namespace std; template <class T> class Container { private: ...
[4 replies] Last: I had to implement the copy assignment operator to make the functional... (by Heymid)
SFINAE
 
Hi guys, I am following along with this tutorial from a blog post https://jguegant.github.io/b...
[11 replies] Last: int (*p)(void*,void*); , so p is a pointer. int *q; , so q is a poin... (by helios)
by Heymid
Invalid argument type to unary expression
 
class Formula { public: virtual bool isTrue() const = 0; }; class VariableFormula : Formula {...
[4 replies] Last: UPDATE: Actually, I take it back, the solution I thought I had is not ... (by Heymid)
help with my median function
 
Write your question here. my professor gave us function prtotypes to work with and we have to use t...
[4 replies] Last: In other words, why are you doing this? *makeArray(num_student); Yo... (by Ganado)
dev c++ undefined reference linker error
 
I have a problem to compile this code: http://gfx.cs.princeton.edu/gfx/proj/sugcon/software/rtsc-1....
[no replies]
Pages: 1... 1011121314
  Archived months: [may2018]

Cannot post in this page. To post a new message, go to the first page.