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

subset of k elements
 
Hi, I want to write an algorithm, in which it needs to find all subset of k elements from the set ...
[12 replies] Last: I want to write an algorithm, in which it needs to find all subset ... (by kev82)
tower of hanoi
 
please i want someone to help me with the code for tower of hanoi, am a beginner in c++ and its my p...
[4 replies] Last: where do you come from erenzuni ???? you need recursive or non recursi... (by caterpillar)
multi sorting (array) c++ programming
 
hello...i am newbie, and i cant do my task, to Create a program to sort the data by using the metho...
[no replies]
by Smac89
Adding BigInt lib
 
$ ls BigIntegerAlgorithms.cc BigIntegerUtils.o NumberlikeArray.hh BigIntegerAlgorithms.hh Bi...
[3 replies] Last: That makefile does not have a "install" target ? If yes, just run sudo... (by modoran)
Timing Programs
 
I would like to be able to time and/or test my programs using a similar program to the ones found in...
[4 replies] Last: <ctime> has a function which tells how many milliseconds have elapsed ... (by eklavya sharma 2)
Passing Array to function
 
Hi In my sample code : #include <stdio.h> void Print_My_String (const char My_String ) { ...
[4 replies] Last: By the way the compiler shall issue at least a warning because you inc... (by vlad from moscow)
problem when moving objects to temp array
 
Hello, Lets say that I have two classes, the first called Y and the second called X. ---------------...
[1 reply] : First, understand what you are doing. temp =Arr ; delete Arr ; //is ... (by ne555)
by dubsy
GUI Toolkit for C++
 
So I'm new to C++ and I want to do some simple GUI programming using a toolkit. I don't want to use ...
[2 replies] Last: ncurses isn't really a GUI framework... it's a console framework. The... (by Disch)
Header questions
 
Hi, am still quite new to c++ and was wondering if I were to declare #ifndef InputHandler_H #defi...
[5 replies] Last: Happy to help! (by Disch)
by Triaca
Providing Internet connection to program
 
Hi! I am having a project on digital personal diary, i want to provide an internet connection for lo...
[3 replies] Last: Thanks alot, can you help me out what feature of it would help me get ... (by Triaca)
Trying to text from text file, getting weird characters
 
No matter whate i try, text or string, I am getting weird characters from the file....all the file h...
[1 reply] : http://www.cplusplus.com/forum/general/88575/#msg475503 http://www.cpl... (by JLBorges)
Read value from txt file.
 
Hi all! I've searched through google and this forum to see if I found what I need before make a n...
[3 replies] Last: Thank you both for your answers and your time guys. It was very helpfu... (by MrAnderson)
Debugging error ..need assistance
 
Im having trouble with this program... It does compile but its not debugging im trying to get ou...
[19 replies] Last: I got it fixed !!! (by jenny22)
start the game by pressing enter
 
I have two more questions. The 1st question is that I want the player start the game by pressing en...
[2 replies] Last: #include <limits> #include <iostream> int main() { const char* p... (by cire)
function
 
hi guys, i'm trying to develop a program for a restaurant where you can log in and order f...
[7 replies] Last: thanks (by closed account y05iz8AR)
SDL program not rendering player.
 
In the program I am making, there is a dot (movable by the wasd keys) which is meant to change colou...
[2 replies] Last: Wow, that actually worked! Thank you very much. (by BananaBanana)
Read double Values in text Files
 
Hello all, I need to read the double values of the following file: ----------------------------- W...
[3 replies] Last: It looks like the strStream >> val command could not read a double val... (by HumbertoNakanishi)
infinite loop with string.insert
 
The following code works if i leave out the lineIn.insert(i,"\n"); line. when i put that line in, t...
[5 replies] Last: You always insert the new line character before str1. Then you incre... (by vlad from moscow)
Getting in a file whatever I type
 
I want a way by which I can easily obtain a list of all the inputs provided by me in a program in a ...
[no replies]
by LunarB
C++ Socket Server - Sending Data
 
Hello, Guys! So I've got a Socket Server and Client set up right now. Currently, It does listen fo...
[4 replies] Last: sizeof(hey) is the size of the pointer Do it like so: char hey ; ... (by coder777)
December 2012 Pages: 1... 7891011... 43
  Archived months: [nov2012] [jan2013]

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