Posts by Matheus Cardozo • 419 points
23 posts
-
2
votes1
answer416
viewsQ: Pointer to pointer array
I wonder if in the code below (the variable 'p') is a Pointer to an Array of Pointers ? #include <stdio.h> int main () { double valor = 7; double *balance[5] = {&valor, &valor,…
-
2
votes1
answer4927
viewsQ: Pass variable to html page with Nodejs
Guys I made a list of files that exist in a certain folder, I would like after listing, It was possible to access this variable in HTML. Server.js var http = require('http'); var arquivo =…
-
1
votes1
answer80
viewsQ: Consume . jar in java web project
I created a file. jar (script.jar) that contains the "print()" method only returns a string and would like when I clicked a button on my Java Web application (Javaee) this "print()" method to be…
-
0
votes0
answers51
viewsQ: Use of framework in java web project
I have a java project that runs services (SOAP/REST) and we have a framework that supports this, generates report, makes REST calls and so on, and I also have a java web project (Javaee) that…
-
0
votes1
answer106
viewsQ: Attribute of a struct receiving multiple structs
It is possible an attribute of a struct receive several structs? For example, I need the attribute LPWFSPINFDK lppFDKs; that is part of the struct _wfs_pin_func_key_detail, receive multiple structs…
-
-3
votes2
answers919
viewsA: Read string and call in java voice
You can simply create methods for this example and use Audioclip: public static void main(String[] args){ String senha = "SENHA123"; if(senha == "SENHA"){ executar(); } } public void executar(){…
javaanswered Matheus Cardozo 419 -
0
votes1
answer253
viewsQ: Pass a struct as parameter
I need that struct typedef struct _wfs_ptr_retract_bins { WORD wRetractBin; USHORT usRetractCount; } WFSPTRRETRACTBINS, *LPWFSPTRRETRACTBINS; Turn a parameter I’ll put here. typedef struct…
-
5
votes1
answer241
viewsQ: Reference error in DLL
I am creating a DLL that needs to export 11 CEN/XFS functions, but there is a function that consumes a header file. I think the mistake is in consuming a method from a header that is not stated in…
-
0
votes1
answer128
viewsQ: Create Project from DLL
I’m trying to work with XFS, but in the documentation asks to create a DLL for each service, but the dll’s do not come in the api, they must be built, only in the installation of the environment…
-
10
votes1
answer470
viewsQ: DLL’s communication with Java
I am layman on the subject of how to communicate with DLL’s using the JAVA platform. Would you like to know where to start studying, if there is any framework? I’ve heard of JNI but I don’t know if…
-
0
votes2
answers2069
viewsQ: Cut image inside a CSS div
I need any image size to be centered inside the div: Example below: I have this css code to make the image circle: .anuncio_dialogo { background-color: #FFF; width: 128px; height:128px;…
-
0
votes1
answer148
viewsA: Mysql x Mongodb - Examples of Apps
High writing loads Mongodb by default prefers high insertion rates over transaction security. If you need to load tons of data lines with a low business value for each, Mongodb should serve. Do not…
-
3
votes1
answer7563
viewsQ: Lightweight and stable alternative to Android Studio
I need to do an Android project, but I don’t want to use Android Studio because it is very slow and full of bugs on my computer. Which IDE or alternative framework I could use? A basic requirement…
-
2
votes1
answer80
viewsQ: Java library error in project
The libraries of my project are not importing the classes of *util and several others also, I do not know what is happening, because when I create a new project these classes and libraries work.…
-
0
votes2
answers854
viewsQ: Put default value in column
I need to leave a default value in this table column, I am mapping the Persistances with Hibernate (summarizing the database is created according to the HQL/JPA I define in Omains. How do I set a…
-
0
votes1
answer263
viewsQ: Swap button after JSF click
Talk personal I have the following problem, I have these two buttons that make: X : Removes the value of a chart + : Adds the value of a chart I need it to look like this: When I click the X button…
-
1
votes0
answers140
viewsQ: Edit datatable in Javaweb Dialog box - JSF
I need to edit a datatable line when I open the dialog box, but it’s not working the way I’m doing, I did a test on the console, and the object is null when I send the edit, it’s like I don’t load.…
-
-1
votes4
answers1272
viewsA: Run command Ctrl+V "paste" with mouse click inside an input
You need a click method to call CRTL V. For example: $("p").click(function(){ //aqui faz a função}); Do a search on jQuery . keypress in this documentation here. This jQuery forum here can also help…
-
1
votes1
answer791
viewsQ: Upload photo in java form
I need to make my form send and save a photo in the database and show later, how I should do ? I declare what type of variable in the Client entity? String or byte ? I know the first faces have a…
-
1
votes1
answer180
viewsQ: Help with post login menu in JSF in Javaweb
Talk to the guys, all right? I’m making a project manager in Javaweb with Hibernate, TDD, MVC, JSF, Primefaces and more I don’t remember kk, Next, when I log in to my project I make the menu appear…
-
5
votes3
answers1866
viewsQ: Formatting date in Java web with Primefaces
Speak guys, I need to format a date in Java. I’m using Java web, Primefaces, MVC, TDD, JSF, Hibernate. I am an intern and I am doing a Project Manager project for my company. My date input view…
-
2
votes1
answer389
viewsQ: Working with Javaweb Dates
Hello, I am doing a project that manages all projects of my company, I am using Hibernate, Javaweb, primefaces, TDD and MVC standard. My entity is shaped like this for date variables:…
-
-9
votes3
answers156
viewsA: How to select users with the STATUS field =1 in the user table?
foreach is a good option, no loop will not be possible unless you are using Bootstrap, then maybe there are other options.