#c++ to .exe

69 messages Β· Page 1 of 1 (latest)

native isle
#

get a compiler

#

or even better, get a IDE, like VS

dense badger
#

C++ gets compiled into executables by the compiler

native isle
#

you go on the website and you download it and you install it

dense badger
#

thats a text Editor

tender tusk
#

Compiler and linker

mellow heron
#

GCC

#

easier would be to use visual studio

tender tusk
#

That would be a compiler (with a linker)

wind cedar
#

Sigma errors

narrow vale
#

Install linux
g++ main.cpp -o main

#

Then ./main

#

To start your app

south surge
#

πŸ’€πŸ’€πŸ’€

haughty gust
#

πŸ’€

vernal lotusBOT
#

@haughty gust has reached level 1. GG!

haughty gust
#

C++ already compiles
Pyinstaller packs python script and the interpreter in an executable

mellow heron
#

Yes, G++ is a compiler πŸ™‚

#

its pretty easy πŸ™‚

void saffron
#

No use Microsoft visual studio

#

Which is professional software for free

narrow vale
#

No use g++
Which is professional and not gay

mellow heron
mellow heron
native isle
#

it's better for beginners

mellow heron
#

maybe on windows

native isle
#

lol obviously

south surge
#

u need gaming rig with threadripper and 4090 to barely run it

dense badger
#

chill

safe talon
#

please calm down

void saffron
# mellow heron visual studio isnt "better", its different

how is it not better. It has a built in compiler as it should, it works the first time you start it eliminating compiler installation errors. it has pro dev tools including memory viewer, support for connecting to sql database, it supports collaboration.

mellow heron
native isle
#

that's why they said the IDE comes with a compiler

mellow heron
#

so?

native isle
#

idk what your comment was about

mellow heron
#

it totally makes sense for beginners on windows to use visual studio for c++ development

#

the author said "How c++ to exe"

#

visual studio and g++ will both achieve that

narrow vale
#

mingw

void saffron
tender tusk
narrow vale
#

True, u cant even compile MSVC from default cmd

#

U have to use their gay terminal

void saffron
#

it’s not even a terminal. you press a single button

obsidian canyon
narrow vale
#

Making my lang compiler for instance

void saffron
#

why would you

#

you can also compile from cmd if needed

narrow vale
#

Well, try it

void saffron
#

to compile from cmd?

native isle
void saffron
#

so?

#

it's a cmd still

narrow vale
#

Bruh

void saffron
#

it's not even gray

narrow vale
#

Totally

void saffron
#

it can be ANY color you want

#

Just change the rgb values. thank me later

#

default terminal is black

narrow vale
#

n

narrow vale
#

SOLUTION IS ‡️

INSTALL G++
g++ program.exe program.cpp
and finish!
solution is ‴️