Aces High Bulletin Board

General Forums => The O' Club => Topic started by: dkff49 on February 28, 2009, 04:24:27 PM

Title: revisting an old interest "computer programming"
Post by: dkff49 on February 28, 2009, 04:24:27 PM
I was wondering if those of you who are involved in computer programming could offer up some advise on books, websites, languages, or things to steer clear from.

For a while now I have been kicking around the idea of taking up computer programming, on more in the form of a hobby for now. I really don't have the money to take courses right now and probably won't for a long time. I am however very good at teaching myself how to do things and I actually have some experience with this.

I took programming classes in high school which consisted of programming in Basic and Pascal. I was quite good at it though this was 18 years ago and I have probably forgotten most if not all of what I learned. I remember when I was in school thought the final project I did was write a program for a game called Othello. Yes that is the one with the chips that have a black side and a white side and the object is to get as many of the chips to your color as you can. I had written the program to tell if a move was valid and then flip the chips over automatically.

I had alot fun programming and many times wish I had pursued it further, besides this would help me to pass the time while at work in between calls.

Thanks in advance for your help.
Title: Re: revisting an old interest "computer programming"
Post by: ChickenHawk on March 01, 2009, 01:07:14 AM
Microsoft has a few of its express edition compilers set up for free download here:  http://www.microsoft.com/express/default.aspx

There are gobs of self study programming books out there.  Pick a language and have fun.
Title: Re: revisting an old interest "computer programming"
Post by: trigger2 on March 01, 2009, 01:48:08 AM
I suggest starting in either C++ or C# (They're relativly similar). I perfer to use Windows Visual (i.e. Windows Visual C# or Windows Visual C++). Anywho, good luck, and I suggest starting with the programming section (Console applications) before you start working on Visual programming. (:
Title: Re: revisting an old interest "computer programming"
Post by: 68Wooley on March 01, 2009, 12:45:58 PM
C++ may be syntactically similar to C# (C sharp), but they are very different languages. I'd probably suggest avoiding C++ - at least initially.

C# is a decent choice for general programming, as is Java if you want to do stuff on anything other than a Windows machine. If you're interested in programming for the web, take a look at PHP.

There are excellent tools for all of those available at little or no cost - at the very least, you'll want to get yourself a text editor that does keyword highlighting and block indentation - I use Textpad on Windows.

More useful than simple text editor is a full integrated development environment such as Visual C# Express, Eclipse (for Java) or Activestate Komodo (for PHP, Perl and a bunch of other languages). Amongst other things, a good IDE will highlight syntax errors and let you do line-by-line debugging.

As for reference books, there are literally thousands out there of varying quality. Read reviews on Amazon and always check the data book was published - don't buy anything more than a couple of years old. With a few notable exceptions, programming books don't age well.


Title: Re: revisting an old interest "computer programming"
Post by: dkff49 on March 02, 2009, 12:59:28 PM
thanks guys

I will be giving those a try. If nothing else it will give me something to do with my down time at work.
Title: Re: revisting an old interest "computer programming"
Post by: Shuffler on March 02, 2009, 01:02:49 PM
Great posts guys <S>
Title: Re: revisting an old interest "computer programming"
Post by: Reschke on March 02, 2009, 01:43:20 PM
Dave,

If you want them I have some books on Java and a couple of other things at the house and if you pay the shipping they are yours. They are gathering dust since I don't do the Java stuff any longer. In fact I was never any good at it and now when I look at those books I wonder why bought it and several others.
Title: Re: revisting an old interest "computer programming"
Post by: dkff49 on March 02, 2009, 02:00:55 PM
PM sent

Thanks Reschke
Title: Re: revisting an old interest "computer programming"
Post by: soda72 on March 02, 2009, 05:02:21 PM
What kind of programing are you interested in?

Depending on your area of interest will give you a clue as to what languages you may want to focus on.

Title: Re: revisting an old interest "computer programming"
Post by: Vulcan on March 02, 2009, 05:57:19 PM
I used to love prolog.
Title: Re: revisting an old interest "computer programming"
Post by: dkff49 on March 02, 2009, 06:03:20 PM
really trying to start out fairly simple. just something to get started on and learn with. maybe some simple application type programs then expand beyond thatmaybe adding some visuals to it after that.


not really sure how else to answer Soda. Iam not looking to jump right into 3d grahpics or any highly graphical programs for that matter, at least not to start with anyway.


Title: Re: revisting an old interest "computer programming"
Post by: detch01 on March 02, 2009, 06:47:27 PM
really trying to start out fairly simple. just something to get started on and learn with. maybe some simple application type programs then expand beyond thatmaybe adding some visuals to it after that.


not really sure how else to answer Soda. Iam not looking to jump right into 3d grahpics or any highly graphical programs for that matter, at least not to start with anyway.
basic 3D programming isn't as hard as it looks - here are a couple of sites that will get you up and playing with 3D graphics (and C/C++) fairly quickly:
http://nehe.gamedev.net/ (http://nehe.gamedev.net/) (very good basic OpenGL tutorials)
http://www.chadvernon.com/blog/tutorials/directx9/ (http://www.chadvernon.com/blog/tutorials/directx9/)(decent intro into Dx9)
and, a useful C++ reference: http://www.cplusplus.com/ (http://www.cplusplus.com/).

Cheers & GL.
asw
Title: Re: revisting an old interest "computer programming"
Post by: indy007 on March 02, 2009, 06:48:17 PM
If you're going windows only, C# is the way. It also has easy tutorials for the XNA dev kit that will have you making simple 2d & 3d games in no time that will play on Windows, xbox360, or Zune. There's also physics libraries that are easy to use. It's pretty cool.

I use Bloodshed DevC/C++ for anything else. It's free and fast.
Title: Re: revisting an old interest "computer programming"
Post by: soda72 on March 02, 2009, 07:40:25 PM
really trying to start out fairly simple. just something to get started on and learn with. maybe some simple application type programs then expand beyond thatmaybe adding some visuals to it after that.

not really sure how else to answer Soda. Iam not looking to jump right into 3d grahpics or any highly graphical programs for that matter, at least not to start with anyway.

If you are looking for something simple to work with and to familiarize yourself with programing concepts Java is a good start point.  The Java SDK can be downloaded for free, however you'll need to find a good editor to use unless you perfer using something like notepad.  I would check out EMACS it's free, and it should support java syntax.  The Java SDK has a rich set of classes that will do a lot for you.  It's capable of doing console programs as well as windows GUI type interfaces. If you are also interested in web development you can explore this area as well with java.

If you're able to spend a little money, C# is a good alternative.  Microsoft use to provide a free c# compiler but I don't think they do that anymore.  If you know a university student that's willing to buy you a student copy you can save a lot of money.  The .NET library used by c# also provides a rich set classes that will let you do a lot of things.  You can write console programs as well as windows GUI interfaces.  If you are not able to find a c# compiler, but want to explorer some of it's capablity theres cheap way to do it but you want be able to create any exe's or dll's.  If you have windows XP professional you can install both IIS and .NET 2.0 for free.  This will allow your PC to run as a web server.  Once the .NET library is installed you can run .aspx files using c# syntax.  Granted it's limited but it will let you explore some the the .NET classes for free. 

Once you start to get bored or feel like you want to move on to something more challenging I would recomend exploring languages like C/C++.  Try writing a windows program in C, nothing complex or fancy just a window that pops up with a minimize, maximize, and close buttons.  It's good way to get familar with win32 api's.  If your really want a tough challenge download NASM or MASM(MASM will only install if you have MS visual stuido installed) and try a few console programs using assembly. 
Title: Re: revisting an old interest "computer programming"
Post by: indy007 on March 03, 2009, 07:53:57 AM
Soda, there are Express versions of every .Net language compiler on their site, free still.
Title: Re: revisting an old interest "computer programming"
Post by: soda72 on March 03, 2009, 05:42:05 PM
Soda, there are Express versions of every .Net language compiler on their site, free still.

hmmm I thought they did away with that.   I see they have c++, c#, and VB wrapped up in a nice single package. It also includes SQL Server 2005 Express not bad for a set of tools to try out to get your feet wet..

http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=a22341ee-21db-43aa-8431-40be78461ee0


Title: Re: revisting an old interest "computer programming"
Post by: bozon on March 03, 2009, 07:03:01 PM
If you want a good useful language and not mathematically heavy calculations, go with Python. Simple, easy yet powerful and it is free. It has an excellent fast growing community and many libraries to support uses from science to game programing.
Title: Re: revisting an old interest "computer programming"
Post by: indy007 on March 04, 2009, 09:51:33 AM
hmmm I thought they did away with that.   I see they have c++, c#, and VB wrapped up in a nice single package. It also includes SQL Server 2005 Express not bad for a set of tools to try out to get your feet wet..

http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=a22341ee-21db-43aa-8431-40be78461ee0

Wrong page.

http://www.microsoft.com/express/download/

There's VB, VC++, VC#, VWebDev, Web Platform, & SQL 2008 as separate packages. Very convenient.
Title: Re: revisting an old interest "computer programming"
Post by: Paxil on March 04, 2009, 01:26:43 PM
You can download Microsoft Robotics Studio for some fun programming practice. http://msdn.microsoft.com/en-us/robotics/default.aspx

Or even simpler is try out Terrarium .NET.   http://www.codeplex.com/terrarium2
Title: Re: revisting an old interest "computer programming"
Post by: dkff49 on March 05, 2009, 10:59:28 AM
WOW

I downloaded the C# just to see what I was getting into and what a difference from what I remember. I knew that some things would change and in someways get a little easier but never expected programming to become a point and click. Of course the last time I did any programming you had to type all the lines in yourself but then again you had to load DOS then the program you wanted to run seperately, no hard drive.

This is definitely going to be a challenge but looks like it will be fun as well. I look forward to getting that material from Reschke too.

I am definitely going to be starting small then build form there. I haven't even started to look at the commands that are available. This is going to take a litte time.


Thanks for all your help guys