473,386 Members | 1,841 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,386 software developers and data experts.

New C/C++/OpenGL Software Tutorial

My name is Bushido Hacks. I am a computer science major from the St.
Louis, Missouri area. I wrote a new software installation tutorial for
C and C++ programmer who want to create programs as well as programs
that use OpenGL. My new tutorial is posted at
http://www.bushidohacks.com/tutorials/gcc.php

The tutorial is informative for anyone who has a REAL interest in
object-oriented programming. It is NOT some phoney balogna sales pitch
from some TV university to become a "game programmer". These are
instructions for installing open source software with serious
professional standard programming tools with simple instructions.

Included with this tutorial are a few batch files and links to some
great resources to information related to C, C++, and OpenGL.

Thank you for reading this message.

Nov 6 '06 #1
14 2788
Bushido Hacks wrote:
My name is Bushido Hacks. I am a computer science major from the St.
Louis, Missouri area. I wrote a new software installation tutorial for
C and C++ programmer who want to create programs as well as programs
that use OpenGL. My new tutorial is posted at
http://www.bushidohacks.com/tutorials/gcc.php

The tutorial is informative for anyone who has a REAL interest in
object-oriented programming. It is NOT some phoney balogna sales pitch
from some TV university to become a "game programmer". These are
instructions for installing open source software with serious
professional standard programming tools with simple instructions.

Included with this tutorial are a few batch files and links to some
great resources to information related to C, C++, and OpenGL.

Thank you for reading this message.
This is for C++ only.

Why not a C interface?

Nov 6 '06 #2
I knew I was going to get this question. I set things up for C++ so if
any C programmers wanted to use this tutorial, they can downshift or
downgrade to C programming.

In most cases, if you want to use C instead of C++, use gcc instead of
g++.

On Nov 6, 12:27 pm, jacob navia <j...@jacob.remcomp.frwrote:
Bushido Hacks wrote:
My name is Bushido Hacks. I am a computer science major from the St.
Louis, Missouri area. I wrote a new software installation tutorial for
C and C++ programmer who want to create programs as well as programs
that use OpenGL. My new tutorial is posted at
http://www.bushidohacks.com/tutorials/gcc.php
The tutorial is informative for anyone who has a REAL interest in
object-oriented programming. It is NOT some phoney balogna sales pitch
from some TV university to become a "game programmer". These are
instructions for installing open source software with serious
professional standard programming tools with simple instructions.
Included with this tutorial are a few batch files and links to some
great resources to information related to C, C++, and OpenGL.
Thank you for reading this message.This is for C++ only.

Why not a C interface?
Nov 6 '06 #3

jacob navia wrote in message <45**********************@news.orange.fr>...
>Bushido Hacks wrote:
> My new tutorial is posted at
http://www.bushidohacks.com/tutorials/gcc.php

This is for C++ only.

Why not a C interface?
Because C++ has class! :-}

--
Bob <GR
POVrookie
Nov 6 '06 #4
BobR wrote:
jacob navia wrote in message <45**********************@news.orange.fr>...
>>Bushido Hacks wrote:
>> My new tutorial is posted at
http://www.bushidohacks.com/tutorials/gcc.php


This is for C++ only.

Why not a C interface?


Because C++ has class! :-}

--
Bob <GR
POVrookie

Great. C++ has class!

C doesn't. It is a low level, lower class language. The higher ups
think lower classes are bad, simple, without any sophistication.

Looking at the higher ups, the low level guys laugh at
their "manners" their incredible complex and baroque customs...

Why say:
Mytype foo = Init_New_Foo(5,"some name");
???

Just hide it within a facial makeup of layers and layers
of complexity, put some white powder, some parfum, and...
there, you have class!!!!

:-)
Nov 6 '06 #5
BobR wrote:
Because C++ has class! :-}
Some years ago, at the ISO club:
"There is a new candidate for membership, it's called C++"
"Do you know him?"
"No, but it has good references"

--
Salu2
Nov 7 '06 #6
BobR wrote:
Because C++ has class! :-}
And? You can do OOP also with pure C, too. Having classes just
simplifies the task a bit, but with the right framework you
don't need it. Have a look at GObject, which adds OOP to good
old C.

You may consider me a walking C++ reference book but I'm not
using C++ in my private projects. Frankly, a language, which's
specification is over 750 pages and building a compiler requires
incorporating some heuristics went somewhere wrong within it's
development. The real problem is, that when the concept of
templates was concieved nobody predicted their potential, so a
lot of mistakes were made which now still taint the language.

Wolfgang Draxinger
--
E-Mail address works, Jabber: he******@jabber.org, ICQ: 134682867

Nov 7 '06 #7
Wolfgang Draxinger <wd********@darkstargames.dewrites:
BobR wrote:
>Because C++ has class! :-}

And? You can do OOP also with pure C, too.
And?

The original article was inappropriately cross-posted to comp.lang.c++
and comp.lang.c (as well as comp.graphics.api.opengl and stl.general).
Let's not allow a spammer to trigger a C vs. C++ flame war, ok?

--
Keith Thompson (The_Other_Keith) ks***@mib.org <http://www.ghoti.net/~kst>
San Diego Supercomputer Center <* <http://users.sdsc.edu/~kst>
We must do something. This is something. Therefore, we must do this.
Nov 7 '06 #8
BobR wrote:
jacob navia wrote
>Bushido Hacks wrote:
>> My new tutorial is posted at
http://www.bushidohacks.com/tutorials/gcc.php
This is for C++ only.

Why not a C interface?

Because C++ has class! :-}
And is off-topic on c.l.c. f'ups set.

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

Julián Albo wrote in message <45********@x-privat.org>...
>BobR wrote:
>Because C++ has class! :-}
>Some years ago, at the ISO club:
"There is a new candidate for membership, it's called C++"
"Do you know him?"
"No, but it has good references"
>Salu2
Now that's classic jocularity!!

--
Bob R
POVrookie
Nov 7 '06 #10

"Keith Thompson" <ks***@mib.orgwrote in message
news:ln************@nuthaus.mib.org...
Wolfgang Draxinger <wd********@darkstargames.dewrites:
>BobR wrote:
>>Because C++ has class! :-}

And? You can do OOP also with pure C, too.

And?

The original article was inappropriately cross-posted to comp.lang.c++
and comp.lang.c (as well as comp.graphics.api.opengl and stl.general).
Let's not allow a spammer to trigger a C vs. C++ flame war, ok?

--
Keith Thompson (The_Other_Keith) ks***@mib.org
<http://www.ghoti.net/~kst>
San Diego Supercomputer Center <*>
<http://users.sdsc.edu/~kst>
We must do something. This is something. Therefore, we must do this.
Especially one who can't spell woth a damn. :-)
jbw
Nov 7 '06 #11

Keith Thompson wrote in message ...
>Wolfgang Draxinger <wd********@darkstargames.dewrites:
>BobR wrote:
>>Because C++ has class! :-}

And? You can do OOP also with pure C, too.

And?

The original article was inappropriately cross-posted to comp.lang.c++
and comp.lang.c (as well as comp.graphics.api.opengl and stl.general).
Let's not allow a spammer to trigger a C vs. C++ flame war, ok?
Yeah, lighten up Wolfy (sorry Mr. Draxinger). It was a pun, like "the dame
made it to high society because she had class." (and C++ has keyword
'class').
It was "pun"ish meant. (get it, punishment? <G>)
As far as the language, I heard that C++ was 'invented' as a faster way to
write C. As far as I know, there is nothing you could do in one that couldn't
be done in the other with a little effort.
So, put that in your glCallList() and render it! <G<<---note the grin.

[ Jeesh, I didn't mean to upset anyone! My gawd, I even put a smiley on the
end! ]
--
Bob R
POVrookie
Nov 7 '06 #12
"BobR" <Re***********@worldnet.att.netwrote:
jacob navia wrote in message <45**********************@news.orange.fr>...
Bushido Hacks wrote:
My new tutorial is posted at
http://www.bushidohacks.com/tutorials/gcc.php
This is for C++ only.

