2019NHK_teamA / bitset

Files at this revision

API Documentation at this revision

Comitter:
yosino_adati
Date:
Tue Sep 10 01:03:23 2019 +0000
Parent:
3:2a301290cf76
Commit message:
henkou wo kuwaemashita.

Changed in this revision

bit_set.cpp Show annotated file Show diff for this revision Revisions of this file
bit_set.h Show annotated file Show diff for this revision Revisions of this file
--- a/bit_set.cpp	Tue Sep 10 00:27:03 2019 +0000
+++ b/bit_set.cpp	Tue Sep 10 01:03:23 2019 +0000
@@ -30,7 +30,7 @@
         *var &= ~(0x01<<cons);
     }
 
-    bool bitcheck(char var,int cons)
+    bool bittest(char var,int cons)
     {
         return (var &= 0x01<<cons)?true:false;
     }
\ No newline at end of file
--- a/bit_set.h	Tue Sep 10 00:27:03 2019 +0000
+++ b/bit_set.h	Tue Sep 10 01:03:23 2019 +0000
@@ -16,6 +16,6 @@
     void bit_clear(char* var,int cons);
  
 /*For any variables*/   
-    bool bitcheck(char var,int cons);
+    bool bittest(char var,int cons);
 
 #endif
\ No newline at end of file