Search Results

Showing results 1 to 4 of 4
Search took 0.00 seconds.
Search: Posts Made By: grumpier ; Forum: C and child forums
Forum: C Dec 29th, 2008
Replies: 3
Views: 420
Posted By grumpier
If by ``"c" programme'' you mean something that is compliant with one or both of the C standards, then there's only one answer: it's impossible. Your not wanting such an answer does not make it...
Forum: C Oct 3rd, 2008
Replies: 8
Solved: Null Char
Views: 2,065
Posted By grumpier
Because the %s format specifier tells printf() and related function that the corresponding argument is a pointer to char and to keep printing chars until it finds a zero.

When an array is passed...
Forum: C Sep 13th, 2008
Replies: 4
Views: 1,421
Posted By grumpier
1) First, represent a polynomial (of the form c_0 + c_1*x + c_2*x^2 + .... c_n*x^n) is represented by an array with elements (c_0, c_1, c_2, c_3, .... c_n).

2) Work out how to multiply two...
Forum: C Sep 11th, 2008
Replies: 4
Views: 468
Posted By grumpier
Firstly, your variables a, b, and c are uninitialised: their value before entering the loop could be anything.

As to your loop, it doesn't really make sense.

You only need two variables. An...
Showing results 1 to 4 of 4

 


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

©2003 - 2009 DaniWeb® LLC