Calculator program Using C++ Programing 🔥

Поделиться
HTML-код
  • Опубликовано: 17 окт 2024
  • Calculator program Using C++ Programing 🔥
    ➤Previous Video's▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼
    C++ Program To Check Number is Even Or Odd 🔥
    • C++ Program To Check N...
    C++ Program To Add Two Number
    • C++ Program To Add Two...
    ➤My Gears▼▼▼▼▼▼▼▼▼▼▼
    MOBILE : Realme 2 Pro
    MIC : Boya M1
    ➤Don't Forget.........LIKE SHARE & SUBSCRIBE👍↗️
    ➤Thank you for watching..............@itz techer wala
    ➤Your Quries▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼
    check number is even or odd,
    check number is even or odd in python,
    python program to check number is even or odd,
    java program to check number is even or odd,
    check number is even or odd in java,
    shell script to check number is even or odd,
    javascript program to check number is even or odd,
    write a program to check number is even or odd,
    check if a number is even or odd c++,
    C++,
    c++ program,
    c++ programs,
    c++ programming language,
    c++ programs for practice,
    simple c++ program,
    c++ programiz,
    c++ program to add two numbers,
    c++ programming examples

Комментарии • 86

  • @himanshu_tyd
    @himanshu_tyd Год назад +16

    Theme name: Panda 🐼 Editor: VS Code

  • @ikeben9
    @ikeben9 Год назад +11

    Nice way to learn switch case

  • @DrizzyB
    @DrizzyB Год назад +31

    Watching ppl code is surprisingly helpful

  • @canoshit
    @canoshit 9 месяцев назад

    isnt a c library not a cpp lobrary

  • @codebucketht
    @codebucketht  Год назад +46

    there is no need to include

    • @IlliaZhdanov
      @IlliaZhdanov Год назад +4

      ... using namespace std; is the worst thing in C++. So i'll click off.

    • @WadDeIz_Real
      @WadDeIz_Real Год назад +3

      ​@@IlliaZhdanovI hate it when people "using namespace std"

    • @IlliaZhdanov
      @IlliaZhdanov Год назад +2

      @@WadDeIz_Realme too. Worst C++ feature

    • @masgerentertainment
      @masgerentertainment Год назад +1

      ​@@WadDeIz_Realwhy? i think that is better than writing std:: in multiple lines

    • @The.King.12
      @The.King.12 Год назад +5

      This is a small scale program so std namespace being used is not a problem😂

  • @dragone521
    @dragone521 9 месяцев назад

    If in use #include you can use sin() or cos() and pow()

  • @jaypatel0088
    @jaypatel0088 11 месяцев назад +4

    Please use words like operand 1,operand 2 and operation, instead of just a, b, c..

  • @cinemaclips2710
    @cinemaclips2710 Год назад +1

    In which site u r writing this code and executing plz tell ..

  • @kubixcr2648
    @kubixcr2648 Год назад +1

    what program are you using ?

  • @Kanak_Bodkhe
    @Kanak_Bodkhe Год назад +40

    Me who made my calculator with if else 😂

    • @tanishqb385
      @tanishqb385 Год назад +3

      you can use if else too, in some cases switch is more helpful but the basic logic is the same as if else

    • @samuca101
      @samuca101 Год назад +2

      It works too, but switch case will be way more efficient.

    • @canoshit
      @canoshit 9 месяцев назад

      @@tanishqb385switch statement corrupts my files in vscode for some reason

  • @tomasvideo7216
    @tomasvideo7216 Год назад

    What kind of theam do you use in vs?

  • @seemashaikh3546
    @seemashaikh3546 Год назад +15

    I can do in 15 lines using recursive and can take any number of input user wants with operators
    Still for starting we have also done same thing

    • @shlok7281
      @shlok7281 Год назад +1

      care to explain how do I take any no user of inputs

  • @MINECANGI
    @MINECANGI 11 месяцев назад +1

    you should never include C headers on C++ files, use instead, and you didn't use the stdio functions so you can just remove it, also the "using namespace std;" is a bad practice, and, try to return values for a more efficient code. nice vid btw 👍

    • @canoshit
      @canoshit 9 месяцев назад

      exactly

  • @naradprasad941
    @naradprasad941 8 месяцев назад

  • @jideveloper1164
    @jideveloper1164 11 месяцев назад

    Keyboard used?

  • @insertnamehere6211
    @insertnamehere6211 11 месяцев назад

    If you want to get deeper into calculations with integers, try to write your own integer. It will definitely shows you what happens behind it and you will learn how to write your own operators. Also it will confront you with topics like optimization and standards for fixed point arithmetics.
    Please keep in mind that the normal integer will probably still be better even if you have optimized tf out of yours so you shouldn’t really use them in your own projects, never then less it will teach you a shit tone of things depending on your level.

    • @el_psy_canguri
      @el_psy_canguri 6 месяцев назад

      Whatdo you mean write your integer?

    • @insertnamehere6211
      @insertnamehere6211 6 месяцев назад

      @@el_psy_canguri write an own integer

    • @el_psy_canguri
      @el_psy_canguri 6 месяцев назад

      @@insertnamehere6211 what do you mean by that, i still dont understand, how do you write your own integer

    • @insertnamehere6211
      @insertnamehere6211 6 месяцев назад

      @@el_psy_canguri you do it by creating for example a class named „myInt“ then you implement how the data in the int gets stored in mem, then you create the operators and help methods required for this kind of project and then you have it. It won’t be as good as the real int probably but it will give you lots of knowledge.

    • @insertnamehere6211
      @insertnamehere6211 6 месяцев назад

      @@el_psy_canguri ok so apparently my comment wasn’t send or something but I will explain it more detailed. You can write a class, called for example „myInt“ there you proceed to build a basic logic like some helper methods, storage for the number itself preferably in bytes as you then can calculate it effectively via logic. Next you can write define the operators. (C++ example: „myInt operator+(myInt num);“)
      You can then proceed to further add support for operators and stuff but if you build like not an overly complex datatype you can learn a lot about the programming language you are using and how it is working. Sorry again for the late message, I thought I already answered.

  • @Barrtholomeww
    @Barrtholomeww Год назад

    its actally really easy with a bit of repetitive if and else if by declarin a char variable and use it to determine the operator

    • @shlok7281
      @shlok7281 Год назад

      code would be too long then

  • @alicemartin1311
    @alicemartin1311 Год назад +2

    Sir i made the same thing as I'm the very beginner so how can i give the input here

    • @codebucketht
      @codebucketht  Год назад +2

      You can use "cin>>" to get the input from ther user.

    • @alicemartin1311
      @alicemartin1311 Год назад +1

      @@codebucketht That wasn't the actual question actually i was using other software for coding

  • @mi30044
    @mi30044 Год назад

    0:00

  • @_G_R_
    @_G_R_ 11 месяцев назад

    It’s good that you changed at least a little what is on Microsoft’s website. damn programming genius

  • @BOSS55
    @BOSS55 Год назад

    Bhai theme bahut badhiya lag Raha hai Kaun sa extension use Kiya hai

  • @brunovidal-pw8it
    @brunovidal-pw8it Год назад +6

    i'm dying.

    • @nothingmog
      @nothingmog 11 месяцев назад +1

      Lmao it's easy when you learn the basics

  • @davidsantoso7960
    @davidsantoso7960 11 месяцев назад +1

    What's the name of the song?

  • @WadDeIz_Real
    @WadDeIz_Real Год назад +1

    Use floats or doubles

  • @NwangwuFrancis-ym5zw
    @NwangwuFrancis-ym5zw Год назад +1

    what application is that?

  • @pje_
    @pje_ Год назад

    bro tryharding hard to type fastest in the world 💀

  • @hassaniq0777
    @hassaniq0777 Год назад

    There's no need for the 2nd void function lmao

  • @abhishekpal9226
    @abhishekpal9226 11 месяцев назад

    Background music name?

  • @lemonroblox-yt
    @lemonroblox-yt Год назад

    Nice

  • @nottele870
    @nottele870 Год назад +3

    code:
    #include
    long long a, b;
    using namespace std;
    void getData()
    {
    std::cout a >> b;
    }
    void Calculator()
    {
    char Operators;
    std::cout Operators;
    switch (Operators)
    {
    case '+':
    {
    std::cout

    • @islammatkarimov2353
      @islammatkarimov2353 Год назад +1

      were you high when you wrote this? you already declare namespace standard and still typing std in each line lol?

    • @77838jsjjj
      @77838jsjjj Год назад

      😂

    • @PaulSir_PlayZ
      @PaulSir_PlayZ Год назад

      @@islammatkarimov2353 copied from chat gpt

    • @nottele870
      @nottele870 8 месяцев назад

      @@PaulSir_PlayZ Nope

  • @СашаУстиченко
    @СашаУстиченко 11 месяцев назад

    global a,b

  • @devrajking8670
    @devrajking8670 Год назад

    🔥🔥🔥🔥👍

  • @SaurabhSingh-jd2rx
    @SaurabhSingh-jd2rx 11 месяцев назад +1

    Bhai sirf + - ni hota h Percentage root sab bhi hota h banna h to pura acha se banao 😂😂

  • @mobaraksaripadak6006
    @mobaraksaripadak6006 Год назад

    What apps are those?

  • @himadriii373
    @himadriii373 Год назад

    Is it an application software;?

  • @taured_gamez
    @taured_gamez Год назад +1

    👍

  • @ballabadr3572
    @ballabadr3572 6 месяцев назад

    Op "/ " return float not int!

  • @XenialXerus
    @XenialXerus Год назад

    Which aap he used?

    • @codebucketht
      @codebucketht  Год назад +1

      It's Pc software called 'Vs code editor '

    • @Kanak_Bodkhe
      @Kanak_Bodkhe Год назад

      ​@M.r.b.e.a.s.t.H.i.n.d.igoogle pe search karlo

  • @CowOfTheNile
    @CowOfTheNile Год назад

    this clicking sound makes me want to die

  • @dylanburch2719
    @dylanburch2719 Год назад

    Why the hell are you using the fastest typing audio ever but coding so slowly

  • @cursedfdp
    @cursedfdp Год назад

    Yo wtf is this speed up or bro's typing 100 words per second

  • @msinkon7225
    @msinkon7225 Год назад +1

    Bro theme name

  • @keyseemontana6381
    @keyseemontana6381 5 месяцев назад

    Global variables - is very bed

  • @NurvnUWU
    @NurvnUWU Год назад

    0:00