why does the Stm32f103c8t6 Board need an ST-Link V2?
You do not "need" it but you "need" a way to write your program to the flash on the part.
Well I am starting a course on embedded systems on udemy and it seems I need an M3 or M4 ARM cortex MCU so I can follow on the projects. The course itself recommend the Discovery board, but I was aiming for the stm32f103c8t6 Datasheet
I watched most of the (first) class so far. It is almost all about the C language in general but does walk you through the chip document to show you registers and bits, as well as how to write code to access them.
The part on the stm32f4 and the part on the stm32 blue pill are not the same and are not compatible. The cortex-m3/4 is not relevant with respect to addressing and using the peripherals. So the concepts and tools will all work the same, the exact addresses and bits will not.
It seems that there's no much information about the board in terms of programming on the stm32 IDE as everyone is using it with the Arduino IDE.
I would have to disagree with this in a few ways, I would say percentage wise nobody is using the Arduino IDE. The truth is somewhere between everyone and no one. The cost of the blue pill makes it easy for people to use with all of the various solutions, not limited in any way to the Arduino. Most folks are not using Arduino.
st and arm have plenty of information along with countless examples across the internet about how to program these mcus. And as a result these stm32f4discovery boards as well as countless examples that are specifically for these blue pill boards.
The class uses the ST IDE and the stm32f103 is still an available product so I cant see that one of their tool choices supports this part. The blue pill is just a breakout board with a crystal, so while they may or may not
support the board (knowledge of where the led is??) there should be support for the part.
I was wondering If I will need additional hardware beside it like an st link v2 ( which I don't know it's purpose yet ,but that's what I got after some searching ). in order to be able to program and debug nicely along the course
The (authentic) stm32f4 discovery has an stlink on the board, so you do not need to buy one separately.
The blue pill does not have debugger hardware on it, you have to buy that separately. The stlink of any flavor is just one possible solution, it is not the only solution, so therefore not "required".
When you read the documentation about the stm32 chip and the arm cores (go to the arm website) you find that there is an swd (single wire debug) interface to the arm core which the stm32 parts will expose. Stlink is essentially a usb protocol that you use to talk to a debugger (in this case external hardware between your development computer and the target mcu). The stlink solution is a path essentially to the swd protocol so that with software that speaks the stlink protocol you can talk to the arm core. With access to the arm core you can do, among other things, write your program to flash so that it can be run when reset or powered on.
There are other paths, usb protocols if you will to hardware (boards) that then speaks swd for you. Most notably but not limited to jlink and ftdi based boards in particular those with MPSSE.
The stm32f103 part also includes a bootloader (software) from st, not an arm thing. This provides access through that interface to write your program into the flash. (also documented on st's website) And there are too many to even mention solutions here, costing from around a dollar to maybe 15.
The blue pill may come pre programmed with an application that works as a bootloader that speaks a well known usb protocol that the Arduino IDE also supports. But this is the same application flash area where your programs will live so if you mess this up then you cannot use this interface anymore you have to use one of the ones above, with external hardware, to reprogram this bootloader into the application flash so that you can to back and try again using the Arduino IDE. The stm32f4 discovery does not have this problem there is a separate debugger and target mcu the debugger hardware can reprogram the target mcu independent of bugs in your code (those that do not destroy the hardware).
So back to the title question:
why does the Stm32f103c8t6 Board need an ST-Link V2?
You do not "need" it but you "need" a way to write your program to the flash on the part and that might desire an SWD solution of which the stlink is one (but not the only one).
The stlink version should not matter.
SWD is not your only path in, and stlink is not the only swd solution. There are lower cost solutions to program the blue pill (that may or may not be compatible directly with the arduino ide).
The class or this first one is at least mostly C language stuff not using the board but using your computer. When it does use the card it does rely on the stlink interface. Where the lecturer will click a button on the GUI and a second or seconds later the board is programmed and the led is blinking or whatever. That few seconds might take you a few weeks to get working for you depending on ability to find the right info and experiment, it might take me an afternoon for example. But I hope, but not necessarily expect the IDE to "just work". You might get lucky.
This class moved on quickly into adding another piece of hardware that perhaps you want to buy to add to the stm32f4discovery. One thing I often struggle with is sticking to someones sandbox, I eventually build my own. Although the board is expensive relative to perfectly valid alternatives for the same goal, for the class I would recommend you buy the hardware used by the class. At the same time IMO you can watch this class without any MCU boards and then make your own decision. You can take that knowledge and attempt to use the Arduino IDE if you wish and the blue pill, or search for folks using the ST IDE and the blue pill.
IMO the blue pill boards are low quality I have ordered many and had a number of them arrive non-functional. Likewise there is an stm32f4 discovery clone that is low cost, it does support dfu-util, but like the blue pill might just work, but no surprise if it does not. And I have had a percentage of those be bad or marginal. So while trying to learn you may also be struggling with hardware issues. The nucleo boards are so far pretty good and you do not need additional hardware to make the mcu work and one would expect there to be direct support in one of the st IDEs. Same goes for similar boards from the other vendors (ti, atmel/microchip, nxp, etc).