Computer Science Canada

C, C++ and Assembly tutorials

Author:  dsantamassino [ Thu Nov 04, 2004 9:21 pm ]
Post subject:  C, C++ and Assembly tutorials

hi,

what is the number 1 biggest tuorials on the following??

everything or near everything on C, C++ and Assembly. What is the #1 biggest book recommened downloading using BitTorrent?? After reading some of the info, if i need help would anyone on this board would help me?? Does the #1 biggest tutorials or books go through it step by step including giving examples and instructions how to do it myself?? btw this is for an XP system. thanks..

Author:  wtd [ Thu Nov 04, 2004 9:23 pm ]
Post subject: 

Bruce Eckel's Thinking in C++ is a free download, and highly regarded by many people.

Author:  dsantamassino [ Thu Nov 04, 2004 9:29 pm ]
Post subject: 

wtd wrote:
Bruce Eckel's Thinking in C++ is a free download, and highly regarded by many people.


ok thanks.. between C, C++ and Assembly. which order do i need to follow in if i want to learn all 3?? What is a good book on C and Assembly??

Author:  wtd [ Thu Nov 04, 2004 9:36 pm ]
Post subject: 

dsantamassino wrote:
wtd wrote:
Bruce Eckel's Thinking in C++ is a free download, and highly regarded by many people.


ok thanks.. between C, C++ and Assembly. which order do i need to follow in if i want to learn all 3?? What is a good book on C and Assembly??


Don't bother until you're a much more experienced programmer. C++ is the highest level of the three, and the one least likely to leave you horribly frustrated, in my experience, if you learn C++, and not some weird, bastardized mix of C and C++. Eckel's book looks pretty good in that regard.

Author:  rizzix [ Thu Nov 04, 2004 9:38 pm ]
Post subject: 

imo learn c first then u may learn assembly. if u decide to learn c++ i suggest u start of with something easier like Ruby/python etc. not that c++ is any harder than c or assembly,, just a little complex

Author:  dsantamassino [ Thu Nov 04, 2004 9:39 pm ]
Post subject: 

wtd wrote:
dsantamassino wrote:
wtd wrote:
Bruce Eckel's Thinking in C++ is a free download, and highly regarded by many people.


ok thanks.. between C, C++ and Assembly. which order do i need to follow in if i want to learn all 3?? What is a good book on C and Assembly??


Don't bother until you're a much more experienced programmer. C++ is the highest level of the three, and the one least likely to leave you horribly frustrated, in my experience, if you learn C++, and not some weird, *******ized mix of C and C++. Eckel's book looks pretty good in that regard.


alright thanks i downloaded both volumes 1 & 2. Does that sound right?? also if i need help will someone like u or someone else will help me??

Author:  wtd [ Thu Nov 04, 2004 9:40 pm ]
Post subject: 

dsantamassino wrote:
wtd wrote:
dsantamassino wrote:
wtd wrote:
Bruce Eckel's Thinking in C++ is a free download, and highly regarded by many people.


ok thanks.. between C, C++ and Assembly. which order do i need to follow in if i want to learn all 3?? What is a good book on C and Assembly??


Don't bother until you're a much more experienced programmer. C++ is the highest level of the three, and the one least likely to leave you horribly frustrated, in my experience, if you learn C++, and not some weird, *******ized mix of C and C++. Eckel's book looks pretty good in that regard.


alright thanks i downloaded both volumes 1 & 2. Does that sound right?? also if i need help will someone like u or someone else will help me??


Absolutely.

Author:  dsantamassino [ Thu Nov 04, 2004 9:40 pm ]
Post subject: 

rizzix wrote:
imo learn c first then u may learn assembly. if u decide to learn c++ i suggest u start of with something easier like Ruby/python etc. not that c++ is any harder than c or assembly,, just a little complex


alright. whats ur choose on a free c programming book that is free or tutorial??

Author:  wtd [ Thu Nov 04, 2004 9:43 pm ]
Post subject: 

