it shows only a blank DOS screen
also i used gcc -o myprog ...
but it didnt work,
'gcc' is not recognized as an internal or external command,
operable program or batch file.
Type: Posts; User: nick2
it shows only a blank DOS screen
also i used gcc -o myprog ...
but it didnt work,
'gcc' is not recognized as an internal or external command,
operable program or batch file.
as .C
dunno, it s not working for me :S
im using dev C++
btw here is the code using pow
#include <stdio.h>
#include <math.h>
int main(){
ok i have this code
#include <stdio.h>
#include <math.h>
int main(){
float a,b,c;
guys i searched, but i cant make a program in C using DEV C++ to display a 12 digit number
what code would you suggest to write?
i ve searched about C99 but cant find my way out
could anyone please explain me what it is and how i can use it to solve my problem?
thanks :)
can anyone recommend me anything?
sizeof(long) shows 4
so lets say we have a 12 digit number for example 192837401928
i ve made a code that could calculate prime factors but i cant make it calculate prime factors for such big numbers
for example
...
well i found out what it actually was
if we have input like
1 10
it should print out
1 10 20
and if we have input like
thanks, but again it says wrong answer :/
i think there is something missing but dont know what it is
ps: im talking about uva online judge.
i think i ve solved it, it gives me correct answers, but when i try to submit, it says wrong answer.
is there something wrong with my code?
#include <stdio.h>
int main() {
unsigned...
thank you for you help, this site is awesome all members willing to help
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...
what would you recommend me to do? :)
indeed the file didnt open
is there any other function or algorithm in order to open such files?
ps: the file is 5.5 mb
hello,
i made a simple app that searches a small sized file for example 100 lines, finds a word you want it to find and prints the whole line that has that word
#include <stdio.h>
#include...