Search:

Type: Posts; User: tabstop

Page 1 of 20 1 2 3 4

Search: Search took 0.06 seconds.

  1. Replies
    16
    Views
    1,616

    The right-hand table can't depend solely on the...

    The right-hand table can't depend solely on the left-hand table, since you have several rows that are the same on the left (the top two that are highlighted that odd shade of blue, the several rows...
  2. Replies
    16
    Views
    1,616

    So if changing the right table doesn't affect the...

    So if changing the right table doesn't affect the left table, and changing the left table doesn't affect the right table, why do you think they are related?

    Most of these lines do follow the right...
  3. Replies
    16
    Views
    1,616

    The 0000 is there only because the B byte masked...

    The 0000 is there only because the B byte masked it off; it is (almost certainly) not the original starting value.
  4. Replies
    16
    Views
    1,616

    I'm not sure I've got another different...

    I'm not sure I've got another different explanation in me, but I'll try. There are two inputs and one output:


    input 1 (?????) : 0431 GGGG 0154 0153 0151 0157 0051 0052 0160 1020 0075 2197 0152...
  5. Replies
    16
    Views
    1,616

    If you have the original, and the control string,...

    If you have the original, and the control string, then you can get to the result. But you need both of the inputs.

    Not without specifying the 0x80 00 (or whatever pattern you need).
  6. Replies
    16
    Views
    1,616

    Well, if you write 1 if you have a number and 0...

    Well, if you write 1 if you have a number and 0 if you have zero, you get 00111011 11000010, which is 0x3b c2. This is the code-like object I posted above.

    As you can see, it's not a reversible...
  7. Replies
    16
    Views
    1,616

    Are you trying to generate the long stuff from BF...

    Are you trying to generate the long stuff from BF FF or the other way around? Or do you have a big long number, and a BF FF, and then a new big long number that has some zeroes in it?
  8. Replies
    5
    Views
    744

    sort(1) just means that you always use option...

    sort(1) just means that you always use option one, despite whatever your user might say or want.

    If you want to use the option that your user typed in you have to, instead of deliberately throwing...
  9. Replies
    16
    Views
    1,616

    Let me see if I have gathered your relationship...

    Let me see if I have gathered your relationship correctly.
    You have a bunch of numbers (four bits each). The shorter string is obtained by making any nonzero number into a 1 and any zero into a 0. ...
  10. Replies
    4
    Views
    437

    Do you actually expect "1" to be a valid memory...

    Do you actually expect "1" to be a valid memory address?
  11. Presumably you already did the "backspace over...

    Presumably you already did the "backspace over the f and type an i" bit. And then you're set! (At least as far as the syntax is concerned; you can see push(1) and push(0) sprinkled throughout your...
  12. Replies
    13
    Views
    807

    Teachers are weird. (But yes, using a reserved...

    Teachers are weird. (But yes, using a reserved name for a function parameter is a Bad Idea.)
  13. Curiouser and curiouser. I see the same result,...

    Curiouser and curiouser. I see the same result, but if I add "fflush(stdout);" directly after the printf I get the start printout after about 3 seconds and then finish when it's done. Forcing...
  14. Replies
    13
    Views
    807

    Well, but it's inside the loop -- this is binary...

    Well, but it's inside the loop -- this is binary exponentiation. So x^9 = x^8 * x (since that's the binary representation of 9), and the repeated squaring of alap gives alap^2, alap^4, alap^8, etc.,...
  15. For each tag you want to remove, you'll want to...

    For each tag you want to remove, you'll want to read-and-copy until you see the start tag, then just read until you see the close tag, then start read-and-copying again.

    You're starting to build...
  16. Replies
    21
    Views
    1,292

    Like all the scanf modes, the %[ leaves the...

    Like all the scanf modes, the %[ leaves the new-line in the buffer; unlike many of the scanf modes, %[ will not skip over that whitespace when it is used again (%f is fine, for instance, because it...
  17. Replies
    8
    Views
    564

    You should probably also look up what pow does,...

    You should probably also look up what pow does, because once you do get an answer you're still not going to like the answer you get.

    And what is the purpose of erg1?
  18. Replies
    13
    Views
    807

    Why not make line 24 printf("%d\n", res); ...

    Why not make line 24


    printf("%d\n", res);

    and see whether you're right?
  19. Replies
    13
    Views
    807

    When you get to line 24 (i.e., just before your...

    When you get to line 24 (i.e., just before your while loop starts) what value does the variable res have? What value do you want it to have?
  20. Replies
    4
    Views
    379

    It isn't so. (EDIT: Unless you're referring to...

    It isn't so. (EDIT: Unless you're referring to Salem's comment about single-stepping; if you have your optimization on high enough, and you have a fancy enough compiler, it might be able to determine...
  21. And what about swapping the row and column...

    And what about swapping the row and column indexes isn't working for you?
  22. Replies
    21
    Views
    1,292

    Note that fgets keeps the new-line character,...

    Note that fgets keeps the new-line character, which means it is your responsibility to remove it.

    %s won't allow for input with spaces in it, so if you wanted that (and it looks like you do!) you...
  23. Replies
    40
    Views
    1,726

    You haven't told us your logic. You've shown us...

    You haven't told us your logic. You've shown us your code, but as we've all seen, there's no reason the code has to match the logic. So first we need to see what your logic is, then we can see...
  24. If you want to share your Makefile and we can see...

    If you want to share your Makefile and we can see if there's anything interesting there. The only thing I saw in a bit of websearching is that clang might be tempted to make a pch file if you...
  25. Well, I think so, but I wouldn't say I've fully...

    Well, I think so, but I wouldn't say I've fully got the hang of Windows processes and threads -- I think your process starts in the same thread as your C# program, and so when your C program calls...
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4