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 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!

  • 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...

  • 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^-

  • I am having trouble trying to combine three files to be averaged. I am not so...

    I am having trouble trying to combine three files to be averaged. I am not so sure how to even start. I have three files "nday1.06.nc , nday1.07.nc, nday.08.nc" each with the variables "filling on), ('SST', <class 'netCDF4._netCDF4.Variable'> float32 SST(time, nlat, nlon) long_name: Surface Potential Temperature units: degC coordinates: TLONG TLAT time grid_loc: 2110 cell_methods: time: mean time: mean time: mean _FillValue: 9.96921e+36 missing_value: 9.96921e+36 unlimited dimensions: time current shape = (1, 2400, 3600) I just need to average the...

  • in a c# program I am trying to allow the area to be divided by a...

    in a c# program I am trying to allow the area to be divided by a set choice. the area is set as an int in another method and I am unable to call it into the method I need it in. Is there a way to call Int? I also need to set each case to have an integer value. For example if they select 1 it is set at a value of 5. This is what I have...

  • I am trying to program my Arduino UNO to implement a flashing pattern with two LEDs....

    I am trying to program my Arduino UNO to implement a flashing pattern with two LEDs. When one LED is off, the other must be on. The program needs to be done in assembly. I have a working program in c++ but I need to convert it to assembly. Here is my c++ program: int led = 13; int led2 = 12; void setup() {    pinMode(led, OUTPUT); pinMode(led2, OUTPUT); } void loop() { digitalWrite(led, HIGH);    delay(1000); digitalWrite(led, LOW);...

  • I am trying to write a Powershell script that will automate the deletion process of certain...

    I am trying to write a Powershell script that will automate the deletion process of certain files. These files are older than 6 months old, and need to be deleted. If my $Path = "C:\Users\username\Documents\Test\", what would be the Powershell script to DELETE every file and directory older than 6 months old in the 'Test' directory. I am new to Powershell, please explain the parts of the script as well.

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
ADVERTISEMENT