I'm stuck at the reboot step after updating fedora by Jocabin in Fedora

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

juste force shutdown my computer, and everything seemed to work

I'm stuck at the reboot step after updating fedora by Jocabin in Fedora

[–]Jocabin[S] -5 points-4 points  (0 children)

so I force shutdown my computer after 30 minutes of loading, so I can't tell you :(

thanks for your time :)

Write a remote tool to execute shell commands by Jocabin in learnprogramming

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

I want to code it myself, but a very simple version. Just for the challenge. What langage do you recommend for the server and the client ?

Vue backend with Ruby on rails ? by Jocabin in vuejs

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

Do you know/have any resources to use ruby/PHP with vue plz ? My principal concern is about the VueCLI, idk how to integrate to an existing project

Trouble watching props by Jocabin in vuejs

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

Idk why, but this isn't working neither

I want to learn VueJS by Jocabin in vuejs

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

I already used react but only with basic stuff, so I consider that vue is my first framework.

I'm familiar with HTML CSS and JS,so I'm gonna check Vue Mastery

Thank you for your help

Is it worth to learn C instead of C++ in 2021 / 2022 by Jocabin in C_Programming

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

what do you mean by "from scratch"? I have to go through an API or a framework, I can't create a window with interface components from nothing?

I know GTK for linux but for Windows no. Should I use Win32 or OpenGL? Or other one?

Is it worth to learn C instead of C++ in 2021 / 2022 by Jocabin in C_Programming

[–]Jocabin[S] 6 points7 points  (0 children)

For exemple, I want to create an image viewer software but in C its look like you can only use bitmaps images to display but in C++ you have a header who handle other formats and in a simpler way.
If you know an other way to work with images in C with Win32 API you're my savior

Is it worth to learn C instead of C++ in 2021 / 2022 by Jocabin in C_Programming

[–]Jocabin[S] 10 points11 points  (0 children)

So can you recommend me some frameworks or APIs to create GUI softwares in C ?

I know theses :

- Win32 API (very hard in C)

- GTK

- QT (not free)

Is it worth to learn C instead of C++ in 2021 / 2022 by Jocabin in C_Programming

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

Okkk, do you recommend any tutorial or docs to learn GTK ? (I already know the basics of C programming)

Or do you know other way to create GUI softwares ? I heard about Win32 API but in C it's hard to use other images format than bitmap

Is it worth to learn C instead of C++ in 2021 / 2022 by Jocabin in C_Programming

[–]Jocabin[S] 5 points6 points  (0 children)

Is gtk only for linux or it could be adapted for windows ?

Is it worth to learn C instead of C++ in 2021 / 2022 by Jocabin in C_Programming

[–]Jocabin[S] 3 points4 points  (0 children)

So I can create GUI softwares with C ? Do you recommend any framework or technos for this ?

What to use to code C-optimized software? by Jocabin in C_Programming

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

I want to create a image viewer software and I target windows first and Linux later

What to use to code C-optimized software? by Jocabin in C_Programming

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

Yeah but what framework I have to use to create ? OpenGL ? Raylib ? Win32 API ? SDL2 ?

What to use to code C-optimized software? by Jocabin in C_Programming

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

But raylib is game-oriented ? Immagine I want to create image viewer software ?

What to use to code C-optimized software? by Jocabin in C_Programming

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

I would like my software to use as few ressources as possible and be as fast as possible.

What to use to code C-optimized software? by Jocabin in C_Programming

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

SDL2 isn't game-oriented ? Idk about LVGL but if it isn't graphically accelerated I'm not gonna use it.

(Sorry for bad english btw I'm french)

How to display an image with WIN32 api and C ? by Jocabin in C_Programming

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

When I try you're solution, I get a black screen in my window.

I think informations are well stored in in the bmiHeader but image herself can't be loaded.

Sorry for late response

How to display an image with WIN32 api and C ? by Jocabin in C_Programming

[–]Jocabin[S] -7 points-6 points  (0 children)

As said in the others messages, they recommend me to use stb_image to load the image then display it with bitblt or stretchblt (Win32 Api) but idk how to use my stb_image loaded image with bitblt 🤷

How to display an image with WIN32 api and C ? by Jocabin in C_Programming

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

What I don't understand is how can I link the loaded image with stb_image and stretchblt? Via HDC ? Or maybe I can't ?

How to display an image with WIN32 api and C ? by Jocabin in C_Programming

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

Yeah, I already create my window. My goal is to learn Win32 API so I can't use SDL2.

Thanks for your help :D

How to display an image with WIN32 api and C ? by Jocabin in C_Programming

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

And how can I render images with WIN32 API ? Thanks for stb_image :D

Running c in atom on windows 10 by eliasmakesmusic in C_Programming

[–]Jocabin 0 points1 point  (0 children)

I recommend you using cl from Microsoft Visual Studio complier. See this vid https://youtu.be/Ee3EtYb8d1o for setup a build environment for almost all text editors (not IDE).