General C++ Programming - July 2008 (Page 8)

by mrkmrk
Euler's method to determine water height in tank
 
The C++ project that I have been assigned states: Write a program that determines the water height h, as a function of time. The volume in the tank is V...
[8 replies] Last: Nope, get a good start and we'll help you with any problems you have. (by mikeb570)
recursion?
 
Hello, I am trying to figure out how to print out a schedule for a 8 player tournament. We have a golf league at work that has 8 players. Each player must pl...
[4 replies] Last: thanks for all the reply's. I will try to figure it out on paper. Mits... (by bradleyd)
Generic programming.
 
Code removed.
[4 replies] Last: OK Thank you dear. (by digitaldocuments)
Adding details to a file
 
Hi all, I need some help with c++ .txt files, I just need a general description of how should I go about doing what I need to do... Sample txt file: 11/11/2...
[1 reply] : You can try the code as this: /////////////////== WinXP sp2 + VC8.... (by simo110)
Diagonalising a square matrix
 
Can anyone point me in the right direction regarding my need to diagonalize a square matrix? Corsican
[4 replies] Last: I've only just had time to go back to this. - Thank you for your comme... (by Corsican)
by Gregor
Having fun with sudoku!
 
Stating the obvious. What my "Briefly described subject of my message, in one phrase" means, what I mean is coding a program which can load and save a sudoku, s...
[1 reply] : I don't know if you know but there is a thread in the Lounge on this... (by closed account z05DSL3A)
OPerator overloading
 
Hi, Couple of times i am stucked with Operator overloading techniques, Can any one throw little more basic and advanced features required to handle this conc...
[4 replies] Last: OK, Thanks. (by KDevloper)
Problem calling int function
 
I have an int function as follows: int getHowManyCourses ( int nbrCourses ) { cout <<"Enter how many courses - up to three(3) : \n\t"; cin >> nbrC...
[7 replies] Last: Thanks everyone so much !!! I've got tons to work with now! (by sfpearl300z)
Soduku Program For C++
 
hi delete this
[3 replies] Last: mafram1201: http://www.cplusplus.com/forum/articles/1295/ (by Zaita)
dynamic casting?
 
Hi, I am attempting to implement a decorator pattern (http://en.wikipedia.org/wiki/Decorator_pattern) to keep track of the size of something that I am passi...
[4 replies] Last: Yeah, you're right man. I figured out what I was doing wrong afte... (by leeand00)
by kk84
Delete an array
 
Hi all, I initialise a structure to store some information on students and I declare an array to store 100 students. Stdinfo Student I would like to know...
[7 replies] Last: In fact, for dynamic deletion or resizing the pre-sized array/structur... (by satm2008)
Possible interface for pitch modulator?
 
Hi all, I'm moderately new to C++, and was contemplating a way to have input to a program that can read things like a pitch modulator. Is C++ able to do this...
[1 reply] : You just need the vbs or vba,not the c++! (by simo110)
by zl6626
Some problems in this program?
 
The following problem uses template to compare two value, whether it be int, double or string type. I have specified the string type method as thus: It should N...
[2 replies] Last: This max<> template won't work with floating point since you can't use... (by weaknessforcats)
by Bozza
1970 being returned for GetYear()
 
Hi all I'm farily new to all this but I was wondering if someone could help me. I have a peice of code which uses the GetYear() function however when I ru...
[4 replies] Last: You'll have to do as simo110 asked and show us how you are getting t... (by Duthomhas)
using "new"
 
Hi, I have a question regarding dynamic memory allocation using "new". MyDataType* obj; obj = new MyDataType ; obj = new MyDataType ; In the upper...
[2 replies] Last: Thanks for reply, (by kursist)
vector storing inherited classes (1,2)
 
Hello everybody, I was wondering if there is any way to store inherited classes in a vector object. I want to use only one vector, if possible, to store differ...
[34 replies] Last: It just has some techniques in there that can help me out. Thank you f... (by Mitsakos)
Getting ASCII Code in C++
 
How do I get the ASCII code for a char type variable? And How do I convert ASCII code back to a character?
[5 replies] Last: Thanks simo110!!! thank you very much!!! mwah!!! XD (by smileychonggo)
pointer to function
 
Hi I have a program with pointer to a function. It dosn't work for me but I cant find the problem. Please help. void (*fp)(); class a{ public: void...
[4 replies] Last: You can try this,it doesn't use the extern! /*****************... (by simo110)
Books on C++
 
Hello All I am transfer over from Visual Basic to Visual C++ and I am looking for book to help me get a jump start on C++. Thanks in Advance any help will b...
[2 replies] Last: <<C++ Primer>> 4th << Inside the VC++ 6.0>> <<Dissecting MFC >> (by simo110)
problem with code
 
I get this result from my code. Whats wrong? :S i dont get it Please insert the first number you would like to use 54 And the second number u would lik...
[2 replies] Last: thx mate! all worked fine now:D (by dominoeffekt)
July 2008 Pages: 1... 678910
  Archived months: [jun2008] [aug2008]

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