Thanks :)
Type: Posts; User: zodiacWarrior
Thanks :)
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>
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...
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??
Thank you for your help, I think I have it now. :)
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...
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()'...
Thanks for the tips. The following code:
#include <string.h>
#include <iostream> //for "cerr"
#include "hashlibpp.h"
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...
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,...
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