OOP using C. It is possible?
Objectno-orientorovannoje programmirovaniye na C.
Mozhno li sozdat na C programmu, s ispolzovaniyem paradigmi
OOP, naprimer, ispolzuya makrosi, sredstva typedef i drugiye sredstva
yazika. 34 1654
Timprog wrote: OOP using C. It is possible?
Yes.
Objectno-orientorovannoje programmirovaniye na C. Mozhno li sozdat na C programmu, s ispolzovaniyem paradigmi OOP, naprimer, ispolzuya makrosi, sredstva typedef i drugiye sredstva yazika.
Timprog wrote: OOP using C. It is possible?
Yes.
Objectno-orientorovannoje programmirovaniye na C. Mozhno li sozdat na C programmu, s ispolzovaniyem paradigmi OOP, naprimer, ispolzuya makrosi, sredstva typedef i drugiye sredstva yazika.
Timprog wrote: OOP using C. It is possible?
Yes, interestingly enough. You can do a google search for the name
Shape.h in this newsgroup for an explanation of how. Objectno-orientorovannoje programmirovaniye na C. Mozhno li sozdat na C programmu, s ispolzovaniyem paradigmi OOP, naprimer, ispolzuya makrosi, sredstva typedef i drugiye sredstva yazika.
This is an English-language group by default. Most people won't be able
to respond intelligently to foreign-language questions.
--
yvoregnevna gjragl-guerr gjb-gubhfnaq guerr ng lnubb qbg pbz
To email me, rot13 and convert spelled-out numbers to numeric form.
"Makes hackers smile" makes hackers smile.
Timprog wrote: OOP using C. It is possible?
Yes, interestingly enough. You can do a google search for the name
Shape.h in this newsgroup for an explanation of how. Objectno-orientorovannoje programmirovaniye na C. Mozhno li sozdat na C programmu, s ispolzovaniyem paradigmi OOP, naprimer, ispolzuya makrosi, sredstva typedef i drugiye sredstva yazika.
This is an English-language group by default. Most people won't be able
to respond intelligently to foreign-language questions.
--
yvoregnevna gjragl-guerr gjb-gubhfnaq guerr ng lnubb qbg pbz
To email me, rot13 and convert spelled-out numbers to numeric form.
"Makes hackers smile" makes hackers smile.
On Tue, 06 Apr 2004 21:59:41 -0600, August Derleth <se*@sig.now> wrote
in comp.lang.c: Timprog wrote: OOP using C. It is possible?
Yes, interestingly enough. You can do a google search for the name Shape.h in this newsgroup for an explanation of how.
Objectno-orientorovannoje programmirovaniye na C. Mozhno li sozdat na C programmu, s ispolzovaniyem paradigmi OOP, naprimer, ispolzuya makrosi, sredstva typedef i drugiye sredstva yazika.
This is an English-language group by default. Most people won't be able to respond intelligently to foreign-language questions.
....and there are those who can't do so to English-language questions,
but I'm not mentioning any names. ;)
--
Jack Klein
Home: http://JK-Technology.Com
FAQs for
comp.lang.c http://www.eskimo.com/~scs/C-faq/top.html
comp.lang.c++ http://www.parashift.com/c++-faq-lite/
alt.comp.lang.learn.c-c++ http://www.contrib.andrew.cmu.edu/~a...FAQ-acllc.html
On Tue, 06 Apr 2004 21:59:41 -0600, August Derleth <se*@sig.now> wrote
in comp.lang.c: Timprog wrote: OOP using C. It is possible?
Yes, interestingly enough. You can do a google search for the name Shape.h in this newsgroup for an explanation of how.
Objectno-orientorovannoje programmirovaniye na C. Mozhno li sozdat na C programmu, s ispolzovaniyem paradigmi OOP, naprimer, ispolzuya makrosi, sredstva typedef i drugiye sredstva yazika.
This is an English-language group by default. Most people won't be able to respond intelligently to foreign-language questions.
....and there are those who can't do so to English-language questions,
but I'm not mentioning any names. ;)
--
Jack Klein
Home: http://JK-Technology.Com
FAQs for
comp.lang.c http://www.eskimo.com/~scs/C-faq/top.html
comp.lang.c++ http://www.parashift.com/c++-faq-lite/
alt.comp.lang.learn.c-c++ http://www.contrib.andrew.cmu.edu/~a...FAQ-acllc.html
August Derleth wrote: Timprog wrote:
OOP using C. It is possible?
Yes, interestingly enough. You can do a google search for the name Shape.h in this newsgroup for an explanation of how.
Objectno-orientorovannoje programmirovaniye na C. Mozhno li sozdat na C programmu, s ispolzovaniyem paradigmi OOP, naprimer, ispolzuya makrosi, sredstva typedef i drugiye sredstva yazika.
This is an English-language group by default. Most people won't be able to respond intelligently to foreign-language questions.
Actually, the summation in the top line was pretty good
but not as specific as the stuff on the bottom.
As I interpret the Polish or Russian or Ukranian, it
reads:
"Object Oriented Programming in C.
Can it be created in a C program, using the paradigms
of OOP, for example, using macros, constructs/resources (like) typedef
and other constructs/resources of the language."
But you're right, August. Most of the English-only speakers
would be lost.
--
"It is impossible to make anything foolproof
because fools are so ingenious"
- A. Bloch
August Derleth wrote: Timprog wrote:
OOP using C. It is possible?
Yes, interestingly enough. You can do a google search for the name Shape.h in this newsgroup for an explanation of how.
Objectno-orientorovannoje programmirovaniye na C. Mozhno li sozdat na C programmu, s ispolzovaniyem paradigmi OOP, naprimer, ispolzuya makrosi, sredstva typedef i drugiye sredstva yazika.
This is an English-language group by default. Most people won't be able to respond intelligently to foreign-language questions.
Actually, the summation in the top line was pretty good
but not as specific as the stuff on the bottom.
As I interpret the Polish or Russian or Ukranian, it
reads:
"Object Oriented Programming in C.
Can it be created in a C program, using the paradigms
of OOP, for example, using macros, constructs/resources (like) typedef
and other constructs/resources of the language."
But you're right, August. Most of the English-only speakers
would be lost.
--
"It is impossible to make anything foolproof
because fools are so ingenious"
- A. Bloch
Nick Landsberg wrote: August Derleth wrote:
Timprog wrote:
OOP using C. It is possible? Yes, interestingly enough. You can do a google search for the name Shape.h in this newsgroup for an explanation of how.
Objectno-orientorovannoje programmirovaniye na C. Mozhno li sozdat na C programmu, s ispolzovaniyem paradigmi OOP, naprimer, ispolzuya makrosi, sredstva typedef i drugiye sredstva yazika.
This is an English-language group by default. Most people won't be able to respond intelligently to foreign-language questions. Actually, the summation in the top line was pretty good but not as specific as the stuff on the bottom.
As I interpret the Polish or Russian or Ukranian, it reads:
"Object Oriented Programming in C. Can it be created in a C program, using the paradigms of OOP, for example, using macros, constructs/resources (like) typedef and other constructs/resources of the language."
But you're right, August. Most of the English-only speakers would be lost.
It seems to me that it was russian. Your translation is pretty good. I'd
like to answer:
Yes is is possible, but I think it is very annoying to use macrosses to
implement OOP. The most comfortable and powerful is to use some run-time
library that would provide classes, inheritance and other stuff by means
of call to some functions. I've written some kind of this library with
the multiple inheritance and polymorphisms enabled.
vir
Nick Landsberg wrote: August Derleth wrote:
Timprog wrote:
OOP using C. It is possible? Yes, interestingly enough. You can do a google search for the name Shape.h in this newsgroup for an explanation of how.
Objectno-orientorovannoje programmirovaniye na C. Mozhno li sozdat na C programmu, s ispolzovaniyem paradigmi OOP, naprimer, ispolzuya makrosi, sredstva typedef i drugiye sredstva yazika.
This is an English-language group by default. Most people won't be able to respond intelligently to foreign-language questions. Actually, the summation in the top line was pretty good but not as specific as the stuff on the bottom.
As I interpret the Polish or Russian or Ukranian, it reads:
"Object Oriented Programming in C. Can it be created in a C program, using the paradigms of OOP, for example, using macros, constructs/resources (like) typedef and other constructs/resources of the language."
But you're right, August. Most of the English-only speakers would be lost.
It seems to me that it was russian. Your translation is pretty good. I'd
like to answer:
Yes is is possible, but I think it is very annoying to use macrosses to
implement OOP. The most comfortable and powerful is to use some run-time
library that would provide classes, inheritance and other stuff by means
of call to some functions. I've written some kind of this library with
the multiple inheritance and polymorphisms enabled.
vir
August Derleth wrote: Timprog wrote:
OOP using C. It is possible?
Yes, interestingly enough. You can do a google search for the name Shape.h in this newsgroup for an explanation of how.
Subject: Re: Having C code looking like C++ code
Date: 2003-10-13 17:57:49 PST Objectno-orientorovannoje programmirovaniye na C. Mozhno li sozdat na C programmu, s ispolzovaniyem paradigmi OOP, naprimer, ispolzuya makrosi, sredstva typedef i drugiye sredstva yazika.
This is an English-language group by default. Most people won't be able to respond intelligently to foreign-language questions.
I tried Babel Fish Translation: http://world.altavista.com/
but it's evidently *not* Russian.
August Derleth wrote: Timprog wrote:
OOP using C. It is possible?
Yes, interestingly enough. You can do a google search for the name Shape.h in this newsgroup for an explanation of how.
Subject: Re: Having C code looking like C++ code
Date: 2003-10-13 17:57:49 PST Objectno-orientorovannoje programmirovaniye na C. Mozhno li sozdat na C programmu, s ispolzovaniyem paradigmi OOP, naprimer, ispolzuya makrosi, sredstva typedef i drugiye sredstva yazika.
This is an English-language group by default. Most people won't be able to respond intelligently to foreign-language questions.
I tried Babel Fish Translation: http://world.altavista.com/
but it's evidently *not* Russian.
E. Robert Tisdale wrote: August Derleth wrote:
Timprog wrote:
OOP using C. It is possible?
Yes, interestingly enough. You can do a google search for the name Shape.h in this newsgroup for an explanation of how.
Subject: Re: Having C code looking like C++ code Date: 2003-10-13 17:57:49 PST
Objectno-orientorovannoje programmirovaniye na C. Mozhno li sozdat na C programmu, s ispolzovaniyem paradigmi OOP, naprimer, ispolzuya makrosi, sredstva typedef i drugiye sredstva yazika.
This is an English-language group by default. Most people won't be able to respond intelligently to foreign-language questions.
I tried Babel Fish Translation:
http://world.altavista.com/
but it's evidently *not* Russian.
In fact, it *is* russian.
E. Robert Tisdale wrote: August Derleth wrote:
Timprog wrote:
OOP using C. It is possible?
Yes, interestingly enough. You can do a google search for the name Shape.h in this newsgroup for an explanation of how.
Subject: Re: Having C code looking like C++ code Date: 2003-10-13 17:57:49 PST
Objectno-orientorovannoje programmirovaniye na C. Mozhno li sozdat na C programmu, s ispolzovaniyem paradigmi OOP, naprimer, ispolzuya makrosi, sredstva typedef i drugiye sredstva yazika.
This is an English-language group by default. Most people won't be able to respond intelligently to foreign-language questions.
I tried Babel Fish Translation:
http://world.altavista.com/
but it's evidently *not* Russian.
In fact, it *is* russian.
"Timprog" <ch*****@ngs.ru> wrote in message
news:34**************************@posting.google.c om... OOP using C. It is possible?
Objectno-orientorovannoje programmirovaniye na C. Mozhno li sozdat na C programmu, s ispolzovaniyem paradigmi OOP, naprimer, ispolzuya makrosi, sredstva typedef i drugiye sredstva yazika. http://groups.google.com/groups?selm...tbi_s02&rnum=3
This implementation is fairly clean.
"Timprog" <ch*****@ngs.ru> wrote in message
news:34**************************@posting.google.c om... OOP using C. It is possible?
Objectno-orientorovannoje programmirovaniye na C. Mozhno li sozdat na C programmu, s ispolzovaniyem paradigmi OOP, naprimer, ispolzuya makrosi, sredstva typedef i drugiye sredstva yazika. http://groups.google.com/groups?selm...tbi_s02&rnum=3
This implementation is fairly clean.
Nick Landsberg wrote: "Object Oriented Programming in C. Can it be created in a C program, using the paradigms of OOP, for example, using macros, constructs/resources (like) typedef and other constructs/resources of the language."
But you're right, August. Most of the English-only speakers would be lost.
People like me who speak two and a half languages was lost also ;)
(The half means I am sort able to decipher french if pressed)
--
Thomas.
Nick Landsberg wrote: "Object Oriented Programming in C. Can it be created in a C program, using the paradigms of OOP, for example, using macros, constructs/resources (like) typedef and other constructs/resources of the language."
But you're right, August. Most of the English-only speakers would be lost.
People like me who speak two and a half languages was lost also ;)
(The half means I am sort able to decipher french if pressed)
--
Thomas.
On Tue, 06 Apr 2004 20:42:45 -0700, Timprog wrote: OOP using C. It is possible?
Use GObject: http://developer.gnome.org/doc/API/2.0/gobject/
--
"I had a letter in the post today. It said 'Gas Bill'.
It sounds a tempting offer."
-- Alan Cox
On Tue, 06 Apr 2004 20:42:45 -0700, Timprog wrote: OOP using C. It is possible?
Use GObject: http://developer.gnome.org/doc/API/2.0/gobject/
--
"I had a letter in the post today. It said 'Gas Bill'.
It sounds a tempting offer."
-- Alan Cox
In <34**************************@posting.google.com > ch*****@ngs.ru (Timprog) writes: OOP using C. It is possible?
The first C++ translator generated C code, so it *must* be possible.
A better question is whether it's worth doing it...
Dan
--
Dan Pop
DESY Zeuthen, RZ group
Email: Da*****@ifh.de
In <34**************************@posting.google.com > ch*****@ngs.ru (Timprog) writes: OOP using C. It is possible?
The first C++ translator generated C code, so it *must* be possible.
A better question is whether it's worth doing it...
Dan
--
Dan Pop
DESY Zeuthen, RZ group
Email: Da*****@ifh.de
In <40**************@jpl.nasa.gov> "E. Robert Tisdale" <E.**************@jpl.nasa.gov> writes: Timprog wrote:
Objectno-orientorovannoje programmirovaniye na C. Mozhno li sozdat na C programmu, s ispolzovaniyem paradigmi OOP, naprimer, ispolzuya makrosi, sredstva typedef i drugiye sredstva yazika.
This is an English-language group by default. Most people won't be able to respond intelligently to foreign-language questions.
I tried Babel Fish Translation:
http://world.altavista.com/
but it's evidently *not* Russian.
It's (quite obviously) Russian transliterated to 7-bit ASCII, the
character set of the Usenet.
The other way of posting Russian text is by generating a JPEG image
of the Cyrillic text and uuencoding it, but this is neither practical
nor bandwidth-friendly.
Dan
--
Dan Pop
DESY Zeuthen, RZ group
Email: Da*****@ifh.de
In <40**************@jpl.nasa.gov> "E. Robert Tisdale" <E.**************@jpl.nasa.gov> writes: Timprog wrote:
Objectno-orientorovannoje programmirovaniye na C. Mozhno li sozdat na C programmu, s ispolzovaniyem paradigmi OOP, naprimer, ispolzuya makrosi, sredstva typedef i drugiye sredstva yazika.
This is an English-language group by default. Most people won't be able to respond intelligently to foreign-language questions.
I tried Babel Fish Translation:
http://world.altavista.com/
but it's evidently *not* Russian.
It's (quite obviously) Russian transliterated to 7-bit ASCII, the
character set of the Usenet.
The other way of posting Russian text is by generating a JPEG image
of the Cyrillic text and uuencoding it, but this is neither practical
nor bandwidth-friendly.
Dan
--
Dan Pop
DESY Zeuthen, RZ group
Email: Da*****@ifh.de
"Dan Pop" <Da*****@cern.ch> wrote in message
news:c5***********@sunnews.cern.ch... It's (quite obviously) Russian transliterated to 7-bit ASCII, the character set of the Usenet.
The other way of posting Russian text is by generating a JPEG image of the Cyrillic text and uuencoding it, but this is neither practical nor bandwidth-friendly.
The "correct" way would be to use a modern editor/newsreader that can send a
Unicode message in UTF-7. I do this with Chinese (even on a US/English
system), so Russian should be just as easy.
S
--
Stephen Sprunk "Stupid people surround themselves with smart
CCIE #3723 people. Smart people surround themselves with
K5SSS smart people who disagree with them." --Aaron Sorkin
"Dan Pop" <Da*****@cern.ch> wrote in message
news:c5***********@sunnews.cern.ch... It's (quite obviously) Russian transliterated to 7-bit ASCII, the character set of the Usenet.
The other way of posting Russian text is by generating a JPEG image of the Cyrillic text and uuencoding it, but this is neither practical nor bandwidth-friendly.
The "correct" way would be to use a modern editor/newsreader that can send a
Unicode message in UTF-7. I do this with Chinese (even on a US/English
system), so Russian should be just as easy.
S
--
Stephen Sprunk "Stupid people surround themselves with smart
CCIE #3723 people. Smart people surround themselves with
K5SSS smart people who disagree with them." --Aaron Sorkin
Stephen Sprunk wrote:
.... snip ... -- Stephen Sprunk "Stupid people surround themselves with smart CCIE #3723 people. Smart people surround themselves with K5SSS smart people who disagree with them." --Aaron Sorkin
If we examine the geometry of the situation, it would appear that
most people are disagreeable and smart, and only the very few in
the center are stupid. This disagrees with both observation and
common sense.
--
Some useful references:
<http://www.ungerhu.com/jxh/clc.welcome.txt>
<http://www.eskimo.com/~scs/C-faq/top.html>
<http://benpfaff.org/writings/clc/off-topic.html>
"CBFalconer" <cb********@yahoo.com> wrote in message
news:40***************@yahoo.com... Stephen Sprunk wrote: -- Stephen Sprunk "Stupid people surround themselves with smart CCIE #3723 people. Smart people surround themselves with K5SSS smart people who disagree with them." --Aaron Sorkin
If we examine the geometry of the situation, it would appear that most people are disagreeable and smart, and only the very few in the center are stupid. This disagrees with both observation and common sense.
One resolution is to presume a third group, very stupid people, who surround
themselves mostly with each other and a few "only" stupid people. I'll
reserve comment on whether this agrees with observation :)
I've seen an alternate quoting where "surround" is "should surround" in both
cases. I've been unable to determine which version is correct, if not both
of them, and unfortunately the alternate didn't fit well in my signature,
not to mention sounding more insulting.
S
--
Stephen Sprunk "Stupid people surround themselves with smart
CCIE #3723 people. Smart people surround themselves with
K5SSS smart people who disagree with them." --Aaron Sorkin
In <a4******************************@news.teranews.co m> "Stephen Sprunk" <st*****@sprunk.org> writes: "Dan Pop" <Da*****@cern.ch> wrote in message news:c5***********@sunnews.cern.ch... It's (quite obviously) Russian transliterated to 7-bit ASCII, the character set of the Usenet.
The other way of posting Russian text is by generating a JPEG image of the Cyrillic text and uuencoding it, but this is neither practical nor bandwidth-friendly.
The "correct" way would be to use a modern editor/newsreader that can send a Unicode message in UTF-7. I do this with Chinese (even on a US/English system), so Russian should be just as easy.
The Usenet character set is still ASCII and not Unicode, even if encoded
with UTF-7. In other words, you can't expect each and every newsreader to
support more than ASCII.
Dan
--
Dan Pop
DESY Zeuthen, RZ group
Email: Da*****@ifh.de This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Enos Meroka |
last post by:
Hallo,
I am a student doing my project in the university.. I have been trying
to compile the program using HP -UX aCC compiler, however I keep on
getting the following errors.
...
|
by: Mike L |
last post by:
Should the command call "using" be before or after my namespace?
**AFTER**
namespace DataGridBrowser
{
using System;
using System.Drawing;
using System.Drawing.Drawing2D;
using...
|
by: xzzy |
last post by:
I was wondering why we have to have
using System.Data
using System.Configuration
using etc....
why are they not all lumped into one 'using'?
In other words, is there a best way to use...
|
by: pmud |
last post by:
Hi,
I need to use an Excel Sheet in ASP.NET application so that the users can
enter (copy, paste ) large number of rows in this Excel Sheet. Also, Whatever
the USER ENETRS needs to go to the...
|
by: JDeats |
last post by:
I have some .NET 1.1 code that utilizes this technique for encrypting
and decrypting a file.
http://support.microsoft.com/kb/307010
In .NET 2.0 this approach is not fully supported (a .NET 2.0...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
| |