Search:

Type: Posts; User: computation

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    6
    Views
    1,782

    if i remember correctly.... doubles aren't...

    if i remember correctly....

    doubles aren't 100% accurate. i don't think you can compare them conditionally. if you know the precision of the numbers you can multiply by 10's to make them whole...
  2. Replies
    7
    Views
    5,026

    Yeah, those were typos....i do it all the time...

    Yeah, those were typos....i do it all the time with 'string' and 'str'....

    i'm liking the begin()+index idea..haven't tried it yet, but i'm sure it works..

    thanks Dave .... ("good effort " to...
  3. Replies
    7
    Views
    5,026

    Erase characters in std::string

    All i'm trying to do is erase the first occurance of a character in a std::string.

    str::erase(iterator) takes an iterator as an argument, but std::find() returns size_type.

    This is the best i...
  4. Replies
    5
    Views
    1,245

    but int's aren't that big

    but int's aren't that big
  5. Replies
    5
    Views
    1,245

    Passing Bit Fields

    Is there a way to return bit fields via class methods? ..Or even typedef them?...Or maybe even (void) pointers to them?

    example:


    class BitField
    {
    typedef unsigned:28 Bytes7
    public:...
  6. Replies
    3
    Views
    1,221

    sorry for posting in the wrong section....i was...

    sorry for posting in the wrong section....i was originallyl going to ask a c++ question, but changed my mind.

    so when i read about hashing and it says "formula", it doesn't necessarily mean a...
  7. Replies
    3
    Views
    1,221

    Hashing (non-technical question)

    I'm a little unclear as to what hashing is exactly. I'm in the process of writing a word jumbling program and I came up with a scheme to compare a large number of words fairly quickly. I want to know...
  8. Replies
    3
    Views
    2,068

    good point. originally i didn't add the '\0'. i...

    good point. originally i didn't add the '\0'. i put that in out of desperation at 4 o'clock in the morning.

    I remember trying to use next_permutation with strings about a year ago. If I remember...
  9. Replies
    3
    Views
    2,068

    permutations

    I'm trying to give my program some letters and have it "jumble" them around to find words. This means I need to find all permutations of all 'lengths' of the word. My program seems to find the first...
  10. Replies
    9
    Views
    1,159

    When's the last time you've been with a woman?

    When's the last time you've been with a woman?
  11. Replies
    79
    Views
    17,001

    3 Words: E-Town Concrete If your words are...

    3 Words:
    E-Town Concrete

    If your words are true, and you've never heard them, you need to. As a matter of fact, you can find them on myspace.

    If you like 'em we gotta talk. I need to find...
  12. Replies
    79
    Views
    17,001

    I love how message boards work

    I love how message boards work
  13. Replies
    79
    Views
    17,001

    google: "myspace lawsuit austin" First google...

    google: "myspace lawsuit austin"

    First google return:
    http://www.statesman.com/news/content/news/stories/local/06/20myspace.html

    (not sure if i've read this one yet... hope it's not biased)
  14. Replies
    79
    Views
    17,001

    WHY should myspace be responsible at all? Why is...

    WHY should myspace be responsible at all? Why is it that people feel that myspace should take security measures? Are there any laws which say they have to? People should be thankful that they put in...
  15. Replies
    79
    Views
    17,001

    You've got to be kidding me...seriously

    I don't know how anyone could possibly fathom the idea of suing an internet site (myspace.com - in case you haven't heard) because their kid got raped. I'm sorry, that's just stupid. I pray to God...
  16. Replies
    32
    Views
    13,546

    when i first saw it and actually thought that at...

    when i first saw it and actually thought that at first. i had been reading for a few hours on my computer before i picked up where i left off in the book......my eyes were fried
  17. Replies
    32
    Views
    13,546

    the brown code?

    the brown code?
  18. Replies
    32
    Views
    13,546

    The Da Vinci Code - Page 153?

    I'm intrigued, in the da vinci code, on page that should be marked a page 153, it says "SOS" in place of the page number. I've been searching the internet but I can't find anything about it. Any...
  19. Replies
    5
    Views
    2,681

    I ussually wait until i'm completely fed up with...

    I ussually wait until i'm completely fed up with the problem and then post.......and then realize I could have had an answer 2 and a half hours earlier
  20. Replies
    5
    Views
    2,681

    glad we could help :)

    glad we could help :)
  21. Replies
    6
    Views
    1,943

    I had sygate for a while but it kept making my...

    I had sygate for a while but it kept making my system lock up, so i switched to zone alarm
  22. Plus it's in the linux programming section

    Plus it's in the linux programming section
  23. Rebuilding the kernel is pretty easy actually.......

    Rebuilding the kernel is pretty easy actually....
    the process is basically this...
    download a kernel
    untar it
    cd into that directory
    now, 'make menuconfig' #this is where you configure your...
  24. Thread: Hexidermis

    by computation
    Replies
    7
    Views
    1,239

    in short, we are accustomed to counting in...

    in short, we are accustomed to counting in multiples of ten. we use the digits 0-9. once we need to count past nine we add another decimal place, giving us the number 10, hexidecimal is exactly the...
  25. Replies
    1
    Views
    1,117

    i don;'t know much about sockets, but it's...

    i don;'t know much about sockets, but it's probably because you aren't dereferecing wsocket and rsocket. try *rsocket and *wsocket in the FD_SET() function call
Results 1 to 25 of 35
Page 1 of 2 1 2