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

Username:   Password: 
 RegisterRegister   
 TRUEST PROGRAM EVER
Index -> Programming, Turing -> Turing Submissions
Goto page Previous  1, 2
View previous topic Printable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
jonos




PostPosted: Sun Feb 01, 2004 2:35 pm   Post subject: (No subject)

maybe im not paying enough attention, you people have to explain this stuff.
Sponsor
Sponsor
Sponsor
sponsor
Cervantes




PostPosted: Sun Feb 01, 2004 2:50 pm   Post subject: (No subject)

Turing is not a language that is used much for commercial products. things like C or C++ are though. Turing is used to teach compsci because Turing is easy to learn... Mckenzie did something like this

Turing
code:
put "hello world"


C
code:
cout <."hello world".>


(I got that one totally wrong, and same with Java. I got the commands right though Smile )

Java
code:
System.Print.Out "hello world"


basically Turing is the easiest language to learn. without learning how to solve problems in programing learning something like C is REALLY hard
Paul




PostPosted: Sun Feb 01, 2004 2:54 pm   Post subject: (No subject)

I thought it was for java
code:

System.out.print ( "Hello world"); <-- need this after a command


or
code:

System.out.println ( "Hello World");

for a line
Andy




PostPosted: Sun Feb 01, 2004 2:55 pm   Post subject: (No subject)

for c, isnt it cout<<"hello world\n"?
Cervantes




PostPosted: Sun Feb 01, 2004 3:08 pm   Post subject: (No subject)

I told you guys I got the syntax wrong but nooo you gotta go nitpicking.. Evil or Very Mad


the point is what the heck is cout?! put is a lot more understandable to someone who is starting to learn programing.
not only cout but the << and the \n and the ( ) and the ;

Cheers
shorthair




PostPosted: Sun Feb 01, 2004 3:18 pm   Post subject: (No subject)

turing , pascal , python <--- all learning languages , once again start with that it makes other easier becuase you try to relate their difficult syntax to turing code or somthing , i like to port my programs to basic for practise
Paul




PostPosted: Sun Feb 01, 2004 3:43 pm   Post subject: (No subject)

I don't know about that, if I had started Java before I started turing, I would have thought about programs Java wise, now whenever I made a program in Java, I have to think how I would do it in Turing, and thats a bother.
Cervantes




PostPosted: Sun Feb 01, 2004 4:14 pm   Post subject: (No subject)

C is a better example then Java. still Java has GOT to be harder to learn than Turing...
Sponsor
Sponsor
Sponsor
sponsor
jonos




PostPosted: Sun Feb 01, 2004 4:26 pm   Post subject: (No subject)

c++ is cout << "hello mars" << endl;
or
cout << "hello mars\n";

c is
printf ("akl;sl");
or something like that, i don't know anything about the c one.
Cervantes




PostPosted: Sun Feb 01, 2004 4:33 pm   Post subject: (No subject)

yeah! there's even a wierd difference between C and C++!! Exclamation Exclamation

Turing is easy. other's aren't Smile
jonos




PostPosted: Sun Feb 01, 2004 4:55 pm   Post subject: (No subject)

my question is why are people still posting in this thread, im stopping as of now.
Andy




PostPosted: Sun Feb 01, 2004 4:58 pm   Post subject: (No subject)

actually printf works in c++ too... u just have to include stdio.h or cstdio when using namespace... the main difference between c and c++ is the fact that c++ has classes... but McKenzie said there are some other minor changes too...
AsianSensation




PostPosted: Sun Feb 01, 2004 5:16 pm   Post subject: (No subject)

damn it people, quit spamming in the submission forum, that's why we have GD and Spam. I'm locking this.

a warning also, from now on, I won't be hesitating to delete or lock any topic in the Turing section if I see that there is some kind of spamming going on.
Display posts from previous:   
   Index -> Programming, Turing -> Turing Submissions
View previous topic Tell A FriendPrintable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 2 of 2  [ 28 Posts ]
Goto page Previous  1, 2
Jump to:   


Style:  
Search: