modify the test program for whatever I was doing.
This commit is contained in:
parent
a58720ecca
commit
22a6adc9aa
2 changed files with 2 additions and 9 deletions
BIN
examples/test
BIN
examples/test
Binary file not shown.
|
|
@ -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;
|
||||||
}
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue