General C++ Programming - December 2011 (Page 20)

Change TRUE to FALSE every 10 seconds
 
I have a program that displays the month, day and year. I would like to be able to print the day of the week over it, so that every 10 seconds the display chang...
[5 replies] Last: @Stewbond The program has scrolling text on the screen and colors tha... (by whitenite1)
adventures in root finding
 
Hi! :) The following Numerical Recipes code provides a structure that returns the value of function and its derivative by overloading 'operator()'. struct ...
[2 replies] Last: If the algorithm always calls for df() as well as f(), I would be incl... (by mmay)
by stooo
Linker errors from inherited virtual functions, help!
 
Hi all. I've done my best to research this myself but I've got some linker errors I just can't get rid of, all related to inherited virtual functions. I'm tryin...
[7 replies] Last: Are there any sample programs provided with the SDK (that use that cla... (by mmay)
best learning books about Computer Sciences
 
Hi everyone, I am C++ developer with financial engineering as main field of interest. I studied financial engineering so I have very strong quantitative methods...
[5 replies] Last: ofcourse it has. No. I'm just interested with it Well, that's diffe... (by helios)
trouble with constructors
 
I thought I had these figured out, but I guess not. I have a constructor: DemodIqImp::DemodIqImp(int32_t rv) // constructor w/ reset param { for (int ...
[6 replies] Last: I like it. A lot. Thanks for the help. (by mzimmers)
typedef which can be inherited, but isn't available from inside
 
I've tried to sort this out before, but came back with the following example: // CAN later access from outside an inherited typedef template <int N> stru...
[3 replies] Last: The C++FAQ has an article on that: http://www.parashift.com/c++-faq-li... (by Cubbi)
unexpected EOF on reading a file
 
Some of you will recognize this routine from some help you've given me in the past. It's a general-purpose routine to performa formatted read of a number of ele...
[9 replies] Last: OK, I discovered a problem with this: the extraction will execute once... (by mzimmers)
Problem with data extraction
 
I'm not sure why, but when I prompt the user to enter the seat column (a=1,b=2,etc.) and seat row (1-13, i believe), it will only allow him/her to type in the s...
[5 replies] Last: Any idea why my program is doing this (not accepted data from the keyb... (by jefgreen)
HELP! What is wrong with my function?
 
Poker Hand. Need to double check why my function is giving me false positives. For example, when I have a 10(diamonds), 7(hearts), Jack(spades), 10(spades), 3(d...
[3 replies] Last: Because C++ operators "&& and "||" are from left to right .. Your IF s... (by TAZO)
Advice about sharing class members
 
Hi everybody.. Maybe this goes in "Beginners" XD I'm developing an application using Qt, but I need some advices regarding sharing class members. I am worki...
[8 replies] Last: I was wondering if it would be better to share a reference to the UI w... (by Danielc)
Reading From Excel, Non-Integers
 
I've gotten my project off the floor (this forum has been extremely helpful) but I've encountered a new problem :\ I've gotten a program written that can rea...
[4 replies] Last: Thanks, I figured it was something like that but I couldn't find the s... (by librisrouge)
fstream not opening file
 
my file is sitting in the netbeans resources folder(which by the way is already annoying to add into, a right click and then add existing item option...) and I ...
[2 replies] Last: You'll need to provide the full path to the file if it is not residing... (by Texan40)
How to stop the PlaySound file while it is playing
 
I am trying to make a Soundscape in c++ using Visual Studio 2010. The program allows playing sound. To stop the music, it uses Keybaord and Mouse as detecti...
[3 replies] Last: You could start playing sound during WM_CREATE or a later event (messa... (by webJose)
hellooo everyone
 
i wanna do and actually learn the c programming.i've work with visual basic and have some experience about that. and now i wanna learn c because its more profe...
[2 replies] Last: Sounds like you want C# . References: http://en.wikipedia.org/w... (by closed account zb0S216C)
by Coheed
In over my head with this homework assignment...can anyone help?
 
Im in a computer science class thats still pretty basic but my teacher doesnt know how to teach for his life. The program is a 4 part program with the main part...
[no replies]
by NDP286
Segmentation Issue RW
 
..
[11 replies] Last: What I mean is if you surround your code with code tags ([ code] or t... (by bbgst)
sorting algorithms
 
Hello, I have been scratching my head over this problem for over a week now. I am teaching myself programing, and the book is not making sense anymore. any help...
[6 replies] Last: #include <iostream> in personType.h And you to prefix with std:: t... (by ne555)
How to convert a character into an integer array?
 
Consider : char *n=123456; I want to convert it into: int b ={1,2,3,4,5,6}; i.e. b =1; b =2; ..... b =6; Please suggest the code to perform the sam...
[3 replies] Last: Each char has a value. The value of the charachter '0' is not 0 (it's ... (by Gaminic)
Using Parallel Arrays
 
I need help writing a few parts of this program...and I am not sure how to exactly use these arrays. Alright, here are the instructions for my assignment. ...
[11 replies] Last: i hv information about c so i need simple programmes of c++ from where... (by Pwn)
Inserting an object into an stl map
 
Hi everyone, I'm new to being registered here (though I've found a few answers from other people's forum posts before), but I am really stumped with the problem...
[18 replies] Last: how criticle this is !!!!! (by Pwn)
December 2011 Pages: 1... 1819202122... 39
  Archived months: [nov2011] [jan2012]

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