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