Search:

Type: Posts; User: nick2

Search: Search took 0.00 seconds.

  1. Replies
    10
    Views
    1,451

    it shows only a blank DOS screen also i used...

    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.
  2. Replies
    10
    Views
    1,451

    as .C dunno, it s not working for me :S

    as .C

    dunno, it s not working for me :S
  3. Replies
    10
    Views
    1,451

    im using dev C++ btw here is the code using...

    im using dev C++

    btw here is the code using pow



    #include <stdio.h>
    #include <math.h>

    int main(){
  4. Replies
    10
    Views
    1,451

    kind of problem bothering me ( pow or * ? )

    ok i have this code



    #include <stdio.h>
    #include <math.h>

    int main(){

    float a,b,c;
  5. Replies
    15
    Views
    8,642

    guys i searched, but i cant make a program in 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?
  6. Replies
    15
    Views
    8,642

    i ve searched about C99 but cant find my way out...

    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 :)
  7. Replies
    15
    Views
    8,642

    can anyone recommend me anything?

    can anyone recommend me anything?
  8. Replies
    15
    Views
    8,642

    sizeof(long) shows 4

    sizeof(long) shows 4
  9. Replies
    15
    Views
    8,642

    help with prime factor for 12 digit number

    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
    ...
  10. Thread: 3n+1 problem

    by nick2
    Replies
    4
    Views
    1,456

    well i found out what it actually was if we...

    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
  11. Thread: 3n+1 problem

    by nick2
    Replies
    4
    Views
    1,456

    thanks, but again it says wrong answer :/ i...

    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.
  12. Thread: 3n+1 problem

    by nick2
    Replies
    4
    Views
    1,456

    3n+1 problem

    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...
  13. Replies
    4
    Views
    2,379

    thank you for you help, this site is awesome all...

    thank you for you help, this site is awesome all members willing to help
  14. Replies
    4
    Views
    2,379

    help me find a better algorithm for primes

    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...
  15. Replies
    5
    Views
    1,499

    what would you recommend me to do? :)

    what would you recommend me to do? :)
  16. Replies
    5
    Views
    1,499

    indeed the file didnt open is there any other...

    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
  17. Replies
    5
    Views
    1,499

    help searching words in large files

    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...
Results 1 to 17 of 17