473,320 Members | 1,794 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

OOP concepts in C

2
Hi,

Can we implement OOP concepts, like inheritance in C?
Can virtual function be also implemented in C?
Jul 16 '07 #1
3 1689
svlsr2000
181 Expert 100+
Hi,

Can we implement OOP concepts, like inheritance in C?
Can virtual function be also implemented in C?
Oops concept can be implemented in C. recently i had come across a book called object oriented programming using ansi c.
Jul 16 '07 #2
JosAH
11,448 Expert 8TB
Hi,

Can we implement OOP concepts, like inheritance in C?
Can virtual function be also implemented in C?
By definition it can be done: the first C++ compilers emitted C code as their
output.

kind regards,

Jos
Jul 16 '07 #3
kky2k
34
Hi,

Can we implement OOP concepts, like inheritance in C?
Can virtual function be also implemented in C?

Using callback function,function overloading is possible..
Jul 16 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: RK | last post by:
I was reading the Concepts manual and was puzzled by this sentence. Can anyone elaborate on this: <snip> Tables are the basic unit of data storage in an Oracle database. Database tables hold all...
1
by: ravinder | last post by:
I wanted to develop a multithreaded program using OO concepts on windows platform. Problem: I have to simulate two layers(similar to TCP/IP stack layers), and the layer functionality is of finite...
6
by: enki | last post by:
I had read that you should use classes to represent concepts. How does this work and what kind of concepts should be reresented as classes.
3
by: Kappa | last post by:
Hello, Can anyone suggest me a good intermediate level C# book that teaches OOP concepts too. I saw Beginning C# Objects: From Concepts to Code by Jacquie Barker, it seems good but I want a...
3
by: Robert | last post by:
I've been working with ASP.NET for about a year and I think I'm on the verge of "getting it." I suspect that if I came to understand a few key concepts it would all come together. One of those "key...
3
by: User1013 | last post by:
I have the Javascript definitive guide book but I'm hoping someone can tell me what "language concepts" are being employed by the following code, so that I can look up the right parts in the book:...
20
by: W Karas | last post by:
Would the fear factor for concepts be slightly reduced if, instead of: concept C<typename T> { typename T::S; int T::mem(); int nonmem(); };
30
by: Xah Lee | last post by:
The Concepts and Confusions of Prefix, Infix, Postfix and Fully Functional Notations Xah Lee, 2006-03-15 In LISP languages, they use a notation like “(+ 1 2)” to mean “1+2”....
1
by: aswinikg | last post by:
HI I am a newbie to 'C' and embedded application . I have a code in which the input parameter is being assigned in two ways (i) Runtime through user (ii)...
1
by: Swathika | last post by:
Hi, Sometimes, you never get chance to learn 'Advanced Design Concepts and Real-time Scenarios' from institutes or through book-learning. But, in my blog, I have gathered some of the amazing...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, youll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: Shllpp 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.