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
| <project name="project" default="run"> | |
| <property name="verbose" value="no" /> | |
| <!-- Set the package property to what it should be, for your project --> | |
| <property name="package" value="com.orgname.projname" /> | |
| <!-- On Linux, and at this time, this is the right path, but you might have to modify this --> | |
| <property name="modules" value="${user.home}/.gradle/caches/modules-2/files-2.1" /> | |
| <!-- Everything below should just work --> |
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
| // Column squish demo - Goran Milovanovic, 2013 | |
| #include <stdio.h> | |
| #include <string.h> | |
| #include <stdlib.h> | |
| #include <unistd.h> | |
| #define ROWS 5 | |
| #define COLS 20 | |
| #define STR_COLS "20" |
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
| #include <stdio.h> | |
| int getInfo(){ | |
| int num; | |
| printf("Enter the number of cents: "); | |
| scanf("%d%*c", &num); | |
| return (num); | |
| } | |
| void getChange(int cents, int coins[4]){ |