Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ex 6_8 #193

Open
Marina-Ananyeva opened this issue Dec 15, 2020 · 1 comment
Open

Ex 6_8 #193

Marina-Ananyeva opened this issue Dec 15, 2020 · 1 comment

Comments

@Marina-Ananyeva
Copy link

#ifndef CHAPTER6_H
#define CHAPTER6_H

int fact(int val);
int func();

template T abs(T i)
{
return i >= 0 ? i : -i;
}
#endif

@Marina-Ananyeva
Copy link
Author

#ifndef CHAPTER6_H
#define CHAPTER6_H
#include

int fact(int val);
int func();

template T abs(T i)
{
return i >= 0 ? i : -i;
}
#endif

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant