CSC270 Demo Page with Code 2019

From CSclasswiki
Revision as of 09:35, 25 April 2019 by Thiebaut (talk | contribs) (Some Random Text)
Jump to: navigation, search

Some Random Text

Say you want to create a link to the Python section, below, in some other page on this wiki. Here's what you can do:

  1. locate the table of contents on this page at the top.
  2. click on Python
  3. observe the end of the URL in the URL bar of your browser: CSC270_Demo_Page_with_Code_2019#Python
  4. copy paste this and put it inside a link on the other wiki page where you want the reference to your python code. It will look something like this:
[[CSC270_Demo_Page_with_Code_2019#Python | Python code for RPi]]

and voilà!

Lorem ipsum sed varius lectus egestas quis primis vehicula, nisi urna arcu orci tincidunt cubilia aliquet fringilla senectus aenean hendrerit fusce dui a.

Vivamus habitant nec tempor cras vel arcu justo malesuada ligula viverra, condimentum hendrerit justo congue platea habitasse tempus rhoncus torquent auctor ante, faucibus auctor a odio interdum potenti cras dapibus purus.

Quisque dui fringilla mi amet mauris ipsum euismod, donec suscipit blandit justo aliquet tortor vitae cursus, morbi conubia rhoncus adipiscing enim porttitor.

Neque habitasse risus morbi vivamus duis fusce enim, tristique lacinia curae arcu ultricies feugiat gravida velit, luctus tempus quisque vehicula est venenatis.

Habitasse tristique fusce nullam odio potenti, quisque magna nam rhoncus vel donec, nisi fringilla fermentum quam porta tellus consectetur urna dolor est praesent eleifend tellus placerat lacinia potenti.


# Mickey Mouse
# Displays a nice welcoming message.
# Works with Python 2 or 3+ versions
# To run:
#    python3
# or
#    python
from __future__ import print_function
def main():
   print( "Hello Pluto!" )



// hello.c
// Minnie Mouse
// To compile and run:
//    gcc -o hello hello.c
//    ./hello

#include <stdio.h>

int main( int argc, char *argv[] ) {
   printf( "Hello there, Mickey!\n\n" );
   return 0;