Go to Post The possibilities for zip ties are endless. - Elgin Clock [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 27-11-2002, 12:11
Gadget470's Avatar
Gadget470 Gadget470 is offline
A Fire Outside
AKA: Brandon Joerges
no team (Alpha Omega)
Team Role: Alumni
 
Join Date: Jan 2002
Rookie Year: 2000
Location: Madison Heights, MI
Posts: 1,000
Gadget470 is a jewel in the roughGadget470 is a jewel in the roughGadget470 is a jewel in the roughGadget470 is a jewel in the rough
Send a message via ICQ to Gadget470 Send a message via AIM to Gadget470
Learning New Languages

I'm learning C++ finally. Actually dedicating my time to it this time as opposed to skimming a brief booklet and saying I read it.

I found a great tutorial today that's already helping me out. They did a great job of being able to hold my attention with stupid humor (mostly relating to Mexican Food) and have great examples, blah blah blah.

C++ Tutorial - if you want to take a look-see.
[edit]This tutorial is a beggining C++ from knowing Pascal, but even without knowing pascal you can learn easily.[/edit]

My question for you all is
1) Where did you learn C++ (or any other language for that matter)
2) What would you suggest to use for furthering my knowledge (besides experience, thats a given)
  #2   Spotlight this post!  
Unread 27-11-2002, 12:20
Brandon Martus's Avatar Unsung FIRST Hero
Brandon Martus Brandon Martus is offline
busy.
AKA: B. Slash Kamen
no team
 
Join Date: May 2001
Rookie Year: 1998
Location: Nevada, TX USA
Posts: 5,271
Brandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond repute
Send a message via ICQ to Brandon Martus Send a message via AIM to Brandon Martus Send a message via Yahoo to Brandon Martus
Re: Learning New Languages

Quote:
Originally posted by Gadget247

1) Where did you learn C++ (or any other language for that matter)
Mostly in freshman year of college.


Quote:

2) What would you suggest to use for furthering my knowledge (besides experience, thats a given)
like you said -- practice, practice, practice.

You could do a program with a buddy who knows that language too -- you can learn alot by just watching somebody work on a program.
__________________
Brandon Martus
e-mail
  #3   Spotlight this post!  
Unread 27-11-2002, 15:32
rbayer's Avatar Unsung FIRST Hero
rbayer rbayer is offline
Blood, Sweat, and Code
no team (Teamless Orphan)
 
Join Date: Mar 2002
Rookie Year: 2001
Location: Minnetonka, MN
Posts: 1,087
rbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of light
Send a message via AIM to rbayer
I learned just about everything I know from a book I read by Deitel and Deitel. It was called C++: How To Program, 2nd ed.

There is truly no substitute for practice, but if you want somewhere to start, my advice would be to grab some source code of a fairly simple project and try to read through as much as you can. If you want a challenge, try reading through some bigger stuff such as RoboEmu, which is written entirely in C++ (the windows version).

Also, as always, if you run into trouble or have any questions (which you probably will if you've never done pointers before), post here or email/pm me and I (along with several other people, I'm sure) would be willing to help.

--Rob
__________________
New C-based RoboEmu2 (code simulator) available at: http://www.robbayer.com/software.php
  #4   Spotlight this post!  
Unread 27-11-2002, 23:15
josh_johnson josh_johnson is offline
Registered User
#1020 (Indiana Prankmonkeys)
 
Join Date: Nov 2002
Location: Muncie, IN
Posts: 58
josh_johnson is an unknown quantity at this point
Send a message via AIM to josh_johnson Send a message via Yahoo to josh_johnson
Lightbulb

I learned C++ from a class my junior year of high school and I keep in practice while learning more by competing on topcoder . This is a website with online programming competitions held about once a week.
  #5   Spotlight this post!  
Unread 28-11-2002, 00:22
Sachiel7's Avatar
Sachiel7 Sachiel7 is offline
<Yes I managed to flip it
AKA: Shayne Helms
FRC #1132 (RAPTAR Robotics)
 
Join Date: Sep 2002
Rookie Year: 2002
Location: Richmond, VA
Posts: 541
Sachiel7 is just really niceSachiel7 is just really niceSachiel7 is just really niceSachiel7 is just really niceSachiel7 is just really nice
Send a message via AIM to Sachiel7
I'm on my second year of learning Japanese.
Oh, Programming... Right.

Actually, I've been coding some stuff for GBA (Gameboy Advance) Lately. I've been using a combo of C, C++, Assembly, QBasic, You name it. It's pretty fun, but its a little tricky to find a good compiler out there for free.
__________________
-=Sachiel7=-

There's no such thing as being too simple!
Look for Team #1132, RAPTAR Robotics at the VCU Regional this year!
  #6   Spotlight this post!  
Unread 29-11-2002, 19:22
evulish's Avatar
evulish evulish is offline
1010100
AKA: Grant Harding
#0084 (WATTNESS (bot: Chuck))
Team Role: Alumni
 
