Recent content by Skainstein

  1. S

    Goldbach's Conjecture (Theorem?)

    Goldbach's Conjecture (Theorem??) Hi guys, I just need to know if Goldbach's Conjecture has been demonstrated or not! Thx! :D
  2. S

    C/C++ C++ Separate Digits: No Division Needed

    it's what I've been doing :P sorry for being such a pain in the ass
  3. S

    C/C++ C++ Separate Digits: No Division Needed

    So what ur telling me is that the other ways to do what i need are dependent on those %10, etc? i don't know what itoa() is :P. is it something like cin.get()?
  4. S

    C/C++ C++ Separate Digits: No Division Needed

    no, no, no! that's what I've written before (u didn't read it maybe). the only number i type is the maximum value of my loop which starts in 0. now imagine i say to the program the maximum value is 1000000. it'll start with zero, and all by itself will get to 999999 and finally 1000000. now if...
  5. S

    C/C++ C++ Separate Digits: No Division Needed

    all right, so what do u guys think: for number with, for example 20 digits, is it faster for the computer to make %10 or %100 (whatever), or to separate the digits other way than that? maybe it's a stupid question but let me remind u...i'm a n00b at this things :P don't feel bad not to...
  6. S

    C/C++ C++ Separate Digits: No Division Needed

    i've read the posts where it says to put numbers into a string and it seems to be a good idea...i just don't know how to do that.
  7. S

    C/C++ C++ Separate Digits: No Division Needed

    ok. I'm sorry. i'll be more specific. the program I'm doing is supposed to test if numbers are primes or not but without any need of divisons. for those who know, the divisions are what takes longer to calculate so i don't want to use them. it stars from, the user uses the keybord to say what's...
  8. S

    C/C++ C++ Separate Digits: No Division Needed

    I don't know much of programming but i know a few things...so please be gentle on me o:) I need help (in C++) with separating the diggits of a number without using any divisions (no '%10', no '/10', etc), just something that reads the number and gives me the diggits. don't know if it helps but...
Back
Top