Search:

Type: Posts; User: Auxilium

Page 1 of 10 1 2 3 4

Search: Search took 0.10 seconds.

  1. Replies
    3
    Views
    875

    of course there is a ++ operator in C. C...

    of course there is a ++ operator in C.
    C Operator Reference

    I mainly program with the C89 standard of C, and I recommend you learn how to properly program with C89 as well. Here's why: Even...
  2. Replies
    3
    Views
    875

    Alright, let's go. First, why are you...

    Alright, let's go.

    First, why are you allocated n*32 bytes? That's way more than needed

    int *pp2 = (int*)malloc(n*32); //why?
    int *pp2 = (int*)malloc(n*sizeof(int)); //right

    second, this is...
  3. Replies
    2
    Views
    1,981

    [Source Code] Lol, yeah... It's gotten to the point where...

    Lol, yeah...
    It's gotten to the point where there aren't even that many Copy pasting leecher choobs anymore. It's just like totally silent.
  4. Replies
    2
    Views
    1,981

    [Source Code] RLE Compressor and Decompressor

    Bored, so I wrote a fully functional RLE compressor and decompressor in C.
    RLE works as follows. There are packets which represent a "run." A packet has a byte for length and a byte for data.
    A run...
  5. [Source Code] IPS File Patcher in 100% C89 Standard compliant C

    So I decided to rewrite my IPS patcher, this time in fully C89 standard compliant C.

    Just sharing to liven up the section a little

    I statically allocated 1000 records, mostly because I've never...
  6. Replies
    4
    Views
    782

    [Discussion] Objectively, C++ is better, and I agree, since...

    Objectively, C++ is better, and I agree, since C++ is pretty much everything C is, with extras added in.

    But for me, since I already program C-Style, I decide to just use plain C most of the time
  7. Replies
    4
    Views
    782

    [Discussion] DAVID!! It's not what you think. It's only...

    DAVID!!

    It's not what you think. It's only because of a tiny typo I somehow put in the argument for realloc.
    I knew there couldn't have been something wrong with it because I spent 30 minutes...
  8. Replies
    4
    Views
    782

    [Discussion] Why C is the best

    So I'm writing a particle engine with SDL and OpenGL in C. And as opposed to static allocation of the particles, I wanted use dynamic allocation for each particle. I made a proof of concept using...
  9. Replies
    1
    Views
    1,324

    [Release] SUPERIPS - ips file patching program

    Just thought I would release this program I thought up. It's a simple IPS patcher. Yeah, dozens of them already exist, but I decided to make one for fun.
    For those of you who don't know, an IPS...
  10. Replies
    1
    Views
    897

    [Source Code] A breakthrough I had

    Just thought I would share a breakthrough that I had. You may think it's no big deal but I was stuck for an entire hour.

    So I'm writing an IPS file patcher. Long story short, the IPS file stores...
  11. [Help Request] Take a look a Project Euler. Pretty challenging...

    Take a look a Project Euler. Pretty challenging problems which can require clever programming tricks. Great Way to learn.
  12. [Info] If you aren't a student, then you are doing it...

    If you aren't a student, then you are doing it illegally, so you have to be a student, first.

    And honestly, the express versions are just fine, which you can get for free without any hassle....
  13. Replies
    3
    Views
    5,110

    [Tutorial] Lol nice to see another person interested in...

    Lol nice to see another person interested in assembly.

    I only really have experience with x86 assembly, but it's nice to see and intriguing to look at other processor architectures and assembly...
  14. Replies
    1
    Views
    611

    [Source Code] Simple Binary File I/O Read and Write

    So.... I haven't programmed in C++ for over a year (focused on other things) so to get back into the hang of things I just decided to make some real simple binary file i/o stuff.

    It writes bytes,...
  15. [Tutorial] How to install Visual Studio 6.0 on Windows Vista and above

    As you may (or may not) know, Visual Studio 6.0 is incompatible with Vista and above.

    Here is how to get it to run.

    0. Create a 0 byte file named "MSJAVA.DLL" and put it in C:\Windows. This...
  16. Joined in 2008 for combat arms hacks. I started...

    Joined in 2008 for combat arms hacks.
    I started programming in 2007 because computers interested me, and then I started coming to the programming section in 2009/2010.
    I'll never forget all of the...
  17. Replies
    14
    Views
    1,331

    [Solved] Just a thought: if(slopeVal == (slopeVal2 *...

    Just a thought:

    if(slopeVal == (slopeVal2 * -1))... for perpendicular lines is wrong

    Perpendicular lines are opposite reciprocals.
    For example, 2x and -1/2x, not 2x and -2x
  18. [Discussion] format C:

    format C:
  19. Replies
    4
    Views
    771

    [Help Request] I did this 4 years ago using vectors relatively...

    I did this 4 years ago using vectors relatively easily.
  20. Replies
    37
    Views
    4,212

    [Discussion] C and x86 Assembly. C because it's probably...

    C and x86 Assembly.

    C because it's probably the most versatile language, and Assembly because I enjoy the control you gain.
Results 1 to 20 of 250
Page 1 of 10 1 2 3 4