General C++ Programming - December 2009 (Page 16)

Creating Hash Table
 
hey, i wrote a program to create a hash table using an array of numbers, but I do not know how to di...
[1 reply] : Nothing calls hashTable or hashfunction . main doesn't do anythi... (by kbw)
Some questios about AfxBeginThread
 
hi everybody, i still have problems with parallel programming. i want to solve little problem, wher...
[2 replies] Last: You will NOT get just one messagebox with 1 2 3 4 5 written it it. Th... (by akmal4ik)
SQL Databases ...
 
Greetings xD this is my first post n i think it's a kind of 'dizzy' question .. Well the main probl...
[4 replies] Last: PURE C++ doesn't support databases inherently. You need some libraries... (by melkiy)
Template-based data reading from string
 
Hi all, I am trying to implement a class to store data, which should be able to read its data fro...
[7 replies] Last: Tataaa! I got it. kbw, you pointed me in the right direction. Yes,... (by mrichwin)
inheriting a default value (short and to the point)
 
So my class Polygon has a member: int Polygon::default_length (1); anyway I want my class ...
[3 replies] Last: Hey... wait a minute.... didn't I just answer this? http://cpluspl... (by Disch)
Initialize
 
Say you have a class polygon and it has a member default_length and you want to initialize that valu...
[3 replies] Last: Sure they do. If your default_length member is public or protected,... (by Disch)
Reversing char[] arrays
 
I tried making a program to reverse a given char array. The problem: If you insert a big char arra...
[9 replies] Last: Why the hell would it be any different from normal static arrays if I... (by helios)
Starting Project.
 
This is my first program I have been allowed to choose myself. I am very green in c++. My programs j...
[no replies]
Error Loading Bitmaps in Xcode
 
Terribly sorry please delete this thread.
[no replies]
Calculating a Fibonacci Number
 
Is this a common source code amongst "Loop topic programming"?
[6 replies] Last: Argh, that is such an weird convention... The zero-th Fibonacci number... (by tition)
Error codes with bools!
 
Is it possible for me to create my own error codes? Such as if a function fails to accomplish it's t...
[15 replies] Last: @Zhuge: We are talking about his custom functions. You can't, you h... (by firedraco)
by brnksk
conditional loop
 
here i'm trying to make a program that has an output like this input data into array: Data 1: 2 ...
[9 replies] Last: You could save them in a conventional collection like another array. (by kbw)
Random number generator
 
Just for curiosity, how does the rand() function work? I mean, could somewone here make a new rand()...
[6 replies] Last: http://www-cs-faculty.stanford.edu/~knuth/programs/rng.c http://www-c... (by kbw)
How to Access this C++ Database?
 
At first i study accessing C++ database using this data file formation written in notepad let say "r...
[10 replies] Last: ifstream fin("C:\Documents and Setting\Desktop\record.txt"); should... (by kbw)
undefined reference to
 
Below are the concerned files. The code is very simple and self-explanatory. damwst.h :- #inc...
[3 replies] Last: Eureka !! Eureka !! the changes required to my first post are as follo... (by dpp2284)
Polymorphism (my post is to the point)
 
So I'm trying to create a Circle class that extends Shape class which has three abstract classes: ...
[7 replies] Last: The problem is that the syntax for defining a function prototype calle... (by Zhuge)
December 2009 Pages: 1... 141516
  Archived months: [nov2009] [jan2010]

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