Coder Social home page Coder Social logo

cs50go's Introduction

cs50GO

This project is a mirror to Harvard's CS50 course, answering all psets in Go instead of C. A project just for my own understanding of Go and programming in general.

#First Instructions for starting a Go Project:

  • install the latest stable version of Go, golang.org has the download and good installation instructions
  • Go folder structure is into what is called a GOPATH, you can find out more about setting up your Go files here: https://golang.org/doc/code.html. You can also copy the file structure I use in this project.
  • Once you have your files set up, make a simple file in your src folder (like "hello.go") and put a very simple program in it (or copy my hello.go)
  • In your terminal run: go run hello.go (or whatever you named your file)
  • If it returns your message, (or the simple hello world message if you use my example), you are good to go....pun intented?

Now that we have a good start with Go and a place to work, I will continue following the CS50 course assignments in Go. Assignments will probably have a similarly named .md file to go with them, explaining the assignment and lessons learned or interesting contrasts between the assignment as done in C and in Go.

cs50go's People

Contributors

berkeleycole avatar

Watchers

 avatar  avatar  avatar

cs50go's Issues

(week 2)Vigenere.go accepts all parameters

Vigenere.go should not accept these parameters:

  • no command line argument (os.Args[1] empty)
  • too many command line arguments (more than one key word)
  • numbers in the key word

...right now it does.

Initials array in initials.go

An array should be used to hold all initials and then printed at the end of the program. Currently the program works by printing out each individual initial separately.

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.