rizzix wrote:
imo learn c first then u may learn assembly. if u decide to learn c++ i suggest u start of with something easier like Ruby/python etc. not that c++ is any harder than c or assembly,, just a little complex


C is simpler than C++, but it lacks a truly straightforward way of dealing with strings, and strings are just too fundamental to new programmers (and experienced ones). For me, that's a deal-breaker when it comes to C as a starting language.

But yes, Ruby or Python are also good options, particularly because of how easy they make it to experiement with their interactive interpreters.

Author:  dsantamassino [ Thu Nov 04, 2004 9:46 pm ]
Post subject: 

wtd wrote:
rizzix wrote:
imo learn c first then u may learn assembly. if u decide to learn c++ i suggest u start of with something easier like Ruby/python etc. not that c++ is any harder than c or assembly,, just a little complex


C is simpler than C++, but it lacks a truly straightforward way of dealing with strings, and strings are just too fundamental to new programmers (and experienced ones). For me, that's a deal-breaker when it comes to C as a starting language.

But yes, Ruby or Python are also good options, particularly because of how easy they make it to experiement with their interactive interpreters.


ok i understand. but i wanted to learn all 3. after i learn all 3 my project will be way above this board that no one can help. I would need to go to a coding forum such as codeguru.com or codenewbie.com or something more advanced.

Author:  rizzix [ Thu Nov 04, 2004 9:49 pm ]
Post subject: 

dsantamassino - no idea.. i didn't take that route. i learnt BASIC first. but it was useless i didnt understand a thing back then (pfft gr 4).. then i tried AppleScript.. an now this was some years later but i got the hang of simple scripting.. then later one i tried ColdFusion (web development) things started getting intersting.. then all of a sudden i erratically accelerated my leraning pace and learnt unix shell scripting (tcsh and bash), VB (well not really, i just skimmed through it), and Java, C++ and Perl... and later on obj-c (well a little) but i lost interest of learning more languages by then.

somewhere along the time after i picked up java, i learnt Turing.


