Search:

Type: Posts; User: pjadl

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    1,657

    The bolded part: // Convert BIGNUM to...

    The bolded part:

    // Convert BIGNUM to EC_POINT.
    if(EC_POINT_bn2point(group, res, pub_key, ctx) == NULL)
    {
    fprintf(stderr, "%s: generate_pubic_key error: EC_POINT_bn2point...
  2. Replies
    2
    Views
    1,657

    Generating public key from private key

    I'm wrtiting a program, that when given a bitcoin private key address, will generate a public key address.

    I have been following a few online examples, but seem to be stuck...


    #include...
  3. Replies
    21
    Views
    1,671

    My friend doesn't believe you. ;)

    My friend doesn't believe you. ;)
  4. Are you storing the patient data in a text file...

    Are you storing the patient data in a text file or a database? If you use a database, your question is easily answered.

    If you are using a text file to store the data, you might want to consider...
  5. I was under the impression that some functions...

    I was under the impression that some functions can be implemented as macros instead. I thought that's why they list it as a 'Feature Test Macro'.

    But after reading 'man 7 feature_test_macro' I...
  6. Headers for IPC require manual inclusion of prototypes?!?

    I'm writing a program/function that can takeover control of any program through IPC pipes. The program is working fine, but I don't understand something...

    On all previous programs I have...
  7. Replies
    4
    Views
    609

    If you are running this on Linux, you cannot use...

    If you are running this on Linux, you cannot use getch() from <conio.h>. If you still want that functionality, you need to use the following:


    #include <termios.h>
    #include <unistd.h>

    int...
  8. Replies
    24
    Views
    2,361

    They're useless, because if it didn't appear, the...

    They're useless, because if it didn't appear, the understanding would be the same. It's also useless, because you typed two words (although one is suffering from poor spelling), when I show you how...
  9. Replies
    24
    Views
    2,361

    Don't do this. Either put nothing, or change the...

    Don't do this. Either put nothing, or change the two useless words to two meaningful words.


    // Print arrays.
  10. Replies
    17
    Views
    2,824

    I don't think I'm proficient in C, as I have...

    I don't think I'm proficient in C, as I have never taken any courses on C. I read C Primer Plus about 18 years ago, and dabbled in it occasionally.

    About 5 years ago, I felt I wasn't really...
  11. I don't know why this idea escaped me.

    I don't know why this idea escaped me.
  12. What have you tried? Instead of a hand out,...

    What have you tried?

    Instead of a hand out, what code do you have so far?
  13. I was thinking he also wants to have the results...

    I was thinking he also wants to have the results sorted, which stops you from using the above method, doesn't it? Because if you sort the frequency of your example, the relation to letters would be...
  14. I would make a struct then. struct _alphabet...

    I would make a struct then.


    struct _alphabet
    {
    int frequency;
    char letter;
    };

    Then you can just bubble sort based on the frequency without the relation losing meaning.
  15. In your first post you ask how you can sort them....

    In your first post you ask how you can sort them. In your last post you ask how you can count the frequency of the letters.

    Does the int array contain integers that represent human readable...
  16. What types are the arrays? There's most likely...

    What types are the arrays?

    There's most likely another way.
  17. Ty for your replies. I changed the call to...

    Ty for your replies.

    I changed the call to add_file like so:

    count_allow = add_file(IP_ALLOW_FILE, &ips_allow, count_allow);

    And all references to 'array' in the function add_file I changed...
  18. Troubles re-allocating a struct pointer in a different function.

    I'm writing a program that will automatically ban ip addresses that don't follow the proper procedure of displaying a webpage (ie. ip address xxx.xxx.xxx.xxx downloaded index.html but didn't...
  19. I guess I was under the wrong impression. I...

    I guess I was under the wrong impression. I thought ssl ran on top of tcp/ip and that I could just apply it to the already created code.

    Kind of disappointed because the text based version was...
  20. Text based web browser from scratch. HTTPS guidance needed.

    I have written a text based web browser from scratch. Meaning that I'm not using libcurl in any way to retrieve the web pages.

    Now I'd like to add HTTPS functionality to it, but I can't seem to...
  21. Replies
    1
    Views
    815

    How to convert a System::String^ to a char*

    I have an existing program written in 'C' that I would like to add a UI to. I'm currently using C++ in Visual Studio to do it, with an
    extern "C" {make things go} to hold the original 'C' code.
    ...
  22. Thank you, your dick-head comment helped me a lot.

    Thank you, your dick-head comment helped me a lot.
  23. A GUI front end for my C program... on windoze.

    I have my C program complete. But I need to create a GUI for end (L)users.

    Can someone recommend a simple language for creating a front end to my C project?

    I was looking at using Visual Basic...
  24. Thank you very much for your input. I'm just...

    Thank you very much for your input. I'm just starting to program in the C language, and wanted to do this project. I was afraid I was setting out to try and do something that couldn't be done...
  25. I see this as being a problem. What about if I...

    I see this as being a problem. What about if I add a unique entry in place of the desired serial number, make the image file and search the .img file by bit shifting until a matching pattern is...
Results 1 to 25 of 30
Page 1 of 2 1 2