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

Username:   Password: 
 RegisterRegister   
 Help making a building!!!
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
safwat




PostPosted: Mon Feb 12, 2007 9:39 pm   Post subject: Help making a building!!!

hi can u please give me the guidelines or codes to make a buildings. I really need help i am really new to turing
thx
Sponsor
Sponsor
Sponsor
sponsor
ericfourfour




PostPosted: Mon Feb 12, 2007 10:51 pm   Post subject: RE:Help making a building!!!

Could you possibly elaborate? What kind of buildings do you want to make? A house? An apartment building? Or are you having trouble building your program?
safwat




PostPosted: Tue Feb 13, 2007 12:03 pm   Post subject: Re: Help making a building!!!

oh sorry i need to make a restaunt!!
could you give me guidelines on that
Cervantes




PostPosted: Tue Feb 13, 2007 3:03 pm   Post subject: RE:Help making a building!!!

You need to give some more details. What are you trying to do? Are you trying to draw a picture of a restaurant? Or are you trying to simulate a restaurant in terms of sales and customers and such? Or are you trying to simulate the physical building, with regard to stresses and torques and winds and storms etc. Maybe you could simulate the global weather and apply the weather in a specific region to your restaurant.

In short, we need more details.
syntax_error




PostPosted: Tue Feb 13, 2007 4:52 pm   Post subject: Re: Help making a building!!!

um........ again not sure what you wanted but if you what to draw a restaunt you might want to look up the draw funtions
go to the Turing Walkthrough and learn how to draw in turing and then you can get a start then we might beable to help you
futher

<hr>

some tihing you might what to look up.....

Turing:

Draw.Arc(x, y, xRadius, yRadius : int,
    initialAngle, finalAngle, Color : int)

Draw.Box(x1, y1, x2, y2, Color : int)
Draw.Fill (x, y : int, fillColor, borderColor : int)
Draw.Oval(x, y, xRadius, yRadius, Color : int)
Draw.Star(x1, y1, x2, y2, Color : int)
Draw.Mapleleaf(x1, y1, x2, y2, Color : int)

all at your finger tips with F10~!
hope that helps...................
rollerdude




PostPosted: Tue Feb 20, 2007 10:12 am   Post subject: Re: Help making a building!!!

well... those previous posts didn't really help... i have a routine for a house... you kin modify

class aHouse
export initialize, build
var x, y, hsize, vsize, clr : int
proc initialize (ax, ay, ahsize, avsize, aclr : int)
x := ax
y := ay
hsize := ahsize
vsize := avsize
clr := aclr
end initialize

proc build

Draw.FillBox (x, y, x + hsize, y + vsize, clr)
Draw.Line (x, y + vsize, x + (hsize div 2), y + vsize + vsize, clr)
Draw.Line (x + hsize, y + vsize, x + (hsize div 2), y + vsize +
vsize, clr)
drawfill (x + (hsize div 2), y + (hsize + 1), clr, clr)
end build
end aHouse

var house1:^aHouse
house1->initialize 910,10,50,50,brightred)
house1->build
apomb




PostPosted: Tue Feb 20, 2007 10:57 am   Post subject: Re: Help making a building!!!

FORMAT YOUR CODE! ... and he asked for guidelines, dont just throw code out there! that was a good gesture, syntax error. but people have to stop giving noobs already made programs. jeeze!

and c'mon "you kin modify"!? of COURSE he has to ... otherwise, thats plagiarism. no matter if you gave him permission or not. He wont learn a damn thing if he just prints that out and hands it in... C'mon people, get some common sense.
ericfourfour




PostPosted: Tue Feb 20, 2007 3:13 pm   Post subject: RE:Help making a building!!!

Umm. Did he say he wanted to draw a restaurant or make one? Read cervantes' post if you are still confused. You guys shouldn't bother wasting your time if you don't know what safwat wants to do.
Sponsor
Sponsor
Sponsor
sponsor
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 8 Posts ]
Jump to:   


Style:  
Search: