#help! in cpp

73 messages · Page 1 of 1 (latest)

proper path
#

How can i build an application in cpp

viral plumeBOT
#

When your question is answered use !solved to mark the question as resolved.

Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question run !howto ask.

velvet wind
#

It depends on what tools you’re using! I would recommend downloading Visual Studio and following along with a tutorial.

proper path
#

Any suggestions

#

For*tutorial

#

...?

glass falcon
proper path
#

Gui

#

Hello

glass falcon
#

what os are you targeting?

viral plumeBOT
#
How to Learn C++ Programming

Everyone learns differently, but the best way is to learn by doing: Working on personal projects, solving programming challenges, etc. Here are some resources to accompany you:

C++ Tutorials
Practice
See Also
light rampart
#

qt pretty is good

dark ermine
# proper path Gui

You got a few options
Visual C++ for Windows-only
Qt and WxWidgets for cross-platform apps

proper path
#

Ok but i want to use imgui

dark ermine
#

then read the documentation and use it

proper path
#

I can't

#

I only use cpp for competitive problems

dark ermine
#

I'm not sure how we can help

#

Are you looking for a tutorial or

proper path
#

And course or tutorial you suggest

proper path
dark ermine
#

Personally none for C++
Most of them are just bad

#

!resources

#

hmmm what was the command

proper path
#

What

#

Hy

dark ermine
#

Check #1124619767542718524

proper path
dark ermine
#

well

#

check this

#

#archived-resources message
this is also worth checking @proper path

proper path
#

I only want to know the process of ,how to link third party lib

dark ermine
#

then use cmake

#

or vcpkg

proper path
#

That's the point, 😅 what is cmake and why we need

dark ermine
#

well you can always just do -l for the normal compiler but this is easier

dark ermine
proper path
#

How to link imgui

#

Can you send a simple linking file

#

It would be a great help

dark ermine
proper path
#

Window

dark ermine
#

Not entirely sure, Windows is a headache for C++ programming

tidal tulip
tidal tulip
#

on your IDE, build system and more

#

this goes into it

dark ermine
# proper path Window

Yeah mcmlevi is right
You can just make a lib folder inside your project and include it inside your project
in this case tho it's best if you use cmake because you're gonna have a headache adding all filenames to the compiler command manually

proper path
#

But i don't know how to do it

dark ermine
#

make a folder inside your project folder

#

call it lib

#

either git clone inside it or move the folder inside that lib folder

#

then

#

in your cmakelists file write

#
target_include_directories(${PROJECT_NAME} PRIVATE
    libs/imgui
)
proper path
#

Ok

dark ermine
proper path
#

After this code will run

dark ermine
#

it'll give you a more detailed explanation

proper path
#

Ohk

proper path
dark ermine
proper path
#

explanation

ember shell
proper path
#

@ember shell hy

dark ermine