Beginners - November 2011 (Page 11)

Simple question (1,2)
 
I need help over this question.. The constant percentage method of computing depreciation of an a...
[23 replies] Last: #include <iostream> #include <cmath> using namespace std; int main... (by rithan)
hi just starting to learn C++ and need to bounce i few questions off someone please
 
hi at the moment im reading teach your self c++ in 21 days as it was recomended to me on another for...
[3 replies] Last: Ok thanks for letting me know my compiler told me it was decrepit and ... (by cossworth)
My function works but is missing one thing......
 
This function is part of a program that I wrote for an assignment. The other parts of the program wo...
[5 replies] Last: This part: letter= inputString ; if (letter=='a' || letter=='e' |... (by Gaminic)
by ShienZ
How to calculate price for call duration with 2 different rate?
 
The cost of the call is determined according to following schedule: A. Any call started between 8.00...
[no replies]
Break and continue nested loops problem.
 
Hi all, I have some problems with loops for (a=3; a<=n; ++a) // first loop { for(i=2; i...
[4 replies] Last: So in your loop, the break statement only exits the second loop, and t... (by Caprico)
by Lhimez
Theres an error...
 
So, Im new to programming and just read some of the tutorials. I started programming, thought I shou...
[7 replies] Last: Meh. Ill consider it :P (by Lhimez)
Dynamic structure array inside of a structure?
 
Question: How can I create a Structure that has a Dynamic Structure (array) inside of it using only...
[2 replies] Last: THANK YOU! You saved me from hours of endless trial and error. I could... (by lindsey laho)
Parameterized Constructor doubt...
 
Okay, so in my program, I have a class (say A)which has 5 int members. I want to use a parameterized...
[5 replies] Last: Stewbond, yeah, I've already gone through everything this site has to ... (by Caprico)
Declaring new arrays in a loop
 
This is part of a larger code I'm working on but I've trimmed it down and simplified it to show the ...
[3 replies] Last: Yes... usual variables have a scope only in the block they are defined... (by Caprico)
please i need your help to creat this program as soon as possible
 
Question 11 The constant percentage method of computing depreciation of an asset is based on the ass...
[3 replies] Last: http://www.cplusplus.com/forum/beginner/55951/ (by Caprico)
log formula
 
hay every one how can i find n in this equation to c++ :- S = C(1 - d)pow n or how to conve...
[3 replies] Last: There is only functions with base e and base 10. But I found this tha... (by Peter87)
by zz77z
I don't understand this !!!
 
Hello Could any one help me to solve this problem ::::: create a base class called shape.Use...
[2 replies] Last: Also this one if you don't mind ^^ :::: start with publication, bo... (by zz77z)
by nebula
How to properly use cin.fail()?
 
Hello guys. For my final exam this year I must do a program, but I must protect it from dumb people....
[no replies]
Why array of length zero.
 
Why GCC allow to create an array of length 0 as c++ does not allow to make a an array of length zero...
[2 replies] Last: bro i m a beginner and dont know ISO C99 and C90 plz tell me in simple... (by Hammad50)
Replacing space with hyphen in a string
 
This program is to replace all the spaces with hyphens in a string. I don't understand why we used ...
[2 replies] Last: Thank you so much...ur code is much simpler..I myself made a similar t... (by Shaurya)
Calling a function in an if statement
 
Hello, I am writing a program to list the prime numbers from 1 to 10000. It is based on a templat...
[2 replies] Last: Ok, thanks. (by nmf1992)
C++ 'do nothing' command?
 
Hello Just a quick question, is there a command similar to the Python command "pass" which does a...
[4 replies] Last: Just to make the intention explicit... use continue in loops e.g. int... (by closed account 1vRz3TCk)
Difference
 
difference between new int and new int(10)
[2 replies] Last: Nothing, as far as declaration is concerned... (as far as my knowledge... (by Caprico)
Vowel count !
 
I copied this program to count the total vowels..it works just fine but I don't understand why '...
[6 replies] Last: thanks agaiN!!!!!!!!!!!!! (by Shaurya)
November 2011 Pages: 1... 910111213... 65
  Archived months: [oct2011] [dec2011]

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