Well I am trying to learn openGL and want to make a triangle move one unit (0.1) everytime I press one of the keyboard arrows. However i want the triangle to turn first pointing the direction where i will move one unit. So if my triangle is pointing up and I press right the it should point right first and then move one unit in the x axis. I have…
I tried to create an alias or virtual host to run as different user.
Well below is part of apache httpd.conf that doesn't work.
Or, is it even possible?
<VirtualHost blah:80>
user DifferentUser
group DifferentGroup
ServerAdmin blah
DocumentRoot blah
ServerName blah
ServerAlias blah
ScriptAlias /cgi-bin/ blah
…
Hey guys need some help in adding a view cart button but I'm stuck not sure how to code it. any help?
The way I have coded it is that when a user clicks 'add item' they will get a alert box with info about the total price but I want that to appear in the HTML file but only once I have clicked on 'view cart' and I need it to be in a table format…
I have a Point2D class as follows:
class Point2D{
int x;
int y;
public:
Point2D(int inX, int inY){
x = inX;
y = inY;
};
int getX(){return x;};
int getY(){return y;};
};
Now I have defined a class Line as:
class Line {
Point2D p1,p2;
public:
LineVector(const…
hi guys
I am trying to get the total count and total sum per salesperson but its not working in my WITH query
Currently I have:
WITH CALC1 AS (SELECT B.OTSMAN AS SALESMAN, COUNT(B.ONINUM) AS COUNT, SUM(B.OVSVAL) AS SVAL FROM @LIB@.DGLOESUMD AS B WHERE B.OCSGRP <> 'INT' AND B.OCSGRP <> 'INX' AND B.OCPSBR IN (@OCPSBR@) AND…