Last active
November 21, 2016 06:59
-
-
Save tobychung/fd59c7e28221c30fb18ff8a7c2f2d1bd to your computer and use it in GitHub Desktop.
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
#include <iostream> | |
#include <stdio.h> | |
using namespace std; | |
int main() { | |
char a; | |
a = 'A'; | |
//if括弧裡面為條件 | |
if(a){ | |
//如果條件為true進這裡 | |
printf("exist", a); | |
}else{ | |
//如果條件不符進這裡 | |
printf("does not exist", a); | |
} | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment