All Questions

1
answer

Overwriting the txt file in C

My question is pretty basic: How do I, whenever I save something to a file (txt), always start recording after the information that was already written there? I mean, how do I not overwrite the contents of a file that already had informati...
asked on 03.07.2017 / 01:05
2
answers

how do I clean fields with angular?

I want to be able to clear the fields after submitting and also apply the action at other times, for example when I click the "back" I used delete $scope.NomedaNgModel ; But it does not clean     
asked on 14.07.2017 / 16:08
1
answer

Adding strings of numbers

Well, I have a string of the sort a = ("1234") and I wanted to separate those numbers so I would add them, like this: 1 + 2 + 3 + 4 How can I do this? Thanks for any help:)     
asked on 16.03.2015 / 18:26
1
answer

How can I insert these characters into C #

How can I insert these characters into C # ┍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍┑ │ │ │ │ │ │ │...
asked on 27.07.2017 / 13:11
3
answers

How do I use replace () for the last occurrence?

The String#replaceFirst() method is used to replace the first occurrence of a substring in a string , but how should I proceed if I want to do this with the last occurrence? The question is how do I make the condition to parse the...
asked on 08.03.2015 / 16:43
1
answer

Automatic scrollbar

Good morning! I have the following question, I need the bar to go down to the bottom of the page as a monitoring system, I need to come back to the top and give me a refresh. Can I get this using javascript? Thanks in advance.     
asked on 13.04.2015 / 16:02
3
answers

Sorting numbers without repeating in javascript [duplicate]

I need to draw 16 numbers and store them in an array, but there can be no repeated numbers. Follow the code. var numero = []; function numero_aleatorio () { for(i=0;i<16;i++) { numero.push(Math.floor((Math.random() * 1...
asked on 21.06.2017 / 19:44
1
answer

How to create a foreign key in a table where data already exists, in the EntityFramework with Code-First?

I have a system already in production from which the customer has requested a modification. Modification is the creation of an EMPLOYEE table that will relate to the DRIVE table, creating a 1: N relationship (One Employee, multiple DRIVES)....
asked on 10.04.2015 / 22:37
2
answers

Javascript with Object Vectors

var Carro = function(){ var marca; var modelo; //this.setMarca = setMarca; this.setMarca = function(_marca){ this.marca = _marca; } this.setModelo = function(_modelo){ this.modelo = _modelo; } this...
asked on 02.03.2015 / 00:16
1
answer

How to make an appointment to get the dates according to the weekdays?

How to make a particular query in MYSQL by picking the dates according to the day of the week? For example: +-------+---------------------+ | id | created_at | +-------+---------------------+ | 49185 | 2015-02-19 02:35:10 | | 49...
asked on 07.06.2017 / 20:25