Pascal, C, C++ or Java ? !!!
Moderator: Board moderators
-
- Learning poster
- Posts: 94
- Joined: Sat Oct 05, 2002 5:34 pm
- Location: CS - AIUB, Dhaka, Bangladesh.
- Contact:
Pascal, C, C++ or Java ? !!!
Which one is the prefferable programming language to do the problems? Pascal, C, C++ or Java. And why?? Plz, eXplain.
Sajid Online: www.sajidonline.com
-
- Learning poster
- Posts: 90
- Joined: Sat Feb 15, 2003 1:39 am
- Location: Paris, France
- Contact:
definitly C
I don't know Pascal, but I think that C and java are the best. The fact that they are the most popular languages is not a chance. In my opinion, you can do things faster in C (I always use C) cause you write almost everything. Java could be useful for some problem as lots of things are already done and you don't have to write all from scratch.
I will check this monday and post another reply. It could have said silly things (hope not
).
I will check this monday and post another reply. It could have said silly things (hope not

Not AC yet
AC at last 


-
- Learning poster
- Posts: 94
- Joined: Sat Oct 05, 2002 5:34 pm
- Location: CS - AIUB, Dhaka, Bangladesh.
- Contact:
Thanx
Thanx for your post. U tried to help me. In fact, u helped me...
Anyway, what about C++? Is not better than C??? I want to know.
And thanx again..
C ya...


Anyway, what about C++? Is not better than C??? I want to know.
And thanx again..
C ya...
Sajid Online: www.sajidonline.com
-
- Learning poster
- Posts: 90
- Joined: Sat Feb 15, 2003 1:39 am
- Location: Paris, France
- Contact:
There are not many differences between C and C++. I wouldn't say that it is better.Actually, I never tried C++ for any problem and I don't even know why it's used here. I use C (or java if built functions are needed) for algorithms prgramation and C++ (or GTKSajid wrote: Anyway, what about C++? Is not better than C??? I want to know.

I nevertheless will get confirmation for Monday.
Not AC yet
AC at last 


-
- Learning poster
- Posts: 94
- Joined: Sat Oct 05, 2002 5:34 pm
- Location: CS - AIUB, Dhaka, Bangladesh.
- Contact:
thanx
I also never tried C++. what is the good practice, C or C++?There are not many differences between C and C++. I wouldn't say that it is better.Actually, I never tried C++ for any problem and I don't even know why it's used
by the way, what is GTK?
Thanx again...
Sajid Online: www.sajidonline.com
-
- Learning poster
- Posts: 90
- Joined: Sat Feb 15, 2003 1:39 am
- Location: Paris, France
- Contact:
I only use C, but a lot of people seem to prefer C++. So I won't say C is better.
It's not really important for the contest, but GTK mean Gimp ToolKit. It was created by the Gimp programmers. It's a tool based on an infinite loop whitch allow to use the mouse and the keyboard in real time. It a C-upgraded language. But it only work on linux
(and maybe others unix).
It's not really important for the contest, but GTK mean Gimp ToolKit. It was created by the Gimp programmers. It's a tool based on an infinite loop whitch allow to use the mouse and the keyboard in real time. It a C-upgraded language. But it only work on linux

Not AC yet
AC at last 


-
- Learning poster
- Posts: 94
- Joined: Sat Oct 05, 2002 5:34 pm
- Location: CS - AIUB, Dhaka, Bangladesh.
- Contact:
.... What about the Compilar of the Judge in acm.uva ? what is the name??
Sajid Online: www.sajidonline.com
-
- Learning poster
- Posts: 90
- Joined: Sat Feb 15, 2003 1:39 am
- Location: Paris, France
- Contact:
confirmation
C goes very fast, it's the most taught and it's the easier to use with Linux
.
C++ has some built functions like hastable, but it's slower. The inputs / outputs are easier than in C.
Java is still slower but there is a lot of useful things (hashtable, BigInteger, BigDecimal, lists already done, automatic dynamic allocation).
Pascal is an old language. I was told it's not really efficient but it's accepted by the OJ cause it's still very taught.
thanks Julien

C++ has some built functions like hastable, but it's slower. The inputs / outputs are easier than in C.
Java is still slower but there is a lot of useful things (hashtable, BigInteger, BigDecimal, lists already done, automatic dynamic allocation).
Pascal is an old language. I was told it's not really efficient but it's accepted by the OJ cause it's still very taught.
thanks Julien
Not AC yet
AC at last 


-
- Experienced poster
- Posts: 145
- Joined: Sat Feb 23, 2002 2:00 am
- Location: Paris, France
- Contact:
Re: confirmation
thanks Julien[/quote]
You're welcome Olivier
))
You're welcome Olivier

