Beginners - June 2011 (Page 21)

Calculating future value question
 
I am new to C++ and worked hours on this today. I need to calculate the future value. Can anyone c...
[6 replies] Last: I am using "Introduction to Porgramming with C++" by daniel liang 2nd ... (by jkretzer)
weird 'while' loop
 
I thought a knew a thing or two about while loops but I can't honestly say why this one should be l...
[4 replies] Last: Oh jeez. Haha. I figured it was something obvious. Thanks! -Mark (by huitlacoche)
I think I may be using if wrong and it is messing up my code...
 
I think I may be using if wrong, but I can't figure out another way to do it. I'm trying to make it ...
[7 replies] Last: Danny: return 1; This is just a safety precaution to return "som... (by lwtan90)
int and double
 
what do int and double mean exactly.
[5 replies] Last: Why not try each one and see which works? //pow (a, b) #include... (by Danny Toledo)
by Jsel
Calling constructor from within member function?
 
I am trying to make a member function for my class that lets the user input all of the values for th...
[5 replies] Last: One reason to not read into the member variables directly, which is no... (by jsmith)
How do I add dependencies?
 
I'm new to these forums and programming, but it's something that I have always been enamored by and ...
[no replies]
by Luke95
New Project
 
Hello, im looking for a beginning project. I'm 16, and unfortinatly for me my school does not offer ...
[3 replies] Last: Hello, I am a student from UAT and I just wanted to throw my two c... (by bmorton)
Read special characters like swedish å ä ö using fgetc
 
I can not use fgetc to read special characters like swedish å ä ö. I would like to read character...
[3 replies] Last: Thank you for your help for a higher understanding in character encodi... (by alderaan)
by ascii
Binary Tree
 
I have to create a Ordered Binary Tree for an assignment, and I'm stuck :/ I need to supply a defa...
[6 replies] Last: I agree about the book. Great through ch. 10 but then I'm outta there.... (by closed account D80DSL3A)
Modify: Cashier
 
Hello, I am having a problem with my program. I'll post the code and problem.. /*Modify this prog...
[3 replies] Last: It's not the only way, you could also cin >> "dummy variable" to consu... (by Ashishduh)
by nz3msb
Program Error! Don't understand why
 
#include <iostream> #include <fstream> using namespace std; int main() { int number, sum1,...
[1 reply] : Your syntax is all wrong. Comparisons require the use of the '==' ope... (by Ashishduh)
by Bulova
Linked list questions
 
How would you copy a linked list or arrange a linked list to a certain value inside the nodes?
[8 replies] Last: I would do that because the data fields may be large, complex structur... (by closed account D80DSL3A)
Just wondering if this was possible
 
Hello, I'm just starting to pick up some of the concepts in C++ and I was wondering if it was ...
[4 replies] Last: @ Mathhead200 I was able to get my program to work. I setted it up in... (by enlightenMe)
need help swaping integers
 
#include <iostream> #include <stdlib.h> using namespace std; void swap_integers(int x, int...
[7 replies] Last: You should pass x and y by reference: void swap_integers(int &x, int... (by bl4ckb3rry)
Help with passing by reference
 
Hello, I'm trying to pass a pointer variable but when I return from the function call, the variable ...
[5 replies] Last: "empInfo" seems to be a pointer, if it is being set to point at a vari... (by Computergeek01)
Multiple includes?
 
Hey everyone, I wanted to know how to deal with the following situation: suppose my main file nee...
[3 replies] Last: Sweet, that's awesome! Thanks, that helps a ton. (by zeromeus)
How to free the memory after return the array?
 
I have got some codes written in C, it returns an array allocated using 'calloc'. However, as far as...
[5 replies] Last: sorry, I should read the post carefully. (by stereoMatching)
Two Notepad Apps - Simultaneous Editing
 
I made a post the other day about not knowing where to start on a bigger project and I thought this ...
[4 replies] Last: Just a "thanks for all the ideas" posts :) I'll get looking into them ... (by CarrotTop)
Calling method within classess
 
Hello everyone. Simple question for the following code: class Story { public: Sheep* SHE...
[4 replies] Last: Currently, it looks like this: #include <iostream> #include <Stri... (by mefhisto)
EOF won't terminate???
 
So I have my latest assignment almost complete but when I enter the EOF the program kicks into an en...
[5 replies] Last: First off, how come your celConvert has a c parameter and farenConvert... (by Ashishduh)
June 2011 Pages: 1... 1920212223... 41
  Archived months: [may2011] [jul2011]

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