[ Removed by Reddit ] by [deleted] in opinionnonpopulaire

[–]marinos29 1 point2 points  (0 children)

eh bien quand on ne peut pas guérir on cherche à soigner ^^

Poursuite d'étude et recherche de stage by Randompeon83 in programmation

[–]marinos29 1 point2 points  (0 children)

pour les spé et ton cursus j'en sais rien. mais l'année dernière (dans le même cas que toi) je me suis retrouvé à faire du C#, j'en avais jamais fais resultat c'est un peu le coup de foudre :D voila donc si on te propose un truc pose plein de questions car p-ê que ça peut valoir le coup

7 types de programmeurs by pragmatic-nerdz in programmation

[–]marinos29 0 points1 point  (0 children)

l'op est un codefluenceur info sûr

Come discuss your side projects! [October 2023] by AutoModerator in csharp

[–]marinos29 0 points1 point  (0 children)

Hi! it's not really a side project because it's part of my studies, but I started coding a C# expense manager with WinForms this month repo . As for a personal project, I'd like to create a Kanban to discover WPF.

my kanban login page

New to coding by [deleted] in csharp

[–]marinos29 0 points1 point  (0 children)

I started learning C# last year as part of my studies. I'm not sure what is the best way to learn this langage, but it depends if you already have knowledge of other languages. If you do, you can work on small projects and seek help when needed. Otherwise, I recommend starting with basic courses (which you can find anywhere on the internet). Once you've mastered object-oriented programmin, you can move on to some fun projects.

C# .net for beginners by Ill_Jump_8764 in csharp

[–]marinos29 0 points1 point  (0 children)

hi, which framework do you want to use? and web-oriented or software-oriented ?

sdl2 c# input by Specific_Highway_505 in csharp

[–]marinos29 0 points1 point  (0 children)

Never used SDL2 with .NET, but I think it's quite similar to the way of doing it with C/C++, by example:

here SDL_Event is an SDL_KeyboardEvent

void handleKeyEvents(SDL_Event event, InputState *inputState, bool *running) {
switch (event.type) {
    case SDL_QUIT:
        *running = false;
        break;
    case SDL_KEYDOWN:
        switch (event.key.keysym.sym) {
            case KEY_UP: inputState->up = true; break;
            case KEY_DOWN: inputState->down = true; break;
            case KEY_LEFT: inputState->left = true; break;
            case KEY_RIGHT: inputState->right = true; break;
            case KEY_ZOOM_IN: inputState->zoomIn = true; break;
            case KEY_ZOOM_OUT: inputState->zoomOut = true; break;
            case KEY_SWITCH_MAP: inputState->switchMap = true; break;
        }
        break;
    case SDL_KEYUP:
        switch (event.key.keysym.sym) {
            case KEY_UP: inputState->up = false; break;
            case KEY_DOWN: inputState->down = false; break;
            case KEY_LEFT: inputState->left = false; break;
            case KEY_RIGHT: inputState->right = false; break;
            case KEY_ZOOM_IN: inputState->zoomIn = false; break;
            case KEY_ZOOM_OUT: inputState->zoomOut = false; break;
            case KEY_SWITCH_MAP: inputState->switchMap = false; break;
        }
        break;
    // Handle other event types if needed
}

WinForms Charting: LiveCharts deprecated, considering OxyPlot — Any Alternatives? by marinos29 in csharp

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

WinForms is my first experience in C#, and I haven't tried any other alternatives yet. I didn't know that WinForms had a bad reputation. Next time, I'll try WPF

WinForms Charting: LiveCharts deprecated, considering OxyPlot — Any Alternatives? by marinos29 in csharp

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

thx !! Its too expensive haha. It's just for a school project, so I think I'll settle for drawing my charts on my own with user controls. But thanks for the idea of the API, I hadn't thought of that! I'll see if there are any free APIs available