Skip to content
Snippets Groups Projects
Commit deb547a4 authored by Vipin Thomas's avatar Vipin Thomas
Browse files

Update main.cpp

parent dc8b271c
No related branches found
No related tags found
No related merge requests found
...@@ -3,7 +3,6 @@ ...@@ -3,7 +3,6 @@
int main() { int main() {
// vec_t key,keyout;
stream streamIn; stream streamIn;
stream streamOut; stream streamOut;
pkt_t tmp; pkt_t tmp;
...@@ -14,10 +13,6 @@ int main() { ...@@ -14,10 +13,6 @@ int main() {
position1=1; position1=1;
position2=8; position2=8;
indecimal=72; indecimal=72;
// for (auto& x: key) {
// x = 'a';
// std::cout << "Key: " << x << std::endl;
// }
for (int y = position1-1; y < position2; y++) { for (int y = position1-1; y < position2; y++) {
...@@ -32,8 +27,8 @@ int main() { ...@@ -32,8 +27,8 @@ int main() {
tmp = streamOut.read(); tmp = streamOut.read();
std::cout << "Output: " << tmp.data << std::endl; std::cout << "Output: " << tmp.data << std::endl;
} }
std::cout << "Value decoded: " << indecimal << std::endl;
if(selector==1){ if(selector==1){
std::cout << "Value decoded: " << indecimal << std::endl; std::cout << "Value decoded: " << indecimal << std::endl;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment