Search:

Type: Posts; User: Dino

Page 1 of 20 1 2 3 4

Search: Search took 0.03 seconds.

  1. Actually, my list_entry is not doubly linked. I...

    Actually, my list_entry is not doubly linked. I had it doubly linked, but realized it was overkill in this scenario.
  2. Advancing a pointer past an incomplete structure.

    I'm creating a doubly-linked list that is contained in blocks that are doubly-linked as well.

    When I create a block, (aka, a header), the caller specifies the length of his data that will go...
  3. Works perfect! Great solution. Thank you!

    Works perfect! Great solution. Thank you!
  4. Is there a way to point to one structure array entry from another at compile time?

    Here's the scenario.

    I have some structures...



    struct entry {
    char name[8] ;
    int age ;
    } ;
  5. Replies
    7
    Views
    1,095

    That’s what I was expecting, but wasn’t certain. ...

    That’s what I was expecting, but wasn’t certain. Thx
  6. Replies
    7
    Views
    1,095

    In the #define solution above, will the, for...

    In the #define solution above, will the, for instance, B500 fields, since not directly used, be part of the executable, affecting the final size of the executable?

    In assembler, I code this:
    ...
  7. Replies
    7
    Views
    1,095

    Not super elegant, but it works well enough. ...

    Not super elegant, but it works well enough. Thanks!
  8. Replies
    7
    Views
    1,095

    Creating a long, specific, c string

    I need to create a c string that is 1100 bytes long, with a whole lot of blanks in the middle, for a boundary test.

    Is there a way, in C, to define this string at compile time vs generating what I...
  9. Replies
    40
    Views
    5,957

    Wow. ...

    Wow.

    http://cboard.cprogramming.com/c-programming/106838-fscanf-issue.html
  10. Replies
    40
    Views
    5,957

    If you think about, (well, if I think about it),...

    If you think about, (well, if I think about it), it's pretty easy.

    A string you get is so long. Create a new variable the same length.
    The first character of the input string goes in the...
  11. Replies
    40
    Views
    5,957

    You have to look at the characters to determine...

    You have to look at the characters to determine their encoding. Unicode - Wikipedia, the free encyclopedia

    Dino
  12. Replies
    40
    Views
    5,957

    When you think you have it working, try this...

    When you think you have it working, try this string:

    Résumé

    Dino.
  13. Thread: Removing Comments

    by Dino
    Replies
    9
    Views
    1,897

    Man, I think we really need a program to add...

    Man, I think we really need a program to add comments.
  14. Thread: diary in c

    by Dino
    Replies
    9
    Views
    3,089

    What is your plan so far? What have you coded?

    What is your plan so far? What have you coded?
  15. Replies
    0
    Views
    2,029

    Programmable sign?

    Anyone got any recommendations for a C-programmable LED sign board that would plug to my Mac? A DIY kit project - kind of thing.

    Thanks
  16. Thread: Rabbit

    by Dino
    Replies
    9
    Views
    3,238

    I've been around the block enough to not deliver...

    I've been around the block enough to not deliver broken code. If their requirements are to make this faster, then I'll get into the delay-removal-and-testing business on this project. Otherwise,...
  17. Thread: Rabbit

    by Dino
    Replies
    9
    Views
    3,238

    Ah, but I see the lemonade here - not the lemons....

    Ah, but I see the lemonade here - not the lemons. Endless trouble = endless revenue stream. lol

    Good ideas Salem (take it slow, track my progress, take checkpoints). I suspect writing a set...
  18. Thread: Rabbit

    by Dino
    Replies
    9
    Views
    3,238

    Yes, there is not a header file, and there is a...

    Yes, there is not a header file, and there is a heavy use of global vars in this code, and it's all in one file too.

    Thanks!
  19. Thread: Rabbit

    by Dino
    Replies
    9
    Views
    3,238

    Rabbit

    I've not coded an embedded app before, but I got a call the other day from a guy who needs his controller tweaked - a couple new enhancements and some bugs fixed.

    He sent the source for me to...
  20. Replies
    3
    Views
    1,417

    A DTD can be embedded in an XML document too - it...

    A DTD can be embedded in an XML document too - it doesn't have to be external.
  21. Thread: Text Alignment

    by Dino
    Replies
    3
    Views
    1,318

    Your names will be 11 characters max. If you pad...

    Your names will be 11 characters max. If you pad the output to the max length, (both the names printf and the lengths printf), via printf formatting controls, this will be a snap. printf formatting...
  22. Replies
    5
    Views
    971

    Pick a forum and stick with it.

    Pick a forum and stick with it.
  23. Replies
    3
    Views
    810

    For PI, include and reference M_PI. ...

    For PI, include <math.h> and reference M_PI.

    You won't be able to input fractions and have the expression evaluated as part of the cin processing. Doesn't work that way.
  24. Replies
    3
    Views
    2,479

    A variable scope issue?

    A variable scope issue?
  25. Replies
    2
    Views
    2,042

    What have you coded so far?

    What have you coded so far?
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4