<div dir="ltr">Hello,<div>I have 2 questions regarding the assignment 00. I commited my implementation of the simple_printf function to GitLab. In my implementation, I use std::string, std::vector, stdarg.h and stdio.h simply by adding</div><div><pre class="gmail-code gmail-highlight" lang="c"><span id="gmail-LC4" class="gmail-line" lang="c"><span class="gmail-cp">#include "print.h"</span></span>
<span id="gmail-LC5" class="gmail-line" lang="c"><span class="gmail-cp">#include <vector></span></span>
<span id="gmail-LC6" class="gmail-line" lang="c"><span class="gmail-cp">#include <string></span></span>
<span id="gmail-LC7" class="gmail-line" lang="c"><span class="gmail-cp">#include <stdarg.h></span></span>
<span id="gmail-LC8" class="gmail-line" lang="c"><span class="gmail-cp">#include <stdio.h></span></span>
</pre></div><div>to the beginning of the source file. This works fine in Visual Studio 2019 on Windows. How do I make it work on Linux? If I try to compile my code on Linux using gcc, the compiler says that it cannot find the file "vector".</div><div><br></div><div>The 2nd question is about part 2 of the assignment. What exactly does "computing string frequencies" mean? Does it mean for example if I have an input string "this is a string", the frequency of string "is" would be 2? The frequency of string "randomStr" would be 0? So by "required information about string frequency" would be the string itself and how many times it has appeared?<br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Nguyen</div></div></div></div>