199,114 Archived Topics
Remove Filter ![]() | |
file_spellcheck = input("Name of the document to be spell-checked: ") with open(file_spellcheck, "r") as i: spellchecking = i.read() for item in spellchecking: items = item.split() if items in with open("file.out", "w") as i: i.write() I need to make a spell checker that uses another file as a dictionary. So let's … | |
I ve been searching google for a long time now but I m not sure what kind of application (gps) should I develop. I would like from you guys to give me some trendy suggestions on what kind of gps app would be interesting to make and the most important … | |
Hello,I am Vanen,from Mauritius Island,new to c# and vs. I am getting difficulties while saving values from my datagrid to database. If possible,option for selecting all the rows and option for selecting which rows to save to database from the datagrid. Can someone guide me?please! Thanks in advance. | |
Dear All! I am facing a small issue in showing xml in a proper format. I am getting proper xml data from my webservice. but after receiving it browser is treating it as a text and showing all test in single line. I want to show my xml data same … | |
Hi. all im new in php i need create postback file for siperrevards. what can help me. i use av arcade site :) ![]() | |
this is my code, the problem the compiler is saying is i need an extra parentheses after 5 in get fahr, but i know that cant be it... help meeeeeee please :) public double getFahr() { if (tempUnit.equals('C')) { return (5(tempNum-32)/9); } else { return tempNum; } } public double … | |
Ha gyz i develop website for online shoping just for testing, this website contact 5 admins i want to secure login for thoes admin via mobile verification code, Like facebook verification code & google email login 2-setp verifcation etc. Can any bosdy have khew about this how it to be … | |
I'm trying to find a way where the database name and the server name can be dynamic. I'm developing an application which uses C# and crystal reports. Both application and the reports use the same database which is setup on a separate database server. This application now needs to be … | |
I's like to simulate the behaviour of Dynamixel Pro's robot actuator, including the control table, please see [it here](http://support.robotis.com/en/product/dynamixel_pro/control_table.htm). I can simulate the robot actuator fine, but simulating the control table is a bit puzzling for me. The control table has address from 0 - 892. One way I can … | |
Hello, I was recently looking through some of my code and found what I believe to be a memory leak. It is in a function that appends two strings and I am not sure how to resolve it. Here is the function: const char *strapp(const char *str,const char *s) { … | |
I am using fgets to read lines of a file. I am then using if statements based on the location of the new line character to decide which sscanf to use. I have been getting a lot of windows files which usually use carriage returns. Most of the timeit "seems" … | |
I can't work around these errors. Can someone help me out? Error 2 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int Error 3 error C2238: unexpected token(s) preceding ';' Error 1 error C2143: syntax error : missing ';' before '<' Code: #pragma once #ifndef … | |
i have a .csv file contain some name as below: William Shakespeare charlie chaplin david Copperfield and i'm supposed to write a java program that will turn the input above into the output below: WS cc dC but i still couldn't get the output that i want, i wanna ask … | |
I'm quite a newbie when it comes to coding, but i feel like i have done everything as it should be. I believe to get a transparent label i need to use the code - Label1.Parent = PictureBox1 Label1.BackColor = Color.Transparent I double clicked my picture box and inserted the … | |
I'm not expert in php and it my first time trying to connect php with oracle database I've made mistake before as I was trying to connect to MySQL while I should've connected to oracle instead Oracle instant client is installed in the uni server and with features static IP … ![]() | |
I know I've been here before, but I need additional help. I somehow need the following table to have HTML code that will create a table with two columns and three rows. The top left column will have the title rows, the middle will have columns, the bottom will have … ![]() | |
This is what i have so far. Private Sub Button7_Click(sender As Object, e As EventArgs) Handles Button7.Click Timer2.Start() Button7.Enabled = True Label8.Text = "Match Begins" End Sub Private Sub Timer2_Tick(sender As Object, e As EventArgs) Handles Timer2.Tick ProgressBar1.Increment(1) If ProgressBar1.Value = 3 Then Label8.Text = "1st Half" End If ProgressBar1.Increment(1) … | |
![]() | I'm trying to write a program in which a message box is to appear on the application window when the application is launched. The code below produces the message box, but it appears as a separate window that is not over the application window. Is there a way to fix … |
I've been trying to resize my jbuttons to the size of my pictures, but the jbuttons keep on occupying the whole frame. The size of the photos are 150x267. import javax.swing.*; import java.awt.event.KeyListener; import java.awt.*; import java.awt.event.KeyEvent; import java.util.Timer; import java.util.TimerTask; public class StartGame extends JFrame implements KeyListener { Timer … | |
I have table-accessonbook and second table as report register I want to fetch data from one table as name,age,sex with unique id from 2nd table i want fetch Hb with same id so that when i enter peticular id it should fetch data from both tables linked to that id. … | |
Hi I've written this small program to demonstrate the Diffie–Hellman key exchange algorithm. The desired output from the program is for most runs correct. However occasionally there are some discrepancies in output of the shared secret keys values in that they don't match, when they should. I've found that certain … | |
#Import Story text = open('./alice.txt', 'rb').read() #Split the text into individual words def split_text(text): #Import known words index index = open('./words.dat', 'rb').read().split() index_file = open('./words.dat','wb+') for word in index: index_file.write(word) index_file.write('\n') import string #Remove punctuation out = "".join(c for c in text if c not in string.punctuation).lower() # split the … | |
what is the usage of getch() function? how to creat recovery softwear? | |
Hi, I am trying to call the '`getMembershipDetsPrice()`' php function in the html drop down list 'duration'. I tried to follow the W3schools tutorial but when I changed the value the html printed again. When the dropdownlist changed the value the label needs to be filled by the returned value … | |
Hi I have the following code so far. Basically I have a drop down list were the user selects the type of membership he wants. When he clicks the button buy now from the database the membership cost and type are displayed in the pg. The problem is that I … | |
Hello Guys, Iwant to create a form builder using php and jquery, it is possible or not? This is my code. <div id="form_gen"> <div class=""> <hr> <h4>Create Database and Table</h4> <table class="bar form_evalution"> <tr> <th>Database Name:</th> <td><input type="text" class="form-control" placeholder="Input Database Name"></td> </tr> <tr> <th cols="auto">Table Name:</th> <td><input type="text" class="form-control" … ![]() | |
How do I detect left mouse button down and up events on the 'Close' option of the system menu that appears when the mouse is clicked on the top left corner of a form? | |
I am very confused with the pagination system of my site, the site consist two services android games and movies but in each they all have their categories for example the android games has categories as follows: * ANDRIOD GAMES * 1. Arcade 2. Sports 3. Action 4. Adventure 5. … ![]() | |
import java.util.Scanner; package p1; class Electricity { int cread=18634,fix_rate,due,ub_tax,curr_charge,bill,to_bill ; int pread,unit ; System.out.println("fix_rate="); Scanner sc=new Scanner(System.in); int fix_rate=sc.nextInt(); System.out.println("due="); int due= sc.nextInt(); System.out.println("ub_tax="); int ub_tax= sc.nextInt(); System.out.println("curr_charge="); int curr_charge= sc.nextInt(); System.out.println("unit="); int unit=sc.nextInt(); public void calc() { do { pread=cread-unit; System.out.println("fix_rate=" +pread); } while(unit<200) { int c1=2.75*unit; System.out.println(c1); } … | |
Write a program in Java to create an applet which take radius of a circle as input and find the area of a circle and draw the circle. Java Code: // Java Document import java.applet.Applet; import java.awt.Color; import java.awt.Event; import java.awt.TextField; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.geom.Ellipse2D; class Circle extends … | |
I have been programming for quite a while in Python but have just started to learn OOP properly. I find it really confusing and I don't really understand it. Especially the implicit self that python automatically passes. It just isn't clicking, really. May someone provide an easy explanation of what … | |
how do I run a python class without creating an object | |
Help me with ur inputs, how to insert and move the image using C language.. we can use by using "Type Argument Approach" to move the image?? | |
My IDE codeblocks 10.05 cant run a program which is overloading functions. Any help please..maybe due to settings | |
Hi All, I am making a website. I want to know how to implement loading animation in my website. user will see percentage of loading. Once 100% completed he/she will see my website. There are lot of css3 animation all around the internet but don't know how to apply it … | |
Hi, Is OXYGEN better or ALTOVA XML SPY? Or, other? Thanks | |
Hello Guys, I just Worried here, This code it show to display multiple Images from database and The Name of Image, And I want to Display it Vertically then the Name of Images it should be the under of Images. I dont know how to do this thanks Guys. hers … | |
I'm hosting my php file in WAMPSERVER PHP Version 5.4.3 and my database is somewhere in the uni server I keep getting this error and I don't know why * A connection attempt failed because the connected party did not properly respond after a period of time or established connection … | |
Hello, I try to play a video I i don't know how.. I searched and i found some tips and articles, but all of it if about Windows Media Player. It's fine, but i need to play something lika an intro an i don't wanna show all that buttons of … | |
Hi, i have a home work to do and is about Array-based Lists and Array-based Queues but i have no idea what goes on with my class since they have put me a higher level that i was supposed to be. Does anyone know any sites to send the hw … | |
I'm trying to parse this csv-like file, and I seem to be failing at it. Below is the contents of said file, and below that is the record format. Can someone give me a clue? Thank you. Source Code [Click Here](http://pastebin.com/xNFn1p7C) CSV File [Click Here](http://pastebin.com/L7w25eLh) Record Format [Click Here](http://pastebin.com/Rhb0UEdP) | |
This is my code for jquery script [code] // $Id: jquery.js,v 1.6 2006/12/23 21:46:35 dries Exp $ eval(function(p,a,c,k,e,d){e=function(c){return(c<a?"":e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('l(1l 1x.6=="Q"){1x.Q=1x.Q;u 6=q(a,c){l(a&&1l a=="q"&&6.C.21&&!a.1G&&a[0]==Q)v 6(Y).21(a);a=a||Y;l(a.3n)v 6(6.1Q(a,[]));l(c&&c.3n)v 6(c).1X(a);l(1x==7)v 1m 6(a,c);l(1l a=="24"){u m=/^[^<]*(<.+>)[^>]*$/.3c(a);l(m)a=6.3F([m[1]])}7.2a(a.14==2o||a.D&&a!=1x&&!a.1G&&a[0]!=Q&&a[0].1G?6.1Q(a,[]):6.1X(a,c));u C=15[15.D-1];l(C&&1l C=="q")7.V(C);v 7};l(1l $!="Q")6.3W$=$;u $=6;6.C=6.8h={3n:"1.0.4",66:q(){v 7.D},1S:q(2R){v 2R==Q?6.1Q(7,[]):7[2R]},2a:q(64){7.D=0;[].1q.17(7,64);v 7},V:q(C,1h){v 6.V(7,C,1h)},8k:q(1j){u 2h=-1;7.V(q(i){l(7==1j)2h=i});v 2h},1r:q(1I,11,B){v 1I.14!=3X||11!=Q?7.V(q(){l(11==Q)J(u E 1z 1I)6.1r(B?7.1o:7,E,1I[E]);G 6.1r(B?7.1o:7,1I,11)}):6[B||"1r"](7[0],1I)},1a:q(1I,11){v 7.1r(1I,11,"3j")},2D:q(e){e=e||7;u t="";J(u j=0;j<e.D;j++){u … | |
How can i create list of textboxes in vb2012 to be like textbox(0).text textbox(1).text | |
![]() | /* Made in code::blocks 12.11 -randomly generated terrain mirrored to be equal for bought players - - */ #include <iostream> #include <windows.h> #include <stdio.h> #include <string.h> #include <ctype.h> #include <fstream> #include <cstring> #include <string> #include <cstdlib> #include <ctime> #include <sstream> #include <cctype> using namespace std; //Public functions char printMap(char terraniValue); … ![]() |
Hi I got this error ImportError: No module named Crypto.Cipher Where can I find the module for windows and debian linux? How can I fix error both in windows and Linux? importerror no module named crypto.cipher windows Traceback (most recent call last): File "C:\Users\Win/\Desktop\client.py", line 2, in <module> from Crypto.Cipher … | |
Greetings, I need to know about the cloud computing tech. especially the private cloud computing security and I need some help even with books URLs | |
Here are 6 files I've been beating my head against the floor for about 20 hours now. I know I am sooooo close, but I just can't seem to find much information about overloading operators in a derived class to perform arithmetic operations on objects created in the base class. … | |
i have 2 arrray. array2 have 10 elements array 1 have 5 elements i want to copy all the element of array1 to array2 to fill all the 10spaces..ie arra2 is filled 2times of array1 how it done. array1={1,2,3,4,5} now array2 is filled like(1,2,3,4,5,1,2,3,4,5} need urgently plz help.. |
The End.