General C++ Programming - December 2012 (Page 23)

by BHX
Need Guidance: Want to Make an IRC Client
 
Sorry if this is the wrong forum to post this in. I'm bored and decided to do something I had bee...
[2 replies] Last: Thanks, gives me an idea of what to Google for now to find the most up... (by BHX)
Catching exceptions thrown from constructor of a global instance of a class
 
I know that having global variables is not appreciated. But in the book, The C++ programming languag...
[no replies]
Simulation program queuesystem
 
Hi! Im having problem with My code where i can't enter the last if. This simulates a queuesystem. ...
[no replies]
Base class ctor
 
If i have 3 classes to inherit as follows a:b:c And the following line included in main function...
[2 replies] Last: Posting a minimal, compilable code snippet that illustrates the proble... (by cire)
there's an error
 
what will i do if there is an error like this? In function `int main()': jump to case label ...
[5 replies] Last: while(choices!='D' || 'd'); This is not equivalent to choices != ... (by cire)
Do you know this error?
 
Psh I have been working on this for days doing research and everything possible. I have now given in...
[4 replies] Last: I have now given in to asking for help lol. Anyone have a suggestion ... (by cire)
anybody help please?
 
Your CONSOLE program must accept positive integer numbers as elements for two different SETS. Give...
[4 replies] Last: you can put ... (by dovip)
Binary Trees problem
 
I only need help with finding the maximum leaf level and the minimum leaf level. I got my code to pr...
[no replies]
by ajitm
How to write lost focus event for combo box with drop down style
 
As combo box is having three styles, Simple, drop down, and drop list. I want to write event lost fo...
[no replies]
Building Libgd on Windows XP / MinGW
 
Has anyone built Libgd on Windows XP using MinGW. It almost seems that it can't be done. I'm get...
[no replies]
Hashing
 
21 76 118 If I have the above numbers and some function like below: hashvalue := (i*i) mo...
[1 reply] : http://en.wikipedia.org/wiki/Linear_probing 21^2 = 441. Modulo 97: 53... (by helios)
by iky
strings in loops?
 
hi. im trying to make a loop that will end when the user types in 8 numbers for the telephone number...
[5 replies] Last: Ah! Okay... In that case I would still suggest reading in the numbers ... (by Binary Thoughts)
passing a struct to a constructor
 
struct charType { int health; int strength; int constitution; int stamina; int per; short colo...
[5 replies] Last: You can try passing by reference: Character::Character(int, int, int,... (by pogrady)
Program that checks if a user inputted double variable is valid breaks when it's not valid. How do I fix it?
 
I'm working on a project for my C++ course and part of it is to make sure there is no way the user c...
[5 replies] Last: The canonical way to do that is: #include <limits> // ... std... (by cire)
Diamond code
 
/*c program for number pyramid*/ #include<stdio.h> #include<conio.h> int main() { int num,r,c,...
[no replies]
Miles to KM. Km to Miles etc..
 
#include <stdio.h> double m2km(double); //Convert Miles to KM double km2m(double); //Convert KM ...
[no replies]
helpe me plz
 
tp1.cpp template <class T> T permut(T &a,T &b) { T c=a;a=b;b=c; } g++ -c tp1.cpp -o tp1.obj t...
[1 reply] : expln prblm plz... nd uz cd tgz! slct ur cdz n prs teh <> btnzzz.* ... (by cnoeval)
Guess Game Problem
 
Its a guess game with 4 rounds.. i just need to find the average number of guesses. I DO NOT need t...
[4 replies] Last: Yep, I was thinking lines 71-72 but wrote 83-84. My bad. (by toum)
Sending application with static libraries.
 
i am using MSVS 2010 Express, Visual C++. and i have the allegro libraries linked statically, i was ...
[4 replies] Last: oh wow, that was very informative, thanks a bunch man! (by Naughtyusername)
Need help
 
Why does this not display 2% when it outputs all the answers. It does the calculation of 2% fine but...
[5 replies] Last: Use code tags. Can't see any changes from the first post... #include... (by Maniax)
December 2012 Pages: 1... 2122232425... 43
  Archived months: [nov2012] [jan2013]

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