Coder Social home page Coder Social logo

cz4031-project-1's Introduction

cz4031-project-1

This repository contains the implementation for Project 1 of "Database Systems Principles (CZ/CE4031)".

Requirements

  • C++ Standard Library is installed
  • A C++ compiler installed
    • Instructions in this guide use g++
    • Any C++ compiler will work
  • Refer to guide to install the required files (only if not yet installed)

Installation

Two ways to run the program

  1. Run the windows executable file (.exe)
    • Only works for Windows 10 machine
  2. Compile the source code and run

1. Windows executable file

  1. Extract files from zip file cz4031-project-1.zip
  2. Enter directory cz4031-project-1
  3. Double click main.exe to run the program

image

Note:

  • This method only works on Windows 10 machines

  • Make sure main.exe has permission to execute. You can check by:

    1. Right-click the file (main.exe)
    2. Left-click properties
    3. Left-click the security tab
    4. Ensure the Read & execute permission is allowed.

2. Compile source code and run

  1. Extract files from the zip file cz4031-project-1.zip
  2. Enter the directory cz4031-project-1
  3. Launch terminal in current directory
  4. Compile the program
    g++ main.cpp -o main
  5. Run the program
    main
    or
    .//main

image
Note:

  • All CLI used here are for Windows machine. For other OS, modify correspondingly.

  • Ensure the executable from the compilation (main.exe) has permission to execute. You can check by:

    1. Right-click the file (main.exe)
    2. Left-click properties
    3. Left-click the security tab
    4. Ensure the Read & execute permission is allowed.

Appendix

Install Requirements

  1. Download MSYS2 installer here
  2. Run the installer. MSYS2 requires 64-bit Windows 7 or newer.
  3. Launch the program and install the required files image
  4. Add <Mingw-w64 destination folder>\mingw64\bin to PATH
    • Using the default installation settings: C:\msys64\mingw64\bin
  5. Check compiler has been correctly installed added to PATH image

cz4031-project-1's People

Contributors

mist0919 avatar mibn21 avatar limjiajing avatar macayo12138 avatar lishengjaw avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.