Welcome to Dream.In.Code
Become a C++ Expert!

Join 149,559 C++ Programmers for FREE! Get instant access to thousands of C++ experts, tutorials, code snippets, and more! There are 1,623 people online right now. Registration is fast and FREE... Join Now!




recursion function question

 
Reply to this topicStart new topic

recursion function question

nicz888
25 Nov, 2007 - 04:03 PM
Post #1

New D.I.C Head
*

Joined: 25 Nov, 2007
Posts: 2


My Contributions

thank you

This post has been edited by nicz888: 26 Nov, 2007 - 07:07 AM
User is offlineProfile CardPM
+Quote Post

Trogdor
RE: Recursion Function Question
25 Nov, 2007 - 05:04 PM
Post #2

D.I.C Addict
Group Icon

Joined: 6 Oct, 2006
Posts: 549



Thanked: 4 times
Dream Kudos: 125
My Contributions
i am trying realy hard, but i can not figure out what this should do:
CODE
        !(mathTest());
;

Also, in your main you call mathThest() 3 times. once in the if-condition, then twice in 2 seperate statements (one of them the strange one above).
That is why it does that 3 times.
Put them in a while loop.

User is offlineProfile CardPM
+Quote Post

nicz888
RE: Recursion Function Question
25 Nov, 2007 - 05:45 PM
Post #3

New D.I.C Head
*

Joined: 25 Nov, 2007
Posts: 2


My Contributions
got it thank you

This post has been edited by nicz888: 26 Nov, 2007 - 07:07 AM
User is offlineProfile CardPM
+Quote Post

Reply to this topicStart new topic
Time is now: 1/7/09 10:08PM

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter

Live C++ Help!

C++ Tutorials

Reference Sheets

C++ Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month