199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for faizlo

I have this script which can calculate the total of numbers given in a string total = 0 for c in '0123456789': total += int(c) print total How should I modify this script to find the total of if the numbers given in the string form have decimal places? That …

Member Avatar for Gribouillis
0
278
Member Avatar for zebnoon1

Dear friends, I developin a webside in php where clients can send their enquiry of material.I have text boxs which clients will fill when click add button this enquiry will goto down table on a same page.. Please give me idea.??

Member Avatar for zebnoon1
0
367
Member Avatar for Ola Loay

A company has 100 employees who receive a monthly salary ranged from 1000QR to 50000QR. We can represent the employee by an array of 100 elements as follows: double MonthS[100]; Q1: Write a for loop to fill-in the array with data. Q2: Calculate the average salary of employees. Q3: Find …

Member Avatar for Moschops
0
194
Member Avatar for Rimas_1

Hi, I need to read text from file and then as outcome show separate words, but shuffled. I tried few codes but non of these works for me. I'm getting output, but it do not shows words, but some signs only. I'm posting both codes.. #include<stdio.h> #include<string.h> #include <stdlib.h> #include …

Member Avatar for sneekula
0
213
Member Avatar for minitauros

Does anyone know how to install a new locale on Apache that comes with Xampp for Windows? I'm trying to find an answer with Google but it only shows results for "local" instead of "locale" -_-. (I want to install a Dutch locale. It might even be in there already …

Member Avatar for minitauros
0
1K
Member Avatar for sneekula

On my Raspberry Pi computer I did a search for PIL and matplotlib with apt-cache search python but could not find anything close in the list. Is PIL/Pillow and matplotlib available for Linux and what is it called? The Raspberry Pi has Python27 and Python32 installed.

Member Avatar for vegaseat
0
394
Member Avatar for Nova6112

Hi, I've developed VB.NET Application successfully and its working completely.. This aplication for my personal purpose. Now i need to take backup copy of databases into Online Storage... is there any methods to store at online. I'm using Ms-Access Database.Please Help me...

Member Avatar for Nova6112
0
95
Member Avatar for Nova6112

hi, I've developed a VB6.0 Application and i created Package. now i need to set Productkey or some systems which are allowed by me only can install my application... is there any techniques to do like this.. some of my friend told that we can do this using MAC address …

Member Avatar for Nova6112
0
133
Member Avatar for Fahad_5

My project is finished but lecturer demands everything in one file i created multiple to help ease everything and now cant combine them

Member Avatar for stultuske
0
122
Member Avatar for CodingSource

Dear fellow programmers, I have tweaked this code for some time, and again failed. I want the user to select a client in the combobox and its text, with date range (two datetimepickers) the results will show in a click of a button. CODE for DataGridView search results: Dim ConnectionString …

Member Avatar for Santanu.Das
0
2K
Member Avatar for Slavi

Hey guys, I am making a small script here and I got stuck on it a bit ... perhaps one of you could help me out The idea is to send an email that has attached zip file to it. My script is import smtplib import zipfile import time from …

Member Avatar for Slavi
0
8K
Member Avatar for razamughal67

We add a Default Tweet Button API on my site. it's work perfect and load new window and send the tweet. but i want to get the value of the tweet count id. or if anybody click on the tweet button and submit a tweet . then my page show …

Member Avatar for razamughal67
0
388
Member Avatar for nitin1

I am damn confused between these two terms. Can anyone explain this using some example? Thanks in advance.

Member Avatar for mike_2000_17
0
2K
Member Avatar for rose_2

what's the wrong with this code ?? ..it doesn't make the prossecc just typing the marks then nothing !! //program to get degrees of ten students in exam and compute the average exam degree of them #include<iostream> using namespace std; int main() { int mark,i; int average,sum=0; cout<<"enter 10 marks …

Member Avatar for rose_2
0
140
Member Avatar for Pompy

Hi! I am trying to do this project for my Comp Prog class. The Project assignment is "Create an application that prompts the user to enter his/her and last name in a single text box. The program returns the user initials in uppercase". This is what i have. I am …

Member Avatar for Reverend Jim
0
155
Member Avatar for batoolhussain

hi everyone, how can i retrieve the data from sql serve2008 and put it in array using vb.net2010. Can anyone help me with this?

Member Avatar for batoolhussain
0
109
Member Avatar for CodeWarrior14

I'm working on a server and client program. Data will be exchanged between the server and client. This data will be encrypted. The server will always generate the salt and the IV. The client will receive the salt and IV and use it to encrypt / decrypt the data that …

