Hey MrWizard
you are very right I checked your code and it is exactly what I wanted but the problem here is I need to fill those index in the same order.is that possible? I do not know why when I...
Type: Posts; User: Absy
Hey MrWizard
you are very right I checked your code and it is exactly what I wanted but the problem here is I need to fill those index in the same order.is that possible? I do not know why when I...
YES you are very very close. I did like the loop you posted but it gave different result. I will tell you what I want and ver easier way:
when c is = 0
then i is =012
when c is 1 then
i is...
Thank you for the reply first. I do not want just to show the index. but I have a 3 dim array and I want to fill it in the following order [0][0][0],[1][0][0],[2][0][0]
...
Is there any way not to exit a loop until I finsh all the index in that certain loop befor I go to the other one, example I have this code:
[cod]
#include<iostream>
#include <climits>
using...
What do you mean by portable programs. Any more examples about the usage of C++ and do you mean that VC++ is the scripting version for the C++. Any more examples for the usage of VC++. Thanks for the...
Please could any body tell me where is C++ and VC++ are mainly used? Is it better to design a web site using VC++ or Java? which one is most commonly used? I see most sites are designed using either...
thank you guys very much for the help.
Please I'm looking for good books that teach C++ for intermediate level preferrable with lot of solved programs and exercises. Please if you can write the ISBN for the book would make my life...
Hi everybody.
Please read the requirement very carefully. The program I want is not that complicated it should be easy but I'm making a mistake somewhere and I'm not getting the result I want the...
Thank you guys for all the answers, I appreciate them all.
I think I made a typo when I wrote Sd in the second fraction it should be Sd.
I fixed the typo and I put Sd instead of Fd and I ran the...
I wrot a code for the following program but it seem doesn't work right Please show me my mistakes, Thanks
A program that reads in the numerators and denominators of two fractions. The program...
So I was very close .
Thanks for the reply and explanation.
I love this Forum.
I thought the loop will stop when i is less than 99
Can I write in this way:
#include <iostream>
using namespace std;
int main()
{
int array[100];
int garbage = 0;
the book is " problem solving abstraction design using C++"
by frank l. friedman and elliot b. doffman
it is a text book in Penn State Univ. capitol campus
thanks for the reply
Sorry if I confused you all,
Actually it was a question in one of the chapters Iread,and the question is like like this:
what value is assigned to x by the statement below assuming x is
10.0?
...
assuming x is = 10.0
why after this assignment x becomes 210.0
x = x - 20.0
I appreciate the answer.