class_docstr: Description2Code for C++ problem.
class_docstr_tok: ["Description2Code","for","C++","problem","."]
docstr: Pre-process Cpp files.
docstr_tok: ["Pre-process","Cpp","files","."]
code: def preprocess_target(self, target):
      """Pre-process Cpp files."""
      target = re.sub(
          _RE_CPP_INLINE_COMMENT, " ", target
      )  # Remove comments
      # The regex rule is quite simple, So will fail if a // is inside a string,
      # and don't remove /* */ comments
      target = " ".join(target.split())  # Normalize all spaces
      return target
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import collections
  import os
  import random
  import re
  import zipfile
  from tensor2tensor.data_generators import generator_utils
  from tensor2tensor.data_generators import problem
  from tensor2tensor.data_generators import text_encoder
  from tensor2tensor.data_generators import text_problems
  from tensor2tensor.utils import registry
  import tensorflow.compat.v1
label_desc: Use image node_id 2 for calling the ProgrammingDesc2codeCpp obj's underlying member method code with example usage: obj.preprocess_target(target) and returns: target