Search Results

Showing results 1 to 7 of 7
Search took 0.00 seconds.
Search: Posts Made By: tuse ; Forum: C and child forums
Forum: C Jul 14th, 2009
Replies: 5
Views: 460
Posted By tuse
Use exit() function

http://www.cprogramming.com/fod/exit.html
Forum: C Jul 14th, 2009
Replies: 46
Views: 1,505
Posted By tuse
did you try debugging using gdb?
Forum: C Jul 14th, 2009
Replies: 11
Views: 637
Posted By tuse
Its possible that what the original thread starter meant by 'swap' was to actually interchange the pointers to the read-only strings as Dave and Dream2Code have suggested.
Forum: C Jul 12th, 2009
Replies: 9
Views: 830
Posted By tuse
That is just the reverse of the aforementioned algorithm.

Explanation- Scan the input string from left to right. Whenever you see an operand, just push it onto a stack. When you encounter an...
Forum: C Jul 12th, 2009
Replies: 9
Views: 830
Posted By tuse
The expression contains only operands. Where are the operators?

If you have a string in infix, ie. in form A+B, and you wish to have it in the form AB+, you can use the Shunting Yard Algorithm...
Forum: C Jul 11th, 2009
Replies: 13
Views: 620
Posted By tuse
printf("Trip Summary");

You are missing the semicolon here

and here

printf("Enter Total amount of fuel required");

and why do you have the return statement outside the main function?
Forum: C May 14th, 2009
Replies: 1
Views: 378
Posted By tuse
Hi,

What is the conversion character for long double in gcc?
Showing results 1 to 7 of 7

 


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

©2003 - 2009 DaniWeb® LLC