This file contains 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
//801-1 | |
#include "stdafx.h" | |
#include<stdio.h> | |
#include<stdlib.h> | |
int main() | |
{ | |
int i, j; | |
for (i = 1; i <= 5; i++) {//從1開始,一直到5 共會出現1,2,3,4,5 | |
for (j = 0; j<i; j++)//從0開始,一直到i的前一個 | |
printf("*");//列印出*號 |
This file contains 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
package chemp.notes.linenotify; | |
import java.io.*; | |
import java.net.*; | |
import java.util.regex.Pattern; | |
public class LineNotify { | |
private static final String strEndpoint = "https://notify-api.line.me/api/notify"; | |
public boolean callEvent(String token, String message) { | |
boolean result = false; |
This file contains 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
package app.ruyut.kotlinexample | |
import android.Manifest | |
import android.app.AlertDialog | |
import android.content.Intent | |
import android.content.pm.PackageManager | |
import android.net.Uri | |
import android.os.Bundle | |
import android.provider.Settings | |
import android.widget.Toast |