Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Prog2
/
eloadas_peldak
/
ea_teszt
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
A prog2-höz tartozó friss repo anyagok itt elérhetőek:
https://git.iit.bme.hu/
Commit
34ba0c42
authored
Feb 15, 2021
by
Szeberényi Imre
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
statikus aanalizis példa
parent
0f75a8fe
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
0 deletions
+19
-0
errors.cpp
+19
-0
No files found.
errors.cpp
0 → 100644
View file @
34ba0c42
// file: errors.cpp
#include <iostream>
const
int
L
=
30
;
char
*
fn1
(
int
a
,
int
)
{
char
*
p
=
new
char
[
L
];
#ifdef ALADAR
p
[
L
]
=
1
;
delete
p
;
#else
delete
[]
p
;
#endif
return
p
;
}
int
main
()
{
std
::
cout
<<
*
fn1
(
30
,
4
)
<<
std
::
endl
;
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment