Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7922109
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T16:50:31+00:00 2026-06-03T16:50:31+00:00

I was just wondering how C++ compilers deal with certain things: First, how do

  • 0

I was just wondering how C++ compilers deal with certain things:
First, how do I find out which C++ compiler I have? (gcc? gnu? or something…)
Then, how does the compiler hide the console window when I’m programming a windows gui?
(or is hiding the console done in code?)
Also, how do I include dlls when compiling?
And is there any place I could learn everything else about my compiler?

EDIT: @StuartGolodetz I think I have minGW, actually (I’m using DevCpp); and what I meant when I asked how to hide the console window or how to include dlls is not how to set it up in the IDE I’m using, but rather, how do I do it at the command line?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T16:50:33+00:00Added an answer on June 3, 2026 at 4:50 pm

    Difficult question to answer, because you might have many different compilers on your system, and it’s really a question of which one you’re using 🙂 That said, gcc/g++ is a common compiler on UNIX-based systems, and Visual C++ is a common compiler on Windows – there’s a reasonable chance you’ll be using one of those.

    If you’re on a UNIX-based system and you want to find out if you’ve got g++, say, you can do:

    which g++
    

    To find out which version (if you’ve got it), do:

    g++ --version
    

    In terms of Visual C++ hiding the console window when you’re programming a Windows GUI, it just doesn’t show it if you’ve set the subsystem to Windows in your project settings.


    You don’t include DLLs when compiling, you link against the .lib file corresponding to them and then make sure they can be found at run-time. Note the (important) distinction between compilation and linking. This seems like a reasonable link:

    http://edmulroy.portbridge.com/oview.htm


    Assuming your compiler is Visual C++ (which is what it sounds like), you can just read through MSDN.


    EDIT:

    In response to your new question, see here:

    How to stop Mingw (g++) opening a console window in windows

    Re. DLLs, you don’t include them – you link against the import library for the DLL using -l<libname> and then make sure the DLL itself is either in the same directory as the executable or on the system path at runtime.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a .lib file, just wondering what compiler it's from: it begins with
just wondering what tips people have for avoiding game synchronisation issues in multiplayer games
Just wondering if there's a website out there that allows you to hotlink to
Im just wondering how good the MSVC++ Compiler can optimize code(with Code examples) or
Currently I'm running the gfortran compiler in my computer. But I'm just wondering if
This is a trivial question, I was just wondering if I can use something
Just wondering: When I add restrict to a pointer, I tell the compiler that
I'm just wondering what the -fpermissive flag does in the g++ compiler? I am
Just wondering how I can make my app open automatically at login, but make
Just wondering if the following is considered to be good programming practice or not?

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.