c++ - How can i create a class that inherits the methods from FILE -


How do I increase the FILE class to use my methods? In other words, how can I use all the tasks that are provided with the default FILE object and still have the same functionality that imitates the actual functions?

  class myFile {file * _f; Public: Open MyFile (File * F) {/ * file here, then _f = f; * /}; Virtual ~ myFile () {/ * Close the file here}; // and add more methods here}    

Comments

Popular posts from this blog

Verilog Error: output or inout port "Q" must be connected to a structural net expression -

jasper reports - How to center align barcode using jasperreports and barcode4j -

c# - ASP.NET MVC - Attaching an entity of type 'MODELNAME' failed because another entity of the same type already has the same primary key value -