1,432 Recommended Topics

Remove Filter
Member Avatar for
Member Avatar for Joseph_44

How can I write a C++ program that lists all students whose CUMMULATIVE SCORE is K or higher?

Software Development algorithm c++ data-structure
Member Avatar for rproffitt
0
263
Member Avatar for Steve Collins

Hello, I wanted to ask about web hosting. I am new here and I want to know what is the best virtual server for it?

Software Development web-server
Member Avatar for rproffitt
0
200
Member Avatar for vegaseat

This simple isprime(number) function checks if the given integer number is a prime number and returns True or False. The function makes sure that the number is a positive integer, and that 1 is not considered a prime number. To find out if an integer n is odd one can …

Software Development python
Member Avatar for amir_19
3
24K
Member Avatar for RAZ_2

I have a python script which extracts unique ip addresses from snort log but how to modify or use regex to extract IPs only if they are logged more than 10 times per second? more specific: using "regex", if the second (i.e 41 in this scenario) doesn't change for more …

Software Development python regex
Member Avatar for tdsan
0
16K
Member Avatar for Marco_10

I have a 2D array of characters (m x n) and i am trying to find all possible pattern that have a fixed length (example 5 characters) I have no clue how to start this if anyone could point me in the right direction that would be great!

Software Development c++
Member Avatar for JamesCherrill
0
363
Member Avatar for prochotap

In desktop application used in technologies like C#, .Net and MySQL I import data from large file (which is about 37 MB) to datagridview. The table from Excel file is in below: ![B8UMq.png](/attachments/large/4/9bbe3c17922dd6159fbe781fae200a4e.png) After loading data from Excel to datagridview I'm inserting that data to MySQL database. Later when I …

Software Development dataset file-system open-source
Member Avatar for rproffitt
0
639
Member Avatar for Iceman10284

Design a function named max that accepts two integer values as arguments and returns the value that is greater? For example: if 7 and 12 are passed as arguments to the function, the function should return 12. Use the function in a program that prompts the user to enter two …

Software Development python
Member Avatar for UNIQUE_PRINCE
-1
4K
Member Avatar for abdallah mohamad

hello everybody who can help with this task Now I will talk little about monoalpahapit cipher This is cipher is based on substitution the characters with another characters So in the encrypt.java file it counts how many the characters appeared in the cipher text , so in the picture that …

Software Development c++ java
1
471
Member Avatar for cheikh06

Hello friends I would love to have your help with a blocking for hours. In summary, I have to read an XML file and retrieve information with the VB.Net language. I would like to recover the "name", the "checkvalue" and the "compositekey" That's the structure of my xml file: <supercollection …

Software Development vb.net visual-basic xml
Member Avatar for Reverend Jim
0
1K
Member Avatar for Rushabh Verma

I have a C# project that creates a COM object for use with a POS terminal. Before I give it to the customer, I want to make sure that it will work as a COM dll. The RegAsm says it works. using System; using System.Runtime.InteropServices; namespace POS { [Guid( "0135bc5c-b248-444c-94b9-b0b4577f5a1a" …

Software Development c c# c++
0
273
Member Avatar for rproffitt

I like Agile, I really do but a few times it has me walk out on the process as a few think that everyone must "buy in." That's just part of the problems I've run into and kind of glad I'm no longer on such teams. In fact if a …

Software Development agile-development
1
1K
Member Avatar for Violet_82

Hi guys, I was trying to sort an arrayList using a comparator but I didn't have much luck, or at least it seems like there is something slightly wrong with it. I have these objects in the arrayList employeeCollection.add(new Employee("Dan", 112)); employeeCollection.add(new Employee("Tim", 2)); employeeCollection.add(new Employee("Rick", 11)); employeeCollection.add(new Employee("Jack", 19)); …

Software Development java
Member Avatar for JamesCherrill
0
1K
Member Avatar for Swetha_3

Hi, I have a .csv file in an AWS machine i wanted to convert that .csv file to .dat file? Can you please help me? Thansk, Swetha. G

Software Development file-system python
Member Avatar for Nani_2
0
8K
Member Avatar for misstj555

