Undefined references when linking assembly and C++ using g++-Collection of common programming errors
I have to write some member functions of a class in Assembly for an exam. I’ve followed every instruction but I still can’t get it to work. Here are the relevant files. The header and the main method are already provided, I just need to write the constructor and the elab1
method.
Class header
#include
using namespace std;
struct st { int a; int vv1[4]; double vv2[4]; };
class cl
{ double b; st s;
public:
cl(int *p, double *d);
void elab1(st ss);
void stampa()
{ int i; cout
Originally posted 2013-11-10 00:13:09.