132,726 Archived Topics
Remove Filter ![]() | |
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 | |
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++ | |
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 | |
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++ | |
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 | |
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++ | |
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 ![]() | |
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 | |
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 … | |
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++ | |
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 | |
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 | |
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 | |
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++ | |
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 | |
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 | |
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 | |
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. | |
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++ | |
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 | |
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 | |
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 … | |
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 | |
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 | |
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++ | |
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 | |
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 … | |
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 | |
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++ | |
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 | |
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 | |
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 | |
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 … | |
[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 | |
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 | |
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++ | |
![]() | 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 ![]() |
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++ | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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++ | |
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 | |
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 | |
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 | |
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 … |
The End.