2,612 Recommended Topics

Remove Filter
Member Avatar for
Member Avatar for sonnet2

In my workplace, we have an intranet website developed internally that we use for CRM. The data of our clients are shown there (MS SQL server is used as a backend to store data). The site has a limited search functionality at the moment (it'll try to match the text …

Member Avatar for Dani
0
73
Member Avatar for Kando_1

Hi Guys, Im not sure how to word the title of this question, but i have a table called "daily_recyclables". Inside this table, i have multiple columns of recyclable materials (example copper, stainless steel, brass etc etc) In my PHP application, i have a statistic card (like below) that is …

Member Avatar for Dani
0
71
Member Avatar for Mustafa_36

Generate a graph by forming an adjacency matrix with random numbers. The graph will have 10 nodes. The connections will be generated randomly with the following rules. • Each pair may have a connection with 60% probability. It means that the connection weight for a node pair will be 0 …

Member Avatar for rproffitt
0
52
Member Avatar for Shikigami

1. Use two-dimensional array with size 7 columns and 5 rows. 2. Seat numbers are populated during run-time. 3. User is asked to input a seat number. 4. Seat number chosen is replaced by 0. 5. Program displays a remark “Seat successfully reserved” when reservation is done. 6. User is …

Programming c++
Member Avatar for Schol-R-LEA
1
131
Member Avatar for fugnut

I would like to have the user enter ctrl-z to end the program...can someone tell me how to insert this into the following program? [CODE]//Program to calculate greatest common denominator of two integers #include <iostream> using namespace std; int calcGCD(int, int); int main() { int a, b, res; cout <<"This …

Member Avatar for mohammad reza_1
0
7K
Member Avatar for lolwtf

I'm using the ink picture control and I'm having trouble getting my code to work. The inkpicture control is used for tablet pcs when the user draws inside the control. I just want to be able to save it to a jpeg. I've been stuck on this for days :) …

Member Avatar for Nathan_20
0
2K
Member Avatar for ramyayarrapothu

$curl = curl_init(); curl_setopt_array($curl, array( CURLOPT_URL => 'https://livehealth.solutions/getAllTestsAndProfiles/?token=3f115cd0-c79b-11eb-b07b-0aa43715764a', CURLOPT_RETURNTRANSFER => true, CURLOPT_ENCODING => '', CURLOPT_MAXREDIRS => 10, CURLOPT_TIMEOUT => 0, CURLOPT_FOLLOWLOCATION => true, CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, CURLOPT_CUSTOMREQUEST => 'GET', )); $response = curl_exec($curl); curl_close($curl); $resArr = json_decode($response); echo "<pre>"; print_r($resArr); echo "</pre>"; **displays the list of array values... as shown …

Member Avatar for Dani
0
1K
Member Avatar for patk570

Hi Everyone, I am looking for a way to add a username to confirm a seat choice for certain weeks, I already have the PHP Code to confirm the seat when choosing but on the image i would like for it to display the username so other people know its …

Member Avatar for rproffitt
0
1K
Member Avatar for Xioto

So, I’m trying to capture and store wave height data and cache it in a file based on the fetch timestamp in local time. I have hit an error with the last section. Here is the error - d = sorted(data['hours'], key=lambda i: i['time']) TypeError: list indices must be integers …

Member Avatar for Husoski
0
1K
Member Avatar for Arsh_2
Member Avatar for ama_ni

hello, i need someone to tell me how do i read string in assembly 8086 (nasm) and it would be better to write down the code ~~ thank you

Programming assembly c c++ mysql
Member Avatar for Leslie_2
0
422
Member Avatar for Onion13

Working on a game and I made a separate class to handle the players enemies (Its a scrolling type 90s game). I know if I use picturebox and put it on form1 I can say for example.... enemy1.Left > 90; My question is how would I do something like that …

Member Avatar for rproffitt
0
401
Member Avatar for sbaker51

Hello, I’m working my way through a PDF file of the book ‘Assembly language step-by-step programming with DOS and Linux’ by Jeff Duntemann. The CD that accompanied the book included a DOS NASM Integrated Development Environment written in Borland Pascal titled ‘NASM-IDE’. I was able to find it on github, …

Member Avatar for rproffitt
0
284
Member Avatar for yahon23837

im trying to create and algorithm in python but i created it in C++ instead as i don't know python well enough i know it's easy and i can learn it in one day or two it's just the syntax but i don't have the time to learn python right …

Member Avatar for Jawass
0
233
Member Avatar for Mishii
Member Avatar for Reverend Jim
0
185
Member Avatar for draven07

...hello.. ...uhm...I am now working with a Student Profiling System...I already have the layout for my system..but with regards to its database, i'm still quite confused... ...another thing...i can't find the right resources for it.. ...could anyone please help me by sending a link where i can find guidelines for …

Member Avatar for hAmzkie
0
136
Member Avatar for r4ds

Hello. I have this code. I want to show 'correcto' when 'response' is 'ola', but not working. I have this procedure to do it fails: -Change php response (echo) to number,, `echo "ola";` to `echo "25";` -Change javascript,, `if(response == 'ola')` to `if(response == 25)` <script src="jquery-3.5.1.min.js"></script> $.ajax({ type: "POST", …

Member Avatar for r4ds
0
91
Member Avatar for Puvaan

#include <cstdio> #include <iostream> #include <string> using namespace std; using std::string; // function to get maximum string of characters size_t getMaximum(string dum[], int n){ size_t max = dum[0].size(); for (int i = 1; i < n; i++){ if (dum[i].size()>max) max = dum[i].size(); } return max; } void countSort(string a[], int …

Programming assembly c c++
Member Avatar for Schol-R-LEA
0
79
Member Avatar for Skill_2
Member Avatar for kitale2020

class Employee: def __init__ (self, name, basic, house): self.name = name self.basic = basic self.house = house self.nhif = (2/100)* self.basic self.tax = (30/100) * self.basic def gross_income (self): return (self.basic + self.house) def total_deductions (self): total_deductions = (self.nhif + self.tax) return (self.total_deductions) def net_salary (self): net_salary = (self.gross_income - …

Member Avatar for Reverend Jim
0
75
Member Avatar for Iris_3

Originally I have a .txt file where I have the bibliography of some sources in bibtex format, and I want to extract the data and order it in apa style.

Programming c
Member Avatar for Schol-R-LEA
0
73
Member Avatar for nalb4242

Hello i have question i am new at using aspx and c# .. after i get my website from server using FTP i can access the aspx page only but i can not view the code of c# behind it .. i think they are saved in bin file but …

Member Avatar for Schol-R-LEA
0
72
Member Avatar for RH_589

I made an ecommerce theme and threre register mini-cart.php by <?php echo apply_filters( 'woocommerce_widget_cart_item_quantity', '<span class="quantity">' . sprintf( '%s &times; %s', $cart_item['quantity'], $product_price ) . '</span>', $cart_item, $cart_item_key ); ?> code but when I add product to cart its show empty,afte page reload shows product numbers

Programming javascript
Member Avatar for Schol-R-LEA
0
60
Member Avatar for Abdullah_54

Our database is running into problems, as many transactions are waiting for locks held by other transactions. Here is what each transaction is waiting for: · T1 is waiting on T4 · T5 is waiting on T8 · T2 is waiting on T7 · T6 is waiting on T2 · …

Member Avatar for DGPickett
0
47
Member Avatar for Satyam_1

Hi, i want to total the values in column9 in Patientdatagridview to a textbox1. here is my code but it displayes each value, not the total. e.g. if values are 200, 200, 200 then it should display 600 but here it says 0200200200 Private Sub Button1_Click(ByVal sender As System.Object, ByVal …

Member Avatar for Nour_4
1
13K
Member Avatar for helloworld2021

hi everyone, i want to display content of div into sweet alert message and here is my code <?php echo '<script> var swal2container = $("#swal2container").text(); setTimeout(function() { swal({ title: "Alert!", text: swal2container, type: "error" }, function() { window.location = "index.php"; }); }, 100); </script>'; ?> <div id="swal2container">test</div> i still cant …

Member Avatar for jeet_4
1
2K
Member Avatar for Mn1208
Member Avatar for Xeros606

Not an ArrayList. An Array. For some reason, my teacher (or rather, the lesson plan we are using) requires that we make a program that takes an array of integers and removes all the zeroes. So far I have: [CODE] public void remove(int index) { for(int i = index; i …

Member Avatar for JamesCherrill
0
3K
Member Avatar for saadbangashh

I am beginner and still learning c++. So this was a question in my assignment to make a horizontal bar chart something like this, Example: Input: N1=>8 , N2=>6 , N3=>2 , N4=>10 , N5=>9 10 * 09 * * 08 * * * 07 * * * 06 * …

Programming c c++
Member Avatar for dbfud1988
0
1K
Member Avatar for ssharp77

In need of some help with a programming project which reads text from one file and places it in a 2nd file, which will be identical to the first file with the exception of any string of two or more consecutive blanks being replaced by a single space/blank, eliminating extra …

Member Avatar for Dhushanthan
0
941

The End.