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 :). |
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 |
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 |
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
|
Free forum by Nabble | Edit this page |