2,611 Recommended Topics
Remove Filter | |
Write a complete C++ program for WorldParking Sdn Bhd. to perform the following: a. Write a return-value function named calcCharges() to calculate and return the parking charges for the customers. The company charges a RM1.00 minimum fee to park for up to one hour. An additional RM0.50 will be charged … | |
I'm struggling to add a course to a MySQL database table using PDO prepared query with positional placeholders. When the form is submitted, the database table is not updated, as expected and no error is displayed. Please, where exactly do I place `var_dump()` to display the error? And how can … | |
I am trying to pass url parameters to an angular js page for page setup. I was wondering if anyone could tell me whether I am missing something from these two code samples. The following is some code from a game related program that I am writing. The $routeProvider parameter … | |
Hello, kindly look at my php code to insert registration data into a MySQL database. Here is the code below and further below, the error response I keep getting. <?php error_reporting(E_ALL); ini_set('display_errors', 1); $servername = "localhost"; $username = "emiola"; $password = "emmybaba2020"; $dbname = "tutors"; // Create connection $conn = … | |
Hello everyone, I am working on a project, which corrects user input (reads input stream from keyboard with keyboard module hook) based on some rules. I am trying to find the fastest way to delete and write the corrected word, after a user enters a wrong one. Currently I am … | |
Hi there, I am totally new to Java script (just began to looking into it) and I would like to do something with the comment box on one of the website I am working on [url]http://antobbo.webspace.virginmedia.com/webediting/documents.htm[/url] Basically rather than that box at the bottom of the page I was thinking … | |
Hello i want to be able to change the primary, secondary etc $colors variables in Ionic 3 in order to implemeny dark mode. variable.scss $primary-color: #333!default; .dark-theme { $primary-color: whitesmoke ; } $colors: ( primary:$primary-color, ) So using Sass !default is like adding an “unless this is already assigned” qualifier … | |
I am making an adroid application. I am saving sales data on firebase with current date. I have formatted the System.currentTimeMillis() into SimpleDateFormat. The date is successfully stored on firebase . Now I want to retrieve sales between two dates. I made two demo sales, one on (30-5-2019) and second … | |
## Basic workflow of my page ## [Image of Payment page](https://1drv.ms/u/s!Ava3iL9se3C3gTF_XJ_RiBBsWDHs) I have a payment page that has a name textbox (txtName), a PIN textbox (txtPin) and two textboxes (txtPaymentDate and txtPaymentTime) containing payment date and time respectively. The page also has a payment button (btnPay). txtName has a RequiredFieldValidator … | |
Following The New Boston on youtube, he is using is in an if statement and doesnt show any error, on mine I get a syntax warning and it asks if I meant ==, but still displays the output the way it should be. | |
please help me. below chart.js works very well but here show all date data from database but i want only last fifteen days data to show. How can i show last 15 days sale reports. i am attach code below. thanks ![chart_edit_result.PNG](/attachments/large/4/3b3130d6f7da66a0d9ff733730021645.PNG) I an developed an chart.js for my daily … | |
Hi have 2`springboot` applications running on ports `8085` and `8084`. When I try to use `RestTemplate` to try to connect from one service to another, I get a `BadGateway 502` exception. Below is the stacktrace head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.17.9</center> </body> </html> ]] with root cause org.springframework.web.client.HttpServerErrorException$BadGateway: … | |
Hello, I'm new here and I have experience in using PHP with MySQL but right now, I need to convert my code so that it can be used to connect to my DB in my SQL server. I have try out the code as follows db.php <?php date_default_timezone_set ("Asia/Kuala_Lumpur"); // … | |
Hi Try to extract password from my chrome browser but I got this error below How can I solve this problem? Traceback (most recent call last): File "Chromer.py", line 13, in <module> password = win32crypt.CryptUnprotectData(website_data[2], None, None, None, 0)[1] pywintypes.error: (13, 'CryptProtectData', 'The data is invalid.') | |
****pls am not getting things right with this my code i want to alert the user when there is no input made in the FIRSTNAME, LASTNAME, USERNAME BUT i am done with the EMAIL and PASSWORD SECTION SOMEONE PLS HELP ME WITH THIS CODE PLS...**** <!DOCTYPE html> <html> <head> <title>Page … | |
I have couple of shipping methods DHL & FedEx, if selected products exits in cart show only selected shipping method, how to archive using shopping cart pricing rule or any other way to do this? | |
if i have X,Y(10,20) and the speed is 2, will be: X = X + 2 Y = Y + 2 ? same goes for Z or it depends on direction?(Y or X rotation) Programming c++ mathematics | |
I'm struggling to create a two-paged form using $_SESSION. What I want to achieve is the first page (page1.php) requires the user to enter his/her email address. And the second page (page2.php) requires the user to enter his/her password. When the user submits page1.php, it takes you to page2.php, where … | |
Help, how can I create a MULTILEVEL QUEUE ALGORITHM program? I tried it but it crashes, does not build... It would be okay if its in other language. HERE IS THE SNIPPET CODE SAMPLE (c++): --------------------------------------------- //Enter Number of Process cout<<"\nEnter the number of Processes:"; cin>>n; //INPUT Arrival, Burst, and … | |
i'm learning Math for 3D... for now i can draw a plane and convert 3D to 2D(the screen is 2D): Private Function ConvertPositon3DTo2D(Position As Position3D, World3DSize As Size3D) As POINTAPI Dim ConvertedPosition As POINTAPI Dim PosZZDepth As Long PosZZDepth = Position.Z + World3DSize.Distance If (PosZZDepth = 0) Then PosZZDepth = … | |
Hi, I have one Win Form app to load Excel data into DataGridView. I want to store DataGridView data into MS Access database. Everithing works great, but in some cases inside ExcelFile I have single quote mark, which breaks SQL Syntax. My question is, How to find & replace "'" … | |
I want to echo the results of this mysql query SELECT username, task_completed FROM accounts WHERE referrer_by = :referrer_by AND task_completed < 1 I have this code so far but this doesnt return anything and it should return the values which are less than 1 $ref_query=$db->prepare("SELECT username, task_completed FROM accounts … | |
Hello friends. I am new at programming and need to programm "X" as an assignment [](https://freeessaywriter.org/) (pic is attached) The "X" should be arbitrarily large or small and the edge length of the "X's" should be entered by the user. The code is below. Would highly appreciate any help: include … | |
` #include<iostream> #include<cmath> #include<iomanip> #include<fstream> #include<string> using namespace std; int main() { const int num=10; double a[num],b[num],c[num],disc,x1[num],x2[num],qe,x,realpart,imaginarypart; char answer; do { for (int index=0; index<num;index++) { cout<<"Enter coefficient of a (a>0): "; cin>>a[index]; cout<<"Enter coefficient of b: "; cin>>b[index]; cout<<"Enter coefficient of c: "; cin>>c[index]; qe=a[index]*(pow(x,2))+(b[index]*x)+(c[index]); disc=(pow(b[index],2))-(4*a[index]*c[index]); if (disc>=0) { … Programming c++ | |
Hello house please i need assistance. I need to rewrite urls in a particular folder so that the folder name is not shown when visiting the page or pages inside that folder. And am doing this or intend to archive this through .htaccess Example: example.com/ folder/aboutus.php But i want it … Programming php | |
Hello Friends, Recently I have created a website. And whenever I am visiting [my website](https://www.tblog.net/) one yellow i can see left side of address bar. It saying my connection not secure. "Part of this page are not secure(such as images)" . I don't know why it's showing like this. | |
What are all num referring to ? class Sample { int num; void method() { num = 1; int num = num = 2; num = 3; } } | |
Hey guys, I have the following code... And what I want it to do but cant get it to do is add up all the price fields and change the sum every time a number is changed or a new line is added... but its not working? Can anyone see … | |
Hi All, I have an excel file containg chart.I am able to read the chart from excel file using POI XSSF. But I am not able to save the XSSFChart as an image.I want the chart to be stored in my harddrive as an image(.jpg or .png).Please find my code … | |
Hi all, I am new to C++, I am studying a C++ code and would like to learn how to implement it in Python. I encountered the following: 1 unsigned short arr1[2]; 2 unsigned int * arr2 = (unsigned int *) arr1; I tried to write a C++ code to … |
The End.