Skip to content

Commit

Permalink
add static parameter.
Browse files Browse the repository at this point in the history
  • Loading branch information
richkmeli committed May 22, 2017
1 parent d957d82 commit 27c2f8e
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 4 deletions.
7 changes: 6 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,15 @@
/Debug/
/Release/
/Project1
/main.cpp
/main2.cpp
/Richkware
/.settings
/.cproject
/.project
/nbproject
/.idea
cmake-build-debug/
cmake-build-default/
cmake-build-minsizerel/
cmake-build-release/
cmake-build-relwithdebinfo/
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ endif


CXXFLAGS= -c -O3 -Wall
LDFLAGS= -static-libgcc -static-libstdc++ -Wall
LDFLAGS= -static-libgcc -static-libstdc++ -static -Wall
EFLAG= -lws2_32

SOURCES= main.cpp crypto.cpp sharedResources.cpp blockApps.cpp richkware.cpp network.cpp storage.cpp protocol.cpp
Expand Down
1 change: 0 additions & 1 deletion crypto.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
* Copyright 2016 Riccardo Melioli. All Rights Reserved.
*/

#include <iostream>
#include "crypto.h"

std::string Encrypt(std::string input, std::string key) {
Expand Down
12 changes: 12 additions & 0 deletions main.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@

#include "richkware.h"

int main() {
Richkware richkware("Richk","richktest");

// PUT YOUR CODE HERE

return 0;

}

1 change: 0 additions & 1 deletion protocol.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

#include "protocol.h"


std::string CommandsDispatcher(std::string request){
std::string response = "";
if (request.find("[[") != std::string::npos &&
Expand Down

0 comments on commit 27c2f8e

Please sign in to comment.