Advertisement
Guest User

main.cpp

a guest
Jun 7th, 2013
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.37 KB | None | 0 0
  1. #include "main.h"
  2. #include <iostream>
  3. #include <windows.h>
  4. #include <string>
  5. #include <sstream>
  6. using namespace std;
  7.  
  8. double DLL_EXPORT soma(double a, double b)
  9. {
  10.     return (double) a+b;
  11. }
  12.  
  13.  
  14. string DLL_EXPORT mensagem(string x)
  15. {
  16.     string p;
  17.     p = x;
  18.     return (string)p;
  19. }
  20.  
  21. double DLL_EXPORT subtracao(double a, double b)
  22. {
  23.     return (double) a-b;
  24. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement