Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
find_number.h
00001 #ifndef find_number_h 00002 #define find_number_h 00003 00004 /** 00005 * Includes 00006 */ 00007 #include "mbed.h" 00008 00009 /** 00010 * Defines 00011 */ 00012 00013 00014 00015 class find_number 00016 { 00017 public: 00018 00019 00020 //Constructor: 00021 00022 find_number(int32_t *selectable_values,int32_t cells_in_array); 00023 00024 find_number(); // = default; 00025 00026 //Class Objects: 00027 00028 int32_t find_closest(int32_t target_value); 00029 00030 int32_t find_larger(int32_t target_value); 00031 00032 int32_t find_smaller(int32_t target_value); 00033 00034 private: 00035 00036 int32_t searched_array_size; 00037 00038 int32_t *selectable_values_array; 00039 00040 }; 00041 00042 #endif
Generated on Sat Jul 16 2022 00:46:58 by
1.7.2