General C++ Programming - April 2013 (Page 2)

C VS C++
 
Hello, Guys, Please anyone tell me, What is the difference between C and C++ ?? ...
[7 replies] Last: Also virtual functions + inheritance behavior is pain to simulate in C... (by MiiNiPaa)
Reading and writing to the same file?
 
Is there a way to read and write to the same file? I'm writing a game program and I want to save ...
[2 replies] Last: You don't have to go to the physical file every time. Read the file in... (by writetonsharma)
Searching a list of vectors
 
How would you search through the a list of vectors? I have a upper case letter at the start of the l...
[1 reply] : Your question is a bit vague. Do you want to count the number of times... (by The Palm Tree Magician)
by ss91
C++ record
 
I want to record voice from pc 's microphone and save it to a wave file.I use linux for C programmin...
[1 reply] : Interact with device driver, access raw data, process it, encode, save... (by MiiNiPaa)
Getting into GUI development?
 
I've coded long enough in c++ now that I feel comfortable with trying to implement GUI's now. I have...
[3 replies] Last: Try WPF : xaml based. (by chinchu)
#define phrases and words
 
Is there anyway to #define phrases to mean words? Example: #define A Very Long Integer __int64 ...
[6 replies] Last: Thanks so much! Here is my code if anyone else wants to see. #includ... (by closed account 18hRX9L8)
hybrid imaging
 
I've put together this program to make a hybrid image from two given images. It scales them corectl...
[no replies]
Math library
 
Hey guys, I'm new to c++ and need to create a math library that is capable of doing the following ta...
[1 reply] : First when posting code use code tags: http://www.cplusplus.com/articl... (by Lachlan Easton)
PDCurses getch() buffers
 
I'm attempting to make a game under PDCurses (almost identical to NCurses, for those of you who don'...
[6 replies] Last: That's a lot to do every time a key is pressed, especially once key re... (by Duthomhas)
Beeping sound when file changes (1,2)
 
I want to make my computer beep, when a specific file I have already created changes. The idea is th...
[20 replies] Last: @samuel Thank you very much for your efforts! Sorry for late reply, I ... (by Donanza)
Displaying error message between array inputs
 
Hi I've written out the following code, its part of on an OOP program. int main() { Hous...
[4 replies] Last: Ahh I guess that could be so. Thanks again (by Progressive)
Boost preprocessor library
 
I'm having some trouble expanding to the base value # include <boost/preprocessor/cat.hpp> ...
[1 reply] : Never mind. I missed the part in the documentation where it says if it... (by AdrianH)
Reading file into a Linked List.
 
I'm having some trouble with reading a file into a linked list. It reads in properly, but I am tryi...
[no replies]
File recursion limitation
 
It seems that boost's file recursion requires that the file using the recursion must be in the inclu...
[9 replies] Last: > Do you know why? No. I haven't used this library at all (except ind... (by JLBorges)
by jorgen
Floating pt. subtraction error depends on abs. values
 
I thought I understood subtraction errors (subtracting two almost equal numbers effectively removes ...
[2 replies] Last: 1 , 100000000000000.0 and 9999999999999.0 are valid values for th... (by Cubbi)
need help with program!
 
My problem is i get some errors, let me further myself. 1st problem is I cannot figure out why the ...
[1 reply] : Use tags, it makes the code more readable. What are you trying to ac... (by closed account 9wqjE3v7)
Creating a Linked List of common elements from two other linked lists..
 
Hello all, I'm trying to write a function that takes two linked lists and creates a third one wit...
[10 replies] Last: However, still cant get my original question to work.. (by jjroyale)
Help with Destructors
 
Hi all. I am working on an assignment for my C++ class. I have the code written but am unsure why ...
[5 replies] Last: "How run prog" "How start app" ... there are several ways to do it. O... (by keskiverto)
Duplicating an moving image?
 
Oh dear... sorry for the horrible grammatical mistake in the title. How dare I make such a mistake :...
[15 replies] Last: I think you should just use a newer graphics API. This is shameful. (by closed account N36fSL3A)
by Aceix
C++ keywords
 
Hi, I just want to know what these kewords mean and many ways to use them. auto, ref, const(used...
[14 replies] Last: Oh okay. I get what you mean. (by Disch)
April 2013 Pages: 1234... 53
  Archived months: [mar2013] [may2013]

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