Member Avatar
Hello Daniweb Community, I was wondering if anyone could help or point me to a good tutorial on how to use Google Authenticator in PHP.
by joshl_1995 22 in Web Development ()
Member Avatar
I've made a rectangle with another 3D point inside. The rectangle is textured with an image. Now, I need to move the point that is inside the rectangle to another 3D position. Does anyone knows how this is possible? The only way I found, that is no good for what …
by game4tress in Software Development ()
Member Avatar
The expected outcome dosent agree with result. Following is the code snippet. I expected C to be 17 i.e (9+8), but it comes out to be 16. And a becomes 8 as expected. When expression is changed to like this. Then it works fine. Someone please point out where is …
by Rahul47 13 in Software Development ()
Member Avatar
Hi, i'm trying to use an to transform a point to pixels on a 400x400 canvas. What kind of transform would you use? For example: given the points (-1, 1) --transform--> (0, 0) (pixels) (1, 1) --transform--> (400, 0) (pixels) (-1, -1) --transform--> (0, 400) (pixels) (1, -1) --transform--> (400, …
by M4trixSh4d0w 13 in Software Development ()
Member Avatar
The following piece of code outputs 0.1000000000001 But if I add a 10 times as It outputs as 0.999999999999989 But if a=0.1 is stored as 0.1000000000001 then the answer should be greater than 10 due to the 1 in last column.Then why is the output less then 10
by saurabh.mehta.33234 13 in Software Development ()
Member Avatar
Hi! I have a Edimax 7612UAn V2 USB Adapter and I don't now how to use it as an acces point. I'm using Linux Mint. By default it doesn't work as a acces point. Is there any way to put it in Master mode? I want to create a wireless …
by last1devil in Linux and Unix ()
Member Avatar
Pros: HARDCORE COVERAGE! Easy installation Lots of options dual band USB sharing 4 guest networks per band fast nice setup menus that look good and easy to navigate lots of security support connections are solid Cons: only thing is lack of print server, other than that it's perfect. Other Thoughts: …
by remixedcat in Networking ()
Member Avatar
I wrote a short program to factor numbers, and it works in most cases. The problem I am getting is that when I use a very large number I get "Floating point exception: 8." I am assuming that I am trying to divide by 0 on line 43 or 46, …
by Sam_07 in Software Development ()
Member Avatar
I have a wireless access point. I can connect to it just fine. I can go to Google and I can type in a search, however I cannot GO to the searches result links at all. I've tried IE and Firefox and both the same. I can search for something …
by beckele in Microsoft Windows ()
Member Avatar
#include<stdio.h> #include<conio.h> void main() { float a[5][5],x[3];float t,s; int i,j,k; printf("enter a matrix of order 3*4"); for(i=0;i<3;i++) { for(j=0;j<4;j++) { scanf("%f",&a[i][j]); } } for(i=0;i<3;i++) { for(j=0;j<4;j++) printf("%f ",a[i][j]); printf("\n"); } for(i=0;i<=1;i++) { for(j=i+1;j<=2;j++) { t=a[j][i]/a[i][i]; for(k=i;k<=3;k++) a[j][k]=a[j][k]-t*a[i][k]; } } printf("The upper triangular matrix is as\n"); for(i=0;i<3;i++) { for(j=0;j<4;j++) printf(" %f",a[i][j]); …
by rajat.sethi93 -3 in Software Development ()
Member Avatar
Hello, I am very new to C and having the hardest time with arrays. I am attempting to find a pivot point in a sorted array for example { 1 2 4 5 9 } might become { 5 9 1 2 4 }. I am thinking it should be …
by straylight in Software Development ()
Member Avatar
I own a small computer business and have for almost 10 years now. We have used just a basic POS system and i am looking to replace it with something more oriented towards my type of business. Specifically something that in addition to taking care of my POS needs, be …
by eccwllc in Software Development ()
Member Avatar
how to find the radius using the center point only... the only given point is the center point... how to get or calculate for the radius...
by kelvin_8188 -1 in Software Development ()
Member Avatar
Hello all, I'm having trouble getting google to give me anything useful because I don't know the name of the algorithm I'm looking for. This image shows different ways of connecting two points together, A is just plain lines, C is bezier curves but what is the algorithm that is …
by sciwizeh 62 in Computer Science ()
Member Avatar
Hi Frendz, I have a set of polygon points on google map. I need to find whether the given input point is lying inside of the polygon or not? If anybody found articles related this please guide me. And also i need the same with poly line.
by karthik_ppts 81 in Web Development ()
Member Avatar
Hi! I have a decimal number (e.g 6433) and would like to see the process of converting this to IEEE short real floating point format! Any help is appreciated ;)
by stevthym in Computer Science ()
Member Avatar
I started writing this code as practice for my Computer Science class. The goal was to help with structs and arrays. But I have come to a problem. The file will compile, but returns a message saying "floating point exception." Doing research I see there could a few reasons, but …
by Breakbones90 in Software Development ()
Member Avatar
Heya guys, basically here is some code for a simple example program: unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls; type TForm1 = class(TForm) img1: TImage; procedure FormCreate(Sender: TObject); private { Private declarations } public { Public declarations } end; var Form1: TForm1; implementation …
by DelphiGuy in Software Development ()
Member Avatar
Hello All ! I'm trying to write a Robot Class who have several methods. One of its methods is move() that move the robot the direction his looking at, one step ahead. I'm getting an error on this: switch (Direction) { If some one can help me find the mistake, …
by Adami -3 in Software Development ()
Member Avatar
Hello again! I'm having trouble trying to double the value of my coordinates in my point. The object is to create a pair of eyes and their position is identified by clicking a point in the graphic window which would allocated the centre of the left eye, and the second …
by AdampskiB in Software Development ()
Member Avatar
Hi everybody, I have been having trouble with the output of a set of points for my triangle program. When I run my program, it outputs in the end "triangle1 coordinates: Vertex A is java.awt.Point[x=12,y=13]" and I have no idea how to format it to hide the "java.awt.Point" part. Any …
by konman795 in Software Development ()
Member Avatar
Problem: solve the following Source of SHORTEST DISTANCE path of A,B,C,D,E,F,G. I already did link the strings of dots of ABCDEFG and made a polygon which is the other objectives, my only problem now is calculating the source of the shortest distance part of A,B,C,D,E,F,G. Am using net beans. Guys …
by wondering_ed in Software Development ()
Member Avatar
Hi Frendz, How to check whether the given point(latitude,longitude) is in polyline or not using php? I have set of latitude and longitude points of polyline in my database.
by karthik_ppts 81 in Web Development ()
Member Avatar
How to add control for marking area using points,lines and polygons on google map and how to store that area in mysql db? Becoz i need to give alert message when my vehicle cross that area in my vehicle tracking system.
by karthik_ppts 81 in Web Development ()
Member Avatar
working on a 32bit architecture and i'm adding two arrays together slot by slot into a third array so if I have 3,4,4 and 4,4,4 in the arrays the third array should contain 7,8,8 at the end of the function I was able to pass in the arrays correctly and …
by theUserMan in Software Development ()
Member Avatar
Hi.. how to calculate distance between two points.. each point have a coordinates (x,y). please help..
by EkoX in Software Development ()
Member Avatar
I have left my source of information as docstring comment on code side. If you want to solve the problem yourself do not run the code. This code actually gives the correct answer. I have not reacted to the border case comment in my formula source as it is quite …
by pyTony 888 in Software Development ()
Member Avatar
I am receiving my secure WiFi from a distance and would like to set up an access point to strengthen the signal at the receiving point. My current setup is a D-Link Randbooster wireless N Router with WAP security. My Belkin wireless N router has the ability to be set …
by alphahr in Networking ()
Member Avatar
I am trying to save a form location to a database whenever the LocationChanged event is triggered on that form. private void DisplayForm_LocationChanged(object sender, EventArgs e) { DSLocation = this.Location; ((Form1)this.MdiParent).NotifyChanges(this); // notify parent form that there are changes on this child } childForm.Location = StringToPoint((string)row["location"]); DSLocation is a property …
by CharlieHolt in Software Development ()
Member Avatar
Dear all, I would like to buy one or two (if needed) wifi access point for my lab. The lab hall is about 50 meters long and there is a concrete wall in the middle. This is mainly to give an internet connexion (so no huge file transfer). Would it …
by sbrohee in Networking ()