132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Norbert X

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
Member Avatar for Norbert X
0
646
Member Avatar for jlondon

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
Member Avatar for onaclov2000
0
113
Member Avatar for arunkumars

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
Member Avatar for sknake
0
120
Member Avatar for selsium

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
Member Avatar for Ancient Dragon
0
571
Member Avatar for karen_mayhem06

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 …

Software Development c c# c++
Member Avatar for songad
0
95
Member Avatar for Dream2code

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
Member Avatar for Dream2code
0
126
Member Avatar for bil050

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++
Member Avatar for kvprajapati
0
128
Member Avatar for GotCake

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++
Member Avatar for GotCake
0
150
Member Avatar for 141550

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++
Member Avatar for kvprajapati
0
122
Member Avatar for kssi89

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
Member Avatar for lakshay
0
143
Member Avatar for Yaserk88

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++
Member Avatar for Yaserk88
0
2K
Member Avatar for MAcKZloy

Hello. Help me, please. Need export BD (create dump file). I installed MySql.Data.msi from MySQL site.

Software Development mysql
Member Avatar for Ramy Mahrous
0
72
Member Avatar for thr

i want to select java or c# please help me to select better programming language and easy to programming language i have experience in c++ if java is better please tell me why java is better or c# please introduce me best books for java and c#

Software Development c c# c++ java
Member Avatar for Ramy Mahrous
0
237
Member Avatar for chathuD

[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
Member Avatar for chathuD
0
414
Member Avatar for Kurt Kubing

How can I obtain font properties thru a font file (*.otf;*.ttf or PostScript fonts)?

Software Development c
Member Avatar for Dream2code
0
125
Member Avatar for mrestrepo30

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
Member Avatar for Dream2code
0
149
Member Avatar for Dan08

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
Member Avatar for Dan08
0
224
Member Avatar for colmcy1

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++
Member Avatar for colmcy1
0
124
Member Avatar for themush

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

Software Development flash python
Member Avatar for themush
0
102
Member Avatar for stockton

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++
Member Avatar for necrolin
0
109
Member Avatar for xiikryssiix

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
Member Avatar for iamthwee
0
113
Member Avatar for sdmahapatra

[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
Member Avatar for sdmahapatra
0
134
Member Avatar for Himani_29

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 …

Software Development c++ ios
Member Avatar for tux4life
0
121
Member Avatar for esesili

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++
Member Avatar for tux4life
0
122
Member Avatar for esesili

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++
Member Avatar for tux4life
0
104
Member Avatar for whiteyoh

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 …

Software Development display java
Member Avatar for oliver_lundag
0
197
Member Avatar for lakshay

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
Member Avatar for ede
0
168
Member Avatar for babbu

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
Member Avatar for kvprajapati
0
157
Member Avatar for olarotimi73

hello, i want to know how I can book online flight reservation ?

Software Development c
Member Avatar for ithelp
0
272
Member Avatar for gispe

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
Member Avatar for babbu
0
130
Member Avatar for rs25

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
Member Avatar for masijade
0
125
Member Avatar for pepemiso

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 …

Software Development sql vb.net
Member Avatar for babbu
0
122
Member Avatar for aveek

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
Member Avatar for kvprajapati
0
88
Member Avatar for iiizuluiii

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
Member Avatar for iiizuluiii
0
196
Member Avatar for Fyrelion

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
Member Avatar for oliver_lundag
0
752
Member Avatar for barige rajesh

[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++
Member Avatar for barige rajesh
0
229
Member Avatar for VernonDozier

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++
Member Avatar for wildgoose
0
188
Member Avatar for get2tk

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
Member Avatar for oliver_lundag
0
278
Member Avatar for lancevo3

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++
Member Avatar for lancevo3
0
1K
Member Avatar for Cardboard Box

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
Member Avatar for Cardboard Box
0
103
Member Avatar for wingers1290

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 …

Software Development c c# c++
Member Avatar for Antenka
0
311
Member Avatar for BattlingMaxo

I have been away from programming but now i have more time. I want to make a fish that moves with procedural animation (just programming no keyframing )The fish will have at least 3 bones so i can move it in a sine wave, once i get that i will …

Software Development c++ opengl
Member Avatar for BattlingMaxo
0
127
Member Avatar for Davide Davin

Is possible use svg imge in wxpython in a toolbar for example? I've saw libRSVG but run on PyGTK.

Software Development image python
Member Avatar for Davide Davin
0
114
Member Avatar for serkan sendur

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
Member Avatar for serkan sendur
0
107
Member Avatar for n3philim

[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
Member Avatar for n3philim
0
116
Member Avatar for Dajer

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
Member Avatar for serkan sendur
0
104
Member Avatar for renu_kj

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
Member Avatar for johnly
0
363
Member Avatar for kinger29

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
Member Avatar for johnly
0
152
Member Avatar for abu taher

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
Member Avatar for johnly
0
99
Member Avatar for prashanth s j

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
Member Avatar for Dream2code
0
199

The End.