Link to home
Start Free TrialLog in
Avatar of asasas ASASAS
asasas ASASAS

asked on

NEED HELP WITH VISUAL STUDIO 2017 (beginner)

How does it work? I am a beginner at it and I want to know how do I use it?

1.  Does it do the same work as TURBO C++ ? Or Will it be able to compile, tell errors and run a ".c" or ".cpp" file?
2.  After having installed the C/C++ extension, how do I activate it or use it for C programming?
3,  What is debugging? Is it the same as removing errors from the code I have written (in C language) after reading the errors listed by the compiler? (The same as we do in Linux or Turbo C)
4.  Why do I install "git"? I mean is it needed? For what purpose is it used?
Avatar of asasas ASASAS
asasas ASASAS

ASKER

Plz someone tell me..... :O

Just tell me will it do the same as Turbo C?
and how and from where can i run and compile the code.

Or answer the questions, number wise. :O
ASKER CERTIFIED SOLUTION
Avatar of sarabande
sarabande
Flag of Luxembourg image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Hey sorry!

My question was for VS Code and not Visual Studio.

Plz tell me where and how can I run the code in Visual Studio Code

How to run it?
and what is the command for compiling it in command prompt (Windows)

Thanks @sarabande
there is nothing named 'VS Code' in visual studio 2017.

as told you have to create a new project of type win32 console. then you can add new or existing source files (.c or .cpp files) to the project and compile and build in the Visual Studio (as described above).

to build from command line (not recommended for a beginner) you open a command window in windows (dos box), search for devenv.exe by

cd "c:\program files (x86)"
dir /s devenv.exe

if devenv.exe was found you add the path to the folder where it resides to the PATH Environment variable, then navigate to your (new) project Folder (where the test.vcxproj file resides) and call

devenv test.sln /build

Sara
Hey its Visual Studio code.

This thing -->>  https://code.visualstudio.com/
you may use a tutorial. for example at https://johnpapa.net/learning-visual-studio-code/

Sara