c++?

Hello,

To start, I know next to nothing about C/C++, but want to learn! In the
past I have written games in assembly language
and a ray caster in Pascal to learn the concepts. My question is can
you use SDL to develop games on Linux in C++? All the examples I saw
with the download were in C, unless I missed something?? If you can
write in C++ is there a tutorial somewhere? I apologize if this is the
wrong forum for this question!

Thanks, Cleatus (@Cleatus_Henderson)

Interesting question, I would think you would be able
too. Have you tried anything yet.

— Cleatus Henderson wrote:> Hello,

To start, I know next to nothing about C/C++, but
want to learn! In the
past I have written games in assembly language
and a ray caster in Pascal to learn the concepts.
My question is can
you use SDL to develop games on Linux in C++? All
the examples I saw
with the download were in C, unless I missed
something?? If you can
write in C++ is there a tutorial somewhere? I
apologize if this is the
wrong forum for this question!

Thanks, Cleatus (cleat at umich.edu)


Do You Yahoo!?
Bid and sell for free at http://auctions.yahoo.com

Hi,

I am sure you can use SDL in C++. SDL is a C library, but you can still
use C++ to write the underlying code. You just won’t get all the classes,
etc with the SDL part. So I guess it would be mix of C and C++.On Sun, 26 Sep 1999, Cleatus Henderson wrote:

Hello,

To start, I know next to nothing about C/C++, but want to learn! In the
past I have written games in assembly language
and a ray caster in Pascal to learn the concepts. My question is can
you use SDL to develop games on Linux in C++? All the examples I saw
with the download were in C, unless I missed something?? If you can
write in C++ is there a tutorial somewhere? I apologize if this is the
wrong forum for this question!

Thanks, Cleatus (cleat at umich.edu)

“Tony M.” wrote:

Interesting question, I would think you would be able
too. Have you tried anything yet.

I have, C++ works seamlessly with the C SDL libraries. I am able to use
classes and such on top of all the C code.–
-= aaron p. matthews
-= rival entertainment
-= http://www.Nayzak.com/~jerryma/rival

I’ve been looking for people interested in writing a
game in SDL. I need help learning SDL. I thought it
would be one more step towards opening the market up
for linux. Any one interested.

— rival games wrote:> “Tony M.” wrote:

Interesting question, I would think you would be
able
too. Have you tried anything yet.

I have, C++ works seamlessly with the C SDL
libraries. I am able to use
classes and such on top of all the C code.


-= aaron p. matthews
-= rival entertainment
-= http://www.Nayzak.com/~jerryma/rival


Do You Yahoo!?
Bid and sell for free at http://auctions.yahoo.com

Hello,

To start, I know next to nothing about C/C++, but want to learn! In the
past I have written games in assembly language
and a ray caster in Pascal to learn the concepts. My question is can
you use SDL to develop games on Linux in C++? All the examples I saw
with the download were in C, unless I missed something?? If you can
write in C++ is there a tutorial somewhere? I apologize if this is the
wrong forum for this question!

Frankly, I suggest that you learn C first. Number One Reason: the
standardization effort for C++ is not yet complete, unless there is a
piece of news I haven’t heard about (will someone enlighten me? I have
not been following developments from the X3J16 committee since late 1998).
Second, C is a much smaller language than C++, and it gives you a lot of
flexibility. Whether the standardization effort has been completed or
not, C++ is really going to wind up a bloated language. And lastly, 90%
of all the books you’ll find that teach C++ assume that you know C first.

But if my remonstrations do not have any effect and you’re still hell-bent
on trying to program SDL in C++, I don’t see any reason why that wouldn’t
work. No one has written class libraries to wrap around SDL yet, but that
doesn’t mean the library cannot be used for C++. The only problem is you
won’t be programming using the object-oriented paradigm that is supposed
to be the strength of C++; you’ll find yourself still doing procedural
programming C style. Which is another reason why you should learn C
first. Maybe someone is going to write object-oriented wrappers around
SDL, but let it be someone who believes C++ is a good language; I for one
do not. This is just my opinion and it is not my intention to goad any
C++ partisans out there into a flamewar!On Sun, 26 Sep 1999, Cleatus Henderson wrote:


