Jump to content

Coding challenge


snakey

Recommended Posts

  • Replies 237
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Correct me if im wrong but i think times up. and i think i win

Very true my good friend, Snaky is the winner!  Post next challange!

Link to comment
Share on other sites

---NEW CHALLENGE---

Feb. 11, 2008

Language: any

Description: Create a mini-downloader. Must be able to download files from the internet. Size of file doesn't matter just the quality. Optional to include a GUI, extra points if you do.

Must Have: An area to input the URL, a way to submit or cancel, and a load-bar (or a way to see the downloads progress).

Time limit: 1 1/2 - 2 weeks

To win: Download successfully, looks good. Also try to make it as short as possible.

Link to comment
Share on other sites

Um WTF is that i make the challenge you must win a challenge to make one.

///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

coding challenge 3

///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

Name:Calc.exe.

Language: oop 'C' languages ( C++, C#).

Description:basically make a calc clone but you can add more feature the more the better.

Musts: Class'. 

Restrictions: none.

time limit:1 week

How to win: Coollest App

Link to comment
Share on other sites

Um WTF is that i make the challenge you must win a challenge to make one.

///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

coding challenge 3

///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

Name:Calc.exe.

Language: oop 'C' languages ( C++, C#).

Description:basically make a calc clone but you can add more feature the more the better.

Musts: Class'. 

Restrictions: none.

time limit:1 week

How to win: Coollest App

this app is lame there's no way someone it going to make a calc clone better then the default calc

kaizen_0's idea is soo much better

Link to comment
Share on other sites

Add always on top and you have a winner. But thats about it.

What I want is an app for XP that adds a button next to minimize| maximize | close that adds always on top to every application. It must be smaller than 100kb, have a task tray on/off button, be as unobtrusive as possible and do nothing else. (This is a realistic coding task, I am your PHB and my only coding knowledge comes from something I read in a trade magazine during the late 90's.)

Link to comment
Share on other sites

// calculator - enter two numbers and the program sums them
// creator: Kaizen_0; version: 0.1; <stable>;

#include <iostream>
#include <iomanip>
using namespace std;

int main(void) {
    
    cout << "Welcome to Kaizen_0's calculator app. n"
         << "Just enter a number the operator (+, -, *, /)n"
         << "and a second number."
         << endl;
    
    char func;
    int result;
    int first;
    int second;
    
    cout << "Enter numbers and operator: ";
    
    while (cin >> first >> func >> second) {
        
        switch (func) {
                
            case '+': result = first + second;
                break;
            case '-': result = first - second;
                break;
            case '*': result = first * second;
                break;
            case '/': result = first / second;
                break;
            default: cout << "ErRoR!" << func<< "'" << endl;
                continue;
        }
        
        cout << "The result is: " << result << endl;
    }
    
    return 0;
}

this is the calc app. sorry dont have the .exe yet.

Link to comment
Share on other sites

// calculator - enter to numbers and the program sums them
// creator: Kaizen_0; version: 0.1; <stable>;

#include <iostream>
#include <iomanip>
using namespace std;

class equation {
    
public:
    char func;
    int result;
    int first;
    int second;
    
};

int main(void) {
    
    cout << "Welcome to Kaizen_0's calculator app. n"
         << "Just enter a number, the operator (+, -, *, /),n"
         << "and a second number."
         << endl;
    
    equation eq;

    cout << "Enter numbers and operator: ";
    
    while (cin >> eq.first >> eq.func >> eq.second) {
        
        switch (eq.func) {
                
            case '+': eq.result = eq.first + eq.second;
                break;
            case '-': eq.result = eq.first - eq.second;
                break;
            case '*': eq.result = eq.first * eq.second;
                break;
            case '/': eq.result = eq.first / eq.second;
                break;
            default: cout << "ErRoR!" << eq.func<< "'" << endl;
                continue;
        }
        
        cout << "The result is: " << eq.result << endl;
    }
    
    return 0;
}

there the new one with a class

Link to comment
Share on other sites

---Challenge 4---

Feb. 21 2007 9:30 PM EST

Ok, this is gonna be a weird one.

Description: create a program that is meant to crash, but hide the intentional error. Don't tell what the error is you can put up to 5 errors in it. The program must be a Random Generator (yes but no ordinary one, it must allow the user to input the different choices and the randomly choose one).

To win: to win you must make the coolest one (of course) and have the hardest errors to find. People must also participate and post the errors they find and you cannot post your errors (answers) until the challenge is done. Also the more complex the better.

Time: you have one week from today (Feb. 28, 2007 at 9:30 PM EST).

Requirements: Must be written in C++, must have a .EXE (for at least windows).

Have fun and i know its a weird challenge but it helps both ways, you get to practice programming, and others get to practice debugging.

Link to comment
Share on other sites

  • 2 weeks later...

So its a randum number generator that crashes?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.

×
×
  • Create New...