Join Date: Jul 2002
Location: Towanda/Wysox, PA
Posts: 1,434
evulish is just really niceevulish is just really niceevulish is just really niceevulish is just really nice
Send a message via AIM to evulish
I kinda...uhh...just taught myself. Trial and error. And, well, much assistance from some IRC channels and my fav. C++ book: O'Reilly's Practical C++ Programming. That is an incredibly nice book for anybody. I also have a few reference books on the shelf (stack, rather ) including the C++ Black Book.
__________________
I'm a professional web developer. I'm good with PHP, Perl, Java/JSP, some RoR, XML, Javascript (AJAX as well), (x)HTML, CSS, etc.. Validated code is good; fully cross-browser code is better (you comply to your users and the software they use, not the other way around. Sorry!)
  #7   Spotlight this post!  
Unread 29-11-2002, 19:40
Trashed20's Avatar
Trashed20 Trashed20 is offline
Boom, Shawalala Boom!
#0862 (PCEP Lighting)
 
Join Date: Jan 2002
Location: Canton, MI
Posts: 528
Trashed20 will become famous soon enough
Send a message via AIM to Trashed20
well, i tought myself a bunch of php, and know im in a c++ class in highschool. C++ is harder that php, fo sheezy. id rather program php cause it isn't finikey and works the way i want it to most of the time.
__________________
Where has all the fun gone?
  #8   Spotlight this post!  
Unread 29-11-2002, 22:25
evulish's Avatar
evulish evulish is offline
1010100
AKA: Grant Harding
#0084 (WATTNESS (bot: Chuck))
Team Role: Alumni
 
Join Date: Jul 2002
Location: Towanda/Wysox, PA
Posts: 1,434
evulish is just really niceevulish is just really niceevulish is just really niceevulish is just really nice
Send a message via AIM to evulish
I hate the gcc errors...it's kinda like "there's something wrong in your source...fix it" where in Perl, it's more like "Hey...you have an error on line 53, there's a problem with your curly brackets."
__________________
I'm a professional web developer. I'm good with PHP, Perl, Java/JSP, some RoR, XML, Javascript (AJAX as well), (x)HTML, CSS, etc.. Validated code is good; fully cross-browser code is better (you comply to your users and the software they use, not the other way around. Sorry!)
  #9   Spotlight this post!  
Unread 29-11-2002, 22:56
Gadget470's Avatar
Gadget470 Gadget470 is offline
A Fire Outside
AKA: Brandon Joerges
no team (Alpha Omega)
Team Role: Alumni
 
Join Date: Jan 2002
Rookie Year: 2000
Location: Madison Heights, MI
Posts: 1,000
Gadget470 is a jewel in the roughGadget470 is a jewel in the roughGadget470 is a jewel in the roughGadget470 is a jewel in the rough
Send a message via ICQ to Gadget470 Send a message via AIM to Gadget470
i was supposed to take a C++ class last year, but not enough people signed up so it got dropped. then I took a Java class instead with the worst teacher I've ever had. Only learned where the java site is at.
  #10   Spotlight this post!  
Unread 30-11-2002, 02:55
rbayer's Avatar Unsung FIRST Hero
rbayer rbayer is offline
Blood, Sweat, and Code
no team (Teamless Orphan)
 
Join Date: Mar 2002
Rookie Year: 2001
Location: Minnetonka, MN
Posts: 1,087
rbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of light
Send a message via AIM to rbayer
Quote:
Originally posted by evulish
I hate the gcc errors...it's kinda like "there's something wrong in your source...fix it" where in Perl, it's more like "Hey...you have an error on line 53, there's a problem with your curly brackets."
What specifically are you referring to? gcc spits out line numbers just the same as any other compiler/interpreter. In fact, if you run it from within vi or emacs, the editor will even jump straight to the line it has a problem with. I've never spent more than a 30 seconds figuring out where the error was and I've been able to fix nearly all compile-time errors within a few seconds.
__________________
New C-based RoboEmu2 (code simulator) available at: http://www.robbayer.com/software.php
  #11   Spotlight this post!  
Unread 30-11-2002, 16:34
Matt Krass's Avatar
Matt Krass Matt Krass is offline
"Old" and Cranky. Get off my lawn!
AKA: Dark Ages
FRC #0263 (Sachem Aftershock)
Team Role: Mentor
 
Join Date: Oct 2002
Rookie Year: 2002
Location: Long Island, NY
Posts: 1,187
Matt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond repute
Send a message via AIM to Matt Krass
I know what he means with gcc, sometimes it can be alightly ambiguous, it gives you a line number eys, but doesn't always easily explain what problem is. If it soemthing stupid, most people imply would miss it. Oh yeah and Sachiel7, how do you do GBA coding? Can you make cartitridges? Any links?


Later,
Matt
__________________
Matt Krass
If I suggest something to try and fix a problem, and you don't understand what I mean, please PM me!

I'm a FIRST relic of sorts, I remember when we used PBASIC and we got CH Flightsticks in the KoP. In my day we didn't have motorized carts, we pushed our robots uphill, both ways! (Houston 2003!)
  #12   Spotlight this post!  
