Member Avatar
Natacia Coline Joined the Community
Member Avatar
Featured James_79 Replied To a Post in RTC battery is low.
Topic by RikTelner in Hardware and Software
My Toshiba Satellite Pro C850, RTC battery is low.
Press F2 key to set date/time.

How Can I Solve or Fix this problem?

Please help me.

Thanks Reply by James_79
Member Avatar
A few weeks ago my laptop browsing and windows apps error. When i am on my facebook account i can watch youtube videos posted on feeds but other videos pos unable to watch and play just black screen and keep on loading. Even some FB games is not working properly. … Topic by Nancy_11 in Software Development
Member Avatar
Nancy_11 Joined the Community
Member Avatar
Topic by Aob in Programming
I am going to use Math library and BigInteger Reply by Aob
Member Avatar
James_79 Joined the Community
Member Avatar
Topic by Aob in Programming
There's no method called `modpow` in the standard Java API, so it looks like you have access to another library - maybe that has methods that will help? If not there are two easy popular ways to generate primes (sieve and testing for factors) - just Google "java generate prime … Reply by JamesCherrill
Member Avatar
Topic by Aob in Programming
intermediate knowledge
My problem that I don't know how I am going to generate the prime number
and how I am getting the pirmitive root
I suppose I will have three methods one for generating the public, private key one for encryption one for decryption
The main method will have … Reply by Aob
Member Avatar
charley_1 Joined the Community
Member Avatar
Topic by Aob in Programming
How far have you got? How much Java do you know? What exactly are you stuck on? Reply by JamesCherrill
Member Avatar
xrj 31 Replied To a Post in Custom Control not working
Topic by Rabastan in Programming
The color you are using is coincident or very similar to the one of the border color when the focus is on the control. When there are more than one control just one has the focus. Please, take a look to [Click Here](https://social.msdn.microsoft.com/Forums/en-US/2a9da3ca-1241-4926-b97b-deced5464194/combobox-dropdownarea-border-color?forum=vbgeneral) Reply by xrj
Member Avatar
I am having a trouble not knowing how to do a java code that will take user string then encrypt it using Elgamal algorithm as following
Elgamal algorithm Pseudo code:
- Select Q where Q is a prime number
- Select α where α is a primitive root of Q … Topic by Aob in Programming
Member Avatar
Aob Joined the Community
Member Avatar
Topic by phaisal in Hardware
i'm having an hcl laptop whose keyboard is not working and we have connected an external keyboard to it . it worked for some days but it is not working now. when i press the keys the writing part is not seen Reply by sagarika_2
Member Avatar
sagarika_2 Joined the Community
Member Avatar
Ali_68 Joined the Community
Member Avatar
I have a form that requires several Comboboxes and TextBoxes when I tried it on one box it works:

Public Class frmStart

'Code for Combobox Borders
Public Sub New()

' This call is required by the designer.
InitializeComponent()
' Add any initialization after the InitializeComponent() call.
AddHandler Me.Paint, AddressOf DrawComboBlueBorder … Topic by Rabastan in Programming
Member Avatar
Reverend Jim 1,727 Replied To a Post in Boolean's Double Troubles
Topic by UI in Web Development
php
The advice was given as

>Don't use double as Booleans.

Your question was

>Why can't you use a double as a boolean ?

You weren't told that you couldn't. You were told, in effect, that you shouldn't. There's a big difference. You shouldn't run with scissors and you shouldn't use … Reply by Reverend Jim
Member Avatar
Experts,

I do not understand this atall.
Here:
https://www.tutorialspoint.com/php/php_constants.htm

It says:
"PHP Magic constants
PHP provides a large number of predefined constants to any script which it runs.

There are five magical constants that change depending on where they are used. For example, the value of __LINE__ depends on the … Topic by UI in Web Development
php
Member Avatar
Reverend Jim 1,727 Replied To a Post in Program a calculator using Turbo C
Topic by alfroadgoerge in Software Development
c
>Folk that were chatting here may never come back to you.

Particularly Ancient Dragon.

We miss you Mel. Reply by Reverend Jim
Member Avatar
UI Replied To a Post in Boolean's Double Troubles
Topic by UI in Web Development
php
I was told this:

2.5 may not actually be 2.5, so the boolean can fail when for all intents and purposes they are the same. It could be 2.499995 or it could be 2.5444444 when you're looking for 2.5.
The only way a non-integer numeric value should even be considered … Reply by UI
Member Avatar
rproffitt 620 Replied To a Post in Boolean's Double Troubles
Topic by UI in Web Development
php
When a tutorials writes don't do this, I don't.

If you want to ask why they wrote that, see if the author left a way for you to contact them.

I see you've struggled with data types in many posts. I think you mixed up assignment (the single equal sign), … Reply by rproffitt
Member Avatar
UI Replied To a Post in Boolean's Double Troubles
Topic by UI in Web Development
php
rprofitt,

Yep! My code had erros someone pointed out on another source saying it should have looked like this:

If($float_var == 100.10) {
echo "TRUE";}
else {echo "FALSE";}

But is the above a valid boolean ? If so, then why should we not use doubles as booleans like the link … Reply by UI
Member Avatar
Topic by UI in Web Development
php
Please marked as solved. You are the only one that can do this. Reply by diafol
Member Avatar
diafol 3,490 Replied To a Post in strpos Counts From Which Pos ?
Topic by UI in Web Development
php
You need to mark it solved. Reply by diafol
Member Avatar
UI Replied To a Post in strpos Counts From Which Pos ?
Topic by UI in Web Development
php


This thread can now be closed. Reply by UI
Member Avatar
Topic by UI in Web Development
php
I got my wires crossed with this subject and thread. It can be closed. The tutorial was talking about case sensitive in magic quote names but their values being case insensitive. I didn't understand that and thought they were saying at one place the values are case sensitive and on … Reply by UI
Member Avatar
UI Replied To a Post in strpos Counts From Which Pos ?
Topic by UI in Web Development
php
Thanks guys for all the inputs. All this preg_match will become handy for me in the near future! Reply by UI
Member Avatar
rproffitt 620 Replied To a Post in Program a calculator using Turbo C
Topic by alfroadgoerge in Software Development
c
@soha_1, a few issues.
1. This is one old thread. Folk that were chatting here may never come back to you.
2. Try a new thread but read https://www.daniweb.com/programming/threads/435023/read-this-before-posting-a-question first. Reply by rproffitt
Member Avatar
rproffitt 620 Replied To a Post in No signal from PC to Monitor
Topic by Cory_2 in Networking
Then its time to reduce the parts till it works. We don't need a case, CD drive or HDD/SSD and what else can we go without?
Aim for a BIOS screen. Reply by rproffitt