Collectives™ on Stack Overflow
Find centralized, trusted content and collaborate around the technologies you use most.
Learn more about Collectives
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Learn more about Teams
This question was caused by a typo or a problem that can no longer be reproduced. While similar questions may be
on-topic
here, this one was resolved in a way less likely to help future readers.
Closed
4 years ago
.
I'm using the Eclipse C++ IDE and MinGW 8.2 and can use other functions such as mt19937, string, etc perfectly fine. Here's the code where it keeps acting up:
#include "MyHeader.h"
#include <random>
using namespace std;
void generateDictionary() {
int initialAlphabet[26];
for (int i = 0; i < 26; i++) {
initialAlphabet[i] = i;
std::mt19937 randomSeed(std::random_device{}());
std::shuffle(initialAlphabet, initialAlphabet+26, randomSeed);
–
–
–