Relative Content

Tag Archive for javascriptc#

Parameter Passing Using Javascript’s Fetch

I’m working on a legacy system looking at ways to increase performance. It’s an MVC project with C# backend (upgraded to .net 8) and a Javascript/JQuery front-end. The front-end code is using AJAX to make it’s calls and it’s all working fine but I’m trying to switch it to using Fetch, and I’ve hit a bit of a brickwall. The server side routines all use the following style:

Parameter Passing Using Javascript’s Fetch

I’m working on a legacy system looking at ways to increase performance. It’s an MVC project with C# backend (upgraded to .net 8) and a Javascript/JQuery front-end. The front-end code is using AJAX to make it’s calls and it’s all working fine but I’m trying to switch it to using Fetch, and I’ve hit a bit of a brickwall. The server side routines all use the following style:

How to use the GCC compiler (14.1) to compile C++ code submitted in a text area JavaScript?

I want to make a site with multiple C++ exercises – I have no idea how to write the code for a compiler, so I ended up deciding on the GCC compiler (version 14.1).
How I see the site working: the user types their solution in a textarea and click submit. The compiler then compiles the code with text cases (which are stored in an array) and checks if the result outputted is equal with the one stored on the server.