Skip to content

DnSClub/Library-Challenge-2024

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

      

Library Challenge 2024

Welcome to the Library Challenge 2024! This repository contains libraries and examples for you to create unique and interesting software using supported programming languages: C, C++, Python, and Kotlin.

DEVPOST

Join the devpost for the competition here!

Table of Contents

  1. Introduction
  2. Installation Instructions
  3. Compiling Examples
  4. Usage
  5. Contributing
  6. License
  7. Additional Resources

Introduction

The Library Challenge 2024 is designed to inspire creativity and innovation by encouraging participants to use the provided libraries in unique and interesting ways. Whether you're a beginner or an experienced developer, this challenge is an excellent opportunity to showcase your skills and learn new ones.

Installation Instructions

Windows

To install the required programming languages on Windows, follow the instructions in this video tutorial.

Ubuntu

Open your terminal and run the following commands:

  • C++:
    sudo apt-get install g++
  • C:
    sudo apt-get install gcc
  • Python:
    sudo apt-get install python3
  • Kotlin:
    sudo snap install --classic kotlin

macOS

To install the required programming languages on macOS, follow the instructions in this video tutorial.

Compiling Examples

To learn how to compile the library examples provided in this repository, watch this compilation tutorial.

C/C++ Example

To compile a C or C++ example, use the following commands:

gcc -o example example.c    # For C
g++ -o example example.cpp  # For C++
./example

Python Example

Python scripts do not require compilation. You can run a Python script directly using:

python3 example.py

Kotlin Example

Note: for Kotlin, it is highly recommended to use IntelliJ Idea (Community Edition) as it allows you to configure a project's build settings and run it without compiling directly. It's also developed & maintained by JetBrains, the company behind the language! See this link for more IDE recommendations.

To compile and run a Kotlin example, use the following commands:

kotlinc example.kt -include-runtime -d example.jar
java -jar example.jar

Usage

C/C++ Usage

Include the necessary headers and link the provided libraries in your C/C++ projects. For example:

#include "library.h"

int main() {
    // Your code here
    return 0;
}

Python Usage

Import the provided modules in your Python scripts. For example:

import library

# Your code here

Kotlin Usage

Please see this section for an important note.

Include the necessary packages and use the provided classes and functions in your Kotlin projects. For example:

import library.*

fun main() {
    // Your code here
}

License

This project is licensed under the MIT License. See the LICENSE file for more details.

Additional Resources

For any questions or issues, feel free to open an issue in this repository. Enjoy the challenge and happy coding!

- DNS

About

A collection of libraries in C++, Python, C, and Kotlin for DNSxCSSS' LibComp.a '24 Coding Competition!

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •