CppNuts

CppNuts

Hi, this is Rupesh Yadav and I am uploading content about C & C++, which every beginner C & C++ Programmer must know.

Code On GitHub : github.com/cppnuts-yt/CppNuts

UPLOADED PLAYLISTS:

1) Design Patterns Explained In C++
2) Multi threading
3) Data Structures
4) Algorithms
5) STL
6) C++11, C++14
7) C++ Freshers Interview Questions And Answers
8) C++ Experienced Interview Questions And Answers
9) C++ MCQ Questions And Answers
10) C Interview Questions And Answers
11) C MCQ Questions And Answers
12) Sorting Algorithms


And suggestions are welcome!!

forward In C++11

forward In C++11

std visit in C++17

std visit in C++17

std hash in C++11

std hash in C++11

variant In C++17

variant In C++17

std::any In C++17

std::any In C++17

std::bind In C++11

std::bind In C++11

std::optional In C++17

std::optional In C++17

scoped lock in C++17

scoped lock in C++17

Object Pool In C++

Object Pool In C++

Mutex VS Semaphore In C++

Mutex VS Semaphore In C++

ReThrow Exception In C++

ReThrow Exception In C++

Пікірлер

  • @manu--gj9is
    @manu--gj9is9 сағат бұрын

    doing binary right shift till the first setbit is at 1st position then '|' with '1' will work ??? will it result in same time complexity or MORE ??

  • @memeswallah5253
    @memeswallah5253Күн бұрын

    amazing

  • @KrishnayanNivaas
    @KrishnayanNivaasКүн бұрын

    voice quality in this video is not as usual like other videos. I find it difficult to understand some words you spoke in the video

  • @CppNuts
    @CppNutsКүн бұрын

    That time I did not have good set up.

  • @muralikrishnanayyappan6513
    @muralikrishnanayyappan6513Күн бұрын

    thank u my friend ! helps with the tortuous interviews these days !

  • @ashutoshraja94
    @ashutoshraja942 күн бұрын

    One doubt here how come you are passing char in but still not showing error while compilation ,is it considering ASCII code for that or what's happening here ?

  • @umndrk600
    @umndrk6002 күн бұрын

    Thankyou so much for explain size_t.

  • @akshatchauhan0011
    @akshatchauhan00112 күн бұрын

    #python l=[1,2,3,4,4,5] for i in range(len(l),0,-1): print(i,end=' ')

  • @akshatchauhan0011
    @akshatchauhan00112 күн бұрын

    #python import array a=array.array('i',[1,2,3,4,5]) print(list(a[::-1]))

  • @drmostafamahammad
    @drmostafamahammad3 күн бұрын

    (^_^)

  • @drmostafamahammad
    @drmostafamahammad4 күн бұрын

    Thanks bro

  • @drmostafamahammad
    @drmostafamahammad4 күн бұрын

    good work bro.. only one packing issue at 11:30.. there is an empty packing byte after the char.

  • @arjunkg9944
    @arjunkg99445 күн бұрын

    hi can i get this code

  • @modalavalasavinaykumar4208
    @modalavalasavinaykumar42087 күн бұрын

    So we can have more efficient and easy way Sort the array using Array.sort(name of the array) Print( max = array(n-1) , min = array(0) Sort will be nlogn- no need to worry about.

  • @xardinlume7345
    @xardinlume73458 күн бұрын

    I like the idea behind this data type but I'm kind of scared of how it functions in the background, like does it allocate memory dynamically, stores the typename, and then goes through reinterpret casts or something? I need to check an implem

  • @veereshranjan3519
    @veereshranjan35198 күн бұрын

    Hi , I think this pointer will come in below syntax tothe class's member function implicitly: Banana const *this But you said it will come like Const banana* this

  • @romk224
    @romk2249 күн бұрын

    Why you did "typedef long int ull" ? In the code it looks like "unsigned long long"

  • @ayushgupta6847
    @ayushgupta68479 күн бұрын

    Amazing explanation ❤

  • @muhammadzakiahmad8069
    @muhammadzakiahmad806910 күн бұрын

    My python implementation: def is_Anagram(texta, textb): if len(texta) != len(textb): return False for char in texta: if texta.count(char) != textb.count(char): return False return True

  • @morty6456
    @morty645610 күн бұрын

    Sir please respond, which playlist should I follow your 27 videos which were posted 3 yrs back or this one?

  • @arsendavtyan6156
    @arsendavtyan615611 күн бұрын

    In case of using dynamic memory it will cause a problem even if it not,it's not a good thing to allocate memory and do not deleting it, you can delete it in the main or creating for it another function, but you should delete that memory, however the case of allocating and not deleting memory in the same function is not a good behavior. Whatever thank you for your lessons, now I am preparing for the interview and your lessons are helping me

  • @027KANDUKURIBALAVIKASH
    @027KANDUKURIBALAVIKASH12 күн бұрын

    In 1st algo the TC is O(n * mlog(m))

  • @krmeghana2102
    @krmeghana210212 күн бұрын

    can someone explain why variable 'y' is still 0

  • @_strangelet__
    @_strangelet__13 күн бұрын

    This is really the most exhaustive playlist on stl I was able to find on yt. Appreciate the effort man! Keep up the good work.

  • @sirsneakybeaky
    @sirsneakybeaky14 күн бұрын

    Vector.reserve is nice. I used it to set my object pool and function queue.

  • @pkpanda3047
    @pkpanda304715 күн бұрын

    Hi, I tried to run your code for add even/odd program using visual studio. But surprisingly using thread approach is taking more time than without thread approach. So, Can you share your comment on this? Regards, PK

  • @user-xw6ns6ih5f
    @user-xw6ns6ih5f15 күн бұрын

    walking up by alexa is cool

  • @satyamkumaarr
    @satyamkumaarr15 күн бұрын

    most under-rated one......!!

  • @Brusselsprouts2023
    @Brusselsprouts202315 күн бұрын

    best explanation for operator overloading.

  • @elitegamer8008
    @elitegamer800815 күн бұрын

    Nice these shorts really help a lot in revisions

  • @dakshverma5398
    @dakshverma539816 күн бұрын

    how can you use "was:" with Subject "You"??? YOU WERE IS correct

  • @omkarsarkar7916
    @omkarsarkar791616 күн бұрын

    When to use struct and when to use class in cpp ?

  • @niladripaul7032
    @niladripaul703216 күн бұрын

    So is it ok to say that extern C tells compiler to treat this part as a C program and compile it that way? If I do not add this header file and add the function under the extern C section?

  • @httle2012
    @httle201217 күн бұрын

    How to initialize 100 elements array?

  • @phantom7333
    @phantom733319 күн бұрын

    Your video was really good; I just have to say something. The 'sizeof' operator returns a type of 'size_t' rather a 'long unsigned'. That's why in the printf function we should use the '%zu' format specifier rather than the '%lu' format specifier.

  • @harshlimbachiya7510
    @harshlimbachiya751020 күн бұрын

    love u great explanation👌

  • @fndTenorio
    @fndTenorio20 күн бұрын

    You could have said all this in 3 minutes.

  • @prathameshdanej4928
    @prathameshdanej492821 күн бұрын

    Best of explanation with practical

  • @viralit8685
    @viralit868521 күн бұрын

    Didn't understood anything

  • @Byynx
    @Byynx22 күн бұрын

    Great job, thanks for your work.

  • @Ch_abdullah00
    @Ch_abdullah0023 күн бұрын

    Well explained ❤️

  • @alihanbozkir717
    @alihanbozkir71723 күн бұрын

    I made a shorter way thinking like this and wanted to share it. void print_chars() { cout << "ThreadId " << getCurrentThreadId(std::this_thread::get_id()) << " : "; int printcount = 0; // old version // for(int i=next_char; i < str.length() && printcount < char_count; i++){ // cout << str[i]; // printcount++; // } // if(printcount < char_count) { // for(int i=0; i<char_count - printcount; i++) { // cout << str[i]; // } // } // next_char = next_char + char_count; // shorter way for(int i=0;i<char_count;i++ ){ cout << str[next_char]; next_char++; if(next_char ==str.length())next_char=0; } cout << endl; } };

  • @a6xx824
    @a6xx82424 күн бұрын

    Sir this is simplist that anyone has explain all salo auro ko khud nhi pta ky bol rhe hai really thank you appreciate❤😊

  • @adamrushford
    @adamrushford24 күн бұрын

    thank you so much!

  • @solankikalpesh9764
    @solankikalpesh976424 күн бұрын

    is there any playlist of yours that contains step by step learning of CPP ?

  • @RAMANKUMAR-xl4pr
    @RAMANKUMAR-xl4pr25 күн бұрын

    Thanks for the nice content, where is the source code for the same video. Can you share it, what is the process to get the code for videos? Thanks

  • @tuti-fruti9983
    @tuti-fruti998326 күн бұрын

    Thank you

  • @tejasm5330
    @tejasm533027 күн бұрын

    Thank You So Much Sir.

  • @sayingsofislam1
    @sayingsofislam128 күн бұрын

    Very nice ❤

  • @davidmccormack99
    @davidmccormack9928 күн бұрын

    I did know that but I only found out 1-2 months ago…after 30 years writing C++!

  • @roshithkumar4433
    @roshithkumar443328 күн бұрын

    Simply, Superb Explanation!! 🤞