Folge dem Video um zu sehen, wie unsere Website als Web-App auf dem Startbildschirm installiert werden kann.
Anmerkung: Diese Funktion ist in einigen Browsern möglicherweise nicht verfügbar.
struct SDB_matrix
{
int nRows;
int nColumns;
double** elem;
};
struct SDB_pseudoMatrix
{
int nRows;
int nColumns;
double* elem;
};
typedef struct SDB_matrix MATRIX;
typedef struct SDB_pseudoMatrix PMAT;
struct SDB_pseudoMatrix
{
SDB_matrix *m_pHandle;
}
SDB_matrix mat;
SDB_pseudoMatrix* pmat = (SDB_pseudoMatrix*)&mat;
#include <stdio.h>
#include <stdlib.h>
struct SDB_matrix
{
int nRows;
int nColumns;
double** elem;
};
struct SDB_pseudoMatrix
{
int asd;
int ad2;
double* d;
};
typedef struct SDB_matrix MATRIX;
typedef struct SDB_pseudoMatrix PMAT;
int main(int argc, char* argv[])
{
double orig = 145.0f;
double* tmp = &orig;
MATRIX mat;
mat.nRows = 1;
mat.nColumns = -15;
mat.elem = &tmp;
PMAT* pmat = (PMAT*)&mat;
printf("mat:\n%d\n%d\n%f\n",mat.nRows,mat.nColumns,**mat.elem);
printf("pmat:\n%d\n%d\n%f\n",pmat->asd,pmat->ad2,**(double**)pmat->d);
system("PAUSE");
return 0;
}