Any guides on C++ on the net? And any programs available for it on linux?
-
You can use the old emacs/notepad to write the programs. Then you can use g++ to compile it. Just a easy way to get into c++ encoding.
-
GCC for linux.
Gamedev is an excellent resource for programming, and has a great community there!
They don't just focus on game programming. -
What about for Python, I've heard that might be better.
-
I've also heard that Python is very good to start on, and I've downloaded a Python program/coder/something that allows me to practice writing code, and test it out.
-
ScifiMike12 Drinking the good stuff
A good free software compiler you can use is Bloodshed Dev-C++.
-
Python is a good beginners language. Linux has the compiler built in I believe.
-
Bloodshed is only the IDE, which includes versions of MinGW (compiler), and it's for windows only.
-
I use Anjuta but never compiled directly in it...
-
ScifiMike12 Drinking the good stuff
-
Ya, so I can code in python a little now.
But how do I make a zip and distribute it?
Using Windows right now, but linux instructions are a must as well. -
What exactly is the problem? -
I have to agree with Jalf about Dev-C++. I used it quite a bit with Mingw, and ended up just using wordpad for awhile until I got visual c++.
Dev-C++ is outdated, and buggy. But that is a moot point, since it's windows only anyway. -
-
I don't know how to put my program in a zip file.
Thats the problem. -
Is C++ better than python, then? No.
Both statements are not true (which is different than false if you accept that logic is not necessarily binary) because they do not specify in what respect one language would be better than the other. Most often that means specifying the purpose.
I would have no problem saying that C++ is better than python for writing infrastructure code. Qt is an insance of this. It is the toolkit on which KDE is built. It is written in C++. I can't imagine wanting to have Qt written in python.
At the same time I have no problem saying that python is better than C++ to write general purpose code like scripts designed to automate repetitive tasks or to write "glue code". I find C++ way too restrictive in those cases.
That's a general principle: the question is rarely "is A better than B?" but "is A better than B given purpose P and constraints X, Y, Z." -
I've heard Python will be easier to start with.
Know I'm wondering how to make programs, I can enter commands, but not make a zip file or executable. And I need to know how to make it a .deb file as well. -
As a programmer myself, my best advice is to take a class. If you can't do that, second best is to buy a book. Seriously... buy the dead tree version from a bookstore and go through it. Any introduction to programming book should be fine. Once you learn how to program, THEN you can worry about what language you use. The conceptual part should come first. That said, you might consider Java since it doesn't teach too many bad habits to start with, and a number of good programmers that I know started on Java
http://math.hws.edu/javanotes/
That should get you started. Also consider looking at the free stuff at OpenCourseware (computer science is under "Engineering") -
Thanks, I think I'm getting the hang of Python, I've been modding the mint tools(written in python).
-
Good. Consider an O'Reilly book to make sure you get it conceptually. I've cleaned up after too many self-taught programmers that make horrible, horrible code because it "works", but is not really designed. As in, the difference between your treehouse in the back yard and a mansion. Learn the concepts of building a mansion, and treehouses stay together much better
-
As a hobbyist programmer for 7 or so years (C++), just remember that C++ is a masochist language.
-
Cool, I've been trying ruby, and I like it, its powerful, easy, and I've modified a lot of distros programs for use in my own(hehe).
Here's one: linky
It's in the VM -
C++
Discussion in 'Linux Compatibility and Software' started by Thomas, Jun 3, 2008.