132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for klay.martens

Hi all, Could not work out if this belonged in the c++ forum, or the python forum.... Basically, I am writing an application in c++ which embeds python. The annoying thing is that I have no way of knowing in advance what version of python will be installed on a …

Software Development c++ python
Member Avatar for klay.martens
0
169
Member Avatar for simplecreator

Me and my cousin are making a python text-editor. and im having trouble getting our program to work with py2exe and im not sure what the problem is. I set everything up like the py2exe website tell you to and it all went together perfectly fine. but when i try …

Software Development microsoft-windows python
Member Avatar for AceofSpades19
0
274
Member Avatar for SteveDB

Hi all. I have found some tutorials online, I believe they were from some university classes, and one from a guy named Juan Soulie. I seem to have solved the bulk of my issues, yet have one last one-- that I can identify. For some reason that I still don't …

Software Development c++
Member Avatar for SteveDB
0
254
Member Avatar for k2k

hi, does anyone know how to check if certain character is contained in the argument? for example: > foo /home/myname how should I check if the argument contains a "/" character? thanks

Software Development shell-scripting
Member Avatar for k2k
0
150
Member Avatar for lkonitz

As a very new member, I'll have to use some common sense to be sure I don't violate any of the rules. I have one question. I couldn't find gwbasic in the forums, so I clicked on a language that's somewhat in the order of gwbasic, namely pascal. Specifically, I …

Software Development pascal
Member Avatar for Duoas
0
101
Member Avatar for EddyLLC

I'm using the following code behind a combo box name cboCompy. For some reason when I make a selection from the pulldown in the combo box this code won't fire. No errors appear but the code won't execute. I put stop in the code so I can view but it …

Software Development visual-basic
Member Avatar for selvaganapathy
0
339
Member Avatar for wcmport

my program is supposed to be an 11 X 11 grid where a mouse is placed on the center square. I am to count all the squares touched (or untouched) until the mouse has occupied every square. I also need to count the number of times the mouse touches the …

Software Development c++
Member Avatar for wcmport
0
82
Member Avatar for sciwizeh

i am getting strange results and cannot figure out why: Vel CONTROL (the vector 1,0), and Acc are Vec2D objects, which has X and Y values, and methods such as add, angle between, and other such vector util particle extends ellipse2d.double updateSuper() simply changes the values for it OLine extends …

Software Development java
Member Avatar for sciwizeh
0
131
Member Avatar for FTProtocol

