title: how to fix Error C2102 '&' requires l-value
body: <p>Im using imgui to make a internal dll file so i can inject it into a video game.Trying to fix error C2102 '&amp;' l-value.</p>
  <pre><code>if (bWriteLog)
          {
              ImGui::LogToFile();
              bWriteLog = false;
          }
  
          ImGui::SetNextWindowSize(ImVec2(679.0f, 786.0f));
          ImGui::Begin(acut::ToUpper(PROGRAM_NAME).c_str(), 
  &amp;bShowWindow, ImGuiWindowFlags_NoResize | 
  ImGuiWindowFlags_NoScrollbar | ImGuiWindowFlags_NoCollapse);
          ImGui::SetColorEditOptions(ImGuiColorEditFlags_NoPicker | 
  ImGuiColorEditFlags_NoOptions | ImGuiColorEditFlags_NoSmallPreview | 
  ImGuiColorEditFlags_NoTooltip | ImGuiColorEditFlags_NoDragDrop);
  
          if (ImGui::TabLabels(_profiler.gMenuTabs-&gt;Domain.iMax,
  acut::StringVectorToCharPointerArray(_profiler.gMenuTabs-&gt;szItems),
  _profiler.gMenuTabs-&gt;Current.iValue, NULL, false, NULL,
   NULL, false, false, NULL, NULL, &amp; ImVec2(82.0f, 25.0f)))
          {
              bWriteLog = true;
          }
  </code></pre>
  <p>The error I'm receiving is &quot;error C2102: '&amp;' requires l-value&quot;. I'm somewhat new to programming and this is the first time doing this im trying to fix Error C2102 '&amp;' requires l-value for using the &amp; ImVec2(82.0f, 25.0f))) on my current project.</p>