132,726 Archived Topics
Remove Filter ![]() | |
Yeah so I was bored in class cuz I didnt know the test wasn't today, so I made part of a Python game. The battling works so far, and I might need some help later on so if anyone could could help me I'd appreaciate it. Norbert Quest: [code=python]import random … Software Development python | |
I have inherited a script here that churns out 3 tidy folders for creating user nt profiles, user folders, and also user mail accounts. It is now no longer working. I had created a new administrative login on the Mac station where BB edit is being used. I can run … Software Development open-source perl ![]() | |
Hi! I just wanted to know if it is possible to establish a connection from USB and windows forms and transfer data from one to another. if yes, wher do i get the required info from, i mean the complete data tat wud help me develop the project. can be … Software Development | |
I am getting the below errors when I build the file in Visual studio, How can I resolve these errors? anyone can help me? Error 1 error C2660: 'strcpy' : function does not take 3 arguments 129 Error 2 error C2732: linkage specification contradicts earlier specification for 'pro_str_to_wstr' 1405 Error … Software Development c++ visual-studio | |
hello.can you please help me guys on these.. A company wants to transmit data over the telephone, buit is concerned that its phone could be trapped. All of the data are transmitted as four-digit integers.The company has asked you to write a program that encrypts the data so that it … | |
While we allocate memory using malloc/calloc.That much bytes is reserved by the program.When the program terminates and we didnot free it what happens exactly? How to check memory usage by a program by writeing a C program. Software Development c | |
I have a following code struct A { int x; A(int i) : x(i) {} virtual void a() {}; }; struct B: virtual A { B() : A(0) {} virtual void a(){} }; struct C: A, virtual B { virtual void a(){} virtual void c(){} }; The following code fails … Software Development c++ | |
I was wondering if there is a way to make specified code, most likely a function, run before the program quits out due to the user logging out etc. I'm writing a Win32 app with no window in Dev C++. (if that makes any difference) I've been searching a bit … Software Development c++ | |
In a class use the new operator to crate a object of the class . Their constructor is used to allocat memory for the data member and fucntion , and distructor is use to free the memory . If we use delete inplace of distructor , will it work ??? Software Development c++ | |
Hello everyone, I'm working on a school project and am using some code from the book to sort an array in ascending order. I'm apologize ahead of time if my methods seem crude. I've used this sort method on a normal array of numbers and the numbers were ordered correctly; … Software Development java | |
High I am in Europe right now and here they treat their commas as decimals points. I am working with Visual express 2008 and I cannot find a way to read a file that has all commas for decimal points. I can read the numbers as a string, but than … Software Development c++ | |
Hello. Help me, please. Need export BD (create dump file). I installed MySql.Data.msi from MySQL site. Software Development mysql | |
[code=c#] using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.Data.SqlClient; namespace stp { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void button1_Click(object sender, EventArgs e) { SqlConnection con = new SqlConnection("Data Source=.\\SQLEXPRESS;Initial Catalog=ex;Integrated Security=True;Pooling=False"); SqlCommand … Software Development open-source | |
How can I obtain font properties thru a font file (*.otf;*.ttf or PostScript fonts)? Software Development c | |
Hi! I'm just starting to code in C, and I'm trying to read the information in a dat file, to then use it in some calculations. I read the information in the file and then save it in an array. However when I try later to access that array I … Software Development c file-system | |
Hi everyone, I'm doing some experiences with python in Windows Vista and I was wondering to know how to eject the tray of CDs. Thanks, Dan. Software Development python windows-vista | |
Hey All, another problem :) I am trying to write code that on hitting a button will open and program, a "ok" window appears when program is open so I want the code to keystroke RETURN. I am using MSVC 6 MFC. I have gotten (painfuly) to the stage where … Software Development c++ | |
Hi, Im trying to parse a bands myspace page and get the total number of plays for their songs. The problem is that I cannot use urllib2 as the "Total plays" string does not appear in the page source. e.g. [url]http://www.myspace.com/mybloodyvalentine[/url] Any idea of ways around this? Thanks, O | |
I have been asked to add a pause to an existing C++ program. The user does not want to use the Windows builtin scheduler for reasons they won't share with me. Is the correct way of doing this something like:- void Sleep(10000); Software Development c++ | |
I'm just wondering if anyone can take a look at my current program below and see what im missing. ive been working on it for so long that i'm just stuck and need another help to kind of get me going in the right direction. I'm trying to create the … Software Development c++ objective-c ![]() | |
[quote]Hi all,I have written a program in c++ using visual studio 2008.I've create only one source file and written all the codes including header files within .cpp extension and program is running well.But I want to split this program like [code] .h extension [/code] be present into the header file … Software Development c++ visual-studio | |
hi, as i already discussed in my last thread that my exe is not working for large number of files but it is doing really well with fewer files. today i took a screenshot and got the following error... here is my code..i am even trying to put delay in … | |
Hello All, I am trying to generate an array which has random integers and pass this array to a function to be able to print random integers. The code I have written is as below. Can you help me about that? Thanks [ICODE]#include <iostream> #include <ctime> using namespace std; void … Software Development c++ | |
Hello again, I am trying to generate an array which has random integers. Then I have to sort it and perform binary search. Below is my code so far. It gives error message (runtime check failure 2 stack around the variable num_arry was corrupted). When I define num_arry[10] instead of … Software Development c++ | |
Hi All, Im fairly new to Java and im currently working my way through a couple of books but im stumped with something. I want to know, or get an example of how i can add an action to a button which outputs to a screen. I just cant seem … | |
hello java experts, I have made a program for remote method invocation but i am not able to do get output even i am able to do registry socket error it shows during run made. plz help me out if anyone knows.......... 1)name:AuhorServer import java.rmi.*; public interface AuthorServer extends Remote … Software Development client-server java java-swing publishing ![]() | |
i have 3 columns in a datagridview. i want to add values. everything is working fine but when i add values there is a blank row at the beginning. how can i remove this ? here is my code [code] dataGridView2.Rows.Clear() Dim oledbcom As New OleDb.OleDbCommand oledbcom.CommandText = "Select Code,Weight,Unit … Software Development vb.net | |
hello, i want to know how I can book online flight reservation ? Software Development c | |
Hi!! I made a program, but Im having a problem with the button 4_click and the button 1_click, the work, but not the way they should. button_4 should pass the salarys that are under 1000 to the other listbox, delete them from the right listbox. And what it does, is: … Software Development vb.net | |
Hello everyone I'm just a newbie in java/jsp Need suggestion and how to proceed in the following: 1. Wanted to create web app. (jsp/servlet) with login and access autorization. the situation is like i have a home page with login info inputs, i direct the inputs to a jsp in … Software Development java java-jsp web-server | |
i have a problem.. please help me..I have only one combo box and i want my combo box to have its value and i want to get it's value from my database??? how can i get that?? please help me to do this. thanks. here is my code please help … | |
i am working with a JTabbedPane and am facing a problem. i want to change the title of a tabbedpane. i am using the setTitleAt() method. however there is no change in the top corner where the name of the tab is displayed. however when i am using getTitleAt() method … Software Development java | |
so its been a verrrry long time since I messed around with vb. I am trying to make a program for my clan and here is a simple question I hope some one can answer. I am trying to make a button activate a radiobutton to checked if you press … Software Development visual-basic | |
Hi, I'm in a IntrotoOOP class at my school, and my instructor asked me to look up how to fill a Java Swing Class ComboBox with data from a MySql Database. Does anyone know? This question has been quite hard to find any answers on and I have been really … Software Development java java-swing mysql | |
[code] int main() { int *ptr=new int (100); cout<<"p's add is "<<ptr<<endl; cout<<"value in p is"<<*ptr<<endl; delete ptr; // deallocation of ptr; cout<<"p's add is "<<ptr<<endl; cout<<"value in p is"<<*ptr<<endl; return 0; } [/code] Even the delete operator is executed, the last two output statements are working same the first … Software Development c++ | |
I posted a program earlier today in response to another thread and noticed that I had forgotten to clean up/free the memory I used. Here's the program. [code=cplusplus] #include <iostream> using namespace std; int main() { int LIST_SIZE, NUM_CHARS_PER_ELEMENT; cout << "Enter number of elements in list: "; cin >> … Software Development c++ | |
i am havin a problem using a RadioButton to control labels on a panel.Anytime i click on one of the JRadio button it controls all the other panels at the same time instead of only controlling its label on its panel. Please all hw do i go about setting my … Software Development java | |
I am having trouble with my copy constructor for a Deque program I am writing. It just does not seem to be doing any copying anyone notice a quick fix on this? [code=cplusplus] Deque::Deque(const Deque& oldDeque) { dArray = new int[oldDeque.dMaxSize]; int sub = oldDeque.dMaxSize; for (int i = 0; … Software Development c++ | |
Hi I was programming a 2D scroller game in VB.net, but am having problems with collision. I spent ages thinking how to program collision into my program, but haven’t gotten a good result yet. Basically, my game takes numbers from a notepad file and draws tiles on the screen based … Software Development file-system vb.net | |
Hi, I am creating a program for my business that allows us to write quotes quickly, I am fairly new to C# and am stuck on a particular matter. i cannot relate to my Dynamically created textbox no matter what i name it, i am using the following code to … | |
Is possible use svg imge in wxpython in a toolbar for example? I've saw libRSVG but run on PyGTK. | |
i have a textbox with tab index set to 0, i want to keep the tab index the same but i dont want it to got focus when the windows form loads. how to do that? Software Development | |
[CODE]// PUT YOUR HEADER DOCUMENTATION HERE! import java.util.Scanner; import java.util.Random; public class life { // the size of the grid (GRIDSIZE x GRIDSIZE) final private static int GRIDSIZE = 18; /********************************************************************************/ public static void main ( String args[] ) { boolean[][] board = new boolean[GRIDSIZE][GRIDSIZE]; char choice; int x = … Software Development java | |
hi. i'm new in C#.i'm writing an accounting program for an organization. this program should have an ability to support 2 or 3 organization. i mean someone who buys this software can use it for 2 or 3 organization.i think i have to copy my forms and empty DB to … Software Development | |
Hi, Is there an option/ or a formula to generate random numbers without duplication...Currently i'm not storing the random generated numbers in the database. Please help me..its quite urgent Software Development visual-basic | |
I am trying to create a program that analyzes sports statistics. I want to extract statistics from a website such as yahoo or espn and put it in a database. Does anyone know if this is possible to do with vbscript? Is there an easier way to do this? Any … Software Development vbscript visual-basic | |
I made a queiry. but every data show in this queiry double. I mean every data show two time in this queiry. why this problem occured. any body help me please. Software Development visual-basic | |
Hi all, I need to create thousands of directories in a single parent directory using shell scripting code. One problem would be to generate the unique directory name for each of the 1000 iterations to create a directory every time. ie first time the directory name needs to be subdir1 … Software Development shell-scripting |
The End.