Contest language: C/C++?

Online C++ programming contests.

Moderators: Darobat, RecursiveS, Dante Shamest, Bugdude, Wizard, raimo

Would you absolutely need to code your contest submissions in C language?

Yes, I know only C
3
4%
Yes, I think pure C is faster than C++
4
6%
No, there is no problem in using C++
65
90%
 
Total votes : 72

Contest language: C/C++?

Postby raimo » Sun Oct 26, 2003 3:21 am

The description for the next contest is already written but one thing needs some research(among other things).

Do you think there should be a possibility to use C language in contest submissions?

If the contest is not about special features of C++(like meta-programming, for instance), should the problem description provide a way to participate using C(that is, use no std::vectors, std::strings but replace them with C arrays)?

I do not ask how fast you think C++ or C is, but rather whether you have a problem with using vectors, strings or other C++-specific structures.
Last edited by raimo on Thu Nov 13, 2003 10:18 am, edited 2 times in total.
User avatar
raimo
 
Posts: 372
Joined: Fri Sep 26, 2003 6:50 am
Location: Finland

Postby jgbauman » Sun Oct 26, 2003 5:27 am

I'm for C++ contests, but I can't vote. I can only see the results (and yes, i'm logged in)...
User avatar
jgbauman
 
Posts: 358
Joined: Sat Sep 27, 2003 9:00 am

Postby loobian » Sun Oct 26, 2003 5:37 am

Please, try again!
You should be able to vote now.
User avatar
loobian
Site Admin
 
Posts: 679
Joined: Mon Sep 15, 2003 3:09 pm

Postby jgbauman » Sun Oct 26, 2003 6:03 am

Thanks, now it works ;-)
User avatar
jgbauman
 
Posts: 358
Joined: Sat Sep 27, 2003 9:00 am

Postby Syntaxx » Sun Oct 26, 2003 8:50 am

As I voted, I think that the option of using either C or C++ should be there.
C++, because I don't like Java.

In my second year of CCNA classes, hope to be certified after the end of the school year.
Syntaxx
 
Posts: 86
Joined: Tue Sep 23, 2003 5:46 pm
Location: Philadelphia, PA

Postby MXP » Sun Oct 26, 2003 3:26 pm

I have no problem with allowing the use of the STL or C++ specific features.
Need information on a function I've posted? Chances are it's at the MSDN.
MXP
 
Posts: 6506
Joined: Mon Sep 22, 2003 5:27 pm

Postby Jetru » Mon Oct 27, 2003 6:39 am

blargh.What for those ppl who know only the 'C' part of C++?
Task Throttling!

You can't conquer the game if you can't conquer yourself.
User avatar
Jetru
 
Posts: 751
Joined: Sat Oct 18, 2003 11:46 pm
Location: Bangalore,India

Postby jgbauman » Mon Oct 27, 2003 7:43 am

Jetru wrote:blargh.What for those ppl who know only the 'C' part of C++?

Perhaps C++ only contest would be a nice motivation to learn things like templates, vector<> and iterators.
User avatar
jgbauman
 
Posts: 358
Joined: Sat Sep 27, 2003 9:00 am

Postby Wizard » Mon Oct 27, 2003 10:13 am

Knowing only the C part of C++ is like owning a car and never traveling the highways. Sure, it may be a little safer and less congested on the back roads, but think how much faster you'd get where you were going, and how much gas you'd save if you travelled the main roads.
User avatar
Wizard
Site Admin
 
Posts: 3226
Joined: Mon Sep 22, 2003 4:52 pm
Location: ON, CA

Postby Jetru » Tue Oct 28, 2003 5:42 am

I'm still Learning. Its not like i dont want to learn it. I know only bits and pieces of classes. So I'm driving on the main roads and doing my best to go to the highways
Task Throttling!

You can't conquer the game if you can't conquer yourself.
User avatar
Jetru
 
Posts: 751
Joined: Sat Oct 18, 2003 11:46 pm
Location: Bangalore,India

Postby Wizard » Tue Oct 28, 2003 8:08 am

I know, I'm just using a clever analogy. Bask in my clever analogy. Or don't.
Pascal is like driving a motorcycle. More fuel efficient, and the adept can swerve through spaces other vehicles normally couldn't (don't do this, it's dangerous) thus saving a great deal of time, but you don't get all the features you normally would with a car, such as radio, windshield wipers, and a heater for those long, cold nights.
Assembly is like driving a tank. Takes a long time to master, but a skilled driver can get surprising speed while still maintaining it's excellent maneuverability. Plus, if anything gets in your way, you simple run it down, or blow it up.
User avatar
Wizard
Site Admin
 
Posts: 3226
Joined: Mon Sep 22, 2003 4:52 pm
Location: ON, CA

Postby Jetru » Wed Nov 05, 2003 6:51 am

O yes i was told that Assembly was VERY powerful. And congrats on your 200th post Wizard!
Task Throttling!

You can't conquer the game if you can't conquer yourself.
User avatar
Jetru
 
Posts: 751
Joined: Sat Oct 18, 2003 11:46 pm
Location: Bangalore,India

Postby Esran » Sun Apr 11, 2004 5:02 pm

It only makes sense to learn C++. It's not that hard. I support the contest being only for those who know C++. Oh, by the way, I think that classes are one of the best features modern programming languages have to offer (But don't take my word for it because I've only been exposed to C++ and Java, thus I can't draw complete opinions yet).
User avatar
Esran
 
Posts: 297
Joined: Fri Apr 09, 2004 4:42 pm

Postby Dante Shamest » Mon May 17, 2004 11:15 am

I think that classes are one of the best features modern programming languages have to offer


Nothing modern about it. The concept of classes has been around for over 30 years, since the Smalltalk language days.
User avatar
Dante Shamest
Moderator
 
Posts: 3131
Joined: Wed Oct 22, 2003 10:29 pm
Location: Malaysia

Postby WaltP » Mon May 17, 2004 9:04 pm

IMAO a contest should simply be a problem description. The solution should be up to the contestee, whether C, C++, Pascal, Assembler, ADA. The solution ideally should be able to be written in whatever is most comfortable for the participant. Granted, on these boards, the solution should only be posted in C, C++, C#.
There are only 10 types of people in the world -- those that use binary, and those that don't
WaltP
 
Posts: 1187
Joined: Thu Oct 16, 2003 11:24 am


Return to Contests

Who is online

Users browsing this forum: No registered users and 0 guests