General C++ Programming (Page 29)

Not expected result for my function
 
Hello, there is some problems in my program. In the function void print(int num, int line, char let...
[3 replies] Last: I would like to save the actual values of the factors (by Johnluk)
by ToniAz
Enforcing that a function does not modify dynamic array pointed to by pointer
 
Hello everyone, In case the question was not very clear. Say I have the following code: int sum(...
[9 replies] Last: BTW, that is supposed to be C and not C++. [...] Why do I need a cast... (by helios)
Avoiding Move
 
Hi, Is there a way to make sure that no move constructors or move assignments are ever called? I ...
[2 replies] Last: Thanks! (by smcguffee)
Eclipse, input / cin
 
Hello i am using Eclipse and don't know how to test my program when i use cin for example when my pr...
[2 replies] Last: When you use cin, in most cases your program have to get input from th... (by Jacobhaha)
SNMP Library
 
Hi, I need to write SNMP Management Station in C++, which is the best library to use: SNMP++ Op...
[3 replies] Last: Net-SNMP comes with snmptrapd which handles receiving and decoding of ... (by ResidentBiscuit)
header file and ifstream
 
hello this is my header file const unsigned short int numbersAdd=100; const unsigned short ...
[11 replies] Last: thanks its working in codeblocks...crap Geany...btw if u could tell me... (by csstudent123)
Program built with clang++.exe crashes
 
I have dual-boot Windows 7 and Ubuntu Trusty. I used clang/clang++ and it works fine when I installe...
[3 replies] Last: Have you looked at what libraries are being linked in each case? (by LB)
confused about static function vs static variable
 
Please anyone help me understand static function and static variable in an implementation file for e...
[4 replies] Last: thanks..btw can u pls look at this? http://www.cplusplus.com/forum/ge... (by csstudent123)
by tmason
Best Practices for Having a "Generic" function...
 
Hello, I know the title is rather ambiguous so let me explain. Let's first take the following ...
[4 replies] Last: If the only difference is the return type then somewhere, somehow, th... (by helios)
by clxye
How to distinguish between std:: function
 
I want to realize C# style delegate. class Object{}; class EventArgs{}; #define delegate ...
[3 replies] Last: You mentioned the signal I was also considered, but I want to achieve ... (by clxye)
how to output from a .txt file
 
So I have a .txt file with, Name >> Username >> password >> adminstatus. It is filled with variou...
[2 replies] Last: Is there a simpler way of doing it? I know your method is fairly short... (by wakamoe)
operator overloading
 
type operator * (int x) const; now the const word here is telling about whom???? x is const OR...
[1 reply] : The member variables of the object where the operator is overloaded ar... (by asus1575)
by sha
Converting the matrix to vector
 
Write your question here. Hi I want to convert the matrix to vector and vice verse.Is there an...
[1 reply] : Need more information, not all matrices can be converted to a "vector"... (by spectral)
hassle with operator overloading
 
++ operator --------------1----------------- void operator ++ (){ this->num = (* this).num + 1; ...
[3 replies] Last: what's the logic behind these restrictions ??? That allows for th... (by firedraco)
Help with downloading OpenGL?
 
So, I am trying to learn OpenGL for game development, and I cannot find a download anywhere. I know ...
[9 replies] Last: I got it (I am pretty sure)! When I built it last night it worked, alt... (by AceDawg45)
Mutexes vs Atomic Operations
 
Hi everyone Thanks for all your previous help. I am actually looking at writing a float value in th...
[14 replies] Last: @ Computergeek01 I am not sure of what kernels and API's are but I am... (by mcprakash)
by Ownie
Error using std::string std::bad_alloc
 
1: Unhandled exception at at 0x75151D4D in Game.exe: Microsoft C++ exception: std::bad_alloc at memo...
[5 replies] Last: > Here is more of the code then http://www.eelis.net/iso-c++/testcase.... (by ne555)
templates to be defined explicitly
 
Do we need to define templates explicitly for each function/class like template<class X> myfu...
[no replies]
Converting floats (1,2)
 
Hello How do you convert a number float in a range of -10.0f to 17.0f to a eqivalent number in th...
[22 replies] Last: This requires some further investigation maybe on the compiler/linker ... (by vivienneanthony)
sqlite3 problem?
 
Hi, I have a problem with sqlite3. The database locks its self when in use this is a problem for m...
[6 replies] Last: Could you further explain this please? (by danielmccarthy)
Pages: 1... 2728293031... 44
  Archived months: [jul2014]

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