Exforsys
+ Reply to Thread
Results 1 to 7 of 7

object based programming and object oriented programming

This is a discussion on object based programming and object oriented programming within the C and C++ forums, part of the Programming Talk category; What is the difference between object based programming and object oriented programming??...

  1. #1
    naveenkumar is offline Junior Member Array
    Join Date
    Feb 2011
    Answers
    2

    object based programming and object oriented programming

    What is the difference between object based programming and object oriented programming??

    Last edited by admin; 03-28-2011 at 07:12 AM.

  2. #2
    swapwarick's Avatar
    swapwarick is offline Member Array
    Join Date
    Mar 2011
    Location
    Pune,India
    Answers
    37
    Object based programming does not have inheritance approach where as OOP has inheritance paradigms.
    In Object based programming u can create classes but u cant access the data from base class. In OOP
    it is possible. Object based programming also dont supports polymorphism which is key concept in OOP.


  3. #3
    naveenkumar is offline Junior Member Array
    Join Date
    Feb 2011
    Answers
    2

    Enquiry about books

    Is there any C++ books written by Indian authors other than E.BALAGURUSAMY which contains more solved programs and explaining the concepts in a very simple manner.. If so, please reply me..


  4. #4
    swapwarick's Avatar
    swapwarick is offline Member Array
    Join Date
    Mar 2011
    Location
    Pune,India
    Answers
    37

    Post C++ indian author

    Quote Originally Posted by naveenkumar View Post
    Is there any C++ books written by Indian authors other than E.BALAGURUSAMY which contains more solved programs and explaining the concepts in a very simple manner.. If so, please reply me..
    >Visual C+ + Projects
    By Yashavant Kanetkar. Is good book to read and learn!!

    >c++ language by Sunita rattan is a good book for starters.

    >Let us C++ by same is also good read coz its indian version of Robert Lafore!!

    >Best concept can be gain by Thinking in C++ by Bruce Eckel
    if u want a pdf version of this book then mail me at swap.ricky@gmail.com!!
    forum is not allowing me to send url in this post..


  5. #5
    karandahda is offline Junior Member Array
    Join Date
    Mar 2011
    Answers
    1
    hi,
    this is regarding file i/o operations in c and load runner.
    in c, FILE datatype is used to declare file pointer, but loadrunner uses long datatype.
    code:

    Code:
    char * filename = "c:\\logfile.txt"; 
           long file; //loadrunner code   
    //    FILE * file; //c code  file = fopen(filename, "w+")
           // Write to the log file 
         fprintf(file, "log file !!!!!!\n"); 
           fclose(file);
    ......
    my doubt is why (long file style of declaration is not possible in c... as with this syntax loadrunner code works fine..

    Last edited by admin; 03-28-2011 at 07:12 AM.

  6. #6
    swapwarick's Avatar
    swapwarick is offline Member Array
    Join Date
    Mar 2011
    Location
    Pune,India
    Answers
    37

    Cool Lfn

    Quote Originally Posted by karandahda View Post
    hi,
    this is regarding file i/o operations in c and load runner.
    in c, FILE datatype is used to declare file pointer, but loadrunner uses long datatype.
    code:

    Code:
    char * filename = "c:\\logfile.txt"; 
           long file; //loadrunner code   
    //    FILE * file; //c code  file = fopen(filename, "w+")
           // Write to the log file 
         fprintf(file, "log file !!!!!!\n"); 
           fclose(file);
    ......
    my doubt is why (long file style of declaration is not possible in c... as with this syntax loadrunner code works fine..


    If you use a DOS C-compiler you will have to provide and use file names of the conventional DOS style 8+.+3 charcters.
    And if u use win32 compilers it will work! C supports Long File Name(LFN) unless your compiler supports LFN! Load Runner is performance scripts. they support it.


  7. #7
    Nikita Pinjani is offline Junior Member Array
    Join Date
    Jul 2011
    Answers
    1
    i have to write a program of class name vehicle with its data members vehicle name, company model, and price of vehicle for 5 objects and display the vehicle name having lowest price


    •    Sponsored Ads



Latest Article

Network Security Risk Assessment and Measurement

Read More...