Skip to content
This repository has been archived by the owner on Apr 29, 2024. It is now read-only.

AlayaCare/labs-cpp-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

labs-cpp-test

This repository contains a small C++ test for developper that want to join the labs team.

Instruction

The program term_frequency received in argument a file path.

The program parsed the file in tokens and it computes the frequency of the term in the file.

The goal of the exercise is to complete the implementation of the class FrequencyCounter

A simple Tokenizer is provided.

A CMake file is provided.

TODO

  • implement FrequencyCounter
  • count term frequency
  • print summary of term frequency

Program Usage

term_frequency FILE_PATH

VS Code

It's totally optional but if you use VS code. This may be usefull.

A launch.json file is provided. In VS code the extension C/C++, C/C++ Extension Pack, C/C++ Themes, CMake, CMakeTools, CodeLLDB

Once the projet is opened

  • CMake: Configure
  • CMake: Build Target
  • Debug: Start Debugging

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published