Cow Cow

@CowNationz (50)
C++ is love, C++ is life
Procedural dungeon exploration in the console using C++
posted to Share by SPQR

Nice, I really like the display class and the use of getch. One suggestion is you should look into deltatime because right now movement speed is based on the FPS.

FOTOCRYPT - Encrypting pixels in a photo
posted to Share by raulpy

@raulpy I considered that but I figured this was for learning and not for actual encryption & decryption to keep information private.

FOTOCRYPT - Encrypting pixels in a photo
posted to Share by raulpy

This is really nice, I do have one suggestion though.
You should append the key to the .png file, it won't affect the png itself and it will make the encypted png more portable (It won't need another file to decrypt).

My first four-function calculator on C++
posted to Share by ZControls_Games

@ZControls_Games
'In the C Programming Language, the #define directive allows the definition of macros within your source code. These macro definitions allow constant values to be declared for use throughout your code. Macro definitions are not variables and cannot be changed by your program code like variables.'

CodeAnalyzer v1.0.0
posted to Share by CowNationz

@KelvinVerhey
line 86 - it's optimized for use on this website, you can't pass args in repl so that's a pointless statement
line 90-95 - how is that janky logic, returning after an error is very common
line 11 to 14 - it doesn't matter which I choose, that's hella nitpicky
line 5 to 8 - why would I key a term to a count lol

Overall this was unnecessarily nitpicky and makes almost no changes in the end result.

cpp-CowConfig
posted to Share by CowNationz

@Zavexeon All the code is in cpp-CowConfig.hpp, an example func is included in there.

cpp-CowConfig
posted to Share by CowNationz

@Zavexeon Yea that's my weird theme with all of my projects. Dunno how I came up with it, but it stuck with me I guess.

C++ Keyboard InputManager v1.0.0
posted to Share by CowNationz

@SPQR Thanks!

Weekly Repls #34
posted to Announcements by 21natzil
Weekly Repls #34
posted to Announcements by 21natzil

@Steven_The_GuyT It writes them to a text file

Ear Destroyer
posted to Share by CowNationz

@TaylorLiang On an ASCII table, DEC 7 is the bell character. Just make a int(7), cast it to a char, and print it.

Unsafe flag in C# compiler?
posted to Ask by CowNationz

@Highwayman That worked, thanks. Too bad i'll have to manually add each .cs file from the repl into the command and change them each time I add a new file. (pls add the unsafe flag automatically repl team so we don't have to do this)

MooDb - A lightweight database program - Major Update!
posted to Share by CowNationz

@sanjaykdragon So? Just resave the table whenever you make changes that need saving. You can save to the same file over and over, it doesn't matter

MooDb - A lightweight database program - Major Update!
posted to Share by CowNationz

@sanjaykdragon Ah ok, I understand. Fixed it so GetRow and GetRowsWith return pointers, I'll do the same for GetColumn later

MooDb - A lightweight database program - Major Update!
posted to Share by CowNationz

@sanjaykdragon Because this purpose fits csvs so much better so tables can be imported to and from spreadsheets, and yes you can edit them using
std::vector< std::vector< std::string > > Data

Random Name and Info Generator
posted to Share by mamamia5x

@mamamia5x Doesn't mean you shouldn't just generate the numbers randomly. That's just unnecessary bytes

Random Name and Info Generator
posted to Share by mamamia5x

You should just generate random numbers within a range for the SSN and age. No need to make a gigantic list for those.

C++ repl.it course to recommend?
posted to Ask by lihchang

@mwilki7 The very first thing I did was link him a course I found very useful that has all of the features you are talking about. Like it or not starting out in programming is going to be all about 'toy programs'. Good luck to OP at programming/understanding a large project with 0 experience.

C++ repl.it course to recommend?
posted to Ask by lihchang

@mwilki7 The course has plenty of examples, that wasn't harsh either.

C++ repl.it course to recommend?
posted to Ask by lihchang

@lihchang You're asking to be spoonfed projects instead of learning a language bit by bit, that doesn't work. You will gain no knowledge.

C++ repl.it course to recommend?
posted to Ask by lihchang

I took this course 3 years ago and it was a great jumping off point.
https://www.sololearn.com/Course/CPlusPlus/

If i want to make my own IDE, how do i start?
posted to Ask by AzureScripts

@AzureScripts Program the IDE in python to execute python code. You can do both.

If i want to make my own IDE, how do i start?
posted to Ask by AzureScripts

@AzureScripts Should be fairly easy since python has the exec function to execute a string of code.

C# Calculator
posted to Share by mrsprinkletoes

@mrsprinkletoes - This is my first C# program.
@KelvinVerhey - i CoULd dO iT BETtEr

My first four-function calculator on C++
posted to Share by ZControls_Games

A couple crituiques:
There is no need to ask for the user's name
Your indentation is all off. In some spots you use one space, in others you use 2, in another you use tabs and in others you use no indentation.
There is also an easier way to find out what operation they want to do. Have them enter an expression (e.g. 5*2). Have cin input 2 ints and 1 char (e.g. std::cin >> integer1 >> character1 >> integer2;) and it will automatically assign the numbers to each int and the symbol to the character and then you can just simply do the operation that the character tells you.

👍 Steam Market Item Scraper 👍
posted to Share by CowNationz

@21natzil Meh, it wasn't too bad, as long as you view the item in the priceoverview mode you can just get the json and parse it.

👍 Steam Market Item Scraper 👍
posted to Share by CowNationz

@masfrost that would be nice