Search:

Type: Posts; User: sand_man

Page 1 of 20 1 2 3 4

Search: Search took 0.03 seconds.

  1. p->output=fopen(*filename,"w"); should be:...

    p->output=fopen(*filename,"w");
    should be:
    p->output=fopen(filename,"w");
  2. Replies
    12
    Views
    7,586

    Fixed it for anyone interested void...

    Fixed it for anyone interested


    void insertProductNode(char *brand, char *name, unsigned price, unsigned qty, ProductNodeType **head){
    ProductNodeType *node = malloc( sizeof(ProductNodeType)...
  3. Replies
    12
    Views
    7,586

    Thanks iMalc. As I thought, I need to go back and...

    Thanks iMalc. As I thought, I need to go back and start again.
  4. Replies
    12
    Views
    7,586

    If I remove either of the breaks it seems to just...

    If I remove either of the breaks it seems to just hang (or loop infinitely).
    I'm starting to think my logic is off a bit here. I think I've been looking at it for too long.
  5. Replies
    12
    Views
    7,586

    I'm not sure what else to provide! I'm guessing...

    I'm not sure what else to provide! I'm guessing here too.
    Thanks for your help. I'll keep looking
  6. Replies
    12
    Views
    7,586

    In fact, if I use your function, they are...

    In fact, if I use your function, they are inserted in the same order as the csv file.
  7. Replies
    12
    Views
    7,586

    Thanks but I had already tried that and trying...

    Thanks but I had already tried that and trying again now I still don't get a sorted list. There must be something I'm missing somewhere else in the program.
    I'm loading data from a csv file but I...
  8. Replies
    12
    Views
    7,586

    Inserting to sorted linked list

    Hi all.

    Been a long time since I posted here and I'm a bit rusty with my C.
    I'm trying to write a function that inserts into a linked list where node->name is in alphabetical order.

    This is...
  9. Replies
    4
    Views
    1,794

    This should be the first thing you ever learn...

    This should be the first thing you ever learn about C/C++.


    int main(){

    return 0;
    }

    What you posted may compile and function ok but it is against the standard.
  10. Replies
    8
    Views
    1,493

    I play dwarf fortress from time to time. It's...

    I play dwarf fortress from time to time. It's evolved to be quite different to the classic rogue like games but I love it's complexity and originality.
  11. Replies
    44
    Views
    14,381

    Just because something costs money doesn't mean...

    Just because something costs money doesn't mean that it is better than something that is free.
  12. Replies
    3
    Views
    4,925

    This sounds like homework. Have you made an...

    This sounds like homework. Have you made an attempt? Please post some code to show that you have.
    I'll give you the benefit of the doubt and give you a hint. All the information you need should be...
  13. Replies
    8
    Views
    1,098

    Should be in a museum that's for certain :D

    Should be in a museum that's for certain :D
  14. Replies
    8
    Views
    1,098

    Who said anything about Linux anyway? The OP...

    Who said anything about Linux anyway? The OP asked about UNIX. POSIX is POSIX though right?
  15. Replies
    8
    Views
    1,098

    man page fork section 2...

    man page fork section 2



    ERRORS

    [EAGAIN] The system-imposed limit MAXUPRC (<sys/param.h>) on
    the total number of processes under execution by a
    ...
  16. Thread: C questions

    by sand_man
    Replies
    33
    Views
    3,941

    Based on this post I would say the OP is just a...

    Based on this post I would say the OP is just a troll
  17. Replies
    8
    Views
    3,653

    I haven't used slackware in a long time either...

    I haven't used slackware in a long time either but I thought they did in fact have a package manager, it just doesn't automatically resolve dependencies.
  18. Thread: memory leak

    by sand_man
    Replies
    3
    Views
    4,174

    Nobody is going to go through all that especially...

    Nobody is going to go through all that especially since it's not even indented.
    Just check to make sure all the malloc() calls are matched with a free()
  19. Thread: List updating

    by sand_man
    Replies
    3
    Views
    1,490

    Do they have an rss feed? If they did you...

    Do they have an rss feed? If they did you wouldn't need to program anything...unless it was an rss reader.
  20. Press the compile button?

    Press the compile button?
  21. Replies
    32
    Views
    9,597

    Arch + Openbox user here. Arch is great because...

    Arch + Openbox user here.
    Arch is great because it doesn't put useless junk on your system. After installation you have the bare necesaties for a Linux system. You then use Arch's package manager...
  22. Thread: typeundef???

    by sand_man
    Replies
    14
    Views
    8,137

    Wasted effort. Just use different names....

    Wasted effort.
    Just use different names.
    Besides, if you are implementing a double-linked list, what use is a single-linked list?
  23. Replies
    4
    Views
    3,997

    http://www.directfb.org/ Looks like fun. But...

    http://www.directfb.org/
    Looks like fun. But writing a GUI framework doesn't.
    I would just use Gtk or Qt.
  24. Thread: typeundef???

    by sand_man
    Replies
    14
    Views
    8,137

    But is it possible to redefine a user defined...

    But is it possible to redefine a user defined type?


    typedef struct Node
    {
    int data;
    struct Node *next;

    } Node;
  25. Replies
    15
    Views
    4,418

    It's probably easier to use GNU or MS compilers....

    It's probably easier to use GNU or MS compilers.
    Code::Blocks with mingw32 is far better than Borland Builder IMO anyway :p
    My guess is that you are new to programming and BB is the first compiler...
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4