Author |
Message |
jonos
|
Posted: 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
|
|
|
Cervantes
|
Posted: 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
C
code: | cout <."hello world".> |
(I got that one totally wrong, and same with Java. I got the commands right though )
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
|
Posted: 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
|
Posted: Sun Feb 01, 2004 2:55 pm Post subject: (No subject) |
|
|
for c, isnt it cout<<"hello world\n"? |
|
|
|
|
|
Cervantes
|
Posted: 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..
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
|
Posted: 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
|
Posted: 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
|
Posted: 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
|
|
|
jonos
|
Posted: 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
|
Posted: Sun Feb 01, 2004 4:33 pm Post subject: (No subject) |
|
|
yeah! there's even a wierd difference between C and C++!!
Turing is easy. other's aren't |
|
|
|
|
|
jonos
|
Posted: 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
|
Posted: 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
|
Posted: 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. |
|
|
|
|
|
|