Im trying to send text to the place where you type messages in an msn conversation but i cant seem to do it. [code] { char buffer[MAX_PATH]; char *message = "hello"; sprintf(buffer, "%s", message); GetWindowText(hwContact, szContact, 256); strcpy(&szContact[strlen(szContact)], " - Conversation"); //GetWindowText(hwMsg, szMsg, 256); //strcpy(&szMsg[strlen(szMsg)], ""); HWND fcContact = FindWindow(NULL, …

Software Development c++
Member Avatar for TheBeast32
0
150
Member Avatar for novarse

We have had a frustrating problem for months. We are trying to find a resolution or work around to fix this and are looking for help. We have applications developed in Delphi 4 through to Delphi 7 that use database components and have worked correctly and well for years. When …

Software Development delphi pascal
Member Avatar for Tony22
0
334
Member Avatar for Gold dragon

I am almost finished making a black jack game and I was wondering how to solve this problem i have tried everything i know and it is all unsuccessful... I will copy and paste my code and show the problem see text below the code... Public Class Form1 Public YourCards …

Software Development vb.net
Member Avatar for morrock
0
139
Member Avatar for NiNTENDU

Sorry for bother you with this dumb questions... I understand very well math but I'm a noob in C... Hope to "evolve" :( Anyway I manipulate a simple binary tree this way: [CODE=C] typedef struct _node *tree; struct _node { char *name; double val; tree left; tree right; }; void …

Software Development c
Member Avatar for NiNTENDU
0
105
Member Avatar for Brent.tc

Hi, I need to know how (if it is possible) to determine the sizeof a function... [code=c++] #include <iostream> using namespace std; int theFunction(); int theFunction() { int x = 0; return x; } int main() { cout << sizeof theFunction; cin.get(); return 0; } [/code] The above does not …

Software Development c++
Member Avatar for Duoas
0
96
Member Avatar for fishwater00

I do not know how to express the array I am going to work with, but some codes can describe them. If I define an array and a struct with member : [code=c] float velocity; MODEL.VELOCITY; [/code] VELOCITY in struct MODEL is also float. then I alocate memory for them; …

Software Development c
Member Avatar for jephthah
0
128
Member Avatar for prof_satch

ok, so i'm enrolled my first programming course and we finally have to create an actual program. what i'm trying to do in my program is to create a while loop that checks if a variable is not of string type. but like i said, i'm very new at this …

Software Development java
Member Avatar for prof_satch
0
160
Member Avatar for pat8

In the game of Craps, a "Pass Line" bet proceeds as follows. Using two six-sided dice, the first roll of the dice in a craps round is called the "Come Out Roll." The bet immediately wins when the come out roll is 7 or 11, and loses when the come …

Software Development java
Member Avatar for Ezzaral
0
993
Member Avatar for ramya_bugbuster

hi friends.. how to compare 3 number without using relational operator? do u have any idea?

Software Development c
Member Avatar for jephthah
0
115
Member Avatar for wcmport

I have written code that is supposed to be an 11 X 11 grid. A mouse is placed on the center spot and until such time that it touches each and every square, the program will continue to run. I also need to count how many times the mouse touches …

Software Development c++
Member Avatar for wcmport
0
110
Member Avatar for NiNTENDU

Hi, it's me again... I've some problems understanding why my program hang up; I've this code: [CODE=C] #include <stdio.h> void foo ( char **bar ) { *bar = "foobar"; /* Runs perfectly */ **bar = 'b'; /* Cause a crash */ } int main() { char *bar; foo ( &bar …

Software Development c
Member Avatar for NiNTENDU
0
151
Member Avatar for QuantNeeds

Well here is my biggest jam of the day: 1) I am not sure if I am using the test method successfully in this program. I need to test the recursion to make sure it’s working accurately. I am not sure how to test this before it prints because I …

Software Development algorithm c++
Member Avatar for QuantNeeds
0
2K
Member Avatar for Muttley

Hello, i have some problems implementing the following pseudo-code. Te problem is that in Pascal i can return user defined data structures (in this case: matrix), and i also tried to return it as a parameter with "var" but it gave a stack overflow error. Anyone can help me? pseudo …

Software Development algorithm matrix-multiplication pascal
Member Avatar for Duoas
0
202
Member Avatar for Q8iEnG

Hi developers :) Actually, I'd like to introduce myself first, I'm Mohd. *Computer Engineer* still student :/ Actually, I really like this community, and I think I'll be active in the C++ section as I like it xDD back to my question :) Please can anyone help me doing this …

Software Development c++
Member Avatar for Q8iEnG
0
118
Member Avatar for karthik_cud

Hello everyone ,im a new guy to vb.net ,i've installed .net2003 in my system , i have a problem with it ,when i click new projects in the file menu , it quits out to the desktop ,i really need ur help ..... .............. karthik

Software Development vb.net
Member Avatar for Gold dragon
0
96
Member Avatar for tones1986

Hey guys... this is my first time working with assembler, so please be patient with me! I am currently taking a course in assembler and have had a couple of basic assignments so far (mainly number systems, adding subtracting, two's complements etc etc). This is my first major (you may …

Software Development assembly storage
Member Avatar for tones1986
0
198
Member Avatar for apuamy

how to transfer contents of a word file into a text box by clicking a command button. can anybody help me

Software Development visual-basic
Member Avatar for apuamy
0
90
Member Avatar for bhavnaagrawal

how can i pull data from sites like yahoo,espn .I wan to use java servlets .

Software Development java
Member Avatar for yilmazhuseyin
0
81
Member Avatar for mkandit

Hello friends i m trying to connect my jsp code with mysql front but i found myself helpless. please guys help me.....this is the code. <%@ page import="java.sql.*"%> <%@ page import="javax.sql.*"%> <%@ page import="java.util.Vector"%> <%@ page import="java.io.*"%> <%@ page language="java" %> <%@ page import="java.lang.*" %> <%@ page import="java.text.*" %> <%@ …

Software Development java java-jsp
Member Avatar for stephen84s
0
88
Member Avatar for n00b3

DLL Global Object Constructor String Error Hello, This one has really got my head spinning. I cannot figure it out. I have a c++ console application that loads a dll. In that dll there is a global variable that is a user defined object. Upon the dll being loaded the …

Software Development c++
Member Avatar for n00b3
0
213
Member Avatar for LaurenceB

Hi, this is my first post. Ive made a number game which is written in python 2.5 and have some problems with it: ------------------------------------- import random # You've got to guess 4 numbers between 0 and 30, if you one right the program will output "WINNER" and tell you the …

Software Development python
Member Avatar for LaurenceB
0
90
Member Avatar for singal.mayank

hello.. I m designing a STATISTICAL SUMMARIZER in C.. This software will create the summary of a text file submitted by the user.. The first step is to separate sentences in the text file.. I hav almost completed this step.. but there are some limitations.. Suppose if text file hav …

Software Development c
Member Avatar for jephthah
0
117
Member Avatar for veledrom

Hi, [code] Create table myTable( title ENUM ('Mr', 'Mrs', 'Miss') NOT NULL DEFAULT 'Mr' ); [/code] How can i load ('Mr', 'Mrs', 'Miss') into a combobox in VB6. Thanks

Software Development visual-basic
Member Avatar for veledrom
0
191
Member Avatar for totaljj

I don't have graphics.h and library. I could not find on internet. My project consists of loading images and define a grid on the images to manipulate. Which way is the best to do? I want to keep up with Borland because I wrote some code in it.

Software Development c++
Member Avatar for totaljj
0
85
Member Avatar for Greyspectre

Hello, I have been writing a piece of code to pull a set of numbers out of a text file and store them in assorted int and double variables and int and double arrays. Currently my program does this and successfully stores all the values, however it returns a large …

Software Development c++
Member Avatar for Greyspectre
0
125
Member Avatar for cam875

Ok, now I am getting really lost with all the different things with client-server architecture. I know the basics and stuff but I was originally going to use ODBC to have my C++ program connect to my SQL server but than I started reading about sockets and winsock and I …

Software Development c++ client-server
Member Avatar for cam875
0
176
Member Avatar for Davo1977

Analysing text files to obtain statistics on their content You are to write a Perl program that analyses text files to obtain statistics on their content. The program should operate as follows: 1) When run, the program should check if an argument has been provided. If not, the program should …

Software Development perl
Member Avatar for jephthah
0
157
Member Avatar for QuantNeeds

I am not sure what to do for this error because I do not want to create an object that I initialize. I just want to use it to call the functions. I have included my header file and main() in case that I am doing something wrong. It is …

Software Development c++
Member Avatar for QuantNeeds
0
227
Member Avatar for shraddha_gupta

I have downloaded the code for drawing a bar chart, that has imported these packages import org.jfree.chart.*; import org.jfree.chart.plot.*; import org.jfree.data.*; import org.jfree.data.general.*; on compiling on java 1.6 these packages are giving error. What is the problem??

Software Development java
Member Avatar for Ezzaral
0
70
Member Avatar for Wumbate

I have a question about the range function. How is it that the function has three parameters (start, stop, step), but the mandatory one (stop) is in the MIDDLE? I thought mandatory parameters have to be at the beginning, and optional parameters come afterwards? When I try to create my …

