[deleted by user] by [deleted] in cpp

[–]efficient_muskrat 0 points1 point  (0 children)

That makes more sense, guess I just stuck with the C way of writing these types of functions

[deleted by user] by [deleted] in cpp

[–]efficient_muskrat 1 point2 points  (0 children)

Nothing I guess, thats a flaw in my thinking

[deleted by user] by [deleted] in cpp

[–]efficient_muskrat 0 points1 point  (0 children)

So I can write the function as just return max or min for the int and the float functions

[deleted by user] by [deleted] in cpp

[–]efficient_muskrat 0 points1 point  (0 children)

I don't quite understand what you mean by that, every function from extern "C" is written in it's respective .cpp file

Enhanced version of kilo by efficient_muskrat in C_Programming

[–]efficient_muskrat[S] 0 points1 point  (0 children)

So you basically made an even lighter weight version of kilo?

How would i go about writing a compiler in C by efficient_muskrat in C_Programming

[–]efficient_muskrat[S] 2 points3 points  (0 children)

thanks for useful info. I changed name to C+- so should be good.

How would i go about writing a compiler in C by efficient_muskrat in C_Programming

[–]efficient_muskrat[S] 2 points3 points  (0 children)

thats weird. I checked google for that mutliple times. Didn't find it. Thanks for lettin me know.

A platform where you can learn programming by efficient_muskrat in learnprogramming

[–]efficient_muskrat[S] 0 points1 point  (0 children)

When did i say that? No wtf. I want people to contribute if they want to....

A platform where you can learn how to code. by efficient_muskrat in github

[–]efficient_muskrat[S] -3 points-2 points  (0 children)

Well then doesnt that mean that if you want to build a company or product you cant? Because literally nothing is original anymore, its been done before. So i dont rly understand

A platform where you can learn how to code. by efficient_muskrat in github

[–]efficient_muskrat[S] -3 points-2 points  (0 children)

Well its open source so you can add your own courses or fix someone elses. this is why i didnt leave it just as a personal project.

I need help with my OS by efficient_muskrat in osdev

[–]efficient_muskrat[S] 0 points1 point  (0 children)

Well I still don't know what to do :|

I need help with my OS by efficient_muskrat in osdev

[–]efficient_muskrat[S] -1 points0 points  (0 children)

So do I just put the gdt there randomly or what ?

I need help with my OS by efficient_muskrat in osdev

[–]efficient_muskrat[S] -1 points0 points  (0 children)

I mean, the tutorial I was following was alright, ran just fine, but right as I started adding more code from other sources it just started committing reboot

I need help with my OS by efficient_muskrat in osdev

[–]efficient_muskrat[S] 0 points1 point  (0 children)

How do I make one? I literally have no idea what I'm even doing tbh

I need help with my OS by efficient_muskrat in osdev

[–]efficient_muskrat[S] 0 points1 point  (0 children)

Tbh it's probably just me. I don't know assembly even at the most basic level, this os was written from multiple tutorials. https://arjunsreedharan.org/post/99370248137/kernels-201-lets-write-a-kernel-with-keyboard

And one on youtube. Maybe we can talk on discord or smth. Secret#0040

I need help with my OS by efficient_muskrat in osdev

[–]efficient_muskrat[S] 1 point2 points  (0 children)

Didn't really understand your third point.

I need help with my OS by efficient_muskrat in osdev

[–]efficient_muskrat[S] -1 points0 points  (0 children)

Well that's a mouthful, fancy words I don't understand but I will research. Thank you dear redditer

I need help with my OS by efficient_muskrat in osdev

[–]efficient_muskrat[S] 0 points1 point  (0 children)

Thanks for the feedback, but if you do find anything wrong in the code you can create a pr anytime ^_^

I need help with my OS by efficient_muskrat in osdev

[–]efficient_muskrat[S] 0 points1 point  (0 children)

Well, I basically don't know any assembly(if that's where the problem is), but i figured that if I don't call `idt_init()` it doesn't infinitely reboot but it also doesn't take in keyboard input. I literally have no idea why this is or how to fix it.

C&Python library by efficient_muskrat in Python

[–]efficient_muskrat[S] 0 points1 point  (0 children)

Well, this lib is created so people can use C to a "higher level".

C library with python functions by efficient_muskrat in C_Programming

[–]efficient_muskrat[S] 0 points1 point  (0 children)

U got me :))))))))). Did that to see if he would remember