General C++ Programming - July 2014 (Page 16)

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 closed account 10X9216C)
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 Duthomhas)
!!!!"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)
by R23MJ
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 R23MJ)
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 Duthomhas)
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)
delete[]
 
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)
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)
July 2014 Pages: 1... 1415161718... 26
  Archived months: [jun2014] [aug2014]

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