473,320 Members | 1,861 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.

Can C be used to do OOP?

Just native C.

Dec 7 '06 #1
4 1223
dr*******@gmail.com wrote:
Just native C.
Yes.

You can take a look to:
http://cern.ch/laurent.deniau/html/oopc.html

a+, ld.
Dec 7 '06 #2
dr*******@gmail.com wrote:
Just native C.
Yes, it can.
This is an old, tired topic. If you check the archives at Google
groups, you will find many posts telling how to do it. Further, if you
use the Google search engine, you will find several websites about how
to do it. Come to think of it, any self-respecting civilized person
would have done that *before* posting a question like yours. Why didn't
you?
Dec 7 '06 #3
On 7 Dec 2006 00:44:05 -0800, dr*******@gmail.com wrote:
>Just native C.
Of course it can.

#include <stdio.h>

static void C_doing_OOP(void);
int main(void)
{
C_doing_OOP();
return 0;
}

static void C_doing_OOP(void)
{
printf("This is native C_doing_OOP\n");
}

Dec 7 '06 #4
jaysome wrote:
On 7 Dec 2006 00:44:05 -0800, dr*******@gmail.com wrote:
>Just native C.

Of course it can.

#include <stdio.h>

static void C_doing_OOP(void);
int main(void)
{
C_doing_OOP();
return 0;
}

static void C_doing_OOP(void)
{
printf("This is native C_doing_OOP\n");
}
The natives are restless :-)

--
Chuck F (cbfalconer at maineline dot net)
Available for consulting/temporary embedded and systems.
<http://cbfalconer.home.att.net>
Dec 7 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: J. Campbell | last post by:
From reading this forum, it is my understanding that C++ doesn't require the compiler to keep code that does not manifest itself in any way to the user. For example, in the following: { for(int...
3
by: fabio de francesco | last post by:
Hello, I have a couple of years of experience with C++. I started studying C++ syntax, then I read the B.Stroustrup's book, and eventually I went through the N.Josuttis' book on how to program...
3
by: NickName | last post by:
Here's the situation, developers inherit a web app from someone, backend SQL db has about 120 user tables and the db is also being used by other apps. Developers don't have a list of user tables...
2
by: TadPole | last post by:
Hi all, My main problems are::::::::: 1. Set a value within a block container that can be used and changed by subsequent templates/block-containers/tables etc.. 2. get/determine/find the...
23
by: rohit | last post by:
Hi, In my couple of years of experience, I have never found a single instance where I needed to use unions and bitfields(though I have used structures).I was just imagining where would these find...
10
by: Not Available | last post by:
On the host server: namespace JCart.Common public class JCartConfiguration : IConfigurationSectionHandler private static String dbConnectionString; public static String ConnectionString { get...
1
by: steph | last post by:
Hi, I have a VC++ 6 project I migrated to vc 7++ DOTNET. * in a first step , I don't use Managed extension -> memory used is 16 Mo. * then I check "use managed extensions" in project properties...
0
by: **Developer** | last post by:
I know this is not the correct NG but I've been trying to get this answered for a while and can't find someone really knowledgeable about printers. (Actually it does relate to something I'm...
4
by: topdawg147 | last post by:
This question might be for another group, but since I use vb.net, I thought I'd ask here.... I'm looking to clean up some code. Is there a development tool to tell me which functions are not...
11
by: Greg | last post by:
How can C# be used for a website ? Would the person viewing a site need to have the .NET framework installed ? What other technologies would need to be used ? Would a database server be needed...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll 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...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
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...

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.