Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
1
173050031-183050016-183050011-git
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
KSHITIJ SINGHA
173050031-183050016-183050011-git
Commits
95d5b83c
Commit
95d5b83c
authored
Sep 22, 2018
by
KSHITIJ SINGHA
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
changes within the function name of following files, bubblesort() --> sort_custom()
parent
b1e0aaa8
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
a.out
a.out
+0
-0
main.cpp
main.cpp
+2
-2
sorting.cpp
sorting.cpp
+1
-1
sorting.h
sorting.h
+1
-1
No files found.
a.out
100644 → 100755
View file @
95d5b83c
No preview for this file type
main.cpp
View file @
95d5b83c
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
using
namespace
std
;
using
namespace
std
;
void
bubbleSort
(
vector
<
int
>&
a
);
void
sort_custom
(
vector
<
int
>&
a
);
void
printVector
(
vector
<
int
>
a
);
void
printVector
(
vector
<
int
>
a
);
...
@@ -20,7 +20,7 @@ int main(int argc, char const *argv[])
...
@@ -20,7 +20,7 @@ int main(int argc, char const *argv[])
a
.
push_back
(
num
);
a
.
push_back
(
num
);
}
}
//printVector(a);
//printVector(a);
bubbleSort
(
a
);
sort_custom
(
a
);
printVector
(
a
);
printVector
(
a
);
...
...
sorting.cpp
View file @
95d5b83c
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
using
namespace
std
;
using
namespace
std
;
#include <vector>
#include <vector>
void
bubbleSort
(
vector
<
int
>&
a
)
void
sort_custom
(
vector
<
int
>&
a
)
{
{
bool
swapp
=
true
;
bool
swapp
=
true
;
while
(
swapp
){
while
(
swapp
){
...
...
sorting.h
View file @
95d5b83c
using
namespace
std
;
using
namespace
std
;
void
bubbleSort
(
vector
<
int
>&
a
);
void
sort_custom
(
vector
<
int
>&
a
);
void
printVector
(
vector
<
int
>
a
);
void
printVector
(
vector
<
int
>
a
);
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