General C++ Programming (Page 40)

My Program Calculating Problem (2)
 
Another calculating problem, this time is about the sinh x, cosh x and tanh x function, the formula ...
[6 replies] Last: Thank you for answering (by wangshengwei95)
Deallocating an array
 
Hi all. I an new on this forum. I have a little problem when i try to deallocate an array. I gi...
[1 reply] : 1. A malloc() call must be paired with a free() call. A usage of new ... (by helios)
pointer help
 
Having a problem getting these pointers to work. Not sure what im doing wrong, any help is appreciat...
[2 replies] Last: That is to keep head at the head of the list. The input file contains ... (by elite zero)
Object Vector Issues
 
Hello, I am currently having issues with a program I am working on that uses vectors of objects. I h...
[10 replies] Last: No I just want to be able to access the first available one. Thanks ev... (by Pi Lord)
Array of ClassObjects
 
Hi all and exuse me if this topic can has the same argument of another one! It's very important f...
[4 replies] Last: i've something like that: template <typename T> class TMatrix { ... (by Mexonius)
Getting proper grammer
 
Does someone know of a better way to get proper grammer in sentences than this method of mine? I do...
[1 reply] : Something along the lines of class Pronoun { // ??? } You, HeSh... (by prestokeys)
Floppy disk image boot sector minimum data?
 
When creating a floppy disk image, what is the minimal data required at the boot sector (side 0 trac...
[no replies]
Pure virtual function called at runtime.
 
I'm currently making a game and what happens is that during runtime, it suddenly closes and a messag...
[2 replies] Last: Seems like that fixed it. Thanks for the help and explanation! :) (by Stormboy)
string output problem
 
I'm trying to make a program that outputs a parabola. The user inputs the variables, and it's suppos...
[2 replies] Last: do you have any additional code? because output and parse are not ... (by codekiddy)
give some gtkmm resources
 
hi, if you have some gtkmm resources such examples and tutorials, please share them here :) gtkmm p...
[3 replies] Last: [quote=firstline]Gtk is a pain to build on windows , there are like 1... (by spectral)
PLEASE HELP with function to convert decimal to binary
 
Hi! Can someone please explain to me what is the difference between the two functions below? I ...
[3 replies] Last: Here's my recursive version. :O) std::string to_binary( unsigned n ... (by Duoas)
!!!!"delete this" in destructor !!!!
 
Hi,  i don't understand why having a delete this; in the destructor cause a stack overflow?, th...
[5 replies] Last: It means with no pointers in class, an empty destructor does the work,... (by whiteReve)
Problem in Const&
 
hi,  i'm trying to avoid the copy made during the appel of a function by using const&,  But it...
[4 replies] Last: Smac89 , Thank u very much. (by whiteReve)
C++ send info to PHP webpage?
 
I was wondering if there was a way for me to send information, say a username and password, to a web...
[3 replies] Last: That's wonderful, I will look into the python thing, and just have the... (by MrProGamer121)
by RiHdz1
Math Tudor - Random Numbers
 
// Objective: Guess the correct answer of the random numbers // Problem: I guess the correct answer...
[2 replies] Last: I've been laying off this problem for a month. I don't remember why I ... (by RiHdz1)
Non overloadable function
 
Hi there! Please I would like to know if there is a way to make a function non overloadable. My ...
[5 replies] Last: Thanks! Here is a quick test I've made too. class a { private: ... (by patrikgwet)
cin input validation returns wrong
 
I have this function that is supposed to take a float as a parameter and then call the getLine() met...
[3 replies] Last: I think it was just xcode acting up, I quit the program and reopened i... (by DomBavetta)
by RiHdz1
Conditional Operator
 
// Enter 2 numbers. Program should use CONDITIONAL OPERATOR to determine which // is larger and whic...
[6 replies] Last: You're welcome. Check out the bottom of this page for more in depth in... (by giblit)
by gok
#define to overload virtual function
 
I want to overload pure virtual function from 3rd party SDK class to put my debug messages like that...
[4 replies] Last: Override != hook You override a function that your class inherits fro... (by Computergeek01)
Random value w/o repetition..pls help me..
 
I am a newbie in C++ programming. I have a project in school using c++ language. I try to make a pr...
[4 replies] Last: As an extension to keskiverto 's response: the example in the documen... (by Duoas)
Pages: 1... 3839404142... 50
  Archived months: [jun2014]

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