All pastes #719322 Raw Edit

Miscellany

public text v1 · immutable
#719322 ·published 2007-09-29 05:20 UTC
rendered paste body
#include <QApplication>
#include <QString>
#include <iostream>
#include <vector>

int main(int argc, char *argv[])
{
	QApplication app(argc, argv);
	if(QString()==0);
		std::cout<<"Igual a 0"<<std::endl;
	return app.exec();
}

struct vector{
       double x;
       double y;
       double z;
};

void suma_vectores(vector _1, vector _2, vector _suma){
     _suma.x=_1.x+_2.x;
     _suma.y=_1.y+_2.y;
     return;
}