General C++ Programming - September 2009 (Page 10)

python-like map
 
Hello. I wish to create a python-like map of string -> any-class, to use more or less like that: ...
[8 replies] Last: If you know all the value types at compile time (and there aren't that... (by jsmith)
Remove duplicated elements from a vector
 
I met a problem when I try to do this: removing the duplicated elements from a vector. I know there ...
[14 replies] Last: Still off the top of my head. Probably my line 16 should change to ... (by jsmith)
Sequenced PNG to AVI
 
Hi all. I know it's been just under a year since last time I was here. Been about that long since I ...
[4 replies] Last: eh. yea.. I could get after effects free if i wanted to pirate it.. an... (by Aakanaar)
how to erase data from opended file
 
Hi. Is there a way to erase data from opened file. I have class to log some info. and I did /...
[1 reply] : Apache log4cxx has a rolling log appender: http://logging.apache.org/l... (by PanGalactic)
reading a word into a vector
 
how do i read 1 word from line of text and put it in a vector? There are multiple lines in this fil...
[3 replies] Last: It doesn't work because you aren't using string::find() correctly. (by jsmith)
by Deimos
A problem with...references?
 
Ok, I have on Master class called CAsteroidsApp. It keeps references (not pointers) to other importa...
[2 replies] Last: Simple And Fast Multimedia Library, only. I figure you want to take a... (by Deimos)
by mzd72
Network
 
Hello I am looking for a C++ network progamming for Beginners please help me?
[7 replies] Last: I am glad too know more ebooks (by mzd72)
what do i know...?
 
So, i have been teasing the idea of starting a project of some kind but didn't know where to start. ...
[11 replies] Last: can anyone explain strtok()-- i get that it searchs for the tokens and... (by kyle11778)
by wtf
Preventing software piracy and reverse engineering
 
I'm going to be selling some encryption software and a lotto # generator program to try and raise a ...
[3 replies] Last: I agree with helios on decompiling, I had a decompiler I was playing w... (by chrisname)
Repeated Values
 
Hello all, and thank you for taking the time to help me with this. I am relatively new to C++ pro...
[3 replies] Last: Have you heard of a dictionary data structure? It may be suited to yo... (by kbw)
by Null
MBR, CHS and bit shifting
 
Hello, i wrote a program to read and edit the MBR but i can't figure out how to edit CHS values. A l...
[1 reply] : Are you using a char array in your code? Signed types perform shifting... (by helios)
std::set behaviour with comparison function
 
As per my info, std::set is implemented as a self-balancing binary search tree. I m trying to ana...
[3 replies] Last: Appreciate your responses. @Denis: The updated code is definately m... (by nyrahul)
how to write a simulation engine?
 
hello I want to write a code for a simulation engine for some systems like -bouncing ball -pocket...
[18 replies] Last: here's a good physics engine(with a new scripting language you haven't... (by cdh473)
Get Computer ID
 
I want a code that get the computer ID The ID that I want is the no. that appear when you right cli...
[10 replies] Last: PROTIP: key verification is just a checksum on the input, hence why th... (by helios)
Ostream as a parameter to constructor
 
Hey everybody, I want to initialize object from istream. But if it's a keyboard, i'd like to see wh...
[8 replies] Last: Thanks, Duoas! That's what I was looking for. (by TryHarder)
c++ has to produce text file
 
hi frns, my problem is i have to write C++ code and that has to produce a text file as out...
[3 replies] Last: Altho, his assignment requires him to create a textfile as output :)... (by Warnis)
C++ Less than predicate
 
Hi there, Given a class: class personal_info { int age_; public: int age() const { return ...
[1 reply] : std::binary_function<> provides some typedefs that are sometimes requi... (by jsmith)
by shasha
Link List - DVD Inventory Syste
 
hey i am kind of need help in this linklist. i can't do the Inquire and UserModify Inquire : use...
[3 replies] Last: http://cplusplus.com/reference/stl/list/ http://cplusplus.com/refer... (by jRaskell)
Newbee template problem
 
Hello, I am relatively new to c++, just for a couple of days. Although I do have a very strong java...
[14 replies] Last: Robertlzw, many thanks for your detailed replies. They really helped ... (by gunnarstahl)
insert new value into struct through pointers
 
i have an array of pointers to structs. but i am trying to get under the doinsert function, which pr...
[2 replies] Last: nvm, i found it. filllist vs. fillList pfff... WTH? O.O ... (by kevinchkin)
September 2009 Pages: 1... 89101112... 14
  Archived months: [aug2009] [oct2009]

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