Click here to Skip to main content
15,891,136 members

Videos


Page 3 of 1,135
1 2 3 4 5 6 7 8 9 10


.

()
» »
Updated:
Rating: ()
.

()
» »
Updated:
Rating: ()
.

()
» »
Updated:
Rating: ()
.

()
» »
Updated:
Rating: ()
.

()
» »
Updated:
Rating: ()
41. Compare two files then add below same line number
Maybe this article is a good starting point: LPTextFileDiff: another textfile compare utility.[^] :)
Luc Pattyn Updated: 21 Mar 2022
Rating: ( (No votes))
.

()
» »
Updated:
Rating: ()
42. How do I set the mouse pointer for a VS 2019 basic.net application
With the Designer you can select any of the standard cursors (members of Cursors class) as the default cursor of the Form/Control you are designing. If none of the standard cursors are to your liking, you can assign a custom Cursor to the...
Visual Studio » Visual Studio 2019 »
Luc Pattyn Updated: 16 Mar 2022
Rating: ( (No votes))
43. How do I write a query for this statements
I have a solution, however I'm not sure at all it is the simplest approach: List items=new List(); items.Add(new Item("john","april",12)); items.Add(new Item("john", "june", 9)); items.Add(new Item("john","may",12));...
Database Development » SQL Server »
Luc Pattyn Updated: 15 Mar 2022
Rating: ( (No votes))
44. How do group by and count in lambda expression
static void Main(string[] args) { List items=new List(); items.Add(new Item(1, "zzz")); items.Add(new Item(2, "yyy")); items.Add(new Item(3, "xxx")); items.Add(new Item(1, "abc")); items.Add(new Item(2, "kkk"));...
Luc Pattyn Updated: 14 Mar 2022
Rating: ( (No votes))
.

()
» »
Updated:
Rating: ()
45. Why does this code not work, despite not getting any errors
ADDED: What follows is wrong, and not the solution! if (locker % id && locker >= id) { I can't even guess what is intended here, but it isn't acceptable JavaScript code. && is a diadic operator, it expects two boolean operands, things...
Programming Languages » Javascript »
Luc Pattyn Updated: 14 Mar 2022
Rating: 5.00/5 ( (1 vote))
46. Multiplication of two matrices
I see two problems in your code: 1. you can't have four arbitrary values for row and column counts; two of these numbers must be equal in order for the matrix multiplication to be possible. 2. for the second matrix, you ask for r2 and c2, and...
Luc Pattyn Updated: 11 Mar 2022
Rating: 5.00/5 ( (1 vote))
47. Operator '-' cannot be applied to operands 'string' and 'int'
Quote: The problem is on the last line Nope. The problem is everywhere. You have at least 9 lines of code that are not doing what you are hoping they would do. 1. The operations on strings are limited mainly to concatenation, with the symbol...
Luc Pattyn Updated: 11 Mar 2022
Rating: ( (No votes))
48. How should I structure a partial update for usability?
It is what it is. You can't hide such limitations to the users, you can only make pretty sure they will know about them and understand them when trying anything. Assuming you are trying to put together an API, i.e. your user is a programmer,...
Programming Languages » C++14 »
Luc Pattyn Updated: 11 Mar 2022
Rating: ( (No votes))
49. How to optimizing this code in C?
1. You can't reach O(n) whatever you try: whatever the value of n, when n gets doubled the second half of the calculations is more expensive than the first halve, so O(n) is unreachable. 2. As Dave said, there are better ways to get consecutive...
Luc Pattyn Updated: 11 Mar 2022
Rating: 5.00/5 ( (1 vote))
50. Finding group of columns with row sum equal one
Aha, That is a special case of a more general optimisation job I've spent many years on; I ended up with a very nice approach that is the opposite of brute force, and provides all solutions in one go. Applied on your matrix situation, I'd like...
General Programming » Algorithms »
Luc Pattyn Updated: 10 Mar 2022
Rating: ( (No votes))
51. I need help with C# streams. Specifically with streamreader.peek() method
Thank you for finally providing specs that do make sense. I don't need a StringBuilder, there is no point in accumulating the good characters. I don't use Peek() as explained before. public static int...
Luc Pattyn Updated: 10 Mar 2022
Rating: ( (No votes))
52. I need help with C# streams. Specifically with streamreader.peek() method
just replace while (streamReader.Peek() > -1) by while (!streamReader.EndOfStream)
Luc Pattyn Updated: 9 Mar 2022
Rating: 5.00/5 ( (2 votes))
53. Webbrowser not loading data
The winforms WebBrowser Control uses the code of ancient Internet Explorer, which means it is far from perfect. And it inherits its settings from Internet Explorer. The page you're interested in heavily relies on JavaScript, e.g. it needs JS...
VS2022 » »
Luc Pattyn Updated: 3 Mar 2022
Rating: 5.00/5 ( (1 vote))

Page 3 of 1,135
1 2 3 4 5 6 7 8 9 10