C++/program

Advertisement


Question
Write a program in c and also c++ such that it will delete itself after execution?


Answer
Hello Meghaldevi, thank you for the question.

I'm not sure what you mean by "delete itself after execution". Are you referring to the memory the program allocates? The object files is creates? This is indiscernable. If you question me back again be more specific I would be glad to help.

- Eddie

C++

All Answers


Answers by Expert:


Ask Experts

Volunteer


Eddie

Expertise

I can answer questions about the C++ language, object oriented design and architecture. I am knowledgable in a lot of the math that goes into programming, and am certified by ExpertRating.com. I also know a good deal about graphics via OpenGL, and GUIs.

Experience

I have completed numerous games and demos created with the C++ programming language. Currently employed as a software engineer in the modeling and simulation field. I have about 7 years experience.

©2016 About.com. All rights reserved.