Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Wanting to learn...Come here for details.
#6
(07-27-2010, 04:40 PM)Bronze Wrote: Hello world examples:

Python:
Code:
print 'hello world'

C++
Code:
#include <iostream>
using namespace std;

int main()
{
   cout << "Hello World\n";
   cin.get();
   return 0;
}

see what I mean?

That's a little unfair since you made the C++ example unnecessary long.

Code:
#include <iostream>
int main()
{
   std::cout << "Hello World\n";
   return 0;
}

Now show me how many lines of code it would make to write a memory pool in Python Tongue (not that you can, since Python abstracts the memory allocations away from you; I guess you could do it by writing it in C and wrapping Python around it)
[Image: sig.php]
The little boat gently drifted across the pond exactly the way a bowling ball wouldn't.
Reply


Messages In This Thread
RE: Wanting to learn...Come here for details. - by MrD. - 07-30-2010, 04:39 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  At What Age Did You Learn C++ Win 66 20,796 12-11-2011, 02:52 PM
Last Post: Neel

Forum Jump:


Users browsing this thread: 4 Guest(s)