Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Learning C

1 view
Skip to first unread message

Jeffrey W. Shrode

unread,
Jan 29, 1994, 12:23:50 PM1/29/94
to
I want to learn to program in C. I really like OS/2, but I was not sure if
Borland C for OS/2 was any good. I believe that I read that there are several
bugs in C for OS/2. Also, if I get C for OS/2 would any of the programs I
write work in DOS. I don't like DOS very much, but several friends use it.
Any comments and suggestions are welcome.

Thanks,
Jeff Shrode
jwsh...@starbase.spd.louisville.edu

Bill Allen

unread,
Jan 30, 1994, 12:13:02 PM1/30/94
to
>Jeffrey W. Shrode writes:
>
>Msg-ID: <jwshro01....@starbase.spd.louisville.edu>
>Posted: 29 Jan 94 17:23:50 GMT
>
>Org. : University of Louisville, Louisville KY USA

Jeff: I think you will find that IBM C Set ++ for OS/2 ver 2.1 is the way to
go if you want to write os/2 programs. And yes, the code would be compatible,
just leave off the os/2 specific stuff. After all, C++ is supposed to be C++.

--
Later . . .
. . . Bill
bill_...@mindlink.bc.ca
all...@mala.bc.ca

Will Rose

unread,
Jan 30, 1994, 4:06:26 PM1/30/94
to
Jeffrey W. Shrode (jwsh...@starbase.spd.louisville.edu) wrote:
: I want to learn to program in C. I really like OS/2, but I was not sure if

: Borland C for OS/2 was any good. I believe that I read that there are several
: bugs in C for OS/2. Also, if I get C for OS/2 would any of the programs I
: write work in DOS. I don't like DOS very much, but several friends use it.
: Any comments and suggestions are welcome.

I'm not sure if the introductory CSet has the debugger, which would
make your life a lot easier. But IBM C is ANSI compatible, and the
OS/2 file system is pretty much that used by MSDOS, so you should
be able to port non-windowed programs with no difficulty. You'll
need a DOS compiler, though. OS/2 compilers produce OS/2 binaries.

Will
c...@crash.cts.com

Matthias Heidbrink

unread,
Jan 31, 1994, 7:32:00 AM1/31/94
to
Hi Jeffrey W.!

JWS>Von : jwsh...@starbase.spd.louisville.edu (Sa, 29.01.94 17:23)
JWS>Name: Jeffrey W. Shrode
JWS>MId : jwshro01....@starbase.spd.louisville.edu
JWS>
JWS>I want to learn to program in C. I really like OS/2, but I was not
JWS>sure if Borland C for OS/2 was any good. I believe that I read that
JWS>there are several bugs in C for OS/2. Also, if I get C for OS/2 would
JWS>any of the programs I write work in DOS. I don't like DOS very much,
JWS>but several friends use it. Any comments and suggestions are welcome.

I think that Eberhard Mattes' Port of the GNU C compiler is what you need. The
up-to-date version is EMX-GCC 0.8h, I think. It's free and it's also possible
to produce DOS programs with it. You can find it on Hobbes.

Ciao, Matthias

Jon Martin Solaas

unread,
Jan 31, 1994, 5:28:06 AM1/31/94
to

>Jeff: I think you will find that IBM C Set ++ for OS/2 ver 2.1 is the way to


>go if you want to write os/2 programs. And yes, the code would be compatible,
>just leave off the os/2 specific stuff. After all, C++ is supposed to be C++.
>--
>Later . . .
> . . . Bill
>bill_...@mindlink.bc.ca
>all...@mala.bc.ca

Some OS/2 compilers produce code for DOS as well. Both Watcom and
gcc/EMX have 32bit DOS extenders included. It's much easier to port
from OS/2 to 32bit DOS than to 16bit DOS, after programming in OS/2
one really learns to hate the segmented DOS stuff. And you won't have
to buy a separate DOS compiler to have your DOS-friends use your
programs. (gcc/EMX is actually free, so you won't have to buy anything
at all :-)

Jon Martin Solaas
(jo...@ifi.uio.no)

Xavier Caballe

unread,
Feb 3, 1994, 8:08:00 PM2/3/94
to
JW>łI want to learn to program in C. I really like OS/2, but I was not sure i
łBorland C for OS/2 was any good. I believe that I read that there are seve

I really can't recommend you the Borland C++ for OS/2... but,
on the contray, I recommend you the IBM C Set++ FirstStep.
It's a rock-solid C/C++ compiler and it's very cheap!

---
Xavier Caballe - Terrassa (Barcelona, Catalonia, Europe) [* Team OS/2 *]
FidoNet: 2:343/106.12 RIME: ->ABAFORUM Internet: xavier....@abaforum.es

* DeLuxe2 1.25 #11608 * OS/2: No more segments... Flat programming!

----
!--------------------------------------------------------------------!
! * This message was sent from ABAFORUM, Barcelona, SPAIN (Europe) * !
! Fax (34-3) 589.4483 * Host (34-3) 589.3888 * X25 (02145) 233082320 !
!--------------------------------------------------------------------!

Bill Allen

unread,
Feb 3, 1994, 11:40:35 PM2/3/94
to
>c...@crash.cts.com writes

>I'm not sure if the introductory CSet has the debugger, which would
>make your life a lot easier. But IBM C is ANSI compatible, and the
>OS/2 file system is pretty much that used by MSDOS, so you should
>be able to port non-windowed programs with no difficulty. You'll
>need a DOS compiler, though. OS/2 compilers produce OS/2 binaries.

>Will
>c...@crash.cts.com


I reply:

Yes, C Set ++ /ver 2.1 has the debugger in it. And yes non-windowed programs
port easily, I've tried it with a few stupid examples and they work fine.

0 new messages