Search Results

Showing results 1 to 6 of 6
Search took 0.01 seconds.
Search: Posts Made By: devnar
Forum: C++ Jan 18th, 2009
Replies: 1
Views: 195
Posted By devnar
The if statement is wrong. It should be:

if (pow > 1)
{
full = num * full;
return (power(num, --pow, full)); //You've already multiplied once. Don't do it again.
}

Also, your code...
Forum: C Dec 13th, 2008
Replies: 7
Views: 866
Posted By devnar
C language was developed by Dennis Ritchie, but I'm not sure if he's officially recognized as the 'Father of C language'. That said, don't post a thread as if you are at a gun-point. All those...
Forum: C Dec 13th, 2008
Replies: 3
Views: 531
Posted By devnar
After 8 posts, the community expects you to know how to use code tags. Click here (http://www.daniweb.com/forums/thread93280.html)
Forum: C Nov 24th, 2008
Replies: 5
Views: 420
Posted By devnar
This is your 14th post, and you still don't bother to use code tags. Also it was mentioned quite a lot of times in your previous thread (http://www.daniweb.com/forums/thread154910.html) that you...
Forum: C Nov 1st, 2008
Replies: 18
Views: 1,646
Posted By devnar
Code tags (http://www.daniweb.com/forums/thread93280.html)
Forum: C Oct 18th, 2008
Replies: 15
Views: 2,437
Posted By devnar
>You're wrong. getchar() does not behave in quite the way you described.

My bad. Did some research on getchar(). Seems getchar() doesn't need enter to be pressed after the input of each character....
Showing results 1 to 6 of 6

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC