132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Mearah

Hey there, I am going to start a larger project. For this I just set up my programming invironment as follows: python2.5 numpy scipy matlibplot PyOpenGL ctypes I then tried to test the installation with a simple example. First I found the warning: [COLOR="Red"]No handlers could be found for logger …

Software Development opengl python suse windows-vista
0
143
Member Avatar for invinate

hi, i'm new here and got a really simple problem. i need to parse a conf file, where # is a comment, like this: [CODE] # Begin conf VAR1 = VAL1 VAR2 = VAL2 # end [/CODE] i want to skip all comments and read VAL1 and VAL2 to members …

Software Development c++
Member Avatar for satarupa
0
544
Member Avatar for vipinsagar

dear frnd help me to solve a problem I want to show search result on form which has a number field, as numbers are in simple formate of integer column(without commas),but when results come on form, the numbers greater then 1000, comma r automaticaly inserted in it......how to remove these …

Software Development java
Member Avatar for vipinsagar
0
79
Member Avatar for r1ian2

i need help on how to create a C++ program that will input string of characters and will count the number of different vowels, consonants and symbols included in the string. Input a string => "program!" total letter 'a' => 1 total letter 'e' => 0 total letter 'i' => …

Software Development c++
Member Avatar for ArkM
0
94
Member Avatar for solocky

Hello all i am in ned of help with getting a cgi script to output to a flat file with out the use of a cron job whis is what ive ben using as such perl /[path to cgi file]/vfx.cgi > /[path to plx folder]/vfx.txt can i add a line …

Software Development perl
Member Avatar for KevinADC
0
85
Member Avatar for everard

I have two MFC Window Form. The main window will call the second window to process a necessary input then the result generated by the second window should appear in the main window's edit box. But the problem is I don't know how to do it. Does anyone knows how …

Software Development c++
Member Avatar for everard
0
95
Member Avatar for pong pong

hi I want to write this code in do while or if else, or any other way except for loop. here is the code [CODE]for i in range(65,90): for j in range(65,90): for k in range(65,90): token=chr(i)+chr(j)+chr(k) block = ((i<<16)+(j<<8)+(k)) cblock = pow(block,e,n) table[token]=cblock[/CODE] can anyone please help me to …

Software Development python
Member Avatar for leegeorg07
0
114
Member Avatar for neutralfox

Hello friends, I am new to assembly language and I want the user to input a string ... then save the string in a stack. Is there a function to get the string from the user, like getStr . Thanks in advance.

Software Development assembly
Member Avatar for neutralfox
0
181
Member Avatar for Merovingian

I need to execute the following SQL command from within VB: [CODE]CREATE LOGIN [rx] WITH PASSWORD=N'rx', DEFAULT_DATABASE=[master], DEFAULT_LANGUAGE=[us_english], CHECK_EXPIRATION=OFF, CHECK_POLICY=OFF[/CODE] I've been trying to find info for days but everything always deals with updating tables etc If someone could show me the connection string and have to execute the statement …

Software Development sql vb.net
Member Avatar for Teme64
0
123
Member Avatar for lancevo3

Hey guys I need to copy multiple string arrays into one array to use to display output. I need to copy the name, addr, telephone, carinfo, payment array to the output array. How would I go about doing that. [code=cplusplus] #include <iostream> #include <iomanip> #include <fstream> using namespace std; void …

Software Development c++
Member Avatar for Ancient Dragon
0
111
Member Avatar for max.yevs

alright i know you're tired of explaining simple things to me, but i've looked around and really can't figure how to do this... i'm trying to write a simple python script like when you type in a number for n, and press enter, it finds n+2? i thought it will …

Software Development python
Member Avatar for jlm699
0
115
Member Avatar for stevebush

Hi, I have finished making an App with VB6 on a XP computer and have transferred it onto a Windows Vista computer . I have also copied the three dependencies (Adodc, MSFlexGrid and DataGrid) files from System32 of XP to System32 of Windows Vista. However, the program now runs but …

Software Development visual-basic windows-vista
Member Avatar for vb5prgrmr
0
145
Member Avatar for TuX4020

Hi all, So I've got an assignment of creating a priority queue using a heap data structure. I've read lots of pages online about the heap data structure, but I keep coming up with questions. In my class, I got the impression that a heap was structured similarly to a …