(in total i had learnt quite a few languages.. but i can't remember them all.. i can't even remember some of their names.. i'm now only specialised in Java, Perl and C++, with a bit on obj-c..)

Author:  wtd [ Thu Nov 04, 2004 10:02 pm ]
Post subject: 

My advice is this, and I've told it to a lot of other people.

Take it one language at a time. Start out with the least frustrating one, and the one which lets you concentrate on being a good programmer. You'll get better all the time, and each subsequent language you tackle will be easier.

Of the three listed, C++ is the least frustrating.

Author:  dsantamassino [ Thu Nov 04, 2004 10:04 pm ]
Post subject: 

wtd wrote:
My advice is this, and I've told it to a lot of other people.

Take it one language at a time. Start out with the least frustrating one, and the one which lets you concentrate on being a good programmer. You'll get better all the time, and each subsequent language you tackle will be easier.

Of the three listed, C++ is the least frustrating.


OK i study C++ first.

Author:  dsantamassino [ Thu Nov 04, 2004 10:05 pm ]
Post subject: 

rizzix wrote:
dsantamassino - no idea.. i didn't take that route. i learnt BASIC first. but it was useless i didnt understand a thing back then (pfft gr 4).. then i tried AppleScript.. an now this was some years later but i got the hang of simple scripting.. then later one i tried ColdFusion (web development) things started getting intersting.. then all of a sudden i erratically accelerated my leraning pace and learnt unix shell scripting (tcsh and bash), VB (well not really, i just skimmed through it), and Java, C++ and Perl... and later on obj-c (well a little) but i lost interest of learning more languages by then.

somewhere along the time after i picked up java, i learnt Turing.


(in total i had learnt quite a few languages.. but i can't remember them all.. i can't even remember some of their names.. i'm now only specialised in Java, Perl and C++, with a bit on obj-c..)


u know more then me. I know nothin not even web programming or web design. lol..

Author:  rizzix [ Thu Nov 04, 2004 10:07 pm ]
Post subject: 

ha u'll be shocked to know what wtd knows Razz

Author:  dsantamassino [ Thu Nov 04, 2004 10:14 pm ]
Post subject: 

yea wtd i need ur help.

This chapter will introduce you to the basic concepts of object-oriented programming (OOP), including an overview of OOP development methods. This chapter, and this book, assume that you have had experience in a procedural programming language, although not necessarily C. If you think you need more preparation in programming and the syntax of C before tackling this book, you should work through the "Thinking in C: Foundations for C++ and Java" training CD ROM, bound in with this book and also available at www.BruceEckel.com.


according to that it says and assumes i know some syntax and others which i dont know anything. Should i continue with the book or continue with the book that mentioned above??

Author:  wtd [ Thu Nov 04, 2004 10:19 pm ]
Post subject: 

If you know nothing yet, I suggest starting with a language other than C++. It's the least frustrating of the three you mentioned, but still synactically, and semantically incredibly complex.

Things you should understand:


  • Includes
  • Basic input and output
  • Variables
  • Constants
  • Conditionals
  • Loops
  • Functions
  • Arrays

Author:  dsantamassino [ Thu Nov 04, 2004 10:21 pm ]
Post subject: 

wtd wrote:
If you know nothing yet, I suggest starting with a language other than C++. It's the least frustrating of the three you mentioned, but still synactically, and semantically incredibly complex.

Things you should understand:


  • Includes
  • Basic input and output
  • Variables
  • Constants
  • Conditionals
  • Loops
  • Functions
  • Arrays


ok u have to work with me man.. what is the best easy language to learn then C++?? I know not a thing in anything.

Author:  wtd [ Thu Nov 04, 2004 10:26 pm ]
Post subject: 

dsantamassino wrote:
wtd wrote:
If you know nothing yet, I suggest starting with a language other than C++. It's the least frustrating of the three you mentioned, but still synactically, and semantically incredibly complex.

Things you should understand:


  • Includes
  • Basic input and output
  • Variables
  • Constants
  • Conditionals
  • Loops
  • Functions
  • Arrays


ok u have to work with me man.. what is the best easy language to learn then C++?? I know not a thing in anything.


Go with Ruby or Python. Both are easy to install, and easy to learn. Plus they'll help you learn all of these concepts by reducing the syntactic overhead.

Author:  dsantamassino [ Thu Nov 04, 2004 10:29 pm ]
Post subject: 

wtd wrote:
dsantamassino wrote:
wtd wrote:
If you know nothing yet, I suggest starting with a language other than C++. It's the least frustrating of the three you mentioned, but still synactically, and semantically incredibly complex.

Things you should understand:


  • Includes
  • Basic input and output
  • Variables
  • Constants
  • Conditionals
  • Loops
  • Functions
  • Arrays


ok u have to work with me man.. what is the best easy language to learn then C++?? I know not a thing in anything.


Go with Ruby or Python. Both are easy to install, and easy to learn. Plus they'll help you learn all of these concepts by reducing the syntactic overhead.


alright a few questions for u because most likely ur going to help me if i get stuck. which one r u most familar with Ruby or Python?? Is there any free books on either one ur familar with?? A book similar to one u gave me on C++..

edit: where do i download the one ur familar with??

Author:  wtd [ Thu Nov 04, 2004 10:31 pm ]
Post subject: 

For the depth to which you'd be getting into either language, I know them equally well. Smile

I can do fancier stuff in Ruby, though.

Author:  dsantamassino [ Thu Nov 04, 2004 10:33 pm ]
Post subject: 

wtd wrote:
For the depth to which you'd be getting into either language, I know them equally well. Smile

I can do fancier stuff in Ruby, though.


alright i go with Ruby. where do i get books from or r u going to walk me through it?? where do i download Ruby from??

Author:  wtd [ Thu Nov 04, 2004 10:38 pm ]
Post subject: 

The Windows installer is here.

Tutorials:

http://pine.fm/LearnToProgram/
http://www.math.umd.edu/~dcarrera/ruby/0.3/
http://www.ruby-doc.org/docs/ruby-doc-bundle/Tutorial/
http://poignantguide.net/ruby/

Author:  dsantamassino [ Thu Nov 04, 2004 10:41 pm ]
Post subject: 

wtd wrote:


thanks wtd.. Very Happy

Author:  wtd [ Thu Nov 04, 2004 10:48 pm ]
Post subject: 

No problem. Feel free to ask Ruby questions in the General Programming forum.

Author:  dsantamassino [ Thu Nov 04, 2004 10:54 pm ]
Post subject: 

wtd wrote:
No problem. Feel free to ask Ruby questions in the General Programming forum.


ok im on my way over there. wtd lets head to that section..

Author:  dsantamassino [ Fri Nov 05, 2004 10:35 am ]
Post subject: 

wtd wrote:


Im reading the first tutorial. Do i need to read all of those tutorials or just read anyone i want too??

Author:  wtd [ Fri Nov 05, 2004 2:08 pm ]
Post subject: 

dsantamassino wrote:
wtd wrote:


Im reading the first tutorial. Do i need to read all of those tutorials or just read anyone i want too??


Any of them, all of them, it's up to you. Certainly won't hurt to read more than one of them. Warning, though, the last one is great, but very abstract and weird.

Author:  dsantamassino [ Fri Nov 05, 2004 2:14 pm ]
Post subject: 

wtd wrote:
dsantamassino wrote:
wtd wrote:


Im reading the first tutorial. Do i need to read all of those tutorials or just read anyone i want too??


Any of them, all of them, it's up to you. Certainly won't hurt to read more than one of them. Warning, though, the last one is great, but very abstract and weird.


alright i just keep reading the first one..

Author:  dsantamassino [ Fri Nov 05, 2004 3:12 pm ]
Post subject: 

Im taking a break from reading the tutorial.

wtd, wow who gave u donate 2?? was me for u helping me?? I think it was. good job. If u get me through everything i need to know promise u will get more. Very Happy

Author:  wtd [ Fri Nov 05, 2004 3:13 pm ]
Post subject: 

dsantamassino wrote:
Im taking a break from reading the tutorial.

wtd, wow who gave u donate 2?? was me for u helping me?? I think it was. good job. If u get me through everything i need to know promise u will get more. Very Happy


I don't need any more bits. Smile

Have some for your effort, though.

Author:  dsantamassino [ Fri Nov 05, 2004 3:15 pm ]
Post subject: 

wtd wrote:
dsantamassino wrote:
Im taking a break from reading the tutorial.

wtd, wow who gave u donate 2?? was me for u helping me?? I think it was. good job. If u get me through everything i need to know promise u will get more. Very Happy


I don't need any more bits. Smile

Have some for your effort, though.


OK thanks and yea i do need alot more. lol..

thanks for the bits..

Author:  dsantamassino [ Fri Nov 05, 2004 3:20 pm ]
Post subject: 

wtd,

I understand i need to learn Ruby first and then C++. Whats next C or Assembly?? What is more less frustrating??

Author:  wtd [ Fri Nov 05, 2004 3:23 pm ]
Post subject: 

Take it one step at a time.

How are you and Ruby getting along?

Author:  dsantamassino [ Fri Nov 05, 2004 3:24 pm ]
Post subject: 

wtd wrote:
Take it one step at a time.

How are you and Ruby getting along?


Pretty good..

Author:  wtd [ Fri Nov 05, 2004 3:32 pm ]
Post subject: 

Good. How far have you gotten?

Author:  dsantamassino [ Fri Nov 05, 2004 3:51 pm ]
Post subject: 

wtd wrote:
Good. How far have you gotten?


Im so so. not to far and not to behind. tell me if this is right. I would take my favorite editor and put the examples in the editor and save it then go too my command line and work from there??

Author:  wtd [ Fri Nov 05, 2004 3:57 pm ]
Post subject: 

Yes.

You can also use the Ruby interactive interpreter.

Start -> Run, type "cmd", then at the command prompt, type "irb".

You'll see something like:

code:
irb(main):001:0>


Now, let's say you want to do simple output...

code:
irb(main):001:0> puts 3
3
=> nil
irb(main):001:0>


At this point you're ready for another line of code. Smile

Might be quicker than dealing with saving files and running them.

Author:  dsantamassino [ Fri Nov 05, 2004 5:49 pm ]
Post subject: 

wtd wrote:
Yes.

You can also use the Ruby interactive interpreter.

Start -> Run, type "cmd", then at the command prompt, type "irb".

You'll see something like:

code:
irb(main):001:0>


Now, let's say you want to do simple output...

code:
irb(main):001:0> puts 3
3
=> nil
irb(main):001:0>


At this point you're ready for another line of code. Smile

Might be quicker than dealing with saving files and running them.


alright. So i take either editor doesnt matter?? and then i take the examples from my tutorial and then put them in the command and hit enter?? Does that sound right??

Author:  wtd [ Fri Nov 05, 2004 6:08 pm ]
Post subject: 

You can use any plain text editor. Notepad will suffice, though I prefer Textpad, with the Ruby syntax highlighting extension.

Just make sure the file ends in a ".rb" extension, and not ".txt".

Do not use Word or Wordpad, or any other word processor, for that matter. They may add extra stuff you can't see for formatting. This extra "stuff" will break the program.

But yes, you can run the same code from a file, or "irb". The difference is that irb will show you much more information.

Author:  dsantamassino [ Fri Nov 05, 2004 6:14 pm ]
Post subject: 

wtd wrote:
You can use any plain text editor. Notepad will suffice, though I prefer Textpad, with the Ruby syntax highlighting extension.

Just make sure the file ends in a ".rb" extension, and not ".txt".

Do not use Word or Wordpad, or any other word processor, for that matter. They may add extra stuff you can't see for formatting. This extra "stuff" will break the program.

But yes, you can run the same code from a file, or "irb". The difference is that irb will show you much more information.


Shouldnt we be talking about Ruby in my Ruby section?? I thought this topic was for tutorials?? Am i correct?? Please correct me if im wrong..

Author:  wtd [ Fri Nov 05, 2004 6:16 pm ]
Post subject: 

Certainly. I was just replying where you asked the questions. Smile

Author:  dsantamassino [ Fri Nov 05, 2004 6:20 pm ]
Post subject: 

wtd wrote:
Certainly. I was just replying where you asked the questions. Smile


Yea thats fine. It was my fault. alright lets go to my other topic if need any.. btw wtd, r u from the USA in EST time??

Author:  wtd [ Fri Nov 05, 2004 6:32 pm ]
Post subject: 

Canada, Pacific timezone.

Author:  dsantamassino [ Fri Nov 05, 2004 9:49 pm ]
Post subject: 

wtd wrote:
Canada, Pacific timezone.


Can Canada also go in Eastern Time?? Some people online say Canada is Eastern also.

Author:  wtd [ Fri Nov 05, 2004 9:53 pm ]
Post subject: 

dsantamassino wrote:
wtd wrote:
Canada, Pacific timezone.


Can Canada also go in Eastern Time?? Some people online say Canada is Eastern also.


Yeah. Canada spans at least four timezones. I'm on the west coast, so I'm in the pacific timezone. Most here are in Ontario, which is eastern Canada, so they're in the eastern timezone.

Author:  Spitfyre [ Fri Dec 09, 2005 5:57 pm ]
Post subject: 

how do i change my status from newbe to something cooler

Author:  md [ Fri Dec 09, 2005 6:31 pm ]
Post subject: 

Spitfyre wrote:
how do i change my status from newbe to something cooler

First, it helps if you aren't a newbe. Second you're posting in a year old thread. Third you are a flaming moron.


: