Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~1K People Reached
Favorite Forums
Favorite Tags
c++ x 4
Member Avatar for Ather14

Hi; I want to add a string of numbers(e.g 9999) which are stored in a text file. [code] #include <conio.h> #include <stdio.h> #include <stdlib.h> void main (void) { clrscr(); char ch; int x=1; long sum=0; long integer; FILE *fptr=fopen("thousand.txt","r"); while (ch!=EOF) { ch=fgetc(fptr); ch= .....................I AM STUCK HERE.............. } fclose(fptr); …

Member Avatar for Ancient Dragon
0
958
Member Avatar for Ather14

I am trying generate even fibonacii numbers less than four million, but I keep getting negative numbers at some point and eventually it converges to a positive answer, which is obviously wrong. Can anyone please help me out? #include <conio.h> #include <stdio.h> void main (void) { clrscr(); int f1=1; int …

Member Avatar for NathanOliver
0
176