CPP Program to delete a record from a file

Поделиться
HTML-код
  • Опубликовано: 4 ноя 2024

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

  • @be_like__prateek
    @be_like__prateek 5 лет назад +1

    sir apki taarif k liye words nhi mil rhe ....😍
    Thanks and God bless yuh 😇

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

      dhundho yaar milenge dhundhne se to bhagwan bhi mil jaate hain aisa kuchh log bolte hain

  • @deepakborah8335
    @deepakborah8335 7 лет назад

    Excellent video.Every operations on file like to write, read,search, edit, delete etc are well explained with the help of function .Now the concept of file handling becomes easier for me. Thanks.

  • @prateekagarwal4991
    @prateekagarwal4991 6 лет назад

    Thanks for making a same program for every topic either its reading a file or deleting.....thnku😊

  • @jayramkumar2284
    @jayramkumar2284 5 лет назад

    Thanks sir g you are very well teaching

  • @imvickykumar999
    @imvickykumar999 5 лет назад +1

    THANKS sir to you have in improved m my concept...! 😊

  • @Abhishek_Chauhan756
    @Abhishek_Chauhan756 5 лет назад

    Bhut bdiya sir

  • @ramsharma8958
    @ramsharma8958 4 года назад +1

    all other operations like searching,updating,displaying has stopped working after performing deleteing operation, can you explain why that happened???

  • @anishkumarpandit667
    @anishkumarpandit667 5 лет назад +1

    Thank You sir for this c++ topic...it's very help to understand the concepts.
    Am written same as you but in my program delete and rename function are working properly but after delete and rename of file(file1.dat) .. some garbage value is coming in renamed file (file1.dat)...
    Kindly guide me sir...
    :-)

    • @HassanKhan-gi1dt
      @HassanKhan-gi1dt 5 лет назад

      with me everything is working properly but after using the deletebook function when I again call view_all_data function, it shows all data without deleting any record . why is it so.?? can you help plz. Here is the code.
      void plane::deleteinfo(char *t){
      ofstream oobj;
      ifstream iobj;

      iobj.open("aeroplane.dat",ios::binary);
      if(iobj.fail()){
      cout

    • @rajrudrachatterjee5955
      @rajrudrachatterjee5955 5 лет назад

      @@HassanKhan-gi1dt it will be strcmp instead of strcpy

    • @prashantpoudel5332
      @prashantpoudel5332 2 месяца назад

      hello brother, i am facing same problem of garbage value using binary files.could you please help me by remembering how you solved this issue. it will be very helpful for me

  • @rishb.0
    @rishb.0 Год назад

    15:00 SIR IF the strcmp(title,t) will return -1 when title has small ascii difference then t, then this also become false . and code will copy that file also , this is a BUG

  • @pulkitchangoiwala9975
    @pulkitchangoiwala9975 7 лет назад

    sir , please make a video for program of inserting more data in sorted data file(eg data file of student record then sorted means all records are im sequential order)

  • @MuhammadNasir-ic6xn
    @MuhammadNasir-ic6xn 5 лет назад +1

    Sir i want to make a project of academic search engine using c++ in which i want to store records of different students and then i want to search a specific student record by typing its name or roll no please help me sir i will be very thankful to you for this kindness

  • @Ritikjain9211
    @Ritikjain9211 8 лет назад +1

    Thank you sir.

  • @aliraza-kj2fj
    @aliraza-kj2fj 6 лет назад +3

    Yr level tera 😂👌🏻😂

  • @nareshgoyal1994
    @nareshgoyal1994 4 года назад

    Sir please give me links of other vide which u mentioned in this video that is updating and viewing record.... Please sir i need them 😫🙏🙏💓🙏🙏

  • @programmingworld8946
    @programmingworld8946 4 года назад

    Sir i am passing class object as a parameter and using it instead of this pointer why it gives an error

    • @rishikeshsanjekar1349
      @rishikeshsanjekar1349 3 года назад

      Is u r passing object u have to use
      Fin.read( ( char* )&object_name, sizeof
      ( class_name ) ); same for write ( ) also
      instead of syntax used above

  • @ishitamittal1546
    @ishitamittal1546 4 года назад

    sir why are we opening file in binary mode

  • @infantepisis
    @infantepisis 5 лет назад

    but not really update the file, create a temp file is a trick , update one file is only modify a fragment of file without use a temp file

  • @samjones50
    @samjones50 6 лет назад

    sir when i use delete function then it delete all the data form the file and display nothing. kindly reply me

    • @ramsharma8958
      @ramsharma8958 4 года назад

      yeah same thing happened with my program!!
      did you get any solution to that??
      kindly reply me

  • @divanayan6391
    @divanayan6391 6 лет назад

    its only working from main function

  • @sushantchoudhary3046
    @sushantchoudhary3046 7 лет назад

    sir my delete function is not working

  • @divanayan6391
    @divanayan6391 6 лет назад

    remove and rename not working

  • @battlegroundsmobileindia1032
    @battlegroundsmobileindia1032 4 года назад

    Chillu bhar pani me doob maro jisne bhi dislike ki hai.