Posts by ReZ • 326 points
27 posts
-
0
votes0
answers9
viewsQ: Task.json does not open the Ubuntu terminal
Guys I’m stuck here, if anyone can help me, it would be really nice, like every time I try to run some task in vscode, it is running in powershell after the last update it did of Vscode. Even…
-
0
votes0
answers50
viewsQ: How to add a set of libs jar in Maven at once with Vscode?
I wanted to know if this is possible, I have a dependency hit .jar to install(100 .jar of libraries roughly), but the problem is that I have to search each of them and add in pom.xml to work on…
-
0
votes0
answers33
viewsQ: My VHDL code never compiles
I made an algorithm in vhdl and my program is not compiling, it is taking on average 30 minutes up to an hour and is stuck at 80%, I do not know why, I’m using the version of Quartus 13.01, and my…
-
1
votes1
answer70
viewsQ: Do programs written in Ruby work on both Windows and Linux?
It is a doubt that I have regarding this programming language. The Java, for example, has no distinction of SO’s, because it has something like a ONLY internal, so it does not need a port specific…
-
1
votes1
answer162
viewsA: How to compile c++ classes in Makefile?
I solved the problem (simpler than I imagined),for those who have the same problem at compilation time, <vector> is automatically destroyed when terminating the program when it is generated,…
-
0
votes1
answer162
viewsQ: How to compile c++ classes in Makefile?
I was making a program in c++(normally I was using an IDE to compile and everything), but this time I needed to do it without an IDE, anyway when I did Makefile to compile the program, it gave an…
-
0
votes1
answer173
viewsA: udp server does not receive message from udp linux client
I was able to solve the problem, for whoever has the same problem I have,: If you are using two different machines to connect, you will need to go to your router settings and try to change the…
-
0
votes1
answer173
viewsQ: udp server does not receive message from udp linux client
Well, I was programming a simple messaging system,when I tested it on the same computer,it worked properly without any problems,but when I tested it on two different computers,? client code #include…
-
0
votes1
answer864
viewsQ: make a include of a library out of the library folder
How do I include a library that is not in my library folder in C++? I know the directive of #include with <> can do the include of the file that is not in the same folder, but if I own…
-
0
votes2
answers364
viewsQ: sql inserts the wrong datetime into the table
i to using microsoft sql manager,and was trying to insert a date in my table,the problem is that it is entering the wrong date,i do the following command for the manager table INSERT INTO tblCliente…
-
0
votes2
answers82
viewsA: Process of connection to libraries (DLL’s) during the C++ source compilation process
Basically, what happens is that when you use one #include,the macro of the Operating System,looks for the file . h or library inside your computer,and as soon as you compile,it inserts the library…
-
0
votes1
answer115
viewsA: Blogger posting bug
Well, I managed to solve the problems of the code, basically the javascript was the most laborious,ta ai html <div class="caixa"> <img id="tumb"…
-
0
votes1
answer115
viewsQ: Blogger posting bug
Well, here’s the thing, was working perfectly,the javascript functions that I implemented had no problem at all,: he kind of bugged out, probably because the same download block can’t take up the…
-
1
votes1
answer1070
viewsQ: Undefined function in window.onload?
well I declared a function in a javascript file javascript file: window.onload = function(){ function func(x,y){ //faz operacoes em x e y e nao retorna nada } } however in the html file,when I want…
-
0
votes1
answer612
viewsQ: Check the amount of elements within a div with an id within a javascript class?
I’m trying to access a id within a css class to check the amount of existing paragraphs within it. In javascript how I could do it in that case? Example: <div class="classe"> <div…
-
0
votes0
answers783
viewsQ: error: no match for 'Operator<<' (operand types are 'Std::ostream {aka Std::basic_ostream<char>}' and 'const Std::runtime_error')
Code of the program main #include <iostream> #include "CntrIU.h" #include "CntrNeg.h" #include "interfaces.h" #include "stubs.h" #include <cstdlib> using namespace std; int main() {…
-
2
votes1
answer63
viewsQ: Is there a way to create a private class in C++?
I wanted to create a class where it could be accessed in the library that I created, how do I declare the class as private and can be called only in the library?
-
1
votes2
answers2002
viewsA: pass objects as parameters in c++
blz,I was able to solve the problem,for anyone with the same problem,the only way(at least the one I found),was to encode the function in her signature existing in the class basically: #ifndef…
-
1
votes2
answers2002
viewsQ: pass objects as parameters in c++
hello, I would like to know how to pass an object created in c++ as parameter of a function of another object,vi in the forum in English,but I did not understand very well how it does,if someone can…
-
2
votes2
answers2513
viewsQ: Exception in thread "main" java.util.Inputmismatchexception
I made a simple program, just to calculate a mathematical function to get an exact result, but there were some complications in Java. Digite o valor de x: 0.2 Exception in thread "main"…
-
4
votes1
answer117
viewsQ: Can I declare a library within a class in C++?
I need to use type variables string, the problem is that I cannot include libraries within my classes in Code::Blocks, there is some way to include the library string/string.h in my class in C++?…
-
1
votes0
answers68
viewsQ: How to handle text files on Android?
I tried to look at several websites, but each indicated in a different way. I know how to implement objects to create and read a java file, using File, FileWriter, BufferedWriter, FileReader,…
-
0
votes1
answer182
viewsA: Problem storing java object in file
thank you for trying to help me,I realized the error after a little while thinking,the idea of recording in the file was that it could convert the object data into a serialized bit string and then…
-
2
votes1
answer182
viewsQ: Problem storing java object in file
When I try to store an object in a binary file, the file with the extension .bin is created. However, when I try to access it by another class, it doesn’t even try to open the file .bin that I…
-
0
votes1
answer1334
viewsA: What is the content_main.xml file for?
content_main refers to the content of your Activity,is where you will edit the body of your Activity(put buttons,Switchs,etc),and Activity_main is the layout itself,is where you edit the widget and…
-
0
votes2
answers923
viewsQ: java.lang.Nullpointerexception: Attempt to read from field 'java.lang.String
I am trying to implement a stack(database),the problem is that I am not able to send my data to the other Activitys of my application, so when I open another Activity to check if the data is…
-
1
votes1
answer1335
viewsQ: java.lang.Nullpointerexception: Attempt to invoke virtual method
My program gave this problem when I tried to create a stack (database), to store strings on my Android app package com.project.meuapp2; import android.content.Intent; import…