Change Photo
Vernie Gottlieb

Questions by Vernie Gottlieb

How to set delay in vbscript?

How to set delay in vbscript? WScript.Sleep(100) does not work on Windows XP, Vista. ...

gcc warning: braces around scalar initializer?

I have look-up-table as defined below and I'm making use of GCC. When I compile I get warnings as warning: braces a...

Connect 4 algorithm in javascript?

What is the best way to check 4 in a row in connect 4? I won't copy the code for the array but it is basically an a...

Multiline string literal in C#?

Is there an easy way to create a multiline string literal in C#? Here's what I have now: string query = "SELECT fo...

How can I reference a composite PK as a foreign key in another table and still have a normalized database??

First off, here's my code for the three tables I'm having problems with: CREATE TABLE ProgramSupervisor ( ...

Error incomplete universal character name \U?

I'm trying to write a C++ program that alters a .txt file. However when I run it I get a strange error. The error: ...

jQuery get the image src?

I hope when I click the button, I can get the specific img src and show the img src in the div class img-block block...

How to convert byte array to unsigned 128 bit integer in Java??

I am trying to hash strings using MD5. I need the hashed value as a 128 bit unsigned integer in Java. MessageDigest...

How to draw a line on a existing jPanel in Swing (Java)??

I want to draw a simple line on my existing jPanel called mypanel. I want to do it like this: mypanel.drawLine(...

C Program - Validate numbers read from a text file?

I am reading 15 numbers from a text file, with each number in a new line: 1 2 3 4 5 10 12 13 14 15 21 22 23 24 26 ...

updateOrCreate isn't filling all the fields in Laravel 5.6?

I have a code:- $tokenUpdated = AppToken::updateOrCreate( array( 'u...

CSS not working in mobile browsers?

http://mpkosis28.com/28cup The site looks perfect when viewed from a laptop or a desktop. But when I tried to acces...

What are the differences between Merge Join and Lookup transformations in SSIS??

Hi I'm new to SSIS packages and writing a package and reading up about them at the same time. I need to convert a ...