Why not a C interface?

Because C++ has class! :-}
Yeah, and it needs to take some more. ;->

Richard
Nov 7 '06 #13
I ignore fact that is the group about c++ language.

I found very funny thing on you page.

"# Dia (for Linux) - An open source drawing program that draws UML
diagrams, similar to Rational Rose. Requires GTK+ Runtime Library"

ROTFL - how can you compare Dia and Rational Rose?

--
SirMike - http://www.sirmike.org

C makes it easy to shoot yourself in the foot; C++ makes it harder, but
when you do, it blows away your whole leg. - Bjarne Stroustrup
Nov 7 '06 #14
Keith Thompson wrote:
Wolfgang Draxinger <wd********@darkstargames.dewrites:
>BobR wrote:
>>Because C++ has class! :-}

And? You can do OOP also with pure C, too.

And?

The original article was inappropriately cross-posted to
comp.lang.c++ and comp.lang.c (as well as
comp.graphics.api.opengl and stl.general). Let's not allow a
spammer to trigger a C vs. C++ flame war, ok?
This was not meant to an offense, I just don't see, why the
existence of classes alone should let someone favour C++ over C.
C++ offers a lot of syntactic sugar, which C doesn't. Free
speach also applies to programming, so use the language you
favour. But don't use silly arguments to discriminate one
language over another.

That I don't use C++ in new projects anymore comes from the fact,
that it is deliberately difficult to develop helper tools, that
dig into the code and do the boring stuff for you. Oftenly it
ends in ugly hacks (gcc-xml) or in constrainging the language
features you may use in code that is to be
analyzed/extended/whatever by helper tools (see Qt and its MOC
for an example). Another thing, that C++ is lacking (IMHO of
course) is a basic support for complex data typed. Even for the
smallest array one has to develop his own container; well
there's STL, but by writing std::vector<your_typeyou're
practically expanding a macro adding _a lot_ of code that wants
to be compiled, too.

Anyway C++ is a great language and it has done a lot for the
computer sciences, but development never stops. Java was the
next step and C#, too. There are also other languages with high
potential, like D.

Never stop learning !!!

Wolfgang Draxinger
--
E-Mail address works, Jabber: he******@jabber.org, ICQ: 134682867

Nov 7 '06 #15

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

Similar topics

5
by: Andrew Dalke | last post by:
I've been looking for a decent 3D plotting library with support for user selection that works under OpenGl, preferable with wxPython. For this first project I need to do a 3D scatter plot with...
15
by: oracle411 | last post by:
Hi I'm new to OpenGL, but have an OpenGL application written in CPP that I would like to display on a web browser. Was wondering how this could be done? Thank you very much
10
by: Bad_Kid | last post by:
which is better for what?
4
by: Dragon | last post by:
Hello, I wonder if there's a way to use OpenGL directly from VB .NET, without any C++ code, or CsGL library. I've tried to convert NeHe's first tutorial...
22
by: MC felon | last post by:
hello. i have a Dev c++ compiler (version 4.0). i wish to start on openGL. How do i enable openGL programming in Dev c++? what exactly do i download? assume me to be a complete fresher and please...
0
by: Christian Meier | last post by:
Hallo! Kennt jemand ein gutes Buch oder Tutorial über C# und OpenGL. Ich möchte eigentlich eine Charting Software schreiben die neben "normalen" .NET Controls in einem OpenGL View vorwiegend...
16
by: nelson - | last post by:
hi! i want to build up a simple 3d interactive geometry application in python. Since i want to run it without 3D acceleration (a scene will be quite simple) I was wondering if there was a library...
12
by: Bushido Hacks | last post by:
My name is Bushido Hacks. I am a computer science major from the St. Louis, Missouri area. I wrote a new software installation tutorial for C and C++ programmer who want to create programs as...
2
by: nvinhphu | last post by:
Hello everyone, I am writing a simulation program in C++. The data includes a set of spheres packing in a 3D box. So, I have the coordinates and the radius of the spheres. My question is how...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
0
BarryA
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
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 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.