This is exactly what i needed, and with samples to boot :) thank you
Type: Posts; User: SlyVixsky
This is exactly what i needed, and with samples to boot :) thank you
i have gone through the tutorial on this site for pointers, but i still don't really understand why use them. Does anyone know of another online tutorial on the subject? i am still searching for...
thats the issue, i need an array that can be flexible, expanding as desired by the user.
ok, what i want you to do is erase it and re-type the program from the book, and double check yourself, then if it wont compile, repost it. i wanna be sure i have the right program to start with
If you tell me what the output is supposed to be, ill point you in the general direction, as the rest of the replies have, but i'm not going to post a full program. Ill need the output to be sure...
True, which is why i think this program working is odd, and am looking into it
i've been using C for less than 3 days, i see 4 errors. this code really doesn't need much to get it working.
what does the book say you are supposed to be getting for an output?
heres the code sample I've drawn up, showing you can easily add numbers to an array, but you have to tell the program that you added numbers. Is there any function to tell toe program you expanded...
it was a code sample online, and after some modifying, i did prove my initial assumption was incorrect.
I have a simple array for math functions, but when adding larger numbers, i will need to add a column to the array. i know you can remove a slot/column using a[i]=NULL, but is there a way to add...
I've completely overhauled the program, now allowing it to display 24 digits, but now its giving out very random errors, in math. The code is long, as well is the output, so i ask you follow the...
modifying my code by adding the following line
printf( "%d\n", sizeof(y));
following the second print statement, the new output is showing every number only being allotted 8 bytes, which...
I've used long long, and it still cant get past the 93rd iteration of the sequence.
Cycles 90 to 100 using long long and %lld
2880067194370816120
4660046610375530309
7540113804746346429...
the windows fork is nothing but linux installation instructions, no use at all...
yay linux
i dont use linux...
%I64d yields the same result as %lld, which does work as it should, but still has the limit about the 92 iteration before it begins bouncing pos/neg.
bithub: can you please post a link for GMP use?
yes, windows and gcc
same result
GMP???
my result with long
572466946
-2079590721
-1507123775
708252800
-798870975
-90618175
-889489150
I want to calculate the fibonacci sequence for 'q' iterations, but after 16 digits it doesn't show the numbers, which means the program is only accurate up to about the 83 iteration. I've looked...
Using float or double or long double all releases the same result as i posted.
I tried that to begin with, to no avail. I've read the printf page, but i i think the issue isn't printf but the float/double part. its not using the right limits, and i haven't yet found any...
I have been searching the forum for over an hour trying to find a solution to what i'm seeing, as well as the rest of the internet, but theres nothing i can find. I initialize a variable as a...