Search:

Type: Posts; User: cronus

Search: Search took 0.00 seconds.

  1. Replies
    4
    Views
    6,980

    Standard seems to define unsigned overflow to...

    Standard seems to define unsigned overflow to work as if modulo 1 + the largest value possible for that type. Signed overflow however is undefined behavior.

    I believe the value should be 65525...
  2. Agree with the rest but hard disagree ...

    Agree with the rest but



    hard disagree

    Why else would I be asking questions for a language that favors manual memory management, and all things being equal, has a relatively smaller...
  3. I hadn't known of the -Wstack-usage option, I'll...

    I hadn't known of the -Wstack-usage option, I'll have to look into it, thank you.
  4. Bump

    Bump
  5. Replies
    6
    Views
    2,641

    Oh right, hadn't noticed that that weird cast was...

    Oh right, hadn't noticed that that weird cast was for just the normal void* argument. Indeed in that case, the second (void*) makes no sense.
  6. Replies
    6
    Views
    2,641

    pthread_create() seems to take a function pointer...

    pthread_create() seems to take a function pointer to a void* func(void*) type of function. I might be wrong though, the function pointer syntax in C is quite confusing.
  7. Techniques for keeping memory usage bounded, especially the stack

    Stack allocation naturally has several advantages, such as not having to worry about freeing memory after allocation etc. (It has some disadvantages too, like not having as refined a control as...
  8. Replies
    4
    Views
    7,756

    The thing is Android is super popular now phone...

    The thing is Android is super popular now phone hardware is very secretive vs the relatively standardized and openish hardware in laptops, desktops, servers etc. Would be really hard to get the...
  9. Dude templates are one of *the* good things in...

    Dude templates are one of *the* good things in C++ that I wish were available in some at least limited capacity in C. I'd much rather use macro tricks to replicate templates than void*s and loose...
  10. Replies
    4
    Views
    7,756

    Android: another failed opportunity

    How in the name of blazes is the recommended toolchain for developing apps so ........ing bloated and slow that compiling a hello world program in C within a virtual machine of a full blown desktop...
  11. The error about newargc is very clear, I think...

    The error about newargc is very clear, I think you can fix the typo yourself. And for the other errors, I believe those can be fixed by moving the declarations to the beginning of function.
  12. Step 1: Create and test the batch scripts and...

    Step 1: Create and test the batch scripts and make sure they run properly without writing a single line of GUI code yet
    Step 2: Write a simple GUI wrapper over them, don't think you'd need qt for...
Results 1 to 12 of 12