Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 C, C++ and Assembly tutorials
Index -> Programming, C++ -> C++ Tutorials
Goto page Previous  1, 2, 3, 4  Next
View previous topic Printable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
wtd




PostPosted: Fri Nov 05, 2004 3:13 pm   Post subject: (No 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.
Sponsor
Sponsor
Sponsor
sponsor
dsantamassino




PostPosted: Fri Nov 05, 2004 3:15 pm   Post subject: (No 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..
dsantamassino




PostPosted: Fri Nov 05, 2004 3:20 pm   Post subject: (No subject)

wtd,

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




PostPosted: Fri Nov 05, 2004 3:23 pm   Post subject: (No subject)

Take it one step at a time.

How are you and Ruby getting along?
dsantamassino




PostPosted: Fri Nov 05, 2004 3:24 pm   Post subject: (No subject)

wtd wrote:
Take it one step at a time.

How are you and Ruby getting along?


Pretty good..
wtd




PostPosted: Fri Nov 05, 2004 3:32 pm   Post subject: (No subject)

Good. How far have you gotten?
dsantamassino




PostPosted: Fri Nov 05, 2004 3:51 pm   Post subject: (No 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??
wtd




PostPosted: Fri Nov 05, 2004 3:57 pm   Post subject: (No 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.
Sponsor
Sponsor
Sponsor
sponsor
dsantamassino




PostPosted: Fri Nov 05, 2004 5:49 pm   Post subject: (No 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??
wtd




PostPosted: Fri Nov 05, 2004 6:08 pm   Post subject: (No 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.
dsantamassino




PostPosted: Fri Nov 05, 2004 6:14 pm   Post subject: (No 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..
wtd




PostPosted: Fri Nov 05, 2004 6:16 pm   Post subject: (No subject)

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




PostPosted: Fri Nov 05, 2004 6:20 pm   Post subject: (No 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??
wtd




PostPosted: Fri Nov 05, 2004 6:32 pm   Post subject: (No subject)

Canada, Pacific timezone.
dsantamassino




PostPosted: Fri Nov 05, 2004 9:49 pm   Post subject: (No subject)

wtd wrote:
Canada, Pacific timezone.


Can Canada also go in Eastern Time?? Some people online say Canada is Eastern also.
Display posts from previous:   
   Index -> Programming, C++ -> C++ Tutorials
View previous topic Tell A FriendPrintable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 3 of 4  [ 48 Posts ]
Goto page Previous  1, 2, 3, 4  Next
Jump to:   


Style:  
Search: