General C++ Programming (Page 9)

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 myesolar)
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)
can anyone tell me the program for this?
Write a program for the following series (using any loop) : -5 5 -4 4 -3 3 -2 2 -1 1
[3 replies] Last: just try writing it youself edit: if you need help with writing it, t... (by Little Bobby Tables)
In all my classes I've been told an array does not know it's size. char* a = new char ; ...
[6 replies] Last: Heaps are usually implemented using boundary tags. A boundary tag is ... (by AbstractionAnon)
by ne555
unnecessary dynamic memory allocation
The idea of this thread is to serve as a reference to link when spotting a T *foo = new T; or simi...
[3 replies] Last: > Why not write an article? because this way I can have the beautiful ... (by ne555)
External Reference Problems
I am trying to create a linked list using multiple files but am getting 2 errors "main.obj : error L...
[11 replies] Last: that would probably be a setting in your ide (by Little Bobby Tables)
Dynamic Memory Question
I'm reading a stereo .wav file into a buffer (allocated memory). My question is in regards to: 1....
[2 replies] Last: To allocate a 2d array and to validate you would do something like thi... (by giblit)
pls tell me the output for this
#include<iostream.h> #include<conio.h> void main() { clrscr (); int a ; int n,m,age; int c1=...
[10 replies] Last: [quote=AbstractionAnon]Indexes start from 0, not 1. I like to think o... (by giblit)
Problem in classes
Hey i am making a multiple quiz program. so everything is working fine, except for the part where ...
[1 reply] : > so everything is working fine, except for the part where i'm trying ... (by ne555)
C++ Map storing multiple data types
Dear C++ Users, I am trying to create a generic map container which shell contain data of differe...
[4 replies] Last: No, I wanted to prevent dynamic_casts. Casting in general I want to be... (by weissric)
Pages: 1... 7891011... 39
  Archived months: [may2014]

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