Hi,

I am new to ASP.NET and I have a challenge here:

I have to create a webpage which should take C/C++ program from textarea and should produce output of the program below the textarea using label when a button is clicked on the webpage.

I have no difficulty creating the front page(textarea,button,label or other controls) and reading the content of textarea in back end page(cs page).

But I don't have any idea how I can compile and run the program read from textarea and produce the output which can be assigned to a label on webpage.

Any help on this will be much appreciated.

Thanks

But I don't have any idea how I can compile and run the program read from textarea and produce the output which can be assigned to a label on webpage.

You need to run your input through a compiler. That means starting a process and capturing it's output.

Be VERY careful with this!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.