Coding Graphics in C for Windows OS

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ก.พ. 2025
  • ✘ Support this channel:
    / hirschdaniel
    ✘ Learn to Code:
    app.codecrafte...
    Drawing a rectangle to the raw screen, without any windows, just setting pixels on the graphics driver, using windows API. We end up drawing a screen overlay crosshair.

ความคิดเห็น • 18

  • @delicious_seabass
    @delicious_seabass 11 วันที่ผ่านมา +6

    I know this is just for fun, but it would be better to create a transparent borderless top level window instead. This will ensure your rectangle gets composited properly and doesn't flicker. Also, this will only work with other windowed applications. Games require more work if they are full screen, which I won't get into here.

    • @HirschDaniel
      @HirschDaniel  11 วันที่ผ่านมา

      yeah, that's clear (no pun intended). What makes it interesting to me is that you can break out of the windows concept and just set raw pixels

    • @macerdough
      @macerdough 8 วันที่ผ่านมา

      @@HirschDaniel we both know that pun was intended lmao

  • @Scroll_codes_24
    @Scroll_codes_24 11 วันที่ผ่านมา

    Very informative video

  • @AK-du5mm
    @AK-du5mm 11 วันที่ผ่านมา +2

    That's a request for you from an undergrad ...Can you please Make a video on your coding environment that you have setup....that would really help a lot

    • @HirschDaniel
      @HirschDaniel  11 วันที่ผ่านมา

      It's just WSL (Linux terminal in Windows), then I start tmux, create 3 panes, and then start vim in one of the panes!
      Does that help for a start?

    • @AK-du5mm
      @AK-du5mm 11 วันที่ผ่านมา

      @HirschDaniel would be really great if you make a dedicated video on this

    • @AK-du5mm
      @AK-du5mm 11 วันที่ผ่านมา

      Would benefit a lot of learners for sure

  • @enderjua
    @enderjua 10 วันที่ผ่านมา

    thanks for movie

  • @mrpro7737
    @mrpro7737 11 วันที่ผ่านมา

    Insted of cursor, make another prank program that drow random chapes with random color in the screen
    Like those old virus 😂

  • @zawadhyaa
    @zawadhyaa 12 วันที่ผ่านมา

    Nice

  • @3mwithjoao
    @3mwithjoao 11 วันที่ผ่านมา

    The keyboard noise is too much

  • @zawadhyaa
    @zawadhyaa 12 วันที่ผ่านมา

    what's your age brother and do you do programming to earn?

    • @HirschDaniel
      @HirschDaniel  12 วันที่ผ่านมา

      28, and yes I work as a software engineer

    • @0x0f2
      @0x0f2 11 วันที่ผ่านมา

      @@HirschDaniel is CS still good job major

    • @HirschDaniel
      @HirschDaniel  11 วันที่ผ่านมา

      ​@@0x0f2yes, very good

    • @0x0f2
      @0x0f2 11 วันที่ผ่านมา

      @ what is ur job? what do you make