General C++ Programming - August 2009 (Page 12)

by peha
copy objec from file to array or vector
 
Hi all! I have a file containing information of person like: name(string) age(int) gender(ch...
[10 replies] Last: Thanks so much dude! (by peha)
How to completely remove one element of an array?
 
Let's say I have an array: int ARRAY = [3,1,4,1,5,9]; Now lets pretend I want to get rid ...
[2 replies] Last: If you want more convenient ways to insert/remove data, condsider usi... (by Bazzy)
program using recursive
 
I'm still new in using recursive. I tried to make a program using recursive but i don't get it right...
[7 replies] Last: Thank you. You really do help me in many ways. Now I'm learning 2 la... (by sue elle)
by Kiana
Extracting flag from DWORD?
 
Suppose that a DWORD has the value of (FLAG_ONE | FLAG_TWO | FLAG_3). How can I tell if it DWORD con...
[2 replies] Last: Thanks, that really helped! (: (by Kiana)
Dynamic array of pointers
 
I'm having trouble picturing what this looks like in memory which is one of problems. Maybe someone...
[3 replies] Last: ah, templates are an attribute I'm pretty sure is not supported in C, ... (by Seraphimsan)
by brain
Why do my threads execute sequentially?
 
Hello guies: I'm a bit new to programming and C++, I tend to code a multithreading program proje...
[4 replies] Last: Hi Disch: I know my reply is a bit late, I had to go out for a wh... (by brain)
alternative gui API
 
A few coworkers and my self are considering Developing an alternative shell to the windows default. ...
[no replies]
Limit on array size defined using #define?
 
Hi all, I've been having a seg fault problem that depends on the size of my an array whose dimension...
[4 replies] Last: Thanks Bazzy, very useful info. (by Bogdanovist)
array to a function causes strange errors
 
hi, I have an array int p ; then I pass the value of this array to a function i defined, func(int ...
[5 replies] Last: Thanks for your attention. I found the problem It is other parts of t... (by billdoors)
iterator initialization in switch-case
 
Hi all, I have a short question, why can't we use iterator initializations in switch-case stateme...
[7 replies] Last: Declaration and initialization are different things I know. My mis... (by angeldust)
creating a library like cstdlib
 
How is it that when you include cstdlib you can just call methods like atoi without instantiating an...
[5 replies] Last: turning sarcastic, aren't we? =] First of all, reading my last post... (by closed account NqG36Up4)
August 2009 Pages: 1... 101112
  Archived months: [jul2009] [sep2009]

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