Hello. I wanted to download a "Python IDE" called "PyCharm" to type code using the coding language "Python" for class. Here is the problem: When I open up the IDE called "PyCharm", it says that the "Python Interpreter" is not found. I suspected it was because I downloaded the "IDE" …

Software Development ide python
Member Avatar for misstj555
0
372
Member Avatar for Harshu_1

# Major Reasons # ## Unclear or vague project requirements ## Defining project specifications is the first step in executing a successful project. In their eagerness to please potential clients and close a deal, companies often overlook details that could derail a project down the line. ## Poor or limited …

Software Development
Member Avatar for rproffitt
0
367
Member Avatar for steven8579

I have an sql database names SubJobs with a column named Date. The data type is Time(7). I have a datagridview named DataGridView1. I want it to display a time like 04:30 PM. I’ve tried the following command to format the column but it gives me an error saying that …

Software Development c# display vb.net
0
364
Member Avatar for Ellina_1

The insurance business was conservative quite a long time; however, the appropriation of new advances isn't only a cutting edge pattern, but a need to keep up the competition. In our computerized era, Big Data innovations help to process various data, improve work process productivity, and reduce operational expenses. Learn …

0
208
Member Avatar for Reverend Jim

As I continue my conversion from vbScript to Python I am finding the gotchas. For example... A lot of my utility scripts take a file name or a file pattern as a parameter. My script, bitrate.vbs, for example allows me to invoke it as bitrate file bitrate pattern Technically file …

Software Development python vbscript
2
1K
Member Avatar for Reverend Jim

I'm having a problem with my python installation. The packages that came with the installation work just fine but when I try to use other installed packages I run into problems. For example, I installed a package `pymsgbox` using pip from an admin shell. When I run a sample script …

Software Development python
Member Avatar for Reverend Jim
0
2K
Member Avatar for phoenix_dwarf

I am doing a college project and need to display client status in form of coloured * by using an enum with flags...Now i know how the enum works but the problem is I need to show more than one * within the same field (lable or anything else) but …

Software Development
Member Avatar for Sairoj
0
2K
Member Avatar for kinzaajmal

![getline_error.PNG](/attachments/large/4/e8952660a152c2d6d38a928db76a92cc.PNG)

Software Development c++
Member Avatar for Dani
0
735
Member Avatar for Ayush_5

I need to extract the domain for example: (http: //www.example.com/example-page, http ://test.com/test-page) from a list of websites in an excel sheet and modify that domain to give its url (example.com, test.com). I have got the code part figured put but i still need to get these commands to work on …

Software Development python
Member Avatar for 10e12
0
430
Member Avatar for Rushabh Verma

Here's the task - I have an input field where I can enter a text and I would like to replace the occurrence of Vowels with numbers eg (A,E,I,O,U - 1,2,3,4,5) and add 'a' to all the other consonants eg - The input field takes in 'Victor as an input …

Software Development
Member Avatar for Dani
0
291
Member Avatar for dongtrien

I am making a small example of adding, editing, deleting and saving the treeView directory tree into the SQL Server database, what must I design to store in the database and write code ?

Software Development database-design sql
0
281
Member Avatar for ok

Halli Hallo i hope im at the right Place. I want to get started with API-Gateway(s). Currently im running 5 Microservices written in Java (Spring-Boot) deployed via Docker. Each Microservices is protected via Keycloak. I want to use a API-Gateway so that i can combine every MS into 1 Link: …

Software Development api java
Member Avatar for Dhiraj_4
2
8K
Member Avatar for Gloak

I have an application that has core PHP for the signin, registration, dashboard. It has a front end and backend (dashboard). Simple stuff. I need to implement a Scheduling system and [EasyAppointments](https://easyappointments.org/) (EA) has 90% of the stuff I need. EA uses codeigniter and requires login. It has it own …

Software Development php
Member Avatar for Dani
0
522
Member Avatar for Rushabh Verma

Socket error shown. public Communicator(IPAddress toconnectto) { this.toconnectto = new IPEndPoint(toconnectto, port); local = new IPEndPoint(Tools.GetIp(), port); all = new IPEndPoint(IPAddress.Any, port); udpClient = new UdpClient(AddressFamily.InterNetwork); udpClient.Client.Bind(new IPEndPoint(Tools.GetIp(), port)); udpClient.AllowNatTraversal(true); udpClient.EnableBroadcast = true; } public void SendData(string data) { try { byte[] bdata = ASCIIEncoding.ASCII.GetBytes(data); udpClient.Send(bdata,bdata.Length,toconnectto); } catch(Exception ex) { …

Software Development
Member Avatar for JamesCherrill
0
485
Member Avatar for WpgnGaming

So am looking for a way to only select caption text from a listview like the screen shot shows below I dont want to highlight image only text thanks. Yours Simon ![selected.jpg](/attachments/large/4/7befe0a3722ff61ba22a14ea74569724.jpg)

Software Development delphi listview pascal
Member Avatar for rproffitt
0
388
Member Avatar for Retrojay17

Using loops, write a C# program that asks the user to enter repeatedly an integer number, it stops when the user enters -1, then the program should display how many numbers were entered, their the sum and their average.

Software Development c++
Member Avatar for rproffitt
0
365
Member Avatar for Lante

I'm trying to connect a database with a login form to verify user as an existing one or a new one to sign up Private Sub Command1_Click() Adodc1.RecordSource = "select *from newcustomer where firstname='" + Text1.Text + "' and surname='" + Text2.Text + "' and customerid='" + Text3.Text + "' …

Software Development visual-basic
Member Avatar for RobDownUnder
1
2K
Member Avatar for Georgia_1

hi! I'm currently studying and having difficulty being able to print the array list, im not sure where im going wrong. any help will be appreciated import java.util.*; public class practice { static Scanner sc = new Scanner (System.in); static int numberOfCoffees = 0; static String[][] coffee = new String …

Software Development java
Member Avatar for JamesCherrill
1
687
Member Avatar for Terry_8

Have two CSV files containing client records and need to compare the two and then output to a third file those rows where there are differences to the values within the record (row) as well as output those records (rows) on the second file that are not on first file …

Software Development python
Member Avatar for Nani_2
0
32K
Member Avatar for Georgia_1

currently working on a project for college. when searching coffee names from the array list , it will show the object but will also show "there is no coffee in the list" for every time the object doesn't match the search, how can I sort this out? public static void …

Software Development java
Member Avatar for JamesCherrill
0
492
Member Avatar for Rushabh Verma

Hi I have XML something like this : <component AttributeA="1"> <Node1 AttributeB="AAAA" Name="John" /> </component> in powershell I can load and read through xml like this : [xml] $xmlDocument = Get-Content (#path to xml file) Write-Host $xmlDocument.componet.AttributeA Write-HOst $xmlDocument.componet.Node1.AttributeB Write-HOst $xmlDocument.componet.Node1.Name that gives me the fallow output : 1 AAAA …

Software Development c++ xml
Member Avatar for JamesCherrill
0
487
Member Avatar for A'mirul

Hi guys, I need help in doing what this code do but in Linux. Basically its a code to create keystroke about 5 seconds after the code is running. Below are the code in c++. Thanks on advance. int main() { // This structure will be used to create the …

Software Development c++
Member Avatar for rproffitt
0
388
Member Avatar for amvx86

Hey everyone, I'm looking to add a block / function within a C++ application that will search for open windows. For instance, wordpad and notepad. If either are open perform an action. I'm doing this within win32 API but my question is this. If I create something as such, this …

Software Development api c++ windows-api
Member Avatar for rproffitt
0
614
Member Avatar for ToastMalone

Program 2 Shop application You must write a small application in JAVA that stores items and their prices. Your program must: 1. Create an array of item names. Use the following item names: Bread, Milk, Butter, Chips, Honey, Soap, Towel, Carrots, Beans, Samp, Dress, Pants, Shoes, Socks. 2. Create an …

Software Development
Member Avatar for Reverend Jim
0
465
Member Avatar for Rushabh Verma

I'm trying to map two entities to the same table with the same columns. The differences are HasQueryFilter condition for every entity and a column that takes part in the reference. The entities describe ralationship between dictionary and entity. When I launch it, I receive the following message: "... both …

Software Development
Member Avatar for JamesCherrill
0
424
Member Avatar for De_2

Hello guys, I need some help with a python program that i have to do for school. I don't know how to erase a button after using it. And how can i go to the next question after answering the first one. Please help me ASAP!

Software Development python
Member Avatar for Reverend Jim
0
313
Member Avatar for Rushabh Verma

I need to check the validity of the URL to different files without opening the link document/image. I used the below code in ASP.net 4.7.2 in validation attribute. The current code is as follows : (working fine with jpg) public override bool IsValid(object DocumentURL) { try { string urlLink = …

Software Development pdf vb.net
0
254
Member Avatar for Jeff-Bennett

I'm interested in meeting people to discuss Amazon Alexa in NY ( especially Long Island) area. I'd like to find people with background in creating / programming Alexa Skills, also people with expertise in large Alexa installations with multiple accounts. - Jeff

Software Development
Member Avatar for rproffitt
0
312
Member Avatar for Cyril1

hello, I am trying to write a vb.net programme that reads data from a file and do a count for each column as shown in the format below and also write to an output file. i am able to do the count but i am unable to write the output …

Software Development file-system vb.net
Member Avatar for rproffitt
0
1K
Member Avatar for Tajar2019

Hi guys, im a newbie in programming, please i need help in populating ms datagrid from ms sql table, can anyone suggest me something thnx

Software Development visual-basic
Member Avatar for rproffitt
0
349
Member Avatar for evilguyme

so far i have this code.. [CODE]#include "stdafx.h" #include <iostream> #include <windows.h> #include <string> using namespace std; int main () { const int r1 = 175; const int g1 = 163; const int b1 = 134; HWND hwnd = FindWindow(NULL,"Test - Microsoft Visual Studio"); SetForegroundWindow(hwnd); HDC hdc = GetDC(hwnd); POINT …

Software Development c++ visual-studio
Member Avatar for toneewa
0
7K
Member Avatar for Tim_18

Hello, I am very new to programming as I am only a few weeks into my C# class. I have a project and after reading and reading my book, sadly I am stuck. Here is what the project calls for: I need to create a program that converts inches as …

Software Development c c# c++
Member Avatar for smerilatt
1
3K
Member Avatar for shakssage

Hi. I'm trying to create a Traffic simulator and I'm stuck on how to get a Car object to turn into a road. I've managed to have a car go straight (which is really easy anyway lol) but I can't really find a way to get it to turn into …

Software Development java
Member Avatar for RuhiAngel
0
2K
Member Avatar for johndohmen1963

I have a problem with my datagridview. And the following happens I have several buttons to load the datagridview. All these buttons are working correct So datagridview is loading as expected. Only when i press the right or the left arrow butoon and when then datagridview wil be selected with …

Software Development vb.net visual-basic
Member Avatar for johndohmen1963
0
2K
Member Avatar for snowwizard

public int evaluate() { if (root == null) { return -100000; } return evaluateHelper(root); (error) } private int evaluateHelper(MyBinaryTreeNode rt) { if (rt.left == null) { return Integer.parseInt(rt.data.toString()); (error) } switch (rt.data.toString()) { case "+": return evaluateHelper(rt.left) + evaluateHelper(rt.right); case "-": return evaluateHelper(rt.left) - evaluateHelper(rt.right); case "/": return evaluateHelper(rt.left) / …

Software Development java
Member Avatar for JamesCherrill
0
893
Member Avatar for plump23$

The library optimezedr should determine if a collection of books is in ascending or desending order.Your solution must read books from a text file and produce 2 additional text files one in ascending order and one in Descending order. then your solution will indicate if your original text file in …

Software Development c c# c++
Member Avatar for chuckc
0
569
Member Avatar for guffadi

First: Design a class named Employee with private fields for that person’s: (1) name, (2) ID number, and (3) hire date. The ID number should be in the format ###–C, where # is a digit, 0–9, and C is a character, an uppercase letter, A–M. Write no-arg, 1-arg (name), 2-arg …

Software Development java operating-system
Member Avatar for JamesCherrill
0
510

The End.