Software Development python
Member Avatar for woooee
0
157
Member Avatar for nuwan243

Hey Every One, Is there a package or written class to access hardwares like cd rom by using a java code.i had referred the java documentation but i didnt found.If any one know about this please send me a feed back. i referred some basic books also like( java in …

Software Development java
Member Avatar for Ezzaral
0
106
Member Avatar for perezfl

Hello all, this is just another student level program and I need some help with the final bit. This a program that gets input from a user and outputs teh student name, average grade, all scores highest score, etc. But I am having trouble outputing the scores (which are in …

Software Development java java-swing
Member Avatar for Ezzaral
0
114
Member Avatar for hannehomuth

Hello Everyone, at first thank you for reading this post. I've searched nearly 4 Hours the whole Internet but did not find an answer which pleased we well. Does anyone know how get access to the gnome keyring tool through dbus in an Java Application. I shall write an Java …

Software Development java java-netbeans session unix
Member Avatar for hannehomuth
0
181
Member Avatar for allena

Please tell me what is the basic differences between C and C++?

Software Development c++
Member Avatar for n1337
0
504
Member Avatar for solaf_111

hello for all i read lines from file as : getline(infile,word); but i want put condition :don't read the spaces that in begin of lines this problem appear with me now when i end my project :'( please help me

Software Development c++
Member Avatar for mitrmkar
0
174
Member Avatar for evaristo

dear bunch of developers, i have this JTable and i'm contructing it with a model object extended from a DefaultTableModel. The way i'm passing the data to it is by means of a vector: [CODE]public void setData(List<Object> data) { myTableModel.setDataVector(data); }[/CODE] ...and in my table model i have something like …

Software Development java
Member Avatar for evaristo
0
148
Member Avatar for cam875

My program is acting really weird, it will run fine sometimes and other times it will just go into a constant loop and screw up. Heres the code of the part thats screwing up. void AmasiVillage() { CharacterLocationID = 1; system("cls"); cout << "\n"; cout << "\n"; cout << "\n"; …

Software Development c++
Member Avatar for ninjaneer
0
120
Member Avatar for jaytheguru

Dear all, as always I am back with yet again a simple question. I have developed an application in vb.net which has VB interface as front end and access 2003 as backend. The application path which I setup initially is : [CODE] Dim MyConn As ADODB.Connection MyConn = New ADODB.Connection …

Member Avatar for regcure
0
354
Member Avatar for marcosjp

Hello there, again! Well, once I solved the stupid bug I had in my first Python class ever, now I'm getting results I wasn't expecting. The problem is: I instantiated two objects of this class but, apparently, one of the objects is just a copy of the other. And if …

Software Development python
Member Avatar for marcosjp
0
154
Member Avatar for amjad277

Hello, does anybody know what is the difference between thies two codes? [B]1- With this code I get "NullPointerException at process1.getCurrentNode();"[/B] public void signal(ProcessEntity process) { ProcessEntity process1 = getEntityManager().find(ProcessEntity.class, process.getId()); if (process1 == null) { try { Thread.sleep(5000); } catch (InterruptedException e) { e.printStackTrace(); } signal(process); } NodeEntity currentNode …

Software Development java
Member Avatar for amjad277
0
99
Member Avatar for sreein1986

In my application i have requirment, I have 3 textboxes i wich i am entering empid,empname,depid i wnat store this thing in listboxes tempvarily. how can i do this pls send me sample code this very urgent (only one listview box)

Software Development listview
Member Avatar for Jx_Man
0
121
Member Avatar for siva_it54

hi guys i need a concept to develop a VB project. it like a mediaplayer concept. actually i need to run a mediaplayer in full screen mode but should not support the mediaplayer feature. then same time in that same mediaplayer i need to run diferent file when i click …

Software Development visual-basic
Member Avatar for Jx_Man
0
91

The End.