What is a Char? (C# vs Python)

แชร์
ฝัง
  • เผยแพร่เมื่อ 20 ส.ค. 2024

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

  • @joaomaria_santos
    @joaomaria_santos 5 ปีที่แล้ว +14

    Binge watching these more than netflix
    such a chill course

  • @Kimchi_Studios
    @Kimchi_Studios 5 ปีที่แล้ว +44

    A char is something you sit in.

  • @success2928
    @success2928 5 ปีที่แล้ว +2

    Hey, Jabrils. Python doesn't have a char data type, a single character is a string, likewise a bunch of characters.
    a = 'a'
    type(a) #Outputs
    name = 'Nerd'
    type(name) #Outputs

    • @schhhoaoaoaoll9065
      @schhhoaoaoaoll9065 4 ปีที่แล้ว +1

      he is trying to explain that in python a string is equivalent to a character and/or a string in c#

  • @yusufallie3089
    @yusufallie3089 4 ปีที่แล้ว +2

    The best explanation i have seen so far

  • @uliveulearnandregret
    @uliveulearnandregret 5 ปีที่แล้ว +3

    trig-em of heaven? it said idk if that was correct

  • @nuuhishere6752
    @nuuhishere6752 5 ปีที่แล้ว +1

    hey jabrils I donßt think that you will see this comment but when I tried it I didn't have the option to "reveal in explorer" I even tried to use the shortcut I saw in your video but nothing worked

    • @zeinabdrameh3048
      @zeinabdrameh3048 4 ปีที่แล้ว

      first off it only works on windows so make sure you have it first? If you do your computer may say something else like " show in explorer" instead, and if that doesn't work then .....idk

  • @39unknown93
    @39unknown93 5 ปีที่แล้ว +1

    Bool also did not exist in C until the C99 standard.

    • @39unknown93
      @39unknown93 ปีที่แล้ว

      @Anonymous you'd use the integers. If the integer evaluated as 0, it would be false and anything else would be true. This is still the case with C and C++.

  • @Charduza
    @Charduza ปีที่แล้ว

    13:20

  • @mansodev
    @mansodev 4 ปีที่แล้ว

    7:30 you mean right?

  • @duranium4445
    @duranium4445 5 ปีที่แล้ว

    A char in c is just an integer.

    • @reynoldskynaston9529
      @reynoldskynaston9529 3 ปีที่แล้ว

      char is 1 byte and an int is 4 bytes in C

    • @duranium4445
      @duranium4445 3 ปีที่แล้ว

      ​@@reynoldskynaston9529 int != integer.

    • @reynoldskynaston9529
      @reynoldskynaston9529 3 ปีที่แล้ว

      @@duranium4445 okay but integer isn’t even a data type in C

  • @jeanrodrigues6249
    @jeanrodrigues6249 2 ปีที่แล้ว

    Floppy

  • @atanki5682
    @atanki5682 5 ปีที่แล้ว

    4th comment

  • @jamstanley9898
    @jamstanley9898 4 ปีที่แล้ว

    sir your
    vid is very very poor

    • @1hr399
      @1hr399 3 ปีที่แล้ว

      then turn up ur resolution