Questions tagged as 'classes'

1
answer

Unsuccessful class call

I've done pretty much the same way, changing only the names of the variables in another file of the same project. However, on reaching the line to call the class the application stops and gives error. Below is the part where I hit the variabl...
asked by 27.05.2015 / 19:59
1
answer

How to do List Save all of User? [closed]

Hello, this is my first question here, I would like to ask a question. I would like to create a List that stores the user name, email, and password. can anybody help me? From now Thank you, follow the code. Main Code class Program {...
asked by 22.08.2017 / 19:25
1
answer

What is the difference between parameterized class, multiobjects and collections?

Well, I know the concepts of each one. I just do not know how to differentiate them. For example, a parameterized class is a class that is used to define other classes, and a collection can be represented by a parameterized class. However, what...
asked by 24.03.2017 / 04:34
1
answer

PDFSplitMerge class not registered in Delphi XE

I have a system that uses Unit PDFSplitMerge_TLB , it compiles into a good one, but when executing and trying to use the TCPDFSplitMergeObj Object it says the class is not registered Usage example: procedure TForm1.BitBtn1Click(Sender:...
asked by 08.01.2018 / 18:36
2
answers

Problems creating class and method

I have the following code: public class String verifyWord(String wordChosen, Scanner reader){ //linha 1 boolean answeredCorrectly = false; int tries = 1; String wordChosen = random.nextInt(); String answer = wordChosen; wh...
asked by 26.09.2017 / 16:48
1
answer

How to solve various errors of this code?

I typed this book program that addresses classes and gave error. How to solve? #include <iostream> using namespace std; class Efetua_calculo{ private: double total; double soma; double divide; public: void mostra_calc...
asked by 21.07.2015 / 20:49
1
answer

How do I call a method that is in another class in onclick

I'm having a basically simple question, but I'm traveling in ideas. I have a class called chamada : @Override public boolean onLongPressClickListener(View view, int position) { // opcional, utilize o valor que achar melhor int...
asked by 10.12.2016 / 07:13
1
answer

How do I pass data to a php class via ajax being class instance another?

Personal hello I hope you can help me, I have this problem a long time I'm trying to get my data via Ajax for my class but in the URL I do not know how to reach it in a way that does not error I tried the following way $.ajax({ type...
asked by 27.01.2016 / 03:21
1
answer

How to get text from a Span with Class [VB.NET]

<span class="odometer-value">0</span> This is the code. I need to get the result "0" and put it in a Label. But sometimes you can have ex: 10 (2 numbers) and the code will be: <span class="odometer-value">1</span&g...
asked by 30.10.2018 / 18:22
0
answers

How to overload the + = operator so that an array of vectors can add another element to this vector?

I decided to redo some of a few workout codes I had done a long time ago, but I used the overload of operators, and I got into that problem: how could I overload the + = operator so that it executes analogously to the join method in the code bel...
asked by 21.12.2018 / 01:58