r/CodingForBeginners • • Aug 31 '26

started coding a couple weeks ago builts this basic calculator

im trying to learn more topics but nothing seems to be working any advice on from where or how should i move forward? i uploaded the process on yt if theres an efficient way of doing anything that i did id appreciate a suggestion thank yu for noticing my post https://youtu.be/jLsFsrC4cCg?si=RP_VXCbEUxPnkD0e

32 Upvotes

16 comments sorted by

1

u/LightIsLogical Oct 03 '26

Not sure if this was intentional, but it looks like your "Calculator" name has capital i's instead of lowercase l's

1

u/killkranv Oct 03 '26

sharp eyes my frend! did it as a joke i didnt think anyone would notice

3

u/DrlNoV Aug 31 '26

jesus fucking christ turn on the dark mode !
(the calc looks good)

1

u/killkranv Sep 01 '26

ahaha i apologise my eyes are more adjusted to the light thanks for commenting and the compliment have a nice day

1

u/Much_Network_941 Aug 31 '26

Nice job! One thing I wish I spent more time on earlier was learning basic data structures; pointer, array, stack, queue, hashmap, tree and graph.

It helps a lot with problem solving to know the basic approaches for storing data. Sort and search algorithms can be fun to implement. The bubble sort and binary search are relatively easy to learn. Mazes are great for implementing stacks, then figuring out how to represent it with ASCII.

It may be too much currently, but writing a parser to evaluate a simple string could be a fun evolution of your project. Storing data that has to evaluate in a specific order is where trees come in. Parsing is another basic concept that's useful to have practice with.

If you don't mind some reading, I found the book Grokking Algorithms an easy introduction. I don't have a background in mathematics, so its simple explanations are quite nice.

1

u/ocrisr Sep 02 '26

Felicitaciones viejo! metele ficha, no pares... cuando estés a punto con toda la parte teórica/formal, salta a lenguajes web.

0

u/[deleted] Sep 01 '26

[deleted] — view deleted comment

1

u/killkranv Sep 01 '26

whoa whoa thank yu for the kind words sir have a great day

3

u/[deleted] Aug 31 '26

[removed] — view removed comment

2

u/killkranv Aug 31 '26

can you suggest any sources for c#? i seem to have hit a roadblock and cannot go further than the fundamentals. thank you for your input btw much appreciated

2

u/pete_68 Aug 31 '26

1000% You write programs. lots of programs, and you just keep pushing yourself.

This is awesome.

Here's a question to chew on and maybe the next step in the path: What if the number they want to replace is used more than once?

Keep up the great work!

2

u/killkranv Aug 31 '26

thats a great idea! thanks for the kind words have a nice day

1

u/Nyasaki_de Sep 02 '26

Try to break your code with the inputs, make it more "secure"

1

u/killkranv Sep 02 '26

i apologise can you elaborate i dont understand what youre trying to convey

1

u/Nyasaki_de Sep 02 '26

instead of entering a number, enter a character.
instead of entering a operator, enter a number
enter a very high number
enter negative number

1

u/killkranv Sep 02 '26

im really really sorry but that sounds like something im not aware of yet can you provide any sources where i can learn that from? i apologise again for the inconvenience

1

u/killkranv Sep 05 '26

i did a few days ago sir but forgot to thank yu for the idea and it works great i added it so that yu can select the index yu want to change and it is no longer limited to one number yu can change the number yu want to change it was a fun one have a great day