Student smalltalk programming project

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Student smalltalk programming project

Spirital
Hello everyone :)
I am a 1st year computer science student, and i have only been working with C++, so excuse me for my incompetence.
Recently i got a Smalltalk language project assigned to me, and seeing as i am new to the programming community, until recently i had no idea that such a language as Smalltalk existed, much less know how to code it. I have to code a program that computes 1^2 + 2^2 + 3^2 + .... + n^2 and i have no idea of how such code should look like in Smalltalk. Can anyone please give me the source code, or some directions on how to code it, because i really am a newcommer to the language and i have very limited time to start learning it from scratch. Any help would be appreciated, and thank you for your time :).
Reply | Threaded
Open this post in threaded view
|

Re: Student smalltalk programming project

Paolo Bonzini-2
On 02/06/2011 02:09 PM, Spirital wrote:

>
> Hello everyone :)
> I am a 1st computer science student, and i have only been working with C++,
> so excuse me for my incompetence.
> Recently i got a Smalltalk language project assigned to me, and seeing as i
> am new to the programming community, until recently i had no idea that such
> a language as Smalltalk existed, much less know how to code it. I have to
> code a program that computes 1^2 + 2^2 + 3^2 + .... + n^2 and i have no idea
> of how such code should look like in Smalltalk. Can anyone please give me
> the source code, or some directions on how to code it, because i really am a
> newcommer to the language and i have very limited time to start learning it
> from scratch. Any help would be appreciated, and thank you for your time :).

"Help" in the name of this mailing list doesn't mean "Help with homework".

Look up how to do loops in your notes, it should be enough.

Paolo

ps: Anybody posting source code for the above homework apart from the OP
will be instantly banned from the mailing list.

_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: Student smalltalk programming project

Allan Pinto
you could use this book,  for starters. its small and to the point.
http://www.canol.info/smalltalk/gnu_smalltalk_book.pdf

On Mon, Feb 7, 2011 at 1:00 PM, Paolo Bonzini <[hidden email]> wrote:

> On 02/06/2011 02:09 PM, Spirital wrote:
>>
>> Hello everyone :)
>> I am a 1st computer science student, and i have only been working with
>> C++,
>> so excuse me for my incompetence.
>> Recently i got a Smalltalk language project assigned to me, and seeing as
>> i
>> am new to the programming community, until recently i had no idea that
>> such
>> a language as Smalltalk existed, much less know how to code it. I have to
>> code a program that computes 1^2 + 2^2 + 3^2 + .... + n^2 and i have no
>> idea
>> of how such code should look like in Smalltalk. Can anyone please give me
>> the source code, or some directions on how to code it, because i really am
>> a
>> newcommer to the language and i have very limited time to start learning
>> it
>> from scratch. Any help would be appreciated, and thank you for your time
>> :).
>
> "Help" in the name of this mailing list doesn't mean "Help with homework".
>
> Look up how to do loops in your notes, it should be enough.
>
> Paolo
>
> ps: Anybody posting source code for the above homework apart from the OP
> will be instantly banned from the mailing list.
>
> _______________________________________________
> help-smalltalk mailing list
> [hidden email]
> http://lists.gnu.org/mailman/listinfo/help-smalltalk
>



--
Thanx and regd's.

Allan.
http://www.in2dwok.com

_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: Student smalltalk programming project

ZuLuuuuuu
In reply to this post by Spirital
The book Allan referred is enough for this task, you can skip chapter 1 since you have basic programming knowledge and read chapter 2-3-4 in one day or two. After finishing chapter 4 you will have enough knowledge to do the homework.
Canol Gökel
Reply | Threaded
Open this post in threaded view
|

Re: Student smalltalk programming project

Spirital
In reply to this post by Spirital
Thanks guys, i already started reading it. I really appreciate the help.