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

Username:   Password: 
 RegisterRegister   
 Boolean and if statement help
Index -> Programming, Turing -> Turing Help
Goto page Previous  1, 2, 3  Next
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Aange10




PostPosted: Sat Oct 15, 2011 6:59 pm   Post subject: RE:Boolean and if statement help

No problem(: ... If you want to learn about Turing then i suggest you read the walkthrough. It really will tell you everything. But if you get confused, you can make as many threads here as you like. As long as they remain relevant to the thread topic. And of course follow the rules(:

----> Turing Walkthrough <----
A.K.A : Your new best friend
Sponsor
Sponsor
Sponsor
sponsor
sammi




PostPosted: Sat Oct 15, 2011 7:05 pm   Post subject: RE:Boolean and if statement help

i already know what some of the different codes do i just dont know how to put them into my program.
seeing them by themselves and putting them into my code are 2 completetly different things to me
Aange10




PostPosted: Sat Oct 15, 2011 7:45 pm   Post subject: RE:Boolean and if statement help

Ahh, I see. But thankfully, the Turing Walkthrough also has examples, and at the end of the tutorials have "questions" that you can do. Mostly to make sure you understand the content (with the answers at the bottom)
Insectoid




PostPosted: Sat Oct 15, 2011 8:18 pm   Post subject: RE:Boolean and if statement help

The Turing Walkthrough won't teach you how to program. It may help you answer common, general questions but it doesn't cover everything. Aange10, you have like 5 posts just advocating the walkthrough. That's borderline spam.
sammi




PostPosted: Sat Oct 15, 2011 8:28 pm   Post subject: RE:Boolean and if statement help

the examples it has are different from my program though
sammi




PostPosted: Sat Oct 15, 2011 8:29 pm   Post subject: Re: RE:Boolean and if statement help

Insectoid @ Sat Oct 15, 2011 8:18 pm wrote:
The Turing Walkthrough won't teach you how to program. It may help you answer common, general questions but it doesn't cover everything. Aange10, you have like 5 posts just advocating the walkthrough. That's borderline spam.


thank you
Raknarg




PostPosted: Sat Oct 15, 2011 8:31 pm   Post subject: RE:Boolean and if statement help

That is the idea of Computer Science. You are given tools and ideas to solve a problem, rather than steps and prodedures. You can take the examples and implement their ideas into your own code.
Tony




PostPosted: Sat Oct 15, 2011 8:31 pm   Post subject: RE:Boolean and if statement help

well it wouldn't be very interesting if everyone was just following the same instructions to build same things; never anything new.
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
Sponsor
Sponsor
Sponsor
sponsor
sammi




PostPosted: Sat Oct 15, 2011 9:10 pm   Post subject: RE:Boolean and if statement help

ok so when im using the createbutton command it says i have to put the procedure before i declare the button variables. so should the procedure go at the very top right after "import GUI" and before the rest of my program variables?
Aange10




PostPosted: Sat Oct 15, 2011 9:10 pm   Post subject: Re: RE:Boolean and if statement help

Insectoid @ 15/10/2011, 7:18 pm wrote:
The Turing Walkthrough won't teach you how to program. It may help you answer common, general questions but it doesn't cover everything. Aange10, you have like 5 posts just advocating the walkthrough. That's borderline spam.


I have to disagree, I'm learning how to do it, and the only thing I've had helping me are the people here, and the Turing Walkthrough. As Raknarg put it:
Raknarg wrote:

That is the idea of Computer Science. You are given tools and ideas to solve a problem, rather than steps and prodedures. You can take the examples and implement their ideas into your own code.


in my opinion, it does teach you to program [in turing]. It gives you the tools you need, and shows you examples of how to use them. The rest of programming is using your creativity to put them to life.
sammi




PostPosted: Sat Oct 15, 2011 9:13 pm   Post subject: Re: RE:Boolean and if statement help

Aange10 @ Sat Oct 15, 2011 9:10 pm wrote:
Insectoid @ 15/10/2011, 7:18 pm wrote:
The Turing Walkthrough won't teach you how to program. It may help you answer common, general questions but it doesn't cover everything. Aange10, you have like 5 posts just advocating the walkthrough. That's borderline spam.


I have to disagree, I'm learning how to do it, and the only thing I've had helping me are the people here, and the Turing Walkthrough. As Raknarg put it:
Raknarg wrote:

That is the idea of Computer Science. You are given tools and ideas to solve a problem, rather than steps and prodedures. You can take the examples and implement their ideas into your own code.


in my opinion, it does teach you to program [in turing]. It gives you the tools you need, and shows you examples of how to use them. The rest of programming is using your creativity to put them to life.


but everyone learns differently
Aange10




PostPosted: Sat Oct 15, 2011 9:15 pm   Post subject: RE:Boolean and if statement help

Which is why it's my opinon. But we're going off topic. What error are you getting with your GUI?
sammi




PostPosted: Sat Oct 15, 2011 9:16 pm   Post subject: RE:Boolean and if statement help

some people like manuals and some people (like me) like people sitting down with them, explaining things to them while they do it
sammi




PostPosted: Sat Oct 15, 2011 9:16 pm   Post subject: RE:Boolean and if statement help

its not an error, i just dont want to put my code in the wrong order and get a bad mark because of it
Tony




PostPosted: Sat Oct 15, 2011 9:17 pm   Post subject: Re: RE:Boolean and if statement help

sammi @ Sat Oct 15, 2011 9:10 pm wrote:
so should the procedure go at the very top right after "import GUI" and before the rest of my program variables?

"declaration before use" -- basically a variable/procedure must exist, before you use its name in the program. Anywhere above the first use is fine.

If you run into circular dependencies
code:

function A() : int
   return B()
end A

function B() : int
   return A()
end B

then you could use forward to resolve the issue.
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
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 2 of 3  [ 45 Posts ]
Goto page Previous  1, 2, 3  Next
Jump to:   


Style:  
Search: