Need help on how to code programs

Live forum: http://forum.freeipodguide.com/viewtopic.php?t=36078

Cow-Tipper

25-03-2006 22:23:17

can anyone point me to a good how-to on this, it is a requirement so i can graduate high school. Its pretty stupid. Its due in about 4 weeks and i need to get goin on it. I have no idea how to start and i was hoping to use c++ but really what ever is the easiest would be great

bballp6699

25-03-2006 22:41:28

Kinda vague. What do you have to do?

Cow-Tipper

25-03-2006 22:48:42

oh, i guess i kind of forgot that part. I have to make a program that can look at a bunch of mp3 id3 tags and edit them. My ultimate goal is to get the program wo look online for the correct tags but im not sure how hard that will be and it is not required.

Allen626

25-03-2006 23:03:15

This is easy. I am sure all id3 tags are placed in the same place since id3 itself is a regulation. Do you know how to program?

Daggoth

25-03-2006 23:03:34

What kinda high school so you go to O_o

bballp6699

25-03-2006 23:08:57

It's kind of easy for someone with programming knowledge. If you're starting from scratch then you might be in for a shit load of confusion.

Cow-Tipper

26-03-2006 07:09:56

[quotef78502810e="Daggoth"]What kinda high school so you go to O_o[/quotef78502810e]

I go to a public high school. Amelia high school. But they have this gay requirement called SEAP or Senior Exit ACtion Project. Every senior in the enitre school has to pick a topic, has to get approved and then study all year. It has to be a topic i dont know much about. I picked programming becaue i am going to be a compputer engineer and i figured it would be good going into college knowing some programming.

I know some very basic programing skills. I can edit scripts once they have been written but i cannot do any more than that.

vinsanitee

26-03-2006 08:29:07

C++ is probably not the best to do this with...I'm thinking python or ruby ...

if you need programming tutorials you can start at http//www.programmertutorials.com

I have never worked with id3 tags before, or I'd give you more detailed help...

Cow-Tipper

26-03-2006 08:55:36

[quote212db0a489="vinsanitee"]C++ is probably not the best to do this with...I'm thinking python or ruby ...

if you need programming tutorials you can start at http//www.programmertutorials.com

I have never worked with id3 tags before, or I'd give you more detailed help...[/quote212db0a489]

ok thanks, thats a start. Why would you recommend python or ruby?

dmorris68

26-03-2006 08:55:39

If you don't know much about programming yet, I wouldn't recommend C++ either. It's an advanced language that gives you a lot of room to shoot yourself in the foot if you don't know what you're doing.

I'm assuming this needs to be a Windows GUI app? If so, you definitely don't want to go with C++ or even Java because of the complexities with building GUI applications and message/event handling -- the reading/writing of ID3 tags is cake compared to that. You might get overwhelmed and discouraged.

As much as I dislike Microsoft development languages, VisualBasic is probably your best approach as a newbie. You can drag and drop a user interface fairly well, and the code is easy to master. It also makes it easy to write a poorly designed app, but for something like this that's probably okay since it's a "throw-away" application and you're just learning.

Microsoft provides their Visual Studio 2005 Express tools free for 1 year. Choose from VisualBasic, C#, C++, or J# (the latter definitely not recommended, use real Java if you want to go that route).

http//msdn.microsoft.com/vstudio/express

With ID3 tags you have two types ID3v1 and ID3v2. v1 comes at the end of the MP3 file (the last 128 bytes, beginning with the text string "TAG"), while v2 typically comes at the beginning. v2 can contain more information than v1, but is more complicated to work with. If you can get away with only supporting ID3v1, then this project will be much easier for you.

Here is one article from an obvious beginner himself. I wouldn't recommend following his code samples exactly because they are horrendously coded, however the description of how to get at the tags may be useful.

http//www.devhood.com/tutorials/tutorial_details.aspx?tutorial_id=560

I've been coding for over 20 years, mostly assembler, C, and C++ up until about 5 years ago when I got heavily into Java. Now I mostly use Java for new development unless it needs to be really low-level, but still support and maintain a lot C and C++ applications too. If you have some specific coding questions, ask away and I'll try to help. Google is also your friend...

Cow-Tipper

26-03-2006 08:58:09

ok, thanks, as of now it will be a throw away app but i will need some people to test it and give feedback on it(one of the requirements) but once the project is over i will either release the source code if anyone would really want it or just chuck it.

So if anyone would be willing to after i have the basic program done, look at it and give feedback. This is looking 3 weeks ahead but i would probably need people's actual name and stuff becasue our school is too afraid that i will make people up.

bballp6699

26-03-2006 09:15:15

I would start it as soon as possible. Programming projects are some of the most stressful things to get done at the last minute. Especially if you're just starting out.

Cow-Tipper

26-03-2006 09:17:05

ok, i am starting prolly today or tomorrow. But if i dont get all of it done i can make something up and tell them it was harder that i anticiapted so its all good

good2speed

26-03-2006 10:04:40

dude this assignment is real simple. Get 'er done. Will be good practice if you do plan on getting involved in future programming. If you need any help drop me a PM. Basically this can be done in either c/c++ or java fairly easily. If using Java you can just copy someone's applet and use that as a gui. Just tune it correctlt so it displays the correct info you need.

First part.

Just create a program that obtains all id3 tags on your pc.

Is the search restricted to a specific folder or are you required to search the entire hardrive.?

Once complete try to find existing code for an applet or some kind of gui.

Tune code in applet/ gui correctly to display your own info obtained from the prog used to obtain the id3 tags.

Once you've gotten this far you've done most of the dirty work.

Basically for extra credit and too just look super smart you will

search and find an mp3 id3 tag site.

Once you get this far give me a buzz I will try to get you more info.

good2speed

26-03-2006 10:10:52

this may help as well

http//www.thecodeproject.com/audio/cmp3tags.asp?print=true