Posts by felipeaf • 91 points
3 posts
-
1
votes4
answers52318
viewsA: What is the difference between PUT and POST?
PUT is an idempotent operation to "place" (CREATE OR REPLACE) a resource at a given URL, in other words, it is used when the URL uniquely identifies the resource to be created or updated, and if the…
-
5
votes1
answer566
viewsQ: Because my program does not generate CSV in UTF-8 that can be read correctly by Excel, but Notepad generates
I have generated files .CSV in javascript, in UTF-8, but not read with the correct encoding in Microsoft Excel (generating invalid characters instead of accents, as if you were reading ISO 8859-1 or…
-
3
votes4
answers3096
viewsA: recursive superfatorial problem
An alternative is to use a factorial(n) function, and so the super(n) function becomes recursive without needing an auxiliary: #include <stdio.h> int fact(n) { if(n == 0) { return 1; }…