Skip to content
Permalink
50a8e40fec
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
27 lines (23 sloc) 678 Bytes
#include "lab_pointer.h"
#include <array>
#include <string>
int main()
{
int myInt = 1;
unsigned int myUInt = 2;
short myShort = 3;
char myChar = 'A';
float myFloat = 1.23;
double myDouble = 2.31;
std::string myString = "hello";
std::array<int,10> myArray {1,2,3,4,5,6,7,8,9,10};
test_int( /*COMPLETE ME, I NEED A POINTER TO AN INT*/ );
test_uint( /*COMPLETE ME, I NEED A POINTER TO AN UNSIGNED INT*/ );
test_short( /*COMPLETE ME, I NEED A POINTER TO A SHORT*/ );
test_char( /*COMPLETE ME, I NEED A POINTER TO ETC*/ );
test_float( /*COMPLETE ME*/ );
test_double( /*COMPLETE ME*/ );
test_string( /*COMPLETE ME*/ );
test_array( /*COMPLETE ME*/ );
return 0;
}