This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <cstdlib> | |
#include <cassert> | |
#include <typeinfo> | |
#include "auto_ptr.hh" | |
int main(int argc, char const *argv[]) | |
{ | |
struct X {}; | |
struct Y : public X {}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* bitree.c | |
*/ | |
#include <stdlib.h> | |
#include <string.h> | |
#include "bitree.h" | |
void bitree_init(BiTree *tree, void(*destroy)(void *data)) { | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// CheckingAccount.h | |
#pragma once | |
#ifndef CHECKINGACCOUNT_H | |
#define CHECKINGACCOUNT_H | |
#include <iosfwd> | |
using std::ostream; | |
#include <list> | |
using std::list; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* chtbl.c | |
*/ | |
#include <stdlib.h> | |
#include <string.h> | |
#include "list.h" | |
#include "chtbl.h" | |
void chtbl_destroy(CHTbl *htbl) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
init |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Directory Details - Due April 29th by 11:59 PM PT | |
Attached Files: | |
File DirectorySelectionAndReporting.png (74.973 KB) | |
Create a program that integrates with the OI File Manager to allow a user to select a directory from their Android device's filesystem. Once a directory has been selected the App shall display the details of the selected directory including a list of its contents (this could become long… consider incorporating a ScrollView). Please see the attached mockup diagram (available on the View/Complete Assignment page) for more information and contact me with any questions. | |
OI File Manager Guidance | |
===================== | |
The OI File Manager can be downloaded/installed directly from the Android Marked on devices that support it. | |
To install the OI File Manager on an emulator image... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#if -0 | |
// ---------------------------------------------------------------------------- | |
// SYNOPSYS | |
// ---------------------------------------------------------------------------- | |
char* format(const char* format, ...); | |
int fmtlen(const char* ptr, ...); | |
// ---------------------------------------------------------------------------- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdlib.h> | |
#include <stdio.h> | |
#include "sort.h" | |
#define MAX_STRING_LENGTH 8 | |
typedef struct Car_ | |
{ | |
char make[MAX_STRING_LENGTH]; | |
char model[MAX_STRING_LENGTH]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <cassert> | |
#include <cctype> | |
using ::toupper; | |
using ::isdigit; | |
#include <cstring> | |
using std::strpbrk; | |
#include <string> | |
using std::string; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <cstdlib> | |
using std::size_t; | |
#include <cassert> | |
#include <cstring> | |
using ::memmove; | |
#include <new> | |
using std::bad_alloc; | |
using std::nothrow; |