132,726 Archived Topics
Remove Filter ![]() | |
I am using Python 2.6 with ide and i created a list with names `names = 'mark', 'raymond', 'rachel', 'matthew', 'roger', 'judith', 'charlie', 'melissa', 'betty']` and then set `names = nmls` so even if I update names, nmls gets updated... however if I do `names = deque(['raymond', 'rachel', 'matthew', 'roger', … | |
I'm stuck writing some code for an intro programming class. I'm pretty sure the mistake is probably that I mixed integers with strings trying to get a result, but I'm just not sure which code I need to replace after messing with it all day and getting many different traceback … Software Development python | |
I am currently trying to pull high,low, and closing stock data from Yahoo finance, and graph it using Turtle. I was able to pull the data from the url into a list but I can't figure out how to graph it. I know the dates have to be the x-axis, … | |
This Programs is a Simple Calculator that usses Arrays and pointers. Currently a freshman student and im completely lost on the errors i keep on getting #include<stdio.h> #include <conio.h> main() { clrscr(); int num1[5],num2[5],sum[5],*n1,*n2,x; char oper[4],*o; *n1 =num1[5]; *n2 =num2[5] *o = oper[4]; oper[0] ='*'; oper[1] ='+'; oper[2] ='-'; oper[3] … Software Development c | |
Is it possible to store data to CPU memory, if so how much memory can I store and how? Say I wanted to store an array, about 6MB in size? Software Development c++ | |
Hi, i just don't know why does this program is wrong, the problem is if I choose 1 and 3 . after I choose choice no.1, I enter the employee id and name nothing happens after that, same as choice no.3 which I will enter the employee id to find. … Software Development c++ file-stream ios | |
Many string functions seem to work without the null byte... is it necessary to add it all the time? and my second question, does scanf %s automatically ads the null byte? Software Development c | |
#include <cstdlib> #include <ctime> #include <iostream> #include<conio.h> #include<string.h> /* time */ using namespace std; char square[10] = {'o','1','2','3','4','5','6','7','8','9'}; void box(); void player1_won(); void player2_won(); void fu(); int main() { srand((unsigned)time(NULL)); int abcd[45]; char type[34]; string data[56]; again: string x[3], z="sayTanmayRoxx", p; char f, g; int a; int d; cout<<"enter password\n"; … Software Development c++ | |
I am having a few compiling errors due to the syntax confusion on some the functions, Im confused to what im doing wrong, I know its a simple solution I've just been looking at this for hours and cant figure it out. //Header File #ifndef BST_H #define BST_H #include <iostream> … Software Development algorithm c++ programming-construct | |
ok guys i really need help my friend asked me to help him with his assignment can help me at least give a guide where and what to do? Accept the month. Accept the name of each staff. (Assume that there are only 5 marketing staffs) Accept the number of … Software Development c++ | |
I am in the process of writing a program for our department as follows: We have about 40 field directorates in addition to the central department. Each field directorate has its own LAN and is connected to the central department through our WAN. I need to write a program that … | |
Hey guys how you doing, When i try to add a record through my application i get an error message there is no row at position 0 here is the code any help would be appericiated: Dim con As New OleDb.OleDbConnection Dim dbprovider As String Dim dbsource As String Dim … Software Development open-source vb.net | |
I am making a windows based application in visual studio 2010 using VB. My project starts with a splash screen and a brief welcome splash then opens the main mdi form. The menu in the mdi form has the link to open all the other modules. My question is- How … Software Development vb.net visual-basic visual-studio | |
Does anyone know of an easy way to get the computer to do separate tasks for each core? Assuming each task has no memory collisions etc. how can I get each core to work on it's own separate block of code? Software Development c++ | |
import logging ... log1 = logging.getLogger() How can I find out what is the file name + path used for logging?. Like to find that out from anywhere the logging is accomplished. also, for plotting, plot.xticks(), I like to create a range to force beginning tick, the ending tick and … Software Development python | |
Hi, So i'm trying to write a program that will work like a credit card database. The instructions say to add a file with 10,000 names that was given to us and add it to our project file. a scanner is suppossed to read through that file and add each … Software Development java | |
I'm going through a netbeans tutorial on Java ecommerce located here: http://netbeans.org/kb/docs/javaee/ecommerce/setup-dev-environ.html When I get to "running the web project, step 1", I click the green run button in the NetBeans IDE. In my browser, it goes to http://localhost:8080/AffableBean, but no HTML is displayed. If I view the admin domain … Software Development ecommerce html-css ide java java-netbeans web-browser | |
Can anyone help. I have the following code: Private Sub Worksheet_Change(ByVal Target As Range) If Target.Column = 7 Then MakeHyperLink Target, "Q:\" End If End Sub Option Explicit Private Files As Dictionary Private StrFile As String Dim StrFlePath As String, FleCollection, fle, f1, fs, f2, subfld Sub MakeHyperLink(InRange As Range, … Software Development file-system visual-basic | |
Hello all, I have a MKMapView that is having a very strange problem which is kind of hard to explain. I have an MKOverlay that is saved between sessions by saving the points of the overlay to a file and loading the overlay in viewDidLoad. So here's the problem: Steps … Software Development ios ipad iphone objective-c | |
Hello Dont ask why but lets say I want to encrypt "hello" and the encrypted forum is "238324" I want to do: String avariable=dcrypt(238324); //avariable should now hold hello public string dcrypt(String encryptedtext) { //do decrypt stuff return descriptedtext; //decriptedtext should be hello } Basically thats what I want.....Dont care … Software Development java | |
Hi everyone! I'm trying to display the logo for a particular supplier but I always end up with an error picture. here's my code: Imports System.Data.OleDb Imports System.Data Public Class SupplierDetails Dim objConnection As New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Users\Cristy\Desktop\InventorySystem\InventorySystem\inventory.mdb") Dim objDataAdapter As New OleDbDataAdapter( _ "SELECT Supplier, ContactPerson, PhoneNumber, FaxNumber, " & … | |
![]() | 1 1 1 1 1 1 1 1 1 1 1 1 0 0 0 1 0 T 0 1 S 0 0 1 1 1 0 1 1 1 1 1 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 … |
Hi, Im trying to write a program that uses a .txt file to fill an arrayList of type Customer (A class that I made.) and then using that ArrayList to perform other functions within my Customer Database class. when I test my method, nothing is being added to the ArrayList … Software Development java | |
Hello, So I'm trying to make a program to auto bump my facebook posts. I have made it log in etc but there is no 'post' button on facebook, you have to press enter on the keyboard. How can I make the program press enter in the box and make … Software Development asp.net html-css vb.net visual-basic | |
Hai Friends This is Bency. I need a help for type a word in textbox in tamil word in c#.. Advance thanks Software Development c# | |
I have written a code which used to send data that was saved in my mysql database, through ethernet using UDP protocol, everything worked fine until i sent fewer data(25 rows), when i started sending data in huge amount(100 rows) it used to display Java Result: -1073740791 and would stop … Software Development java java-netbeans microsoft mysql | |
seems like I never need malloc to allocate memory dinamically when it comes to strings example: int main(void) { char *str; puts("keyword:"); scanf("%30[^\n]\n",str); printf("%s",str); } I never defined str size, yet it works sorry if this is a stupid question it's 2 am and I'm studying for some c quiz … Software Development c | |
Hi friends! I got one puzzle. I wonder if there is a way I can create a table but get a table name from a value of the textbox/combo box control. Does anyone have an idea? I mean something like "CREATE TABLE (TextBox1.Text) (".....)" I wonder if that is really … | |
Some time ago, Reverend Jim gave me some good advice on dynamically creating controls with VB.net. Following the advice, I created 26 Labels (with text A-Z) and a event handler for the click event of the labels. Now I need to determine WHICH label was clicked and the text of … Software Development vb.net | |
In my Advanced Data Structures class we have an assignment to implement a linked list using arrays. One array holds the data item, while another contains a reference to the next item. I'm not really sure about how to add/remove items. // **************************************************** // Reference-based implementation of ADT list using … Software Development java linked-list | |
Hi this code is to fill up my Combo1 Item which is came from my Table1 .Combo_Main_AM.Items.Clear() Dim da As New OleDbDataAdapter("Select * from Table1", con) da.Fill(dt) For Each myRow In dt.Rows .Combo1.Items.Add(myRow.Item(0)) Next so it will add up the combo1 Jessie James Nick now the question is how can … Software Development vb.net | |
Hi I was doing an exercise in the Real Python book. It gave a task of simulating a coin toss "I keep flipping a fair coin until I've seen it land on both heads and tails at least once each – in other words, after I flip the coin the … Software Development python | |
hi i have problem with my VB.net program I have a form and 3 GroupBox in the same form. i want go next 2 GroupBoxes afther Clicking the Next Button.. Can you Help me ? plz.. GroupBoxes1 to next GroupBoxes2 next GroupBoxes3 Software Development vb.net | |
Hi there everyone, I am having some difficulties getting a regular expression to work. I have a line of text with 5 numbers.I want to ignore the first number, and grab the other 4 numbers. Here is what the text I am dealing with looks like. 1681 12.33754513 7.066246057 6.079261254 … | |
In main method which should I use? CarOwner owner = new CarOwner("Danni", "123456789"); or CarOwner owner = new CarOwner(); owner.setName("Danni"); owner.setPhoneNumber("123456789"); I know how to make both work, I can edit the class file to suit whichever way it is written in the main method. But what do people do … Software Development java | |
I am having a dialog box opens that lets you select a picture and then copy that picture to another folder but the problem is that i am having an error that says that i can't convert a System::String to a LPCTSTR. I searched this subject on google but i … Software Development c++ | |
I have problem reading file form command line. I am trying to do " abcd: ./rev < numbers", but it gives me an error: ./rev < numbers Usage : ./rev FILENAME Here is the code: #include <stdio.h> #include <stdlib.h> void reverse(FILE * file) { int fscanf_return_value; char x; /* read … Software Development c file-system | |
The program i want to code is user will enter 2 ebook title,edition,year and pages.After that must write to binary file and read the binary file again to found the book with the highest pages.The first problem is why i cannot use this statement. printf("Enter ebook title: \n"); scanf("%s",mybook.title[i]); I … Software Development c file-system | |
Hello, I am new here. I would like to ask opinion from you guys on what are the best options available for me to develop a database system using Visual basic? I am using Visual Basic Express Edition. My problem: I am currently developing a toolkit that needs the user … Software Development microsoft-access vb.net visual-basic | |
hi i have problem with my VB.net program I have a form and 3 GroupBox in the same form. i want go next 2 GroupBoxes afther Clicking the Next Button.. Can you Help me ? plz.. GroupBoxes1 to next GroupBoxes2 next GroupBoxes3 using same Next button Software Development vb.net | |
![]() | Hey everyone, I am having trouble on this one practice problem. It is a question that requires another question I already completed to solve this one. The qusetion is "Implement a method allPerfect() that takes an integer parameter end. The method prints every perfect number from 1 to end. Use … Software Development java mathematics |
I have migrated my Oracle Developer 6i Forms and Reports to Oracle Developer 11g. Everything works fine except three of my batch report applications. They generate 300 to 400 reports each, which in 6i were stored (in pdf format) in a Windows network folder. From the folder they were emailed … | |
I wanted to verify is this a good example of a flyweight design pattern: package com.flyweight; public interface Chemical { String getName(); String getSymbol(); Double getAtomicWeight(); } package com.flyweight; import java.util.HashMap; import java.util.Map; public class ChemicalFactory { private static Map chemicals = new HashMap(); private static ChemicalFactory factory = new … Software Development java web-design | |
Hello guys, I'm new to vb 2010 and it screws me alot... can you please help me to code my login form containing 2 textboxes: usrn and pass. my database **Account** has two columns, namely Username and Password... one thing is, I thought it was the same as Vb 6.0, … Software Development vb.net | |
Gentlemen, I have an issue regarding collecting address data from webpage (telephone directory with have name,address,phone, speciality and Map location). I need to do vb.net application that collects all of these data to my application. The issue i face now is to read extract teh html code to names, Also, … Software Development vb.net | |
Group, I've got several textboxes within a form that are set to link to a data column that are set to accept a "null" (blank) value. However, these columns are formated to receive numeric data. When the user bypasses entering anything within those textboxes (as they should do), what is … Software Development vb.net | |
Hi guys, As you know the Internet divided into private network and public network, the public IP which include to public network is accessible and private IP which include to private network is inaccessible due to Internet network. So, I decided to use one of public servers have windows servers … Software Development |
The End.