Member Avatar for CodeWarrior14
0
3K
Member Avatar for nadiam

hello. i have a div and a list of images. these images are cloned into the div by clicking on a button using `.append()`. the issue is that the elements gets cloned outside the div when it reaches the bottom of the div. and i dont want to have to …

Member Avatar for Troy III
0
284
Member Avatar for jean_5

I have the following javascript code var list = [ { Date : '00/00/0000', DateStart: '00/00/0000', Name: 'string', ... ... }, { Date : '00/00/0000', DateStart: '00/00/0000', Name: 'string', ... ... } ]; var column = list.?; What can I do to the `column` variable has the Date value, for …

Member Avatar for Troy III
0
128
Member Avatar for jean_5

I have the following javascript code var list = [ { Date : '2014-12-31 12:23:43', DateStart: '1980-12-30 23:43:42', Name: 'Kate', ... ... }, { Date : '1978-05-21 23:43:65', DateStart: '1973-04-06 12:34:09', Name: 'John', ... ... } ]; And the following code to verify for regex pattern: for (var i in …

Member Avatar for Troy III
0
261
Member Avatar for Dhugalmac

Hello, I had a working ASP.Net (VB.Net) website which utilized a javascript routine during StartUp. It would do a document.getElementsByTagName("input"); to find all of the Input objects and then selectively work on their style values as initialization processing. It all worked fine. var elemInputs = document.getElementsByTagName("input"); for(var i = 0; …

Member Avatar for Troy III
0
253
Member Avatar for fawadali

Write a C++ program that will print the pattern as shown below: Output: * *** ***** ******* ********* ********* ******* ***** *** *

Member Avatar for dbfud1988
0
194
Member Avatar for CodingSource

Dear fellow programmers, I have a problem. I want to debug my application but WHENEVER I debug it shows the following error in the error list: Error 1 Unable to read manifest 'My Project\app.manifest'. Could not find file 'C:\Users\david\AppData\Local\Temp\cl1aygzo.dll'. Golden Dragon Billing System I just click 'No' whenever that popup …

Member Avatar for Minimalist
0
297
Member Avatar for rose_2

In the following code : what's the difference between int and int& ? and what does it mean ?? i got something that n2 and n3 are changed only but not n1 and n4 !! is that related to (int& ) ?? #include <iostream> using namespace std; void change(int,int&,int&,int) int …

Member Avatar for rose_2
0
256
Member Avatar for mangel.murti

For one order XYZ can be a buyer and for different order XYZ will be a seller. how to assign buyer and seller responsibilities to users per order basis. give me some example of table structure. thanks in advance

Member Avatar for mangel.murti
0
139
Member Avatar for MiicahLiim

Can you please help me do a asterisks of pyramid using the drawbar function, im new to c++ please help. Thank you in advance this is the drawbar function: the output should look like: * *** ***** ******* /*Overloaded drawbar() program.*/ #include<iostream.h> void DrawBar(int Length) /*Diplays a bar of asterisks …

Member Avatar for dbfud1988
0
427
Member Avatar for parth2911

private void Login_page() { var i = 0; while (i < 5) { if (textBox1.Text.Equals("admin")) { if (textBox2.Text.Equals("parth")) { } else { textBox1.ResetText(); MessageBox.Show("passwod is wrong try agine"); i++; } } else { textBox2.ResetText(); MessageBox.Show("username and password is wrong"); i++; } } if (i == 5) { MessageBox.Show("you tried max …

Member Avatar for parth2911
0
177
Member Avatar for riwakawd

I have a custom php function for my multiple upload function. I cannot figure out how to make it so when I insert the file name to the database that it matches the row id, of that insert. How can I make it so. When I create a new banner …

Member Avatar for riwakawd
0
215
Member Avatar for Gl753

I want to output the annual salary for each employee individually but I'm not sure how. The way it is now it just pops up as one large box. Any help is much appreciated :) public static void main(String[] args) { // TODO code application logic here String increase, Salary, …

Member Avatar for Nation
0
221
Member Avatar for Nation

I am using a JTabbedPane with three buttons. The program is running fine except that the buttons remains small even if you resize the window. Is there a way of setPrefferedSize for them? here is the code if it helps: public final class JTabbedPaneDemo { JFrame frame; JTabbedPane pane; JPanel …

Member Avatar for Nation
0
1K
Member Avatar for Bensirpent07

So I have a website and it looks completetely normal in Google Chrome. When I open it up in Mozilla Firefox, there is 1 heading that won't word-wrap unless I make the font 1px bigger. So instead of looking like this: Welcome To Weblup! It just looks like this on …

0
142
Member Avatar for clife

Hi, I need to change the nice value of a process, but not sure how to do it. My process has a priority of 0 when it is launched , i need to decrease it to some +ve value. I know we use os.system("renice -n value -p pidof process"). to …

Member Avatar for Gribouillis
0
241
Member Avatar for AntonyRayan
Member Avatar for lloyd.farrell.7

Hi Everyone, I am trying to generate an error message in php. I have two drop down boxes on a website I am helping with, One for product, One for Size. Product is either shoes or hand bags. Size is a drop down that has different shoe and handbag sizes, …

Member Avatar for hericles
0
427
Member Avatar for Ahmed_57
Member Avatar for janicemurby

hya i have purchased a script package for my site and im having problems with the photos upload page i can upload a photo but when i go to save it im told to make a selection i cant make the selection as there is nothing to select and ive …

Member Avatar for Taywin
0
234
Member Avatar for fabzster

Hi I am having issues with a function that I created, I execute the below function on load on another page. I would like it to enable all the inputs if a check box is selected or disable all inputes if it is not. This works but it only works …

Member Avatar for Dhugalmac
0
360
Member Avatar for Slavi

Hey guys, I am a bit confused here ... making a script to brute force through a dictanary the password of a zip file and it seems to work fine except that it won't stop when the password is found. And when it prints the password it just prints the …

Member Avatar for Ene Uran
0
265
Member Avatar for Slavi

Hey guys, I am making a script here to read from windows registry. The problem that I am facing is that at a certain point I start getting an error that the file does not exist. First Here is what I am doing `net = r"SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\Signatures\Unmanaged"` `key = OpenKey(HKEY_LOCAL_MACHINE, …

Member Avatar for Ene Uran
0
182
Member Avatar for tnd2491

Hello All; What i need to do is to display 1000 logs coming from the server into 20 rows continuously.Does anyone have any idea?? I am storing the data strings coming from the server into the vector container. And that i have to display continuously from 0th Row row to …

Member Avatar for Duoas
0
217
Member Avatar for janicemurby

Hi i have created a events script for my members to post there planned event all is working there but i want it where all members will see the events that other members have submitted in a list style like My list of events : Type: Meet at your place …

Member Avatar for janicemurby
0
164
Member Avatar for Abdellah_2

Hi everybody I wanna know there is way to separate fonts by type for example : i wanna load all arabic fonts to a combobox only Thank you

Member Avatar for Abdellah_2
0
357
Member Avatar for Stefce

Can anyone tell me what im doing wrong here ? I just want to detect the last word of the sentence and if not found to show "Not found." here is the code: String[] items = { "Iphone", "Computer", "Car" }; String field = Field.getText(); String text = "I want …

Member Avatar for Slavi
0
2K
Member Avatar for jean_5
Member Avatar for SimonIoa

Hello i have a problem with my website. It is running slow. I asked the my server provider why is that, and they replied its because the webiste uses many embedded urls like youtube, vimeo, dailymotion and so on. And so i have to cache these embedded urls. I tried …

Member Avatar for SimonIoa
0
604
Member Avatar for sergio_pb

Hello guys, I create a software in vb.net to consulte my database (mysql) with table adapter and connections string, normal and simple application. Now I need to make a publishing, but when I install the aplication in another intranet pc, this pc cant connect my database. I know i need …

Member Avatar for sergio_pb
0
127
Member Avatar for nitin1

This problem is troubling me from so long time. There are N scientists, K black holes, and any scientist can query about radius, size and temperature of any blackhole. You have to answer three kinds of query basically: 1)Given Scientist queried for which blackholes,Given scientist queried for which attributes 2) …

Member Avatar for nitin1
0
156
Member Avatar for frankinaround

Yo whats up. I need help building a chat bot in python. I put together a 'special engine' (terms I found while searching the web- special and matrix engine(they translate user input)) basicly the special engine is a bunch of sentences that each have a few responses attached to them. …

Member Avatar for magnus.wootton
0
398
Member Avatar for CodeWarrior14

I improved my AES encryption code, I now generate a key from a password of any length. But now I dont know if I'm generating a 128, 192 or 256 bit AES key. Here is my code: import javax.crypto.spec.PBEKeySpec; import javax.crypto.spec.PBEParameterSpec; import javax.crypto.SecretKey; import javax.crypto.SecretKeyFactory; import javax.crypto.Cipher; public class AESCipher …

Member Avatar for CodeWarrior14
0
3K
Member Avatar for mrhunt

The End.