Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
1 Commented Post
0 Endorsements
~3K People Reached
Favorite Forums
Favorite Tags
c x 13
Member Avatar for kostasxx

hello dear friends i installed visual studio ( full installation) then i got xampp from their site i have mysql and apache running i downloaded the connector from mysql site and i created a simple project to check if i can connect to mysql or not i have made this …

Member Avatar for geek53
0
129
Member Avatar for kostasxx

i cant understand why this happens i m making a simple implentation of sieve of eratosthenes algorithm but code doesnt run on gcc [code] // calculate primes from 1 to 100 #include <stdio.h> #include <math.h> int main() { unsigned long i,x[99],w; for ( i=1; i<100; i++ ) { x[i] = …

Member Avatar for kostasxx
0
88
Member Avatar for kostasxx

can anyone tell me how to achieve this? its the first time i use gmp, i cant really understand what i should use and how lets say we have x1= 5*100; x2=10*10; can anyone show me the code that adds those numbers and prints the result? thanks

Member Avatar for mvmalderen
0
316
Member Avatar for kostasxx

hi guys, i have this code [code] #include <stdio.h> #include <stdlib.h> int main(){ unsigned long long *x; x = (unsigned long long*)malloc(600851475143ULL*sizeof(unsigned long long)); if (x!=NULL){ printf("success\n"); getchar(); } else { printf("fail\n"); getchar(); } printf("%I64u\n",600851475143ULL); getchar(); return 0; } [/code] this is a part of some program im trying to …

Member Avatar for Tom Gunn
0
115
Member Avatar for kostasxx

Hi I use Dev - C++ and i d like to ask you cause i dont seem to figure that out, how can i store a 12 digit number? For example lets say this is the number 930342900243 How can i write a program that would print that number using …

Member Avatar for Dave Sinkula
0
127
Member Avatar for kostasxx

so guys, i was thinking about finding a way to create arrays, without knowing their size. for example create an app that takes unsigned long values until EOF and just saves them to an unknown size array. i was thinking that, because the array size could be big, to create …

Member Avatar for Narue
-1
2K
Member Avatar for kostasxx

i need to make a program that finds all primes between some numbers the biggest number is 1000000000. the code that i have works fine, the only problem is that what i thought that would solve this, is too slow [code] #include <stdio.h> int main(){ FILE *fin=fopen("in.txt","r"); int t,n1[10],n2[10],i,j,ex,k; fscanf(fin,"%d\n",&t); …

Member Avatar for vs.vaidyanathan
0
192