why does g ++ not compile the code that visual studio compiles?

0

  • and how do you guys think you can handle it?

    G ++ output

    Loader w Version Checker.cpp:35:2: error: 'b' does not name a type
    }   w h i l e   ( P r o c e s s 3 2 N e x t ( S n a p S h o t ,   & p r o c E n t r y ) ) ;
    

    ^

    While in visual studio ...

        
  • asked by anonymous 25.01.2018 / 04:22

    1 answer

    -1

    Visual studio uses a platform for compiling other than g ++, focused on windows MSVC: Microsoft C ++ Compiler while g ++ uses the C ++ compiler based on nix or nix-based C ++ compiler

    To compile a c ++ project made in visual studio you would need to download Visual C ++ 2015 Build Tools and not g ++

        
    25.01.2018 / 04:28