1,432 Recommended Topics

Remove Filter
Member Avatar for
Member Avatar for Roland_6

Hey folks, I've just started a CS class, and i need help with this material. I accept any feedback and advice to complete this assessment. [Tasks](https://imgur.com/a/jwHrmhR) What I did so far: Task 1 – Problem Decomposition a) b) PROGRAM <ATM_WITHDRAWAL> 1. DISPLAY 'Enter amount to withdraw’; 2. INPUT amount; 3. …

Software Development algorithm
Member Avatar for Reverend Jim
0
2K
Member Avatar for Zeeshan_10

How much day's require to learn C++ ?

Software Development c++
Member Avatar for udayaprakash1
0
743
Member Avatar for JModak

I create a project encrypt and decrypt data in vb.net how to use this code as a function please help it is work only on a textbox i want to send a string value then return encrypt value and when i send encrypt value then send me decrypt value. [Click …

Software Development encryption vb.net
Member Avatar for rproffitt
0
567
Member Avatar for Mike_63

Can you please help me with write a python program to read five scores and output the average score and also output the amount by which that score differes from the average. I have done the average part but I don't know how to get the difference of all the …

Software Development python
Member Avatar for Reverend Jim
0
311
Member Avatar for 404notfound

In my access database, I have a table for the master list of items discussed in a training meeting. If a certain item was discussed in a meeting, then the value in the database is 1, if it was not discussed, then the item is 0. I'm trying to get …

Software Development dataset
Member Avatar for tinstaafl
0
466
Member Avatar for vegaseat

This code shows how to obtain and display a GIF image from an internet website using the Tkinter GUI toolkit that comes with the Python installation.

Software Development display image python
Member Avatar for woooee
4
25K
Member Avatar for tony75

Hi I have python code that can list all drive letters but now I need also list the name of drive letter (Label) and the size of hard drive like below! Ltr Label Size ---- ------ --------- C Windows 800 GB E Local Disk 200 GB F My Passport 500 …

Software Development python
Member Avatar for tony75
1
7K
Member Avatar for catastrophe2

I wrote a script that manages services on the server and starts/stops etc...depending on the Task in the csv file, as well as changes the startuptype, again depending on the start up type in the csv file. CSV file: > Server,Service,Startup Type,Task > server1,SQL Server Analysis Services (MSSQLSERVER),automatic,start > server2,"SQL …

Software Development windows-api
Member Avatar for rproffitt
0
1K
Member Avatar for elifelo

I want to create a game that computer guesses the number that i think between 0-500 but i am a beginner and i do not know what to do could you help me please ?

Software Development c c++
Member Avatar for rproffitt
0
376
Member Avatar for Jay Kenneth

im just new on c program can you help me on this ? problem : make a C program that will ask 10 numbers and store into an array. the numbers to be entered must be between 70 to 95 only output the average,number of grades below average, above average. …

Software Development c
Member Avatar for RabidDog5150
0
326
Member Avatar for Dolphin0

Hi, I have been searching for freelance software developer on different websites for a while but failed to find him for the software I need. Been studying and researching a lot how could i come as close as possible to the solution i am looking for: what needs to be …

Software Development java monitoring-software python
Member Avatar for rproffitt
0
315
Member Avatar for Agus Virga

How to save image from computer client to server using java?? Give me the source code..

Software Development image java
Member Avatar for jwenting
-2
471
Member Avatar for Addison111

I have some problems when working with Win32 api. 1. Changing the text and background color of a button doesn't take effect. My code: case WM_CTLCOLORBTN: COLORREF colorref; colorref = RGB(0,0,255); HBRUSH hBrushBtn; hBrushBtn = CreateSolidBrush(colorref); return ((LRESULT)hBrushBtn); break; 2. How do I create selectable text. My code: text = …

Software Development api c++
Member Avatar for tinstaafl
0
315
Member Avatar for ZombieKnight93

How can I make this to continue until the user presses N? I've tried using while(1), while( option == 'y' || option == 'Y') but it kept giving an error for that, and if/else statements but no luck. So I decided to try a do while statement and same results, …

Software Development c c++
Member Avatar for Smith5646
0
858
Member Avatar for DaveAmour

I've been studying TDD for a few years and read quite a few books but none that good to be honest. Can anyone recomend any good ones. I'm not interested in BDD but am keen on anything that tackles the many problems of mocking intrinsic MVC objects.

Software Development c# software-architecture
Member Avatar for dkalpesh1992
2
471
Member Avatar for Nancy_16

I am using PySide2 for GUI. I have a "Rename Project" QAction. The function must be like this: 1. set enable to false if tab name is "*Untitled" or file is unsaved. 2. set enable to True if file is loaded. How to do this? 3. Whenever switching to tab, …

Software Development c++ gui python
Member Avatar for jacklin
1
1K
Member Avatar for COKEDUDE

I have 30 functions like this void func1(int *var1, int *var2) { func2(var1, var2); } void func2(int *var1, int *var2) { func3(var1, var2); } void func3(int *var1, int *var2) { func4(var1, var2); } I do not need var3 until func15. Is there a way to fix this mistake without having …

Software Development c
Member Avatar for bdux
0
678
Member Avatar for fugio

Hi all I have a script to update the value from datagridview to database I do use a button insert ToolStripButton but not working hope people to help thank ! Private Sub Form2_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load conn = New SqlConnection("") conn.Open() Dim query As …

Software Development vb.net
Member Avatar for Amudhambika
0
4K
Member Avatar for jjones0150

I need a form that accepts two operands and an operator from the user and then performs the requested operation. Specifications Before performing the calculation, the application should check that both operands are numeric and that the operator is one of the following: + add - subtract * multiply / …

Software Development
Member Avatar for Dani
0
3K
Member Avatar for djbsabkcb

Question: I have to do a program on alternating sums using vectors. I am not sure how to start this program. I thought about using an array and every even index add the value and every odd index subtract the value. Does that sound right? Any ideas?

Software Development c c# c++
Member Avatar for jacklin
0
2K
Member Avatar for Addison111

I'm trying to setup mongoos server in a Winndows app. The server code needs to be in an infinite loop, so does the windows main loop. I put the server code and win loop on 2 threads, the problem is, the program hangs when executed. Is there a way to …

Software Development c++ windows-server
Member Avatar for rproffitt
0
439
Member Avatar for fanolots

Hey, I don't know if this is the right place, but my issue is taking an output from a software SPI and using it in another function for temperature. The code below is marked with my issue, however it's not the full code. The full code is for a lab …

Software Development c c++
Member Avatar for tinstaafl
0
317
Member Avatar for zoro007

Hello, I created html file with Checkbox and i use python when i check one box and submit i have problem with list when i check 2 box or more and submit i see the result list like ['120', '104', '12'] i can use "for" to loop the list and …

Software Development python
Member Avatar for zoro007
0
311
Member Avatar for Dalek Caan

Howdy All - I am just wondering if anyone has successfully converted a *massive* (subjectivity implied) COBOL application to another language. If so, into which language was your system converted and when was this done? What were the potholes you, no doubt, hit? Was the conversion far more expensive than …

Software Development java
Member Avatar for Jim_9
0
1K
Member Avatar for skelley

I have a program that is meant to display the total, average, student name and letter grade for a student. I'm almost done writing it but I have no idea how to make it loop so it goes back to step 1 from step 4. Everything I've read on using …

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

showing Error "Failure sending mail." please help me i used port 587 because maximum example 587 used this port how i can know the my mail port or it is right error in this line SMTP.Send(Mail) massage is:- Just "Failure sending mail." ------------------ Imports System.Net.Mail Public Class Form1 Private Sub …

Software Development email vb.net
Member Avatar for rproffitt
0
851
Member Avatar for tony_28

Hi All, In this program I have these 2 matrices . It will compare each element in each row of matrix[4][4] to 3 . If that value <= 3 then store the characters in the first row of matrix m_c[25][32] in an 2D char array (char clusters[40][40]). For example 3 …

Software Development c++
Member Avatar for rproffitt
0
546
Member Avatar for Nivek90

I have a file that contains flow statistics from a switch. This is a big file with alot of values I would like to print out the statistics based on user input. I'm having a hard time to figure out which way is the most efficient, using a dictionary or …

Software Development file-system python
Member Avatar for Peleg
0
382
Member Avatar for COKEDUDE

If you have a counter that gets incremented through multiple functions, is it better to use a global counter or pointer counter? They both work just curious which is better and why.

Software Development c
Member Avatar for Reverend Jim
1
1K
Member Avatar for cambalinho

how avoid memory leaks? from here: http://www.winprog.org/tutorial/bitmaps.html i learned: GetDC() - ReleaseDC() BeginPaint() - EndPaint() CreateCompatibleDC() - DeleteDC() i must get the old selected object. select it when isn't needed and then delete it. so seen these constructor and desctructor: image(const int width, const int height) { if (isimgused==true) delete …

Software Development c++
Member Avatar for Topiary
1
1K
Member Avatar for John_165

The API docs are now found at [ Java Development Kit Version 11 API Specification](https://docs.oracle.com/en/java/javase/11/docs/api/)

Software Development api java oracle
Member Avatar for JamesCherrill
0
2K
Member Avatar for Ankit_30

Hello, here is my code: import tkinter as tk import tkinter.font as tkFont from tkinter import ttk from tkinter import * root = tk.Tk() pressed = False class Example(tk.Frame): def _create_circle(self, x, y, r, **kwargs): return self.create_oval(x-r, y-r, x+r, y+r, **kwargs) tk.Canvas.create_circle = _create_circle def __init__(self, root): tk.Frame.__init__(self, root) self.customFont …

Software Development python tkinter
Member Avatar for rproffitt
0
460
Member Avatar for kehar

I am using Cell 2 and cell 3 of Column A Column B and Column C Column B is the Profit % and Column C is the Selling Price cell 2 of column A is my **search box** where I want to enter Selling Price. Presently, with the help of …

Software Development microsoft-office
Member Avatar for rproffitt
0
449
Member Avatar for Ron_16

I have made the changes to the Apache http.conf file AllowOverride All Require all granted And added the Listen: 192.168.1.20:80 Save the conf file and restarted Apache But when I try to start http://192.168.1.22/wodpress I get the following error message This site can’t be reached 192.168.1.22 took too long to …

Member Avatar for rproffitt
0
446
Member Avatar for Hashik

I have a Database named "Store" and tables are orders and firm. The firm table fields are firmname, firmcode. The fields orderno, orderdate orderqty, qtyrcvd and balqty are stroed in another table. When selecting three ComboBox values (fetched from another(invoice) table) ie firm name, orderno and orderdate respectively when clicking …

Software Development dataset open-source vb.net
Member Avatar for aldeene
0
402
Member Avatar for Solution Hall

Hello! Good Day to All, I am working on Visual Studio 2015. I have two workstation computer systems, in both same operating system and Visual Studio is installed. When i Build the main project it succeeded, and no any problem and my project runs normally on both systems. Then i …

Software Development operating-system vb.net visual-studio
Member Avatar for rproffitt
0
363
Member Avatar for Cisco_1

Hi guys : Any help with this please! script1.py in 192.168.1.10 x = 10 script2.py in 192.168.1.20 if x == 10: print x else: print "sorry" how can apply this between two scripts in same network. Thanks for all

Software Development python
Member Avatar for rproffitt
0
553
Member Avatar for novice20

[B]Hi all.. I need to do a condition check in a script. The same condition check needs to be repeated in another script. So, I am looking for a way, where i can set, say a flag in the first script ,upon meeting the condition, and be able to access …

Software Development python
Member Avatar for Cisco_1
0
37K
Member Avatar for GadiK

Hi guys, I took it upon myself to learn the mysteries of linux. I'm trying to write a shell that can handle more than one pipe. Here's the code: [CODE] typedef struct command_link{ char *command; char *argv[MAX_ARGS]; int argc; struct command_link* next; int isPiped; }command_t; int pipedCommand(command_t *command) { int …

Software Development c linked-list
Member Avatar for Riadh_1
0
12K
Member Avatar for Jag_1

I am trying to process the data in a single file . i have to read the file and create a hash structure,get the value of fruitname append it to fruitCount and fruitValue and delete the line fruitName and write the entire output after the change is done.Given below is …

Software Development apple data-structure file-system perl
Member Avatar for 2teez
0
1K
Member Avatar for tony75

Hi Is there any simple way or online website that can convert The numerical string like"123-322-14365" to regular expression?

Software Development
Member Avatar for Reverend Jim
0
446
Member Avatar for Rock Ridge Farm

I am having problems with this program. It assembles but will not run. it will not even start - anyone see the error? global _start section .data $STR00000 db "hello world",0 section .bss $u_exitcode resd 1 section .text extern _iwbstrcpy extern _iwb_finish extern _iwbprint _start: push rbp ; set up …

Software Development assembly
Member Avatar for rproffitt
0
441
Member Avatar for Sameer_8

Hello, I have a questions in TCP client to server communication: This is what is require me to do: First of all, if we run the program from multible command line or multible PC it will run the same program. ( of cource ) Second, the program should read from …

Software Development client-server java
Member Avatar for rproffitt
0
379
Member Avatar for chandan_14

#include<iostream.h> #include<conio.h> class game { int a,b,c; public: void g() { cout<<"Enter value of a<<endl; cin>>a>>b; if(a<b) { cout<<a,<<endl; c++; } } }; void main() { game g1; g1.g(); getch(); }

Software Development c c# c++
Member Avatar for Reverend Jim
0
343
Member Avatar for Mirty

This is a program that ask input from the user about the characteristics of a gemstone then prints to the screen. Things like color, price and name. I have written it to an extend where the user enters all this and prints them out. Am now stuck where I should …

Software Development ruby
Member Avatar for pty
0
287
Member Avatar for Z33shan

hello :) i wanted to know, how can i change the shutdown mode of my Windows Form Application, @ MS Visual studio 2010. i.e, my application should exit only when i close my last form.. & not when the main form is closed.. i remember, in .NET 2003 windows form …

Software Development microsoft visual-studio
Member Avatar for Samuel_25
0
1K
Member Avatar for JModak

How to change the color of a cell(back or fore color) of listview item according to item value with if condition. I do it but it is not work and show no error Please help me...... For k = 0 To ListView1.Items.Count - 1 If ListView1.Items(k).SubItems(6).Text > 100 Then ListView1.Items(k).SubItems(6).ForeColor …

Software Development listview vb.net visual-basic
Member Avatar for Reverend Jim
0
358
Member Avatar for divinity02

hi people I am building a atm machine but havent actually coding it as yet, just the gui interface part i have done so far because i am doing something else at the moment but in between i would do someting with it. so i have put in an if …

Software Development gui java user-interface
Member Avatar for Armand_2
0
287
Member Avatar for r3bol

I made a scraper for a web site, but I'm having problems runninf my code... #!/usr/bin/env python from bs4 import BeautifulSoup import urllib2 import re # Get the links... html = urllib2.urlopen('http://www.blah.fi/asdf.html').read() links = re.findall(r'''<a\s+.*?href=['"](.*?)['"].*?(?:</a|/)>''', html, re.I) links_range = links[6:len(links)] # Scrape and append the output... f = open("test.html", "a") …

Software Development file-system python
Member Avatar for happygeek
0
6K
Member Avatar for Saboor880

Hello to all! I have added a jcombobox in a jpanel by dragging it from palette (Netbeans IDE). I am populating jcombobox with database without any problem. For example i have following 5 items in my jcombobox: Italy, Uganda, America, Canada, Austria When my jtable is focused and i type …

Software Development ide java
Member Avatar for JamesCherrill
0
2K

The End.