iPhone gaming is officially AWESOME.

Miscellaneous Forums/General Discussion/iPhone gaming is officially AWESOME.

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Is it plain old C, or some variant of C++?

I don't like C because I haven't coded in it in years, and when I did code in it I didn't have a manual so I had to learn from other people's code, and everything about pointers and structs was confusing to me at the time.

Then when I finally did gain an understanding of structs and pointers, C++ and Windows, and DirectX comes along with a whole new programming paradigm and I just gave up programming for several years until I found Visual Basic, but I gave up on that too when I couldn't make DirectX work from it because I couldn't read the DirectX examples in the book I bought because they were written in C++.

It was only when Dark Basic came along five years later that I really got back into programming.

And even though I now understand the concept of objects from using them in BlitzMax, I still don't understand C++ code when I look at it. It's not like I can look up what :: means on the web. That's not the sort of thing you can easily search for using Google.

I mean I just entered a search for "what does :: mean in C++" and I get a page that answers the question "What does << mean in C++?" instead. And then I read that page just for kicks, knowing that << is the left shift operator, and I see:


It is common practice to overload this operator for user-defined types
as a stream insertion operator when applied to a reference to a
stream. This overload is supplied by several stream classes included
in the standard C++ library. But it does not change the original
meaning of the operator.



And then I remember why I vowed never to code in C again.