Search:

Type: Posts; User: zodiacWarrior

Search: Search took 0.01 seconds.

  1. Thanks :)

    Thanks :)
  2. Basic floating point arithmetic not working...

    Hello,

    I am trying to run the following code (which is part of a larger program):


    #include <iostream>
    #include <math.h>
    #include <stdio.h>
    #include <stdlib.h>
    #include <malloc.h>
  3. Replies
    40
    Views
    3,903

    Thanks for the info. How difficult is it to...

    Thanks for the info.

    How difficult is it to search in a vector? Say I have a vector x = [ 1, 3, 5, 2, 5, 5] and I want to know in which indices, if any, the number 5 occurs. Would that be...
  4. Replies
    40
    Views
    3,903

    This is a basic question, but why would we want...

    This is a basic question, but why would we want to use vectors when it seems a linked list does the same thing?

    Put another way, why use linked lists when vectors do the same thing??
  5. Replies
    20
    Views
    14,845

    Thank you for your help, I think I have it now. :)

    Thank you for your help, I think I have it now. :)
  6. Replies
    20
    Views
    14,845

    Thank you so much. This seems to have done the...

    Thank you so much. This seems to have done the trick and I no longer get error messages. However, when I run the program, I get nothing from the output. How can I print out what the MD5 hash for...
  7. Replies
    20
    Views
    14,845

    When I try to run their suggested quote, I get: ...

    When I try to run their suggested quote, I get:

    /cygdrive/c/DOCUME~1/mehrdad/LOCALS~1/Temp/ccpcV0op.o:myMD5.cpp:(.text+0x79): undefined reference to `md5wrapper::md5wrapper()'...
  8. Replies
    20
    Views
    14,845

    Thanks for the tips. The following code: ...

    Thanks for the tips. The following code:



    #include <string.h>
    #include <iostream> //for "cerr"
    #include "hashlibpp.h"
  9. Replies
    20
    Views
    14,845

    I did think it was very odd for me to get an...

    I did think it was very odd for me to get an error saying "md5example.cpp:1:23: hashlibpp.h: No such file or directory"

    I changed the top of the code to



    #include <string.h>
    #include...
  10. Replies
    20
    Views
    14,845

    Thank you for your help, but when I run...

    Thank you for your help, but when I run md5example.cpp I get many errors such as:

    md5example.cpp:1:23: hashlibpp.h: No such file or directory
    md5example.cpp:8: error: expected constructor,...
  11. Replies
    20
    Views
    14,845

    Could someone please show some sample code that I...

    Could someone please show some sample code that I could run using hashlib++(or a similar hashing function that uses MD5)?


    I am very new to programming!

    Thanks
Results 1 to 11 of 11