Skip to content

DylanAustin-TheDreamer/C-Practices

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 

Repository files navigation

C-Practices


I intend to make my own database - hear me out:

  • For cutting down costs for postgres databases and hosting, since I intend to make lots of functional projects.

  • if I can host on a VM or VPS then I can cut costs - this will help me competitively secure self-employed work.

  • Either way, a database is a great excuse to learn C and develop my skills there whilst securing a better return. Win win.


Practice

  • First I must read some stuff and follow some little tutorials to get familiar with C and that is what this repo is for.

  • I'll try and make lots of comments so observers can read it easily.

  • I intend to learn from the references below. They are Ebooks and they have little tutorials while I learn. I like ma books.

References


The Enlghtenment

  • I realised that older books were not C99 and so I have been learning a little extra from Bro Code on youtube.
  • My co-pilot knows to help me identify new syntaxes so I can still enjoy learning from original text books.
  • I have recently been asking AI about how a calculator is actually made, and I had him teach me binary calculations and now I wish to simulate that in calculator.c

The Binary calculator

  • considering I didn't know C before hand and I went off to build a calculator with simulated logic gates, I can safely say - I learned a lot.

  • I didn't make too frequent commits for every change because things were already super complicated. But I went in line for line after I knew how complicated it was to get the bit shifting and calculations right. I had a lot of guidance from AI but no code. Only syntax corrects and pointers where I had used them wrong for the logic model we needed to code.

  • I'd ask it just to check lines and say yes or no and give me the bad lines and I'd re-investigate it. Otherwise I'd be lost in it all.

  • Anyway... that was nuts...

  • I guess I'd say.... Absolutely horrible and weird.... just proper weird.... And I loved it.

  • Although, yeah man - Binary. That's what everything is. I wanna code << & >> next. Why not. Learn how the CPU barrel shifter works.

  • I have a note book with all my notes in about the logic design. I'd try and have a go, then clarify and ask for yes or no responses. Am I somewhat right? I'd get some pointers from copilot. I think the comments show my understanding pretty well.


About

The occasional C practice

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors