modify the test program for whatever I was doing.

This commit is contained in:
Charles Descamps 2024-10-03 10:21:17 -07:00
parent a58720ecca
commit 22a6adc9aa
2 changed files with 2 additions and 9 deletions

Binary file not shown.

View file

@ -6,20 +6,13 @@
#include <set> #include <set>
#include <unordered_map> #include <unordered_map>
#include <time.h> #include <time.h>
#include <math.h>
using namespace std; using namespace std;
void printSize(int array[])
{
//
cout << sizeof(*array) << "\n";
}
int main() int main()
{ {
// //
int array[] = {1, 2, 3, 4, 5, 6}; cout << boolalpha << ((7 >= 7) && (true || 99 < 1) || !(3 > 5 && 7 < 10) && 2 != 4) << endl;
cout << sizeof(array) << "\n";
printSize(array);
return 0; return 0;
} }