Question

hi i just wanted to ask if there are other ways to compile c++ on my...

hi i just wanted to ask if there are other ways to compile c++ on my laptop/ipad? thanks

Homework Answers

Answer #1

`Hey,

Note: Brother if you have any queries related the answer please do comment. I would be very happy to resolve all your queries.

Yes there are many ways to compile c++ code on your laptop.

Firstly I will talk about compilers with editors.

You may like to download code blocks in which you would have to put your cpp code and click on the compile button to compile.

The other way is downloading g++ on your pc through command window.

After downloading set the variable location of g++ in environment variables.

Now move to the directory where the code is and type g++ main.cpp -o main

The above command is for file main.cpp and will make main.exe executable file.

Then type main in cmd and it will run your code through command window.

Kindly revert for any queries

Thanks.

Know the answer?
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
Similar Questions
I wanted to just sat the table and go back to my video game, but my...
I wanted to just sat the table and go back to my video game, but my mother precisely arranged each napkin, dish, and utensil until they were perfectly aligned? A.-carefully B.-slowly C.-haphazardly D.-cautiously
hi i forgot to shut my monthly subscription and today they took money from my account...
hi i forgot to shut my monthly subscription and today they took money from my account please how can i ask for a refund or what email should i contact to and thank youu
Hi , please i just want an explanation in this topic just provide any clear small...
Hi , please i just want an explanation in this topic just provide any clear small example to illustrate the topic to me : 1- deletion by copying in binary search tree. 2- deletion by merging in binary search tree. thank you so much tomorrow i have an exam and i hope you make it clear to me, thanks again
I posted this question and wanted to re-post it to ask if the answer would change...
I posted this question and wanted to re-post it to ask if the answer would change if the city puts the funds at the end of each year. Thanks. City X issues bonds for $45 million for 10 years to raise capital for city operation, how much should the company put in a sinking fund each year at an interest rate of 4% that will repay the debt in 10 years?
Hi there , I have questions to ask. What is ABC transporter? Is it right to...
Hi there , I have questions to ask. What is ABC transporter? Is it right to call abc transporter either molecular machine for transport? Why?
Hi may I ask why is indene an aromatic compound? I believe it has a sp3...
Hi may I ask why is indene an aromatic compound? I believe it has a sp3 hybridized carbon atom. Could you help to enlighten me on this?
Hi, I'm new so this would be my first question. In assessing predictability or likely outcome...
Hi, I'm new so this would be my first question. In assessing predictability or likely outcome for an algorithm dealing with random variables in the stock market, which quantifiable variant, if their is one, is best suited for my algorithm. In other words, is their a quotient that takes into account standard devs attributed to say political events, natural disasters, etc? Pretty vague question but I'm new so just testing Chegg out...Thanks.
hi , i have a question that im confusing about NMR, so if i discover my...
hi , i have a question that im confusing about NMR, so if i discover my substance along the line of CxHyOz then how do i know whether it is (CxHyOz)1 or (CxHyOz)2~x ? I have a lab about NMR and IR, can anyone give me a techinque to analyze the chart ? Cause it looks so ugly. ( just some guidance, i want to do it myself first )
I just wanted to double check my answers, can you just provide me with the correct...
I just wanted to double check my answers, can you just provide me with the correct answer for each one in order to cross-check, thank you. When an individual is being flashy with his/her home and vehicles in an attempt to define his/her social status, this display can be defined as ...? Conceivable Display Flatulent Dash Altruistic Move Conspicuous Consumption Women are 32% more likely to have a lower home mortgage interest rate than that of men. True False Which...
HI HOW DO I USE THE RANDOM FUNCTION IN MY CODE TO GET RANDOM NUMBERS OF...
HI HOW DO I USE THE RANDOM FUNCTION IN MY CODE TO GET RANDOM NUMBERS OF DRAWING RANGING FROM 3-6. i am a little confuse because inuse random function for heighet and size and it worked but i get just one output instead of 4 or 3 or 5 depending on the time i run the code sinces its random.
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT