Posts by Showtime • 35 points
3 posts
-
3
votes1
answer361
viewsQ: Use of routes at the frontend or backend
In relation to routing, it is more appropriate for routing to be on front and the same make requests to the server through AJAX, or the routing stay in the back and render the same views of front?…
-
0
votes1
answer22
viewsQ: "Typeerror: Crud.Select_products is not a Function", I’m getting this error when trying to access a method from an exported class in Nodejs
File server.js var express = require('express'); var Crud = require('./database/Crud'); var app = express(); app.get('/api/home', function(req, res){ let results = Crud.Select_products();…
-
0
votes2
answers422
viewsQ: Problems converting integer to string (stringstream) c++
#include <iostream> #include <string.h> #include <sstream> using namespace std; int main(int argc, char *argv[]){ int n, aux; string hexa=""; stringstream hexa_aux; cin >> n;…