Interesting questions
-
-4
votes1
answer48
viewsI can’t use strcmp in C
I need to show a student’s chart using the license plate, as I do? #include <stdio.h> #include <stdlib.h> #include <string.h> main() { struct ficha { char matricula[9], inf[9];…
-
1
votes1
answer412
viewsReturn number with Regular Expression
I have a list of articles from Art. 1 to Art. 2.040., but in each article there are other numbers. I would like to make an expression that: 1 - Capture the numbers always after the string "Art. "…
-
4
votes1
answer1010
viewsTrigger para update before Insert
My database has two tables, notification and attendance, as shown in the image. In the notification table the default value of the status is "open". I tried to make a Rigger that updates the default…
-
6
votes1
answer621
viewsCakephp - page using more than one table
I have a question, about saving data in the database using Cakephp, when you need to manipulate with more than one table. I am creating a customer registration system and in it has a system to…
-
4
votes1
answer616
viewsThread problem
public class ThreadTest implements Runnable { private String word; private long time; public ThreadTest(String word,long time){ this.word = word; this.time = time; } public void run() { try {…
-
-2
votes1
answer40
viewsI have an echo for each number X of the Foreach Php
I’m trying to find a logic to my problem I have the following foreach foreach ($Read->getResult() as $LastPDT): echo "a"; endforeach; in this example if you have 30 record it will print on the…
-
1
votes1
answer22
viewsFind out the number of _search requests made to an Elasticsearch index
I am working with Elasticsearch and would like to find out a precise way to know how many requests have been made to an index of my Elasticsearch. using the GET - /"seuindex"/_Stats command, I have…
-
2
votes0
answers201
viewsSet order of startup scripts
I’ve been using So Linux Ubuntu since version 7.04, but I’ve used other distros before, and I realize that with each version something changes inexplicably, things that often get in the way. My…
-
0
votes1
answer715
viewsJava data input and output and data processing
I have a huge list of exercises and I only have these two to do last but I can’t do it at all. This I/O thing didn’t get in my head! Make a program that reads a text file, named "input.txt",…
-
2
votes1
answer1011
viewsHow to remove caption in Plot?
How can I remove the caption that is automatically generated in the function plot package drc? plot(curva5r, ylab= "Dose (%)", xlab = "Dose (g.e.a. de glyphosate ha-1)") Note that the caption is on…
-
1
votes1
answer262
viewsHow to add #ancora at the end of the URL (with codeigniter paging)
How do I add the anchor id at the end of the url? at this time my url is the following: http://localhost/php_focas/index.php? per_page=3 I needed it to be this way:…
-
0
votes0
answers589
viewsHow to pass data from Activity to Fragment
I’ve seen some posts about but I couldn’t figure out how to pass a string from one activity for a fragment I got the main: public class MainActivity extends AppCompatActivity implements…
-
1
votes1
answer1159
viewsDraw lines in binary tree graphical representation
I’m trying to draw a binary tree using swing and awt in java. I can already show the knots of the tree but I’m not able to draw the lines of a parent knot to your children. I have the Node, Treegui,…
-
1
votes2
answers319
viewsHow to read multiple Soapobject from a Webservice?
I am trying to consume a Web Service in Java using Ksoap 2 in version 3.4.0. When I do a search without parameters it returns the expected result but when I do a search passing a parameter…
-
0
votes1
answer53
viewsInclude function to a field
Good afternoon, I need to make an error message appear when the user does not put the email with "@". already has a function that already includes all fields a class when they are left unfilled. Is…
-
7
votes4
answers298
viewsHow to implement an Objectset wrapper that works with Linqtoentities?
I need to create a wrapper for ObjectSet to create a centralized access control. The goal is to implement CA without making changes to existing queries in the system, which in this case are spread…
-
0
votes2
answers42
viewsInput value of a form
I’m developing a form with javascript/jquery in which from one question to another goes to another page and on the last page I have to see all the data typed in the previous questions, already tried…
-
4
votes1
answer92
viewsWhy is it possible to open serial ports (COM) on Windows using file functions?
How does this happen? There are other ways to open or just this Digo, in languages like C, PHP, Python, etc.
windows filing-cabinet language-independent serial-portasked 10 years, 6 months ago Guilherme Oliveira 43 -
0
votes1
answer94
viewsHow to import CSV files from a same level folder (and/or above) in Python?
I have already searched several topics here, unsuccessfully however. So, if there is already an equal question, please forgive me and indicate a solution. My project is articulated as follows:…
-
2
votes1
answer175
viewsTest end of file in C
Hello, I have a problem and I couldn’t solve. while(!feof(arquivo)) { fscanf(arquivo, "%d[^,]",&result); fseek(arquivo,+1,SEEK_CUR); printf("%d",result); fscanf(arquivo, "%d[^,]",&result);…
casked 6 years, 5 months ago Richard Santos 23