General C++ Programming - July 2009 (Page 5)

how to return vectors
 
Hello, I am writing a library, my first one. I need some help how to return vectors from this li...
[5 replies] Last: In your original code, using new you are allocating memory from the he... (by jsmith)
by kabubu
problem while using typedef
 
Hi, I try to use typedef to structure my code better. While using this i came across the problem ...
[3 replies] Last: void foo(tSha1Hash outHashValue) is passing a pointer. (by mackabee)
Difference betweeen creating object with pointer and without pointer
 
Hi All I am newbee to this forum.. I am using the Qt sdk.. Usually i am using the pointer met...
[2 replies] Last: See these tutorials to have more details: http://www.cplusplus.com/do... (by Bazzy)
how to ENCODE using ASCII coding
 
okay, after a lot of here and there. i finally got my previous program to work. i copy and past...
[4 replies] Last: No no no! system("pause") is evil ! http://www.cplusplus.com/for... (by Zhuge)
how to make a program update
 
say i want to give my program to friend and when there is a new update i want it to download and app...
[2 replies] Last: no i dont so i guess when i get that i should get back to you. (by poonninja)
by exidis
Error C2440
 
Alright so I'm getting these errors upon compiling... any solution? c:\documents and settings\c...
[7 replies] Last: I wasn't saying that casting would solve the "problem "- and to be ... (by guestgulkan)
by Disch
Global variable construction in external libraries
 
I'm working on a library and I use global variables to initialize some things automatically. It's c...
[no replies]
by cpp123
One copy constructor issue that is baffling me
 
In the following code, I do not understand why isn't the copy constructor called for "ob3" in main a...
[12 replies] Last: great ! Notice how copy constructor is called for ob3 before temp gets... (by cpp123)
by cpp123
Can you suggest me some good C++ books / reference sources ?
 
Thanks in advance for your suggestions. Just in case if anyone is wondering. I am good in program...
[6 replies] Last: good idea. (by cpp123)
Robocode for C++?
 
a friend of mine showed me this thing called robocode however its in java and i do not want to learn...
[2 replies] Last: i found one its called battle bots but its not a programming game. (by poonninja)
ARRAYS: putting numbers in order
 
i dont know why this is doing this, but when i have the user input 4 numbers, there is no output. ...
[5 replies] Last: thank you for the help you guys! after reading a LOT of links yall he... (by xiikryssiix)
Maximum size of a char array?
 
I'm creating a dynamically allocated char array like so: int maxChars = 0; //maxChars is modi...
[4 replies] Last: There is a function that modifies the array The array? What array? ... (by helios)
by amyn
how to install gnu C compiler on Windows XP?
 
I easily installed the gcc compiler on Solaris by running the tar xvf command. All files got uncomp...
[2 replies] Last: Cygwin is good for this. Simply download the installer, select the GCC... (by GenTiradentes)
Having trouble reading from another program
 
I am working on building a program that takes messages from another program and using various method...
[8 replies] Last: Where can I find stuff on how to use IPC? (by xaothitl)
What are type safe linkage?
 
hi every1.. please let me know waht is type safe linkage..?and why is it useful.. help would be ap...
[1 reply] : Typesage linkage enforces the right number and type of parameters are ... (by kbw)
by minix
Random File Access for writing
 
Hi everybody, I need to use random file access for reading and writing in C language only. For...
[4 replies] Last: Is the problem in growing the file? If it is, you could write zeros o... (by kbw)
Open File, Print to a File/Console
 
okay, i usually create beg programs and they often compile. for some reason, this one is not compili...
[2 replies] Last: What i think is you are opening an uncreated file for reading. Suppose... (by bilalhaider)
how many weeks to become a millionaire?
 
i have to create a program that calculates how many weeks it will take to become a millionaire given...
[7 replies] Last: finally got it to work. thanks for all the suggestions. i did change ... (by xiikryssiix)
Convert int to string
 
I am having to write a program that has a user-defined class. In this program I need to convert an I...
[8 replies] Last: Did I actually just read that? For the same reason that it matters ... (by helios)
Menu Not Working
 
The last few days I've been attempting to make a popup window with a menu outside of the WinMain cla...
[no replies]
July 2009 Pages: 1... 34567... 14
  Archived months: [jun2009] [aug2009]

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