132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Talruk

For some reason the make_great function is not affecting the output of the show_magicians function. I'm trying to alter the list but it's not working. # the make_great function is not affecting the show_magicians function as # intended magicians = ['david', 'caroline', 'benjamin', 'alex', 'steve'] def make_great(magicians_to_change): for magician in …

Software Development python
Member Avatar for rproffitt
0
285
Member Avatar for Dietrich_1

So I am having trouble knowing what to return in the bottom method any help would be appreciated . Here are the specifications for completing the StringArray class: (a) In the class StringArray write method numInArray,using the method signature below. numInArray should return the number of times the string s …

Software Development java
Member Avatar for JamesCherrill
0
887
Member Avatar for COKEDUDE

I am trying to print my data in columns. For some reason every column but the last one lines up. Is there a way to fix this? while ((row = mysql_fetch_row(result))) { //printf("198\n"); for(int i = 0; i < num_fields; i++) { //printf("----------\n"); printf("%25s ",row[i]); if(row[i] == NULL) { printf("No …

Software Development c
Member Avatar for cereal
0
254
Member Avatar for Fayza_2

please help me ... i have a problem in my VB.net software when i transit it to another computer the crystal report asking for userName and PassWord . I programming it by visual Basic and Access DB .

Software Development vb.net visual-basic
Member Avatar for rproffitt
0
302
Member Avatar for Moksuhd

Hi guys, This is my first post and basically i require some help editing my current code to help display number of students with a mark of 40 or above specifically. And also i am having difficulty generating a average i thought i done it but it remained constant a …

Software Development java
Member Avatar for JamesCherrill
0
446
Member Avatar for SimonIoa

Hello i am getting these error node sass could not find a binding for your current environment windows 64-bit with unsupported runtime (59) when i am typing `ionic serve` on my command prompt does anyone knows how can i fix it?

Software Development
Member Avatar for hericles
0
398
Member Avatar for Paul Brian

convert from: loops properly convert to: loops back to from (should just loop back to convert to:) need some guidance #include<iostream> using namespace std; int main() { int num; char ch='y'; int amount; int choice1,choice2; while(ch=='y'||ch=='Y') { do { system("cls"); cout<<"\t\t|DLSL CURRENCY EXCHANGE PROJECT |"<<endl; cout<<"convert currency from: "; cin>>choice1; …

Software Development c++
Member Avatar for tinstaafl
0
248
Member Avatar for 小名

I can't slove this problem my code print nothing what's wrong with it ?? #include <stdio.h> #include <string.h> #include <ctype.h> #define total 1000 int weight (char word[total]) { int i; int sum; for (i=0;word[i]!='\0';i++) { sum+=i; } return sum; } char *getword (char temp[total]) { static char max[total]={'\0'}; int lenth,maxlenth; …

Software Development c
Member Avatar for 小名
0
1K
Member Avatar for COKEDUDE

When using fgets to read from stdin how do you stop reading from stdin?

Software Development c
Member Avatar for rproffitt
0
1K
Member Avatar for ajit.nayak

I am using Mplab x Ide with v3.61 on Xc8 compiler, PIC18F24K40. I used MCC generated UART code for send and receive data. For understanding I am clubling my code and posting part of it. My main code look like this #include "mcc_generated_files/mcc.h" #define EUSART_TX_BUFFER_SIZE 8 #define EUSART_RX_BUFFER_SIZE 8 /** …

Software Development c ide user-interface
Member Avatar for itnavigate
0
3K
Member Avatar for dongtrien

I am creating a dll library that impacts SQL Server on Northwind data, when run in VS2005 C# gets this error: Use 'dbo' could not execute stored procedure 'master.dbo.sp_enable_sql_debug' on SQL Server (local)\sqlexpress. Click help for more information. How to fix this ?

Software Development c#
Member Avatar for dongtrien
0
258
Member Avatar for leya_1

I need to differentiate image between 2 file upload control: FileUpload1 and FileUpload2. My current code works fine but it actually upload images from both FileUpload1 and FileUpload2. How do I specify the file from FileUpload1 and FileUpload2. Below is my current code: Dim hfc As HttpFileCollection = Request.Files Dim …

Software Development file-stream file-system image vb.net
Member Avatar for rproffitt
0
236
Member Avatar for Dietrich_1

So I have a project with a tester that is not displaying what I thought it would display. The project description and everything is as follows: Given an array of integers, how can we make some basic statistical calculations on the data? Specifically, we want to be able to determine …

Software Development algorithm java
Member Avatar for hericles
0
11K
Member Avatar for JModak

Procedure or function P_UpdatePurchaseInv_test has too many arguments specified. ALTER PROC [dbo].[P_DeleteForUpdatePurInvDet] --Purchase Invoice Details 12 pic(13pic active) --@purid int , --@purinvid varchar(255), @purinvdt date, @invno varchar(255), @invdt date, @nrr varchar(200), @partyIDpur int, @invtypidpur int, @tottaxblamt decimal(18, 2), @nettaxamt decimal(18, 2), @invamt decimal(18, 2), @totalcgst decimal(18, 2), @totalsgst decimal(18, 2), …

Software Development dataset vb.net
Member Avatar for hericles
0
370
Member Avatar for jnneson

Hello, Please, i dont know why my implementation is failing the testDemo Fucntion.. Below is the full code. it is Failing operator < .... testLessThan interface: #ifndef DATE_H_ #define DATE_H_ #include<iostream> using namespace std; class Date; ostream &operator<<(ostream&, const Date&); istream &operator>>(istream&, Date&); class Date { private: int month; int …

Software Development c++
Member Avatar for jnneson
0
312
Member Avatar for Mohsen_3

Hello, I do not know anything about Thread. And I know this question is answered in many forums, but nothing worked for me. My calculatins are very complex and long and I need at the start of calculations, a progress gif in a picturebox set to visible, and at the …

Software Development
Member Avatar for Felix Green
0
282
Member Avatar for Guilherme_1

Hello there! I'm wondering what are the options I have. My skills are not adequate for this kind of task. But I'm thinking now about either seeking for a partner with sufficient skills or hiring team of developers. In both cases what could you advise? What competence is needed for …

Software Development python
Member Avatar for Marcus_4
0
694
Member Avatar for dongtrien

Perpetual program reopens error: The type or namespace name 'Properties' does not exist in the namespace 'xxx' (you are missing an assembly reference?). Suppose there is a namespace space xxx how to declare how to use attributes and resources, for example: global :: xxx.Properties.Resources.sys_h;

Software Development assembly c#
Member Avatar for dongtrien
0
326
Member Avatar for BananaBread

Hi there. Sorry if this is in the wrong place! I am looking to create an app which allows a user to click on some words from a list (or three) to create a random sentence. What would be the easiest way to do this? I am using Android Studio …

Software Development android android-development java
Member Avatar for rubberman
0
366
Member Avatar for overwraith

I am creating an application that uses NHibernate, an object relational mapper that is a port of the Java Object relational mapper hibernate. Currently I am trying to represent my entities via hibernate xml files. The application I have right now is throwing an error I am thinking may be …

Software Development assembly data-structure gui java oracle session
Member Avatar for stultuske
0
646
Member Avatar for mattyd

Before I get into the specific issues, I want to provide some other details: - Normally, I work on a live, paid server (even in dev); I realize that is not advised, but it is a bad habit I developed over the years. I've tried using Xammp, but do not …

Software Development apache html-css mysql php
Member Avatar for benanamen
0
661
Member Avatar for Brandon_21

Hi everyone, so i have currently made a small antivirus project (just for me) but i want to make it cool with signiture definitions ect. Basically what ive got so far is my program reads a text file with loads of sha256 hashes to see if the file that enterd …

Software Development vb.net
Member Avatar for Reverend Jim
0
691
Member Avatar for Alex_71

This is what I have, just not sure how to actually get the sum of the listbox numbers. If intNumberOfEntries > 1 Then lblTotalSnowfall.Visible = True decTotalSnowfall = lstSnowfall.Items.Add(decSnowfall) lblTotalSnowfall.Text = "The total snowfall for the city is " & decTotalSnowfall.ToString("F1") & " inches" Else MsgBox("No snowfall value entered") End …

Software Development visual-basic
Member Avatar for ez4u2c
0
3K
Member Avatar for Michael_9

command name can be APP_COMMAND_NAME as const Friend Module Program Private CurrentString As String = String.Empty Public Const APP_RUNNING As String = "Running" Public Const APP_TITLE As String = "Console" Public State_Output As String Public State_List As List(Of String) = New List(Of String) Private commandlist_ As Dictionary(Of String, Action) Private …

Software Development vb.net
Member Avatar for rproffitt
0
428
Member Avatar for Bhuwan_1

I am creating a client server program on which client downloads server's files. it works fine in localhost, but the problem occurs in except localhost connection. I've tried googling but none of the solutions(from previously suggested to the same problem) works. Here is my code: def upload(sock): # server.py filename …

Software Development client-server python
Member Avatar for rproffitt
0
709
Member Avatar for overwraith

The following lines do not work. The bool is always false. I have been having trouble getting danni's site to work so if the reply is too short it's 'cuz I typed in the longer version three times and got errrors. FormsAuthentication.SetAuthCookie(login.EmailAddress, login.RememberMe); bool isauth = User.Identity.IsAuthenticated;

Software Development
Member Avatar for overwraith
0
314
Member Avatar for overwraith

I have the following error as part of my nhibernate project; **Could not find a setter for property '0' in class 'AdHockey.Models.User'** The following is my model; public class User { /// <summary> /// Unique identifier for group used by program and database layer. /// </summary> public virtual int UserId …

Software Development java session storage
Member Avatar for overwraith
0
2K
Member Avatar for overwraith

Is it possible to make a web page that takes up responsibility for backing up a web applications tables(Oracle DB, and perhaps SQL server I am trying to be multi db supportive)? Essentially I want to create a database backup script that is kicked off by pressing a button on …

Software Development asp.net software-architecture sql
Member Avatar for overwraith
0
459
Member Avatar for abdisa
Member Avatar for JamesCherrill
0
145
Member Avatar for Mooyeon

My program find the amount of specific word such as "whale" and "thee", but ignore "thee,", "whale....", and so on. How can I contain them? #include<stdio.h> #include<string.h> #include<ctype.h> int main(){ FILE *md,*out; char CHA[255]; char cha[255]; cha[255]=tolower(CHA[255]); char thee[]="thee"; char chapter[]="chapter"; char whale[]="whale"; char meet[]="meet"; int th=0; int ch=0; int …

Software Development c
Member Avatar for ruediger.bayer
0
388
Member Avatar for random_1

Hello, is it possible to have a multidimensional array of different type? We have to create a simple "joke" application with GUI, and what I was thinking is that for each question a character(image) with a speech bubble asks a question like for example a joke about a banana would …

Software Development gui java
Member Avatar for JamesCherrill
0
278
Member Avatar for Dietrich_1

So I am having trouble with the last bit of the car class, I have to update the number of gallons in the car based on the number of miles driven... public class Car { private double mpg; private double mileage; private double tankCapacity; private double gasInTank; /** Constructs a …

Software Development java
Member Avatar for JamesCherrill
0
892
Member Avatar for Dietrich_1

Alright so I have a tester for this class and it keeps saying this message: "Now testing your drive method: *** A car with mileage of 700 miles driving 400 miles before running out of gas should not now have mileage of 1700.0 miles" However when I remove the mileage …

Software Development java
Member Avatar for stultuske
0
425
Member Avatar for monem_1

I use a code to print a libel with all its contents and move to the next page but the problem 1 - Printing breaks the base of the first page when moving to the next page I want to have a vacuum at the end of the page 1 …

Software Development image vb.net
Member Avatar for rproffitt
0
500
Member Avatar for Dietrich_1

HI, so my code compiles but does not give the result I intended. Any help is greatly appreciated! How can we count the number of occurrences of a character or group of characters (a substring) inside of a given string of characters? In other words, how can we count the …

Software Development java
Member Avatar for JamesCherrill
0
452
Member Avatar for Deamanjoe

How can implement a perfect hashed data structure using the four basic operations? Could I do something like this or do I need to break up my code into two different classes and then test the methods from another class's main method? public class PerfectHashed{ int ticketNumber; // keyfield String …

Software Development algorithm data-structure java storage
Member Avatar for rproffitt
0
393
Member Avatar for Talruk

I've been reading through a beginner's book for Python, and I can't quite get this example to work perfectly. active = True age = "" while active: age = input("Please enter your age ") if str(age) == 'quit': active = False elif int(age) < 3 and int(age) != 0: price …

Software Development python
Member Avatar for Talruk
0
184
Member Avatar for rahaf_1

Write a java program that asks a person for his height (in meters) and weight (in kilograms) and outputs one of the messages: underweight, normal, or obese, using the BMI formula and BMI classification. Body Mass Index (BMI) is an index used to measure the body fat using the height …

Software Development java java-netbeans
Member Avatar for rahaf_1
0
2K
Member Avatar for Thanuj_1

We have a flex project which called from browser by using a swf file. After flash update the swf file is disabled. Here are the list of flash versions and browsers that we used in windows 7 OS. * Installed Firefox 56.0 - NPAPI 25.0.0.170 version in Firefox . - …

Software Development flash java web-browser
Member Avatar for rproffitt
0
427
Member Avatar for Lughen

How does POS been coded? First, get orders then store it in a container like listview or datagridview Second save data from container to xml file then import data from xml to database.

Software Development mysql vb.net xml
Member Avatar for Tyron_1
0
252
Member Avatar for Tyron_1

How to do p.o.s system that need enter a switch statement on c++

Software Development c c# c++ daniweb-feedback
Member Avatar for Reverend Jim
0
360
Member Avatar for ddanbe

Yes, WPF. The learning curve is steep, but what amazing things you can do with it! Look at this hexagon window for instance. Serves no purpose in a business environment I guess, but in a gaming situation it could work. For me, it was just fun to get this up …

Software Development asp.net gaming
Member Avatar for deceptikon
0
957
Member Avatar for gahhon

Like the title asked, what should i do to change the cursor into custom image when the form is loaded, i've tried so many style by google searching, but still can' work. :/

Software Development vb.net
Member Avatar for Asanka_1
0
2K
Member Avatar for nonik

please help me, create an algorithm that can be used to spell out a positive number worth less than 1,000,000 and create a c ++ program for the algorithm

Software Development c++ java
Member Avatar for stultuske
0
388
Member Avatar for COKEDUDE

How would I split this big if statement across multiple lines? It works perfectly on one line. if (mysql_query(con, "CREATE TABLE Matches(match_id INT UNSIGNED PRIMARY KEY, date DATETIME NOT NULL, tournament INT UNSIGNED, playerA INT UNSIGNED, playerB INT UNSIGNED, scoreA INT UNSIGNED, scoreB INT UNSIGNED, offline bool)")) { finish_with_error(con); } …

Software Development c
Member Avatar for AndrisP
0
267
Member Avatar for COKEDUDE

This is what I came up with for reading a csv file with multiple types. It seems to get the job done in all cases but 1,2,,"a". Where there is a blank space. Can I please have some ideas on how to fix this? const char* getfield(char* line, int num) …

Software Development c
Member Avatar for COKEDUDE
0
331
Member Avatar for Jamshaid _1

Hi guys i need some help i am tryig to code a python fake bank system. The program needs to be able to deposit withdraw,check the balance and quit the program however my code doesnt seem to be working for some reason can someone please help me. Please find attached …

Software Development python
Member Avatar for Adam_40
0
609
Member Avatar for Stefce

Hello everyone hope you are doing well, i was busy these days i was having problem with the police in my country, they catch me smoking weed and now i got criminal record... but never mind that i hope will be better in the future. So i got in mind …

Software Development java
Member Avatar for taersious
0
950
Member Avatar for Dipayan_1

Can you please Create a student database in java using string and arrays wherein we can store details of students Like their ROLL no, Name, Father's Name,DOB, Section and then also search a student using his DOB or Roll No. or Name?

Software Development java
Member Avatar for pty
0
2K
Member Avatar for Ajit_3

I don't see 'Targer Framwork' change (.NET Framework 4 Clint profile) or others to --->> (.NET Framework 4) in vs 2015 Advance compiler settings

Software Development vb.net
Member Avatar for rproffitt
0
277

The End.