jlechem / RetroGaming

A repository for old school retro C++ games
Apache License 2.0
2 stars 1 forks source link

Create GenerateRandomFileName in Utilities #3

Closed jlechem closed 4 years ago

jlechem commented 4 years ago

We need a way to generate a random (GUID) filename. We should add a function in the utilities class that returns a new random GUID.txt filename. Where GUID is an actual new guid. We could also add an optional parameter as the extension and if no extension is specified just assume .txt

for example 5d4f5989-ece0-4adc-a8e6-4389c0b688d9.txt

jlechem commented 4 years ago

A UUID generation library has been added to the solution but hasn't been implemented yet. There are some naming collisions going on that need to be resolved first.

geekskick commented 4 years ago

I'd like to have a look at this if thats ok?

Would you please provide a .clang-format so I can make sure that my stuff matches your stuff? Thanks

jlechem commented 4 years ago

Of course!

On Sun, Nov 17, 2019, 1:55 PM geekskick notifications@github.com wrote:

I'd like to have a look at this if thats ok?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/jlechem/RetroGaming/issues/3?email_source=notifications&email_token=AABGD5VL7TG52ZYECSJIQ5LQUGVT3A5CNFSM4JMMBDZ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEEIV2PQ#issuecomment-554786110, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABGD5UGJTXJNCR37DS2X73QUGVT3ANCNFSM4JMMBDZQ .

jlechem commented 4 years ago

I've been using Visual Studio so I'll have to setup a clang version to test.

geekskick commented 4 years ago

I am on a Mac and don’t have visual studio. I have got it building using a makefile. It looks like nmake will build a VS configuration from the makefile, and I would imagine that there is some kind of CMake integration for VS. What would you prefer for a xplatform build system?

jlechem commented 4 years ago

Code implemented and looks great.