olli
But, there were other things about C++ which i didn't understand
Which one? I would go with your seletion for now. If something is missing you can install it later on.
olli
Really
Yes, the installer is always availbe to add or remove features and to update your Visual Studio installation
Dima
its an ide
olli
Uhuh and it is huge compiler
Yes, Visual Studio is quite big, especially if you install all the features. The compiler itself is not to big.
Anonymous
am a new here any one who can help me learn c/c++ inbox me
Dima
just ask your questions here
Dima
welcome
Anonymous
i want to learn c am a beginner
Anonymous
hey
klimi
Hi
Dima
this is c/cxx group as you can see.
Dima
-.-
Anonymous
And I did not had any alcohol today... Perhaps this is the reason I can not read the group title...
Anonymous
i want to learn c am a beginner
Have you tried a tutorial or reading a book?
BinaryByter
no
BinaryByter
je has not
Anonymous
ok
Anonymous
The first rule of fight club is... ;)
Anonymous
i need a video tutorial
Anonymous
ok
Anonymous
i need a video tutorial
http://lmgtfy.com/?q=c%2Fc%2B%2B+video+tutorial
Anonymous
professor
I am trying to fix the randomize for a secure randomize , but I dont have experience doing it . how can I do it? implement a better way? void Common::setSeed() { static bool set = false; if (!set) { srand(time(NULL)); set = true; } } std::string Common::randomString(uint length, std::string string) { setSeed(); std::vector<uint> indexesOfRandomChars(length); // array of random values that will be used to iterate through random indexes of 'charIndex' for (uint i = 0; i < length; ++i) // assigns a random number to each index of "indexesOfRandomChars" indexesOfRandomChars[i] = rand() % string.length(); std::string key = ""; // random string that will be returned by this function for (uint i = 0; i < length; ++i)// appends a random amount of random characters to "randomString" { key += string[indexesOfRandomChars[i]]; } return key; }
Dima
> using plain old rand 😕
Dima
yeah. totally agree
Anonymous
I am looking something like secrets python version in c++
is this something like srand() ? Initializing the pseudo random number generator?
Anonymous
I do not code in python, btw :)
professor
Secret.choice is secure randomize data
Anonymous
Secret.choice is secure randomize data
I think in this case the OpenSSL library has definately some random number generator you can use, than is more secure than the default
Anonymous
Anonymous
https://stackoverflow.com/questions/18323738/fast-pseudorandom-number-generator-for-cryptography-in-c
professor
Thanks
BinaryByter
Hello Florian!
Wim
Florian! Florian! Florian!
BinaryByter
This group is for learning C++
BinaryByter
This group is for learning C++
If you have any questions - ask us
Wim
Its what??
BinaryByter
Its what??
the group is for learning C++
Wim
Is it?
Dima
Lol
Wim
I thought it was for bashing on vbextreme running gnome on AVR MCUs?
BinaryByter
Is it?
Well, its its purpose... Just like C++ was built with efficiency in mind
BinaryByter
BinaryByter
i liked that gif a lot
Wim
But anyone who wants to know something is either kicked, re-directed to google or told to go look into an other group?
Anonymous
Ughhh how the fuck did I end up here?
Anonymous
BinaryByter
Ughhh how the fuck did I end up here?
you wanted to learn C++, right?
Anonymous
I'd rather get my dick cut
Wim
Ughhh how the fuck did I end up here?
Welcome! You'll laugh your ass off here on a daily basis
BinaryByter
I'd rather get my dick cut
Oh, I can help with that!
BinaryByter
i'm not here to kinkshame
BinaryByter
Dima
s/cut/hair cut
Anonymous
In some cases I'm more like this buddy here
Anonymous
Wim
Finally I can rest and sit back and make flo do all the..
Dima
and go to
Dima
#ot
Wim
Well, just that
Wim
BinaryByter
Dima
no
/ban
BinaryByter
its a pretty dumb idea, if you ask me
Dima
it’s not dumb to ban dumb ones ( ͡° ͜ʖ ͡°)
Anonymous
:D
Anonymous
Anonymous
Ouch
Anonymous
Hiding TCP port information?