Thread: VS Code Set UP - Newbie

  1. #1
    Registered User
    Join Date
    Jul 2022
    Posts
    17

    VS Code Set UP - Newbie

    Is anyone using VS Code here ? How did you set up VS Code to compile and Debug code ?

    I have installed VS Code on Ubuntu I followed this link Get Started with C++ on Linux in Visual Studio Code

    I have compiled code. I don't understand why terminal is showing result as well as other things. It should be show only result of program

    VS Code Set UP - Newbie-screenshot-2022-08-07-17-29-13-jpg
    Last edited by king12; 08-07-2022 at 06:18 AM.

  2. #2
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    28,416
    You're looking at the terminal tab, so it has more than just your output. You could try switching to the output tab instead, or add a \n to the end of your hello world output to make it clearer.
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  3. #3
    Registered User
    Join Date
    Jul 2022
    Posts
    17
    When i run the program in VS Code i am getting the output of the program in terminal and i am not getting any result on output tab. What do I have to do to see the results of the program on the Output tab, what settings am I missing, for which I am not getting the results on the Output tab

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Need help with my Very newbie code
    By Caio Andrade in forum C Programming
    Replies: 2
    Last Post: 08-13-2016, 10:35 AM
  2. Please Help for this Newbie Code
    By khmerkid in forum C Programming
    Replies: 7
    Last Post: 12-25-2011, 11:02 AM
  3. newbie needs help with code
    By compudude86 in forum C Programming
    Replies: 6
    Last Post: 07-23-2006, 08:54 PM
  4. OMG just STFU and HELP a NEWBIE with HIS CODE !!!!!!!!11
    By Dual-Catfish in forum Party Board
    Replies: 6
    Last Post: 07-14-2003, 07:09 AM
  5. newbie here.....need someone to look at my code
    By aml822 in forum C++ Programming
    Replies: 1
    Last Post: 11-28-2001, 10:40 PM

Tags for this Thread