Question

I am trying to refresh on C++, what are the steps that need to be taken...

I am trying to refresh on C++, what are the steps that need to be taken to make a program run on Visual Studio or Netbeans? I have the files that I need, they are too big to post here. Some are .h files and some are .cpp.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

`Hey,

Note: Brother in case of any queries, just comment in box I would be very happy to assist all your queries

Start NetBeans IDE

To start the IDE, do one of the following:

  • Double-click the NetBeans IDE icon on the desktop.
  • On Linux or Solaris platforms, navigate to the bin subdirectory of your NetBeans installation and type ./netbeans.
  • Launch NetBeans IDE through the desktop menu.
    This method is available on Windows platforms, but might not be available on the Oracle Solaris 11 platform and some Linux platforms.

Build a Sample Project to Test the Tools

On all platforms, you can build a sample project to test the compiler installation, and run it in the debugger to test the gdb installation.

To build a sample project and run it in the debugger:

  1. Open the New Project wizard by choosing File > New Project.
  2. In the Categories panel on the Choose Project page of the wizard, expand the Samples category and select the C/C++ subcategory.
  3. In the Projects panel, select the Welcome project. Click Next.
  4. On the Project Name and Location page, click Finish.
  5. In the Projects window, right-click the Welcome_1 project and choose Build. If your compilers and make utility are installed correctly and the path to them is set, build output is displayed in the Output window and the project builds successfully.
  6. Expand the Source Files node of the project and double-click the welcome.cc file to open it in the Source Editor.
  7. Set a breakpoint by clicking in the left margin of the Source Editor window next to any line.
  8. Right-click the project and choose Debug. If the gdb debugger is installed correctly and the path to it is set, gdb starts up, the Debugger tabs are displayed, and the Welcome application runs and stops at the breakpoint.
  9. Choose Debug > Continue to run the application to completion.

Kindly revert for any queries

Thanks.

Add a comment
Know the answer?
Add Answer to:
I am trying to refresh on C++, what are the steps that need to be taken...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • I really need help on this programming problem that am doing in Visual Studio 2019 in...

    I really need help on this programming problem that am doing in Visual Studio 2019 in C++ Submit your .cpp file as well as the input file, the output file, and the screen shot of all the files tiled next to each other here! Instructions: Write a menu driven program that has three options: Option 1: Write a function that calculates the tax for an iphone. The price and the tax rate should be asked from the user. Input validation:...

  • I am trying to program a dice game in Visual Studios c++ but am having trouble....

    I am trying to program a dice game in Visual Studios c++ but am having trouble. The program allows the user to choose the number of rolls, not exceeding 100,000. I am trying to print out the number of times each number(1-6) was rolled, but it's not working. What am I doing wrong? The link below is a copy of my code. https://docs.google.com/document/d/1baKfnof4pjdQ4905hwXluFtbcA1Fs7QESMQKy45xdpE/edit

  • In C++, what is the easiest way to have a program ask for first, middle and...

    In C++, what is the easiest way to have a program ask for first, middle and last name; Then, later print in the following format: 'Last name', 'First Name' 'middle initial'. ? I am currently creating a program that is separated into three files (.h, .cpp & main), and so this task seems more complicated when trying to figure out what part goes where. Thanks for your help in advance!

  • Problem: I am trying to implement a binary search function in Visual Studio 2019 using C#....

    Problem: I am trying to implement a binary search function in Visual Studio 2019 using C#. This is my first program in C# and I translated it from Java. In this program, I am to carry out the same 10,000,000 unsuccessful searches for eight different-sized arrays, namely arrays of sizes, 128, 512, 2048, 8192, 32768, 131072, 524288, and 2,097,152. I need to measure each of the three programs and the time it takes to do the 10,000,000 searches for each...

  • I am trying to complete Chapter 9 exercise 9 in C# Programming: From Problem Analysis to...

    I am trying to complete Chapter 9 exercise 9 in C# Programming: From Problem Analysis to Program Design. I have both first name and last name textboxes, an account number textbox, and an initial balance textbox. I need to make error messages when the user doesnt enter their info, but can't figure out the if statements that i need to use. What would you suggest? Thanks

  • I really need some help understaning how system verilog coding works in Cygwin I am a...

    I really need some help understaning how system verilog coding works in Cygwin I am a PC user, so I in order to have a linux version or an option to run commands I installed a program called Cygwin. This program currently allows me to run .cpp file and supposedly to run verilog (.v) and systemVerilog (.sv) file, but I am not able to or familiar with how to command call them from Cygwins terminal. I would also like to...

  • C++ using visual studio. I need to make a dice rolling mechanic. When the dice falls...

    C++ using visual studio. I need to make a dice rolling mechanic. When the dice falls on 1 it will display L, 2 will display R, 3 will display C and the remaining numbers will display A dot I am suppossed to use the code shown here in order to make it #include <ctime> srand(time(NULL)); // Get a random number between 0 and 5 unsigned int randomRoll = rand() % 6;

  • I need help writing a C programming code. I am trying to create a program that...

    I need help writing a C programming code. I am trying to create a program that returns ANY given number's decimal value as an Integer (Whole number). Examples: User input: 0.35 Output: 35 User input: 1.465 Output: 465 User input: 10.6054 Output: 6054

  • I just need one question. I am just trying to figure out what to do for...

    I just need one question. I am just trying to figure out what to do for this set. Write chemical formulas for the acids that produce each of the following ions. c _2 O_4^2- PO_3^3- Br^- S^2- H _2 PO_4^-

  • Is there a getline() equivalent of ofstream in c++? I am trying to read from a...

    Is there a getline() equivalent of ofstream in c++? I am trying to read from a written file, but I get an error saying: no matching function to call to getline (outpulefile, mystring). I had my program read from a file, inputfile.txt, make some changes to inputfile.txt and write the result to an ofstream file, outputfile.txt. When I try to use, getline(outputfile, mystring) that is when I get the error. Is there an equivalent of getline() for ofstream that I...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT