Search:

Type: Posts; User: Mini

Page 1 of 4 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    4
    Views
    12,752

    Hi, Thanks for your advice... But I don't...

    Hi,

    Thanks for your advice... But I don't think there's any "driver"... Unless I've been mistaken...

    I intend to use a Serial to USB cable to connect the device, which I believe doesn't...
  2. Replies
    4
    Views
    12,752

    RS232 serial port interfacing on Mac OS X

    Hello everyone,

    I'm trying to write a C program that interfaces with a device that is connected via the RS 232 serial port.

    I'm having a hard time finding 'libraries' that work on Mac OS X. All...
  3. Thread: des.c

    by Mini
    Replies
    6
    Views
    1,848

    Thanks for the OpenSSL suggestion. I'll have look...

    Thanks for the OpenSSL suggestion. I'll have look at it tomorrow. But the reason I wanted the gnulib des.c is that the implementation looked nice...

    Also, running "git clone...
  4. Thread: des.c

    by Mini
    Replies
    6
    Views
    1,848

    Hi, I've already googled my problem, but I...

    Hi,

    I've already googled my problem, but I haven't found any solution.

    My guess is that this library isn't used much, therefore there isn't much on it...

    Does this library work for you? If...
  5. Thread: des.c

    by Mini
    Replies
    6
    Views
    1,848

    des.c

    Hello,

    I'm trying to write a program which needs to do triple DES encryption/decryption. I'm trying to include and use one of the provided libraries. But I cannot seem to get it working :(

    I'm...
  6. Thread: Really long ints

    by Mini
    Replies
    9
    Views
    1,365

    Okay I've got the first one cleared I think......

    Okay I've got the first one cleared I think... the code compiles when I include <gmp.h>, so that probably means that it's installed... But is there a tutorial anywhere as to how I would implement it?...
  7. Thread: Really long ints

    by Mini
    Replies
    9
    Views
    1,365

    Um, okay I've had a look at GMP... first thing is...

    Um, okay I've had a look at GMP... first thing is first... How could I tell if it's installed on the machine that it's working with... and secondly how would I actually use it? Is there a tutorial...
  8. Thread: Really long ints

    by Mini
    Replies
    9
    Views
    1,365

    Can I install this on machines that I dont have...

    Can I install this on machines that I dont have root access to?
  9. Thread: Really long ints

    by Mini
    Replies
    9
    Views
    1,365

    Really long ints

    Hello,

    How could I be able to process extremely long integers? I'm looking to handle integers in the order of 100 million digits..

    Thanks
  10. Thread: header files

    by Mini
    Replies
    2
    Views
    1,287

    Thank you for your rather nice reply :).

    Thank you for your rather nice reply :).
  11. Thread: header files

    by Mini
    Replies
    2
    Views
    1,287

    header files

    Hello,

    I'm having a hard time splitting my current program into header files... I've looked for a tutorial for this but I can't seem to be able to find them. Could someone please tell me where I...
  12. Thread: structs

    by Mini
    Replies
    5
    Views
    1,104

    But I have used malloc here: newPtr = malloc(...

    But I have used malloc here: newPtr = malloc( sizeof( QueueNode ) );

    Since I am assigning a new pointer instead of the empty one which had been created (ie. for 'Info'), wouldn't I need to free...
  13. Thread: structs

    by Mini
    Replies
    5
    Views
    1,104

    If I do free(temp); then I get "error:...

    If I do free(temp); then I get "error: incompatible type for argument 1 of 'free'" whereas if I do free(&temp); then I get no error msgs, but I don't see why I need to do the latter...

    Thanks
  14. Thread: structs

    by Mini
    Replies
    5
    Views
    1,104

    structs

    Hello,

    If a have structs like:


    struct queueNodeInfo {
    int ID;
    int arr[MAX];
    };
  15. Replies
    2
    Views
    1,807

    Also... would this be the standard way that one...

    Also... would this be the standard way that one would do tree removal? If not, is there an alternative/easier way?

    Thanks
  16. Replies
    2
    Views
    1,807

    Code for deleting a tree node not working

    Hello,

    I've come on here as a last resort for help as to why my code for deleting a tree doesn't work :(. Sometimes I get seg fault and sometimes it deletes extra nodes... Could someone please...
  17. Replies
    3
    Views
    1,171

    Sorry, but which line is that in reference to? I...

    Sorry, but which line is that in reference to? I can't see the error :S :(
  18. Replies
    3
    Views
    1,171

    error: dereferencing pointer to incomplete type

    Hi,

    I'm getting "error: dereferencing pointer to incomplete type" for my struct.

    Code is:


    struct treeNodeInfo {
    char name[MAX_CHAR];
    };
  19. Thread: Compling errors

    by Mini
    Replies
    2
    Views
    991

    Wow.. thank you so much... I feel so stupid...

    Wow.. thank you so much... I feel so stupid now... Thank again!
  20. Thread: Compling errors

    by Mini
    Replies
    2
    Views
    991

    Compling errors

    Hello, here is my code below... I'm getting compiling errors as below. What is wrong?


    cc1: warnings being treated as errors
    q1.c: In function 'GRAPHinit':
    q1.c:49: error: implicit declaration...
  21. Thread: structs

    by Mini
    Replies
    2
    Views
    737

    Oh God... Thank you very much for spotting...

    Oh God... Thank you very much for spotting that...

    I really need to take more care ...
  22. Thread: structs

    by Mini
    Replies
    2
    Views
    737

    structs

    Hello,

    I have a problem with structs again... here's my the bit of relevant code, I get "error: assignment from incompatible pointer type" (for last line). What have I done wrong?


    struct node...
  23. Thread: characters

    by Mini
    Replies
    2
    Views
    1,110

    characters

    Hello,

    How could I make that a scanf input is always a character? and return an error if a number is put in.

    Thanks
  24. Replies
    4
    Views
    4,448

    One more quick question... If I'm not going to...

    One more quick question...

    If I'm not going to do something like


    Node n1={1, NULL, NULL};

    etc...

    then do i need to use malloc to allocate memory for n1 if i want to later assign values...
  25. Replies
    4
    Views
    4,448

    Doh.... thank you very much...

    Doh.... thank you very much...
Results 1 to 25 of 82
Page 1 of 4 1 2 3 4