williamolojede / cs50-golang

Harvard's CS50 problem set solution in golang

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cs50-golang [WIP]

An implentation of harvard's cs50 library in go

Installation

  go get github.com/williamolojede/cs50-golang

Usage

package main

import (
	"github.com/williamolojede/cs50-golang"
)

func main(){
  c := cs50.GetChar("Prompt: ")
  s := cs50.GetString("Prompt: ")
  i := cs50.GetInt("Prompt: ")
  f := cs50.GetFloat("Prompt: ")
}

Todo

  • [] Write tests
  • [] Write Documentation
  • [] Add default parameters to functions

About

Harvard's CS50 problem set solution in golang


Languages

Language:Go 100.0%