General C++ Programming - August 2014 (Page 10)

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 closed account 10X9216C)
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)
by abc1
destructor of class
 
I have typed the program as:- class test { int x; public:test(int a) { x=a; } void p...
[6 replies] Last: int main() // <- main must return int, not void { { // <- limi... (by Disch)
Am I handling bad allocations well?
 
I've never been taught a specified way of how to handle bad allocations of dynamically allocated var...
[11 replies] Last: 4) If you don't know how big an array needs to be until run-time. Tec... (by helios)
Does my code look nice? (1,2)
 
Hey, Just curious if I have coded this nicely. Its a small snippet of some code that works with m...
[26 replies] Last: > I've seen excellent programmers with more than 10 years of experien... (by JLBorges)
One thing to clear about dynamic binding?
 
For example: If I have the base class class cell_c { public: virtual void calculateStep1...
[5 replies] Last: Line 12, 19, 28, 37: Needs virtual keyword. virtual ~cell_c(); ... (by AbstractionAnon)
August 2014 Pages: 1... 89101112... 25
  Archived months: [jul2014] [sep2014]

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