This website works better with JavaScript.
Home
Help
Sign In
pioder
/
prir
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
makefile + poczatek
master
Piotr Dergun
8 years ago
parent
308542e673
commit
9129c6207e
2 changed files
with
9 additions
and
1 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
DergunPiotr-WaskoDominik/zad1/Makefile
+7
-1
DergunPiotr-WaskoDominik/zad1/macierz_omp.cpp
+ 2
- 0
DergunPiotr-WaskoDominik/zad1/Makefile
View File
@ -0,0 +1,2 @@
macierz_omp
:
macierz_omp
.
cpp
g++ -fopenmp -Wall -o macierz_omp macierz_omp.cpp
+ 7
- 1
DergunPiotr-WaskoDominik/zad1/macierz_omp.cpp
View File
@ -1,9 +1,15 @@
#
include
<iostream>
#
include
<iostream>
#
include
<cstdlib>
using
namespace
std
;
using
namespace
std
;
int
main
(
int
argc
,
char
*
argv
[
]
)
int
main
(
int
argc
,
char
*
argv
[
]
)
{
{
cout
<
<
argc
;
if
(
argc
<
3
)
{
cerr
<
<
"
Usage:
"
<
<
argv
[
0
]
<
<
"
<n> <size>
"
<
<
endl
;
exit
(
1
)
;
}
cout
<
<
argv
[
argc
-
1
]
;
exit
(
0
)
;
exit
(
0
)
;
}
}
Write
Preview
Loading…
Cancel
Save