Unread 30-11-2002, 20:29
Sachiel7's Avatar
Sachiel7 Sachiel7 is offline
<Yes I managed to flip it
AKA: Shayne Helms
FRC #1132 (RAPTAR Robotics)
 
Join Date: Sep 2002
Rookie Year: 2002
Location: Richmond, VA
Posts: 541
Sachiel7 is just really niceSachiel7 is just really niceSachiel7 is just really niceSachiel7 is just really niceSachiel7 is just really nice
Send a message via AIM to Sachiel7
Well, Yes, you can load your GBA roms/compiled files onto your GBA. You need a few tools, but you can get a system to do it for under $100
Take a look at:
http://www.GBXEmu.com
In the shop you can find the Flash Advance linker sets. Basically, It can rip the games from your carts, or load stuff to flash carts.
Since they vary in size, you can also put more than one game on each cart. Here's something else a little fun to do:
Mabie you just aren't getting the whole GBA Programming thing, so there is a "Morphing" section on GBXEmu that gives you tools to convert different ROM images to GBA Rom format. For example, you could convert the original Metroid ROM for NES to GBA, Load it onto a flash card with the Flash Linker, and then play it on your GBA. Nice, easy, and fairly cheap.
There are also versions out for other systems as well.
__________________
-=Sachiel7=-

There's no such thing as being too simple!
Look for Team #1132, RAPTAR Robotics at the VCU Regional this year!
  #13   Spotlight this post!  
Unread 02-12-2002, 18:53
VanWEric VanWEric is offline
Registered User
#0250 (Dynamos)
 
Join Date: Feb 2002
Location: NY
Posts: 86
VanWEric is an unknown quantity at this point
I tend to just surf the web, and get massive compilor errors. I did browse that deitle book awhile, but what really helped me was *gasp* VC++. As much as i dislike microsoft, the interface is rather nice. The compilor is another issue (i dont hate the compilor, i just have a few qualms about it). Also, big projects are a great way to learn. I taught myself OpenGL via a series of projects (ported SFCave from 2d palm screen to 3d win32, made pong clone, break-out clone, etc). From there i went on to make an mp3 player with crappy vis thing. Now i am doing winsock stuff. Key is to set goals. THat and visit nehe.gamedev.net, fmod.net and tangentsoft.net

good luck
  #14   Spotlight this post!  
Unread 02-12-2002, 22:43
Mongoose's Avatar
Mongoose Mongoose is offline
Registered User
#0948 (Newport Robotics Group (NRG 948))
 
Join Date: Oct 2002
Location: Bellevue, WA
Posts: 45
Mongoose is an unknown quantity at this point
Send a message via AIM to Mongoose
I'm mostly self-taught. I just went out and borrowed a couple of books from the library and read tutorials from the Internet. Actually, if you want to know what makes learning easier, is to start learning, wait for a while (don't know how long), and come back. I really think so, because I learned C++ in 2 "phases": Once when I was 11, and again when I was 14-15, and now I think I can understand it pretty well.

C++ made learning everything else easier; I jacked a Perl book from a friend and learned it in 3 days. I guess you acquire some sort of "programming instinct".

Oh yeah, I agree, VC++ really does have a nice interface.

Suggested sites: http://cprogramming.com , http://cplusplus.com. And try reading C++ newgroups, too; you can find newsgroups at Google, for one.

-Eric

Last edited by Mongoose : 02-12-2002 at 22:47.
  #15   Spotlight this post!  
Unread 05-12-2002, 20:31
Hailfire Hailfire is offline
Registered User
AKA: Jason
no team
Team Role: College Student
 
Join Date: Oct 2002
Rookie Year: 2003
Location: Rochester, Michigan
Posts: 452
Hailfire has a little shameless behaviour in the past
Send a message via AIM to Hailfire
Actually, I find programming in C++ is much easier than programming in PBasic. Reasons:

1) Unlimited Variables
2) Subroutines are easy to use
3) Other advanced commands make programming easier

and etc.

I learned to program in C++ last year actually. My sophomore year in Highschool. The only thing I don't know in C++ would probably be Pointers. So if you need help, just ask. The instructor I had at the time just let us do our own work. Whenever we asked for help, he wouldn't help us. So, most of the time we had to figure out the program ourself.

Another good website to visit is Devx. This site has references to all of the possible programming languages there is including C++, C, C#, Java, etc.. It also includes downloads, a search engine, you can also ask questions, how to's, etc.. You may also join their mailing list for additional updates and help. It's a great reference site and I hope that it will help you in learning C++.

Last edited by Hailfire : 05-12-2002 at 20:37.
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
What Do We Really Program? EbonySeraphim Programming 51 04-03-2003 09:22
Other languages tchescow Website Design/Showcase 2 25-02-2003 11:28
Programming Languages Hailfire Programming 7 29-01-2003 21:10
Pre-Season Kit Learning Modules kmcclary Robotics Education and Curriculum 10 21-11-2002 11:37
Robots and the Learning Channel.... archiver 2000 0 24-06-2002 00:16


All times are GMT -5. The time now is 15:59.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi