General C++ Programming - January 2009 (Page 8)

by Tomas
Calling an inherited template member function
 
Hi. I've come across some template code, and just to clarify myself, I've written the following exa...
[5 replies] Last: This is just a simplyfied example of code I came across, seymore15074.... (by Tomas)
by trster
Casting unsigned int to pointer
 
I have class attribute that saves a pointer to an unknown object. Instead of saving it as a void *,...
[18 replies] Last: You are right indeed, I had forgotten about that one :). Typecastin... (by cheif)
Rot13
 
ok so I'm having a few complications, Yes I am new. So here are a list of the complications 1) Ha...
[9 replies] Last: my bad here is firstHalf I have it in the program but its too long to ... (by ctrechter)
by mzd72
Locking tskmanager
 
how can i lock taskmanager with Microsoft Vishual C++ in windows vista
[1 reply] : http://www.cplusplus.com/forum/articles/1295/ (by Zaita)
by erico
Array List
 
I was making a array list in an assignment, so at the 'typedef int ITEMTYPE' part, I am supposed to ...
[2 replies] Last: Remember that " string " is in the std namespace (Edit: Too slow ... (by Bazzy)
exception handling
 
Which of the following statements describe correct methods of handling C++ exceptions? A. In a hi...
[1 reply] : E is related to A. The reference to a 'concrete class of exception' m... (by Faldrax)
bitset type error
 
I have an exiting project that I am trying to use to learn c++. The project was originally created ...
[1 reply] : It's a bit difficult from your code snippet to see the context how it ... (by anders43)
Sync Time With System Clock
 
So basically i am trying to sync my time class i made so that it adds 1 to the seconds as the system...
[3 replies] Last: *sigh* Why do you want to do this? That only works if the CPU ... (by jsmith)
by noize
problem with list ;/
 
Hi, i really don't know what to do, can you help me ? here is the code : kosz.h // Clas...
[2 replies] Last: thanks a lot, it's easy to forget about such a thing :D (by noize)
by roblf
Trying to override streambuf to use with cout
 
Hi, I'm trying to grab all the input sent to cout to modify and redirect it. I used the example ...
[8 replies] Last: Thanks Zaita! (by roblf)
Modifying Variables Within Boost Threads
 
I'm working on a multithreaded project using the boost::thread library, and I've hit a snag. I set u...
[4 replies] Last: Thanks a lot, Zaita! That really sheds some light on the subject, I'll... (by GenTiradentes)
air hockey
 
i am making an air hockey game in c++ . but i am stuck at a problem i want the player mallet to b...
[3 replies] Last: You haven't provided us with enough information about the libraries yo... (by Zaita)
plz.. some one do that for me .. before thursday :'(
 
write a program that reads a set of positive integers numbers into array x , and then reads another ...
[3 replies] Last: Hello dude, I hate to tell you this, but usually users read the rules... (by hannad)
by Zurswe
Program showing splitter
 
Hey, I need help with a program to do this: Write a program that loads an integer and print out a...
[1 reply] : You should try to do it by yourself, ask if you have problems with it.... (by Bazzy)
Caesar cipher
 
ok so no lies this is for an assignment. I am sooo lost and freaking out about this program. So I ...
[2 replies] Last: ok So I got this far and it compiles. I know that just because it com... (by ctrechter)
Questions!
 
1.Does a const data member have to be initialized in the constructor/initialization list? 2.And w...
[7 replies] Last: Thanks for the help :) (by Tom Backton)
constant data members
 
Can data members be constant (with const) so that they are given a value by the constructor and them...
[19 replies] Last: Thanks. Now I understand :) (by Tom Backton)
by jorijo
Store objec to vector in another class
 
I create the object Inicia in main function and have there a vector<frete> fretes and I want to st...
[2 replies] Last: If this 'i' is declared in main you can't access it with other functio... (by Malachi)
Opening a file for appending and binary
 
I have a file I am trying to append to and have the data stream be binary. From reading on this webs...
[1 reply] : Scratch that. By force of habit I added parenthesis to the flag call. ... (by jwoolsto)
2 buffers to record audio
 
Hello to everybody: I am writing a c++ command-line program that picks up the samples of the audi...
[1 reply] : i've never done any work recording audio, but I did a little searching... (by Mal Reynolds)
January 2009 Pages: 1... 67891011
  Archived months: [dec2008] [feb2009]

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