Thread: ID Num

  1. #1
    Registered User
    Join Date
    Oct 2001
    Posts
    70

    Unhappy ID Num

    I have a question to ask here.There is a formula to calculate a certain ID num but i don't how to do it? any guidance?

    Example.

    8 7 6 5 4 3 2 1
    ^ ^ V V ^ ^ V ^

    8=^
    7=^
    6=V
    5=V
    4=^
    3=^
    2=V
    1=^
    Easy for you to see.


    if ^ = no value
    if V = value.

    with all the symbol of V= it shows ID num 50 all above.
    how to get it?i heard by using power of 2 to get the id num.
    i can't get it anyway. pls direct me to get a id num of 55.
    thanks.. quite urgent!
    Last edited by Joanna; 10-01-2004 at 01:10 AM.

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    8=^
    7=^
    6=V
    5=V
    4=^
    3=^
    2=V
    1=^

    Oh come on, this is just binary
    00110010 = 50
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  3. #3
    Registered User
    Join Date
    Oct 2001
    Posts
    70
    Salem,

    teach me how to get the id num of 55?
    pls i want to know it....

    what figures represent 1 ?

    come on.. i forget all already...
    plssssssssss..............

  4. #4
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    no comment
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  5. #5
    5|-|1+|-|34|) ober's Avatar
    Join Date
    Aug 2001
    Posts
    4,429
    Stop asking us to do your homework. I can't believe Salem just gave it to you like that.

  6. #6
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    mmm, bit obvious isn't it - fixed...
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  7. #7
    Registered User
    Join Date
    Oct 2001
    Posts
    70
    Hey,come on

    at least can u direct me or tell me how to calculate it?
    any method? this is a not a homework, plsss... trust me!

    Thanks,really need help

  8. #8
    i dont know Vicious's Avatar
    Join Date
    May 2002
    Posts
    1,200
    Dude, if its on add it together.. if its off then dont include it.....
    And its in powers of two. Think of it as a binary system. Google binary.

    If the place number is 8 the multiply 2 8 times. ( 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 ).
    What is C++?

  9. #9
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    > this is a not a homework, plsss... trust me!
    No, the scary thing is that it appears that this is your job

    A job for which you've been using this board (and I'd guess many others so as to not wear out your welcome) as your own personal tech-support forum.

    You've only ever asked TWO (count 'em) actual C++ questions, and those were back in 1991. Ever since, it's been random tech support questions all the way.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  10. #10
    Registered User
    Join Date
    Oct 2001
    Posts
    70
    Salem,
    Is that means that i'm not welcomed over here?
    I'm just learning and when i'm encountered problem? i straight go to this forum.I do admit that i'm still studying but i deny that this is the homework,ok.


  11. #11
    wow salem, that is the prefect explination!
    it all make sense now, i thought her questions
    were kind of werid and asked in a strange
    manner.

  12. #12
    Registered User major_small's Avatar
    Join Date
    May 2003
    Posts
    2,787
    Quote Originally Posted by Joanna
    Salem,
    Is that means that i'm not welcomed over here?
    I'm just learning and when i'm encountered problem? i straight go to this forum.I do admit that i'm still studying but i deny that this is the homework,ok.

    d00der... just take the answer that was already given to you and use it... the whole point he's trying to make (I assume) is that we'll help you along as long as you pull your own weight... we're not here to simply give you the answer, and we're not going to do that because we want you to learn... the answer to your question is: it's binary. look up a little about binary and figure the rest out yourself.

    if we give you this answer, you'll never know how to get it again if you ever forget, but if we show you how to get the answer, you'll be able to derive it whenever you need to.

    in other words:

    give a man a fish, you feed him for a night. teach a man how to catch a fish and you feed him for a lifetime.
    Join is in our Unofficial Cprog IRC channel
    Server: irc.phoenixradio.org
    Channel: #Tech


    Team Cprog Folding@Home: Team #43476
    Download it Here
    Detailed Stats Here
    More Detailed Stats
    52 Members so far, are YOU a member?
    Current team score: 1223226 (ranked 374 of 45152)

    The CBoard team is doing better than 99.16% of the other teams
    Top 5 Members: Xterria(518175), pianorain(118517), Bennet(64957), JaWiB(55610), alphaoide(44374)

    Last Updated on: Wed, 30 Aug, 2006 @ 2:30 PM EDT

  13. #13
    & the hat of GPL slaying Thantos's Avatar
    Join Date
    Sep 2001
    Posts
    5,681
    Quote Originally Posted by Joanna
    Is that means that i'm not welcomed over here?
    Unlike the rest, I'm not gonna be nice: Yes thats exactly what it means.

  14. #14
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    > I'm just learning and when i'm encountered problem? i straight go to this forum
    Which is exactly how your posts read - you come here for every single problem you have without even thinking about the problem yourself or even trying to use google.

    http://www.catb.org/~esr/faqs/smart-...ns.html#before
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  15. #15
    eat my shorts!
    Join Date
    Apr 2002
    Posts
    294
    Quote Originally Posted by Salem
    8=^
    7=^
    6=V
    5=V
    4=^
    3=^
    2=V
    1=^

    Oh come on, this is just binary
    00110010 = 50
    anything with ^ is 0 (zero)
    anything with v is 1 (one)

    00110010

    read from the right side: (see pic below)

    32+16+2 = 50
    Games Reviews Previews Desktop Themes Downloads Paintball Forums Shareware Freeware and much more

    The best in Technology and Gaming News

    www.back2games.com

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. a searching tree
    By lindaonline15 in forum C++ Programming
    Replies: 2
    Last Post: 10-15-2008, 06:06 AM
  2. Problem I Can't solve...
    By ferniture in forum C Programming
    Replies: 3
    Last Post: 07-15-2008, 02:51 AM
  3. help! fifo read problem
    By judoman in forum C Programming
    Replies: 1
    Last Post: 08-16-2004, 09:19 AM
  4. Problem Using bsearch
    By Zildjian in forum C Programming
    Replies: 4
    Last Post: 11-13-2003, 08:14 PM
  5. Optimization of code
    By dpro in forum C++ Programming
    Replies: 5
    Last Post: 10-28-2002, 04:01 PM