Posts by Léo Eduardo Silva • 149 points
8 posts
-
4
votes1
answer326
viewsQ: Reduce grammars in the Chomsky hierarchy
I know from Chomsky’s hierarchy, all regular grammar is also a context-free grammar. Similarly, I know that a context-free grammar is also a context-sensitive grammar and etc. I’d like to know how…
-
1
votes1
answer692
viewsQ: Return difference between higher and lower array value in Assembly
I am trying to make a code in Assembly with Arq. x86 using NASM. In this code I must return the difference between the highest value and the lowest value of an array, as below. However, when running…
-
-5
votes1
answer199
viewsQ: Vectors, pointers and memory storage
I need to solve an exercise where I need to use pointers, vectors and memory storage: Create a vector with n elements, and each vector position will match a pointer to a value of type float. Make…
-
0
votes2
answers148
viewsQ: (if/if) with check box
I have the following problem: I have a decision structure that checks the check box. However, when I select the two boxes, the code still executes the commands that checks if only one of the boxes…
-
7
votes1
answer693
viewsQ: Mysql Code Translation for Postgresql
I need to convert a Mysql page into Postgresql commands, but I’ve already reviewed the internet looking for similar commands and Postgresql syntax, and was unsuccessful. Some commands do not exist…
-
0
votes0
answers47
viewsQ: check if you are logged in to a specific session
Good afternoon, guys. I’m in trouble and I can’t think of a better place to fix this than here: I have a website that both admin logins with access to common roles and members will access. The doubt…
-
1
votes2
answers4594
viewsQ: Delete string-specific word
Good evening, everyone. I have a problem which is this:: I need to remove the tag '<br>' at the end of the data in my database (Postgresql), due to the text editor that puts automatically. I…
-
0
votes2
answers363
viewsQ: Calling value from another page
Hi, guys. I’m having a little problem with passing data from one page to another. I’ve tried by Session and not quite sure and I’ll explain why: I have a news page that distributes them by a for in…