@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3 4 5 6 7 8 9



Comments:

<0> they're sponsored by NSF
<1> always thought they were maths-exclusive
<1> yea
<2> wooo!
<2> I knocked out my first 5.11b today
<2> I'm on my way to 5.12s
<2> I'm probably already in the respectable range of climbing grades
<2> but 5.12d is the highest you'll find in most gyms.
<1> congrats?
<3> hi
<1> helo
<3> how can i get the md5 hash of a string "my p***word" in c++ under linux ?
<1> no idea
<0> you can use openssl
<4> I'm away, reason:
<1> I mean, yes, you can use external libraries



<1> but I'm not sure if there's a system call for it
<4> I'm away, reason: test
<4> I'm back ! Gone for 2 secs
<4> I'm away, reason: test 2
<4> I'm back ! Gone for 1 secs
<1> um, Dreadfull ?
<0> no system call for md5
<0> not that I'm aware of anyway
<0> try man 3 md5
<5> This is offtopic, appreciate it if someone can point me on how to get UUID number of my cl*** short of going to the idl file and do cut paste
<6> noobs : your question isnt very clear but maybe __uuidof is what you mean?
<7> Dreadfull: I suggest you don't test your scripts in this channel. I strongly suggest not to issue away-messages in this channel, either.
<5> thanks bealtine ... that is what I mean ... I have been banging my head with uuidoff (without the __). Thanks man!
<8> why this one is an invalid initialization string& wow = "lakd";?
<0> because you are declaring a reference to a string, but ***igning a string literal
<8> so can't be
<0> string foo = "lakd"; string &wow = foo;
<8> ok, thank cn28h
<0> np
<5> I'm trying to make sense what is string& wow
<5> string *wow is a pointer
<5> string &wow is a also a pointer ?
<0> string & is a reference
<0> it has similar properties to a pointer in some respects, but it is not a pointer per se
<0> not at the user level, anyway
<3> can someone please gime me some example how to get the md5sum for a specified string "mytext" in C++ ???
<1> use a library that provides md5
<3> i can't make it works
<1> does it have to be in C++?
<1> is thsi part of a bigger application, or just md5 and that's it
<3> yes c++
<3> it is a bigger app
<3> and all i need is md5sum of a string
<3> i can't make it work
<1> look in OpenSSL, or for a purely C++ library, Botan
<9> isnt openssl c++?
<10> hmm.. C probably
<7> C
<3> Cowmoo i have md5.h but i can't make the MD5() function work for my text
<1> I can't help you sorry
<10> generally a header isnt enough to use a library
<3> i get invalid conversion from `char*' to `const unsigned char*'
<5> that is clasic
<5> unfortunately i dunno why
<10> ignore the const
<10> unsigned char != char
<3> Tamama give me a simple example on how to use that function please
<10> I am not physic
<10> pychic
<10> whatever
<6> you'll probably need an md5.lib to link to
<6> or some such
<3> the function MD5() works - the problem is i don't know how to use it
<0> libssl.so or libssl.a most likely
<6> how do you know it works?
<3> i get the erorr invalid conversion from `const char*' to `unsigned char*
<3> initializing argument 3 of `unsigned char* MD5(const unsigned char*, long unsigned int, unsigned char*)
<3> so the function is ready to be used but i don't know how - please help me with a little example
<10> so p*** it a unsigned char* instead of a char *
<0> something suspicious about the "const char*"



<3> invalid conversion from `unsigned char' to `unsigned char*'
<0> ruh roh
<0> show your code on the paste site
<3> man - i need those 3 lines as an example - define the variables and the use the MD5() function to get the sum
<3> in php i have md5() and is very easy to use - in c++ .......... all i need is a 2-3 lines example how to get the md5 sum from a text
<10> c++ is easy as well if you understand it
<10> but php is generally more dummy proof for small scripts
<3> Tamama yes - but all i want is an example on how to use that MD5() function in C++ and nobody help me
<10> Well i never used the MD5 thing you are describing, and its not standard
<6> and why would we have an example of some 3rd party library?
<3> i bet for 95% on thios channel is a piece of cake
<3> bealtine - if you have to get the md5sum of a text how would you do it
<3> i don't care what library i use - all i need is the that md5sum
<6> i'd use a library (with documentation)
<10> let me emphasise that
<3> man this is a help channel - i can't see where is the help
<10> <6> i'd use a library (with documentation)
<0> openssl has plenty of documentation
<6> we cant really help on things we know nothing about
<5> err perhaps you can try post some code on no idea ...
<5> please post code at website ( www.noidea128.org )
<5> wow that sound so official ... I just copy and paste the chanel topic :D
<3> NoobsGeek what code ??? i want you to give me a little example on how to get the md5sum for a text
<5> what code you already have? obviously you will not ask if you haven't start with anything at all
<6> cant you get this into your head we do not have ready made examples for obscure functions
<3> man md5 is wide used - i don't think nobody haven't use it before
<3> i ask - in c++ how can i get the MD5 for a text ???? - and i get - give us your code
<3> what code man
<3> ????
<3> if i ask - how can i print something on the screen i normally get "cout << "somt text" << endl; "
<3> but for the md5 question i get nothing
<5> Most probably it is not in standard C++ like cout
<0> Albrechts, it's simple, I just wrote an example in about 10 minutes
<0> after having never used it
<0> I will post it, but it's in C
<0> you can worry about figuring the C++ part out heheh
<3> is not C ???
<3> :)
<0> http://rafb.net/paste/results/Aqv9zD42.html
<7> Did you try google, Albrechts?
<3> yes
<7> What did you google for?
<7> Example of md5 hash function usage MD5_Init MD5_Update OpenSSL
<7> ^- works for me
<7> (second hit)
<6> ah yes the use of intelligence...
<3> _m_ yes
<3> thanks
<5> I just wish all problem have googleable solution :D
<5> like how to find hot girl
<6> if you know how they do
<6> 100s of "hot girls" on the web
<7> Many problems do have, NoobsGeek. People are just not clever enough to enter the right search terms.
<6> i hear google is working on a psychic interface :~)
<6> probably wouldnt work, most people would just get p0rn anyway
<5> :P being inspired by google.... I have finally found solution to my C++ problem, now I can go home and worry about finding hot girlos :D
<9> whats a girlo
<6> theyre the one with the "soft chewy insides"
<11> hello, i have this problem: i have installed on my computer MSVC2005. i want to make a database with 2 tables in SQL express but i dont know where to start - because i've tryed to make a new Project/Solution and didnt find where to add my database or/and table(s) ;| Can u help me?
<11> brb
<12> Im using std::map and it is declared as <CString, CMyCl***> - I am then doing the following MyMap[CSNewElementName]; in the CMyCl*** I have under private: CDialogValueDisplay ValueDisplay(); - to create a dialog window.
<12> but when I compile I get a bunch of errors from the dialog - why is that?
<12> if I am doing this CMyCl*** objMyCl***; I am not getting any errors at all...
<12> what is the difference between creating a object thru a std::map and creating it "normally" ?
<13> I don't think std::map has a [] operator
<12> uhhh it has - I have used it before with sucess
<13> so it does apparently.
<13> either way
<13> the [] operator is expecting the Key type
<12> can you explain what you mean with key type?


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #c++
or
Go to some related logs:

#linux
#php
#AllNiteCafe
apache php_set
#linux
inti iblah
#chatzone
St9_badalloc
#chatzone
wiccccc



Home  |  disclaimer  |  contact  |  submit quotes