• IMPORTANT: Welcome to the re-opening of GameRebels! We are excited to be back and hope everyone has had a great time away. Everyone is welcome!

Recent content by bitm0de

  1. bitm0de

    [C] Tip: Avoiding Buffer Overflows With scanf()

    Not really a tutorial but a strategy/tip for programming in C and parsing strings with a specific function.
  2. bitm0de

    [C] Tip: Avoiding Buffer Overflows With scanf()

    If you are choosing to parse strings with scanf(), maybe because you don't want to deal with the issues of '\n' with fgets() (even though there are still issues with scanf() aside from it being a more expensive function to call for grabbing a string without any special format because the format...
  3. bitm0de

    [C] Multiplication Table Display Example

    Instead of multiplying the values of the table, it just creates the multiples for each row by adding the value of the current multiple on the far lefthand side to each previous value. Addition is less expensive than multiplication, so with the added variable, it should be better and more...
  4. bitm0de

    [C] Multiplication Table Display Example

    #include <stdio.h> void display_multiplication_table(int height, int width, int pad) { int i, j; for (i = 1; i <= height; ++i) { for (j = 1; j <= width; ++j) { printf("%*d", pad, i * j); } fputc('\n', stdout); } } int main(void) {...
  5. bitm0de

    Created a Skype IP grabber!

    I didn't say that you had to. I simply said that you never admitted that it was a false statement, and nor did you go back and change it to something proper. This just confirms that you believe it's acceptable now, and because it was posted long ago, not whether it's true or false. Also, a few...
  6. bitm0de

    Created a Skype IP grabber!

    "K" 1. My post was still useful (explaining how it's not something made from only HTML, which is a BS statement) 2. There's no other activity in this section, so what harm is my bump doing anyways? You only need to look ~5 or 6 threads down on the programming forum to find threads from 2014. 3...
  7. bitm0de

    [C] Generic Fibonacci Macro Implementation

    #include <stdio.h> #define def_fib(T) T fib_##T(T x) { \ int i; \ T n = 0, m = 1, tmp; \ for (i = 0; i < x; ++i) \ { \ n = n + m; \ tmp = n; \...
  8. bitm0de

    Rotate Script - Coming Soon

    This is too simple to be releasing anyways. It's a simple random script that loads a random image file. It would've been better if you introduced some of PHP's GD extensions into this...
  9. bitm0de

    What languages do you know?

    C/C++, ASM, C#, VB.NET, Rust, J, Python, Haskell, and a few others but as the list continues, the less I use the latter languages anyways so they aren't even worth mentioning. I'm familiar with lots of the other common languages though too.
  10. bitm0de

    Created a Skype IP grabber!

    LOL! No it's not. I highly doubt it. Anybody who even believes that too, doesn't have a clue.
  11. bitm0de

    Anybody Still Coding?

    Pretty much everyday.
  12. bitm0de

    C++ Range-Based For Loop Iterator Wrapper

    Currently the range based for loop doesn't allow you to directly change the range in which it iterates. It simply iterates from begin() to end(). My wrapper class I created simply changes the semantics of what begin() and end() are to allow you to modify this range without reverting to the...
  13. bitm0de

    Moving a Borderless Form in C Sharp

    This is the wrong way to do it IMO... You can create your own form and override WndProc... Then you can handle the hit testing messages to determine what should be recognized as the client area of the form and what shouldn't be.
Top