-
- Experienced poster
- Posts: 145
- Joined: Sat Feb 23, 2002 2:00 am
- Location: Paris, France
- Contact:
[quote="bery olivier"]
It's not really important for the contest, but GTK mean Gimp ToolKit. .... But it only work on linux :( (and maybe others unix).[/quote]
Just a small post to tell that GTK has been ported on other systems, such as Windows (for example).
But anyway, even GTK-based programs written to run on a Linux plateform need some arrangements done before being able to compile on a Windows machine. If you need a portable piece of software, with easy-to-develop interface, I'd advise you to use Java, though it's horribly slow (it has been speeded-up since the beginning thanks to on-the-fly-compiling virtual machines, but it still remains really slow... as we say here in France, one cannot have both the butter and the money for the butter : OOP Language, portable, with dynamic linking, and speed :).
Well, end of the parenthesis, wich has nothing to see with the contest - except maybe the curiosity that bring us all trying to solve those damned problems ;)
Julien
It's not really important for the contest, but GTK mean Gimp ToolKit. .... But it only work on linux :( (and maybe others unix).[/quote]
Just a small post to tell that GTK has been ported on other systems, such as Windows (for example).
But anyway, even GTK-based programs written to run on a Linux plateform need some arrangements done before being able to compile on a Windows machine. If you need a portable piece of software, with easy-to-develop interface, I'd advise you to use Java, though it's horribly slow (it has been speeded-up since the beginning thanks to on-the-fly-compiling virtual machines, but it still remains really slow... as we say here in France, one cannot have both the butter and the money for the butter : OOP Language, portable, with dynamic linking, and speed :).
Well, end of the parenthesis, wich has nothing to see with the contest - except maybe the curiosity that bring us all trying to solve those damned problems ;)
Julien
Re: confirmation
Pascal is still with us because these kinds of problems can be solved with it, and more important, I use itbery olivier wrote:Pascal is an old language. I was told it's not really efficient but it's accepted by the OJ cause it's still very taught.

Best regards,
Fernando N
Fernando N
-
- Learning poster
- Posts: 94
- Joined: Sat Oct 05, 2002 5:34 pm
- Location: CS - AIUB, Dhaka, Bangladesh.
- Contact:
Thanx to u all, guys..
and what about the Real Life programming? what is prefferable?
and what about the Real Life programming? what is prefferable?
Sajid Online: www.sajidonline.com
My opinion: it depends on the kind of programs you're going to develop. For example - in Windows -, for those horrible programs to make bills and manage customers, VB/Delphi. System utilities can be done using Delphi or VC. In Linux I would say that C/C++ are almost the only option, because Kylix is not very spread yet. For web interface in both Windows and Linux, say php and/or perl. For Windows-only web interface, asp. If you need portability and speed is not a problem, say Java, or if you can wait, .NET/go-Mono.
Best regards,
Fernando N
Fernando N
-
- Learning poster
- Posts: 94
- Joined: Sat Oct 05, 2002 5:34 pm
- Location: CS - AIUB, Dhaka, Bangladesh.
- Contact:
Thanx fpnc for ur reply.....
now, i want to know, how have we gained by solving problems in this site or any other programming contest? plzz, eXplain...
now, i want to know, how have we gained by solving problems in this site or any other programming contest? plzz, eXplain...
Sajid Online: www.sajidonline.com
-
- Experienced poster
- Posts: 145
- Joined: Sat Feb 23, 2002 2:00 am
- Location: Paris, France
- Contact: