Search:

Type: Posts; User: awsdert

Page 1 of 20 1 2 3 4

Search: Search took 0.02 seconds.

  1. 1st, I didn't even know that existed so drop the...

    1st, I didn't even know that existed so drop the sarcastic attitude please, 2nd from what I saw via the link you provided, I cannot see how anyone would want to use that for programming, I can see...
  2. Thread: paw options

    by awsdert
    Replies
    7
    Views
    515

    Thought of another reason for paw to exist, let's...

    Thought of another reason for paw to exist, let's say you've found a program, library etc that you want to install but you know or think it might cause issues, with paw you can create & switch to a...
  3. commands suitable for a custom preprocessor to run before gcc etc

    After I get the paw up and running I plan to deal with the next inconvenience of development, the inconsistent preprocessor command support (and the lack of #for etc). I'd like to start a debate here...
  4. Replies
    23
    Views
    1,121

    Well that's certainly different from my...

    Well that's certainly different from my implementation, while that will serve you for now (didn't test it so I'm assuming it works) I'd advise you to at least keep a notepad nearby to jot down ideas...
  5. Thread: paw options

    by awsdert
    Replies
    7
    Views
    515

    The point is to SAVE time, rather than trying to...

    The point is to SAVE time, rather than trying to directly manage the different builds for different architectures & systems it's easier to setup for a single subsystem, have that work across the...
  6. Thread: paw options

    by awsdert
    Replies
    7
    Views
    515

    For anyone wandering why I haven't uploaded a...

    For anyone wandering why I haven't uploaded a link for a compilable version of my app for feedback on what could be / needs to be done for widespread adoption yet, I managed to get my favourite game...
  7. Replies
    23
    Views
    1,121

    Or they want to re-implement it for their own...

    Or they want to re-implement it for their own library but are too lazy to think about how to do so, I know the feeling but I still put in the effort before bringing my problems here (assuming I...
  8. Replies
    23
    Views
    1,121

    Because from what I've seen here, newbs have the...

    Because from what I've seen here, newbs have the tendency to confuse even the most basic of pointer math so, coping everything they want to print 1 character at a time to another array seems simpler...
  9. Thread: paw options

    by awsdert
    Replies
    7
    Views
    515

    Just in case my assumption is wrong I'd thought...

    Just in case my assumption is wrong I'd thought I'd point out that I'm still open to suggestions on what options to add, this is intended to be a catch all solution for both user & developers after...
  10. Replies
    25
    Views
    725

    I really should read other posts more often,...

    I really should read other posts more often, ended up doubling up on your reply
  11. Replies
    25
    Views
    725

    Need I say more?

    Need I say more?
  12. Replies
    23
    Views
    1,121

    I DID say indices are faster, I simply gave an...

    I DID say indices are faster, I simply gave an example a newb would have an easier time understanding, in my actual implementation I just used one wide string handler that I pass converted strings...
  13. Replies
    25
    Views
    725

    Judging by how small the function is I question...

    Judging by how small the function is I question the logic in handling errors outside the loop, just handle it inside and return:


    int catch_error(char *pos);

    int foo(char array[]) {
    int i =...
  14. Replies
    23
    Views
    1,121

    The others have already said a fair bit...

    The others have already said a fair bit themselves of where you're going wrong so I won't repeat what they've said, instead I'll give you my insights from coding my own replacement for printf,...
  15. When multiple files include the same header they...

    When multiple files include the same header they also define the same things, when it's just the name it's fine as the linker is then responsible for collecting the name definitions and linking them...
  16. Replies
    25
    Views
    725

    Whatever programming language you're trying to...

    Whatever programming language you're trying to transfer a concept from, I suggest for your own sanity you stop, infinite loops are NEVER a bad thing, they're just another tool in the shed to achieve...
  17. Thread: paw options

    by awsdert
    Replies
    7
    Views
    515

    I'm guessing either no-one had any ideas or...

    I'm guessing either no-one had any ideas or simply didn't care, knowing my luck probably the latta
  18. Thread: paw options

    by awsdert
    Replies
    7
    Views
    515

    Thought of another option: /* If PAW_SUPER...

    Thought of another option:


    /* If PAW_SUPER is not defined then look for these in this order:
    * pkexec, gksu, sudo, su */
    { "super", optionSuperCBCB },

    Pain in the ass to identify which...
  19. Thread: paw options

    by awsdert
    Replies
    7
    Views
    515

    paw options

    Finally getting started on the app that will map in paths before launching a command for my cross-platform & cross-distro solution to development in general, idea being "develop for cross-platform...
  20. That certainly works too, definitely faster than...

    That certainly works too, definitely faster than allocating memory, though if you want to replace the sub string then my method is easier to adapt
  21. While it's possible to remove directly from the...

    While it's possible to remove directly from the string it's significantly more difficult than say:


    char *cpy = calloc( strlen(str) + 1, 1 );
    char *pos = strstr( str, txt );
    int len = (int)(pos...
  22. well the paw* calls I'm not expecting anyone to...

    well the paw* calls I'm not expecting anyone to have an exact understanding of, just a rough idea from the code, basically just turning the thread id & the pointer into text that can be added to the...
  23. Just to expand a bit on hamster_nz's suggestion,...

    Just to expand a bit on hamster_nz's suggestion, after learning of that extension I went and did a bit of research, for now I have this:


    /* Thanks to hamster_nz for identifying this to me :)
    *...
  24. My misunderstanding then :)

    My misunderstanding then :)
  25. btw I didn't mean thread local, I mean a pointer...

    btw I didn't mean thread local, I mean a pointer created for the thread prior to the thread itself, it's contents are supposed to be outside the thread's local storage
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4