General C++ Programming - December 2011 (Page 31)

linked list using array
 
guys, i am new to c++. do you have a code linked list using array. ex. if i will type a particular s...
[3 replies] Last: You can store the elements in an array in their order of appearance, a... (by Gaminic)
How do i split this two ? C++
 
Hi guys, im sorry if my English very bad :) i got problem with this char str = "staff101"; ...
[3 replies] Last: a) You're not looping. Your only checking the first digit. b) Your at... (by Gaminic)
by PhL3gM
Leap Frog game help
 
Hi everyone, I'm trying to do the leap frog game http://www.akidsmath.com/mathgames/leapfrog.htm b...
[1 reply] : I need to store my array into a stuck I can't figure out whether you ... (by hamsterman)
any suggestions please .. facing an error
 
I have written a class of my own named inputlayer. inside this class i have a struct named neuron. I...
[5 replies] Last: I would like to see the code. Besides the operator you've got the ... (by ne555)
POSIX Thread Implementation of Sleeping Barbers Problem
 
Hi all, I'm working on simulating the sleeping barber anecdote. I believe my code is sound, but ...
[no replies]
Vector of pointers help
 
I have a vector of pointers of a parent class, the "draw()" function is overloaded through each deri...
[1 reply] : shapeV.push_back(&mySquare); This looks a bit suspicious. If you are... (by Peter87)
number to words conversion > called by a function
 
hi guys ! :) . I just started using c++ and I can't seem to understand how to use functions :( . My ...
[3 replies] Last: oh my , thank you very much !!! :> . I have also studied about functio... (by closed account 1wk4izwU)
Need help in iomanip
 
Hello, I need some help with iomanip. I can't seem to understand why some of it works and some do...
[no replies]
by Gldnbr
Updating a line in a file
 
Is it possible to update a line in a file? The first number of the file is how many names there...
[4 replies] Last: Nevermind, I figured out my problem (by Gldnbr)
output files
 
i need help writing output to an output file. i am working on a slot machine program. here is the co...
[1 reply] : http://cplusplus.com/doc/tutorial/files/ (by Moschops)
by bjfcom
memory leak w/out variable allocation
 
I keep getting a huge memory leak with the g++ compiler (v. 4.4.1), as can be seen from the command ...
[6 replies] Last: thanks for all the replies. @Cubbi: I'm running another program that... (by bjfcom)
static and non static member problem
 
1) whats wrong with the static members they give error "the function should be non static or non mem...
[7 replies] Last: thanks guys Vins3Xtreme,coder777 and bbgst and peter87 thanks (by mahinkhan22)
Heap corruption error please help!
 
I am getting a heap corruption error from my code, I am only calling the constructor with "hello" in...
[3 replies] Last: Thanks a lot guys I completely forgot about the null char. (by dschmell)
When should I use struct?
 
Hello everyone! Can someone give me an example of why and when I should use a data structure? I've w...
[9 replies] Last: That's a function, and unfortunately it does not suit my needs of trea... (by LB)
by Faurax
Pause a thread from an other?
 
Is it possible to make one thread pause an other in a simple way? For an example lets say I have 2 ...
[6 replies] Last: I solved it in an other way, but thanks for the good learning! (by Faurax)
Computer Science
 
Hey, (if you want just skip to the questions) A while ago i starting reading about programming...
[no replies]
Using Getline to input data from a file
 
I am writing a program that will input data from a file and place it into a struct.The idea is to in...
[no replies]
reading from file
 
Your program should read the input files and holds the data in the given following structs: struct...
[no replies]
Win32 app problem. (1,2)
 
this piece of code causes an error #include <fstream> { using namespace std; ofstre...
[20 replies] Last: maybe it will help if i say what I need that to do, I need that to rec... (by Echo773)
AES
 
I'm programing the advanced encryption method. I'm nearly done but have hit a snag. Any suggestions ...
[no replies]
December 2011 Pages: 1... 2930313233... 39
  Archived months: [nov2011] [jan2012]

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