Created
May 2, 2020 00:54
-
-
Save danielhams/df28940940a33263b3250ecd7bac3d51 to your computer and use it in GitHub Desktop.
Simple C and CC programs.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
simple.c - compile with mips-sgi-irix6.5-gcc -o simple_c simple.c | |
#include <stdio.h> | |
int main(int argc, char **argv) | |
{ | |
printf("All good.\n"); | |
return 0; | |
} | |
simple.cc - compile with mips-sgi-irix6.5-g++ -o simple_cc simple.cc | |
#include <iostream> | |
int main(int argc, char**argv) | |
{ | |
std::cout << "All good" << std::endl; | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment