I want to get an equilateral triangle , how to do this?? :(
Type: Posts; User: Aash
I want to get an equilateral triangle , how to do this?? :(
Firstly sorry to everyone, i've posted it twice. There was something wrong with my internet.
@rocketman50: Could you help me out please, I tried it so many times. :(
I'm using three loops becuz...
Hello all, i want to display an equilateral triangle.
I thought about it and tried all day but unfortunately didn't do it.
This is so for i've done.
for(int i=0; i<5; i++)
{
for(int j=5;...
Hello all, i want to display a triangle like this:
*
* *
* * *
...
@laserlight: I tried that simple program. As i'm using Borland C++ 5.02, so it gave 5 warnings on compiling. I typed the name but it didn't display the word "hello". After typed the name the program...
Ok here i've one last question.
I've consulted many books and is that my teacher told me to add:
#include <iostream.h>
#include <conio.h>
void main()
before starting every program.
But as...
@laserlight: Thankyou. I'll try both.. :)
@rogster001: Ok. I want to ask you about best book for c++ for the newbie like me.
Is Summita Arrora's C++ book is best one for absolute beginners??
I urgently needed the best book for C++ because...
hi..
I'm using Borland C++ 5.02 as recommended to me in my college. I'm in third semester and i'm new to c++. I shouldn't use it??
Will you please guide me Salem??
thanks..
I think i've to grip on my concepts. I've tried book "How to program C++" by deitel (6th edition)
would you please tell me which one is the best book for C++??
so that i can clear all my...
thanks for the reply rogster001 :)
What if i assigned arrays size of 5 and after summing in the sum function, can i call it in main as sum(ar[5])??
Can i do it in this way if i don't want to use...
Hello laserlight..
Yes i want to get input from the user, and i wrote the code as you said that it should be in the main function.
This is what i've done yet.
#include <iostream.h>
#include...
Hi..:)
In my simple program, i want to accept array of numbers of any size and have to return its sum.
Whether i should accept that array in the defined function of sum which is:
void sum(int...
Thanks laserlight, rogster001 :)
@CPlus thankyou for your nice effort, it's valuable. :)
Hi all :)
I do understand nested for-loop when two for-loop is used but i get puzzled in case of three or more loops. I have surfed that on the internet but as a beginner in c++ i can't understand...
Thanks for the replies..
I'll search in this forum and will post my code soon if i get some troubles in it.
Hi all..
I'm newbie in this forum.
I want to program an address book using c. I don't know much about how to create an address book. I want some hint, will anyone give me some link, easy to...