Giter VIP home page Giter VIP logo

console_client_server_application's People

Contributors

thesunsavior avatar

Watchers

 avatar

console_client_server_application's Issues

Restructure code and folder layout

As I said before

  • We are targeting C++17, not C++14, please change it in your CMakeLists.txt
  • Follow Google C++ style guide, for example, change the file name to lower_case
  • Format with clang-format, I don't see you using it in your project
  • The folder structure should follow Pitchfork Layout. Please take a look at my repos as an example. You are separating your repo into 2 projects, corresponding to 2 folders, which is not necessary. Your repo should look like this:
src/
| - admin/
|    | - sources.cc
|    | - sources.h
|    | - CMakeLists.txt
| - node/
|    | - sources.cc
|    | - sources.h
|    | - CMakeLists.txt
CMakeLists.txt    # this one should be the root CMake files
.clang-format   # format configuration
  • Also, do not push build files to the repo (cmake-debug folder), use .gitignore to remove them.
  • Follow Modern CMake for C++, write your codes as target-driven. For example:
    • you can create 2 executable targets for Admin and Server/Client.
    • stop using include_directories without the knowledge of what it is, use target_include_directores, target_sources, target_link_library, etc. Take a look at my repo as a reference.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.