Software Development c++ data-structure queue
Member Avatar for jrw0267
0
138
Member Avatar for shea279

I cannot run my application on another computer when I compile it in VS2008. Error: "This application has failed to start because the application configuration is incorrect." and I have define WINVER to be 0x0400, and it is compiling in release mode. and this is NOT .net

Software Development c++
Member Avatar for Ancient Dragon
0
600
Member Avatar for limesight18

hi every one.. i have a problem of how i can change the caption of a label thats inside a [B]picture box[/B].. i want to load a field in a database to the the label the problem is i cant do it.. there's no command like this [CODE]lblStartTime[B].Caption[/B] = rsRecordSet.Fields("Unit").Value …

Software Development visual-basic
Member Avatar for limesight18
0
99
Member Avatar for AdamMagana

Hello all. I have a problem with a socket server program I writing. The server manages to set up the socket just fine, however, it now needs to be able to take in input from a client. I using the following command to receive information and print it out on …

Software Development c c# c++ client-server
Member Avatar for AdamMagana
0
147
Member Avatar for alanng.net

I'm modifying a 10-year old open-source utility written in C, even though I'm a PHP programmer, so the whole pointer business for working with strings is giving me a headache. Can anyone advise on why this string conversion snippet is not converting case? [code=C] #include <ctype.h> int set_keysig (s, ks, …

Software Development c open-source
Member Avatar for alanng.net
0
124
Member Avatar for tschafer204

I have been working on something, and i'm stuck again... I have to print out an infile list in columns, and then print it out again in alphabetical order(sort). I can't figure how to print in columns, nor can i soft it. Any help?

Software Development python
Member Avatar for tschafer204
0
90
Member Avatar for dandanepallavi

I hv created setup of my project using "Setup wizard". But when i ran that setup on another m/c which is not having .NET installed on it. setup asks for .NET framework. can i include .NET Framework in my setup. Please help me out.:( Tahnks in advance.

Software Development asp.net vb.net
Member Avatar for Merovingian
0
157
Member Avatar for LucyB

Suppose I have a dynamic array.(trees) The user enters the number of times for the dynamic array to loop based on int num. He has filled the array, say num=3, so he has entered the age of 3 trees into trees[i]. Now he wants to display the age of all …

Software Development c++
Member Avatar for Clockowl
0
84
Member Avatar for grandalf62

I would very much appreciate if anyone could throw some light on this error, not too hot with "C" as yet. When I try and compile the following with Keil C51, I get the following error message. Error C208 DS1302GetAll Too many actual parameters Seems to be line in Time() …

Software Development c
Member Avatar for grandalf62
0
249
Member Avatar for shiva666

i am quite new to python ... currently i am a student learning for mu mcitp exams.. i made a small script ,, for active directory using python all the script does is basicly explor the AD for a number of tasks .. * 1 .Find a user (quick method) …

Software Development python
Member Avatar for shiva666
0
97
Member Avatar for flip121

I have a project that I am working on that is basically a game where players travel down a hall and race to the end. Obviously there are more rules but they are irrelevant for my problem. The problem I am having is that I cant get my board to …

Software Development gui python tkinter
Member Avatar for flip121
0
99
Member Avatar for king_786

Write a Java application that asks the user to enter a word and then determines if this word is a palindrome. A palindrome is a word that is the reads the same when spelt backwards as it does forwards. For example, the words noon and madam are palindromes. Note, you …

Software Development java
Member Avatar for tpjava
0
167
Member Avatar for shaun.b

Hi Everyone, I have got a program which takes a html file as an argument, parses it, and outputs the data to a CSV file. It does this no problem. BUT, i need it to take more than one html file, parse them and put all the data collected into …

Software Development file-system html-css python
Member Avatar for adam1122
0
201
Member Avatar for Kungu

Hello, am new to this so please bear with me. I'm working on a windfarm simulator in C++, it has to read in data from a .csv file and calculate various power values. Anyway that's beside the point. The problem I'm having with is the 2 Dimensional Dynamic Array that …

Software Development c++
Member Avatar for StuXYZ
0
144
Member Avatar for trixymix31

Hi, Thank you for helping with this. I basically have to encrypt a file in where the user enters the file name & enters a name for the output file. The encryption is based on the password the user enters. It is a case situation, that being said, if the …

Software Development c++ encryption file-system
Member Avatar for trixymix31
0
165
Member Avatar for wuzj1988

this is my program [code=cplusplus] // // custorderscf2.cpp // #include <cstdlib> // student ...... Jones, Patricia #include <iostream> // section ...... MW row .... 4 #include <fstream> // due date ..... xx/xx/xx #include <iomanip> // refer to ..... Gaddis Ch3 void SetPrecision(int); // procedure prototype using namespace std; // avoid …

Software Development c c# c++ ios
Member Avatar for wuzj1988
0
161
Member Avatar for moiron

im new to this forum and new to C++. i had a homework problem about arrays. the user inputs a number and i had to store it in an array. up to now i still don't know how to do it. and then after that i had to find max …

Software Development c
Member Avatar for jephthah
0
111
Member Avatar for f.ben.isaac

I need to know how i did? Any review will be appreciated... [CODE]/**program description: * * this simple program represents * the basic concept of threads. * main() process will create a * thread that calculate numbers * while main() output the results. * main() and threadProcess() share * share …

Software Development c++
Member Avatar for Clockowl
0
151
Member Avatar for Lensva

its supposed to draw an oval on MouseClicked: [code="java"] import java.awt.event.*; import javax.swing.*; import java.awt.*; public class PaintPad extends JPanel implements MouseListener { private int mouseX, mouseY; public static void main(String args[]) { PaintPad pad = new PaintPad(); pad.setGui(); } public void setGui() { JFrame frame = new JFrame(); JPanel …

Software Development java java-swing
Member Avatar for Lensva
0
1K
Member Avatar for krellor

Stupid question. Haven't done production C in a while and just inherited some legacy code. In case it makes a difference it is running out of OMVS on a Z/OS IBM mainframe. The C program is invoked by an assembler program. The assembler program passes in a number arguments that …

Software Development c
Member Avatar for gnujohn
0
230
Member Avatar for karen_CSE

Hi, I'm doing this programming exercise for my C++ class. I'm using Microsoft Visual C++. for some reason, the program wouldn't save my data. Can someone please take a look at my code and tell me what I did wrong? [code] /* Chapter 12 HOMEWORK Dung Tran CS 116 C++ …

Software Development c++ data-structure display ios microsoft
Member Avatar for Narue
0
425
Member Avatar for cause&effect

I'm trying to implement a simple version of Wari logical board game. My implementation supposes to allow two humans to play the game. I have created array of 12 elements, each element represent the square. Every square has a number of stones. My problem is that I don’t know how …

Software Development c++ legal
Member Avatar for Clockowl
0
91
Member Avatar for J-KeRcA

[QUOTE] Hi everybody, I need some help with my project. I'm trying to retrieve some data from a combo box on which i used the "data bound item task" so I can select data from a table of my database. the problem I'm having is that when i try to …

Software Development sql visual-basic
Member Avatar for J-KeRcA
0
99
Member Avatar for Niner710

Hi, I am new to Visual Studio 2005 and wanted to package up my code into a .EXE file. I also have other code not specific to Visual Studio that I want to package(LabWindows CVI). Can anyone give me instructions or point me in the right direction.

Software Development c++ visual-studio
Member Avatar for ArkM
0
125
Member Avatar for SmokyMo

i have following code, i am starting a college project and need help [CODE]#include "stdafx.h" #include <iostream> #include <string> using namespace std; class ba146{ private: int capacity; int totalSeatWindow; int totalSeatAisle; int totalSeatMiddle; public: string timeOfArrival; string timeOfDeparture; string departureCity; string arrivalCity; string flight; string seatType; int occupiedSeatWindow ; int …

Software Development c++
Member Avatar for SmokyMo
0
137
Member Avatar for leegeorg07

i just thought i would ask as a reference for the future but if i was to have a loop like this: [code] import time mytime = time.asctime()[11:19] while mytime <= "13:14:15": mytime = time.asctime()[11:19] raw_input() [/code] how could i change it so that mytime would constantly update as at …

Software Development python
Member Avatar for leegeorg07
0
73
Member Avatar for xonxon

What is the sequence for inorder, preorder, postorder for ----------------------A--------------------------- ---------------------/--\-------------------------- --------------------B---C------------------------- -------------------/-\--/-\------------------------ ------------------D-E-F------------------------- ----------------/-\-/-\--------------------------- ----------------G-----H-------------------------- Is it correct for Inorder:GDBHEAFC Preorder:ABDGEHCF Postorder:GDHEBFCA if someone out there can help that will be awesome.

Software Development c++
Member Avatar for Grn Xtrm
0
88
Member Avatar for katamole

Hi there, I'm quite new to python and have a question regarding list matching. What would be the most efficient method of searching for matching items in a list? Ideally, the code would look like: [CODE] list1 = ['spam', 'eggs', 'bacon'] list2 = ['spam', 'ham', 'king richard'] matchitems(list1, list2) ... …

Software Development python
Member Avatar for woooee
0
181
Member Avatar for scamguru

I have a problem like i need to include a different header files depending on the linux kernel in a .cpp file. I have to check the linux kernel version and include the headerfile depending on that kernel. How can I do that? I have ARCH variable in Makefile which …

Software Development c++ linux-kernel
Member Avatar for PirateTUX
0
553
Member Avatar for JohnKeays

I am doing a simple dialog box that has a status reply and I want to change the colour of the text to yellow for a caution, red for an error and say green if it is okay. I have tried and failed to use Settextcolor() in the dialog box. …

Software Development c++ visual-studio
Member Avatar for nucleon
0
89
Member Avatar for zublacko

Ok I have a while loop set but can you guys give me an example of a while loop that takes information, reads the more specific detail and then another specific detail? In my code I cant figure out how to make the loop search another line or sentence. All …

Software Development python
Member Avatar for jlm699
0
95
Member Avatar for ziopulcher

Hi to everyone, i disperately need some help. i need to read a binary encoded file using Visual Bawsic 6. First of all I know that this file has a "text" header of 3200 bytes (40 rows x 80 columns. How can I read it and translate in ASCII code. …

Software Development visual-basic
Member Avatar for VIeditorlover
0
104
Member Avatar for zublacko

Is there a way to find something from html code like <img and then find the src and alt of an image in the <img line? I can get the <img line out but i dont understand how to use find to find the start index and end index. For …

Software Development python
Member Avatar for jlm699
0
115
Member Avatar for pt_solar

Hi I need to find the mode and I'm just not getting the right output for the mode. The program is supposed to find the mode and display it if it exists and if it doesn't exist it's supposed to display -1. Any help will be very much appreciated. Thanks. …

Software Development c++
Member Avatar for Clockowl
0
2K
Member Avatar for Parisa1984

Hi all, I have defined a new librray and want to simple include it in my program. I use #include</my path/library.h> and it works very well. but each time that I want to run my program in a new machine I have to change "mypath" manually. is a way that …

Software Development c
Member Avatar for Narue
0
85
Member Avatar for Jetman

Hi, I was having this problem with connecting my visual basics software to MS access. I wanted to connect the softwares so that the programe i am bulding on visual basics can use the tables i have created on MS access. Tables like customer details, account details, product details, etc... …

Software Development microsoft microsoft-access visual-basic
Member Avatar for debasisdas
0
96
Member Avatar for ning2009

Hi, Guys, I use RG to handle some txt files in Python to rearrange format of these text files. These text files look like below MATERIAL NAME=STEEL IDES=S W=76819.55 T=0 E=1.99948E+11 U=.3 A=.0000117 FY=3.447379E+08 NAME=CONC2 IDES=C W=23560 T=0 E=2.48211E+10 U=.2 A=.0000099 NAME=OTHER IDES=N W=76819.55 T=0 E=1.99948E+11 U=.3 A=.0000117 NAME=CON3 IDES=C …

Software Development python
Member Avatar for ning2009
0
348
Member Avatar for abhi.nalluri

I have developed a GUI where in I need to update some(4) parameters in a ListBox.I am usind the following code to do this. [code] CString tmp; tmp.Format("%4d %4d %4d",a,b,c); listBx.AddString(tmp); [/code] a,b and c are integers.listBx gets updated every 1 sec. But I am not getting the output in …

Software Development c++ gui
Member Avatar for MrSpigot
0
102

The End.