Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Vvave
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
6
Issues
6
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Maui
Vvave
Commits
5dfec87b
Commit
5dfec87b
authored
Jun 24, 2019
by
camilo higuita
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
push changes
parent
887a2afc
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
23 additions
and
0 deletions
+23
-0
functional/a.out
functional/a.out
+0
-0
functional/code-examples
functional/code-examples
+1
-0
functional/test
functional/test
+0
-0
functional/test.cpp
functional/test.cpp
+22
-0
No files found.
functional/a.out
0 → 100755
View file @
5dfec87b
File added
code-examples
@
d6ad3964
Subproject commit d6ad3964a18dc5d9c4eb6c08ceff39f8d2e690d6
functional/test
0 → 100755
View file @
5dfec87b
File added
functional/test.cpp
0 → 100644
View file @
5dfec87b
#include<iostream>
int
count_lines
(
const
std
::
string
&
file
)
{
std
::
ifstream
in
(
file
);
return
std
::
count
(
std
::
istreambuf_iterator
<
char
>
(
in
),
std
::
istreambuf_iterator
<
char
>
(),
'\n'
);
}
// std::vector<int> counter(const std::vector<string> &files)
// {
//
// }
int
main
()
{
return
0
;
}
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