M
M
Mag1str2021-06-12 16:29:15
C++ / C#
Mag1str, 2021-06-12 16:29:15

How to make a project from one .cpp file?

How many have already tried, and watched the video - does not come out.
You need to make a project where there is main.cpp and files with .h
And there is another bug with the fact that I can only enter English values, then Cyrillic is not displayed.
Code itself: https://ideone.com/BDAOfQ

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Mag1str, 2021-06-13
@Mag1str

Trying something:
Base.cpp - https://ideone.com/cTEq00
Base.h - https://ideone.com/n3lW71
main.cpp - https://ideone.com/CQ4LG6

S
Sergio, 2021-06-13
@sergiodev

The algorithm of actions is something like this:
1. Download Visual Studio 2019 Community
2. Install, during installation select C ++ in the list of components, everything else is not needed
3. Open Visual Studio
4. Create a new project - select C ++ Console App (console application) in the list of templates
5. Add your files to the project 6. Compile
and run
Or, as an option, rewrite the program without using Windows functions and compile it there on ideone, combining all the code into one file.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question