| Rafael R. Sevilla @Rafael_R_Sevilla_94 |
| Instrumentation, Robotics, and Control Laboratory |

College of Engineering, University of the Philippines, Diliman

I’ve been looking for people interested in writing a
game in SDL. I need help learning SDL. I thought it
would be one more step towards opening the market up
for linux. Any one interested.

me. I need help too…
I have make some questions in this ML, but I have no1 reply. why it?
is this ML not for programmer?

both them (Windows and M. Lewinski) suck a lot and both them are
are giving Bill some trouble.On Sun, 26 Sep 1999, Tony M. wrote:

Michel Morelli michel at enter.it
http://ziobudda.enter.it
Italian Linux FAQ http://ziobudda.enter.it/FAQ/
Italian Linux Press http://ziobudda.enter.it/ILP/

me. I need help too…
I have make some questions in this ML, but I have no1 reply. why it?
is this ML not for programmer?

I can’t speak for everyone but it has been the weekend and fewer people
read/post over the weekend. Also keep in mind no one has any obligation to
reply to anything, this mailing list is a loose group of people who all
share an interest in SDL and possibly nothing more. There is no promise of
timely responses (or responses at all).

I personally am turned off by people saying stuff like “I’m new to games and
want to write a game. Please help!” There is no way to respond to that.
People aren’t going to hold your hand the whole way. One has to learn how
to program, and program games, using his own resources. This is just a
mailing list for a multiplatform game programming API. Anything beyond that
is just luck.

I don’t recall the questions you’re referring to. Most likely if the question
is related to SDL and either bugs or problems with the API, you will
eventually get a response. Be patient, and if it is a real problem, possibly
ask it again after waiting a while.

-Dave

me. I need help too…
I have make some questions in this ML, but I have no1 reply. why it?
is this ML not for programmer?

I can’t speak for everyone but it has been the weekend and fewer people
read/post over the weekend. Also keep in mind no one has any obligation to
reply to anything,

oh yes. yes. I’m the first person that say that no-one must to reply to my
qiestions…

want to write a game. Please help!" There is no way to respond to that.

I understand it

I don’t recall the questions you’re referring to. Most likely if the question
is related to SDL and either bugs or problems with the API, you will
eventually get a response. Be patient, and if it is a real problem, possibly
ask it again after waiting a while.

no problem…On Mon, 27 Sep 1999, Dave Ashley wrote:

Michel Morelli michel at enter.it
http://ziobudda.enter.it
Italian Linux FAQ http://ziobudda.enter.it/FAQ/
Italian Linux Press http://ziobudda.enter.it/ILP/

“Tony M.” wrote:

I’ve been looking for people interested in writing a
game in SDL. I need help learning SDL. I thought it
would be one more step towards opening the market up
for linux. Any one interested.

I?m already working on games using SDL (
http://members.linuxstart.com/~karlb/ ), but I?m still interested in new
projects.

Karl

“Rafael R. Sevilla 94-22131” wrote:

… can you use SDL to develop games on Linux in C++?

Frankly, I suggest that you learn C first. Number One Reason: the
standardization effort for C++ is not yet complete, unless there is a
piece of news I haven’t heard about…

Actually C++ has been standardised for quite some time.

SDL is very easy to use with C++. I have written a few classes that
wrap
SDL surfaces, the display and event loop and give them an OO interface
and I had no problem with it at all. The SDL libraries all have the
appropriate declarations to allow them to be linked with both C and C++
code.

I would also suggest not learning C before you learn C++. The way
you structure programs in the two languages is significantly different.
The only similarity in programming styles of C and C++ is at the very
lowest-level where you’re concerned with bit-twiddling and so on.
If you want to use C++ and SDL together, I’d suggest learning C++
straight away.

Cheers,
Nat.> On Sun, 26 Sep 1999, Cleatus Henderson wrote: