132,726 Archived Topics
Remove Filter ![]() | |
Please provide me some sample programs that illustrates sorting techniques and about Sequential Search also.. Software Development c | |
Cause im doing a game so i want to reset the game.. what will be the code so that i can reset all the game and make it like if it was just opened? Software Development visual-basic | |
I am learing the book: Foundations of Python Network Programming - Apress 2004 When I tried this: [CODE] import socket, sys host = sys.argv[1] textport = sys.argv[2] #.... [/CODE] Then my IDE notify me this exception when debug: """IndexError: list index out of range: host = sys.argv[1] """ When I … Software Development ide python socket-programming | |
If you are really completely new to programming, or if you have done a little bit of programming some time ago, you might be interested in using the [B]Visual Studio Express Edition[/B] products. However, even though Microsoft says these products are aimed at novices and hobbyists, their definition of "novice" … Software Development microsoft visual-basic visual-studio | |
I have #include<iomanip> header also and it's still not working.I am getting 2 dec places but it's .00 Why is that?Please help. here is the code cout << showpoint << fixed << setprecision (2); cout<<"The Mean is "<<mean<<endl; also this code is not working ,when I use the [ ] … Software Development c++ ![]() | |
Hi, When i start my tomcat , not able to create the context file.. and It didn't started session in tomcat.. I am getting the following error , pls anyone can resolve this.. In the console i got the below error. [COLOR=#0000ff]Sep 26, 2006 12:30:43 PM org.apache.catalina.core.StandardContext listenerStart SEVERE: Skipped … ![]() | |
[code] cin.ignore(); cout << "Enter lecture notes/tutorials location.\n"; cout << "e.g C:/Lecture Notes/lecture01.ppt"; cout << ">>>"; getline(cin,lectut_loca); cout << "Enter lecture notes/tutorials name: "; cout << "e.g lecture01.ppt"; cout << ">>>"; getline(cin,lectut_name); string copy = "copy"; copier = copy + " " + lectut_loca + " " + lectut_name; const … Software Development c++ | |
i have this project in c++ and i want to incorporate it with vb. what i want to happen is that when i click a command button, my .exe file will be opened. I used Shell "C:\........\prog.exe" it did open my .exe but my desired output didn't display. I was … Software Development visual-basic | |
I'm currently working on a homework problem in simulating a vehicle monitoring system. The problem is with my loop to start the problem when I want to end the program all the user should do is press two and the program will break to the very end. However this does … Software Development algorithm | |
hi I have a Borland C++ 5.5 command compiler. I needed to plot a graph using a C++ program. However, I discovered that there were'nt any graphics library (pls correct me if I'am wrong). So I copied graphics.h and BGI files from a Turbo C++ compiler. But I can't still … Software Development c++ | |
[COLOR=#000000]I need help with VB in a MS Word 2000 macro/form, hope I’m in the right place.[/COLOR] [COLOR=#000000] [/COLOR] [COLOR=#000000]We have created templates (with help from a VB 6 programmer) that have a form to fill in information on the word doc. I need to make a major upgrade (the … Software Development visual-basic | |
I am trying to refresh a data control but I keep getting the following message no matter what I try: Run-time error 3464 Data type mismatch in criteria expression. If I leave the where clause out I don't get the error message. [CODE]Private Sub cmdseektask_Click() Dim strsql As String, temp … Software Development visual-basic | |
When I compiled the follwing code snippet, it compiled without any error. My question is if it is allowed to declare [I]char[/I] fields inside a structure, then how can I store character string in that variable(we can not use functoins like strcpy:-| ). OR Is it not allowed to declare … Software Development c | |
I get the following error on the first line of my array... " syntax error before `}' token " My eyes are about to fall out of my skull. Can someone take a look for me, everything seems to be fine, but maybe I'm blind. Here is the code in … Software Development c | |
The knapsack problem I try to write about this problem but i can't ... This is a problem thai i have .. Suppose you want your knapsack to weigh exactly 20 pounds, and you have only five item, with weight 11,8,7,6,5 pounds. For small number of items, humans are preety … Software Development assembly | |
Greetings: I am having trouble understanding how buttons launch actions such as, for example, loading a new (2nd) canvas. Suppose I have an application, a game, that will respond at some point to user imput via buttons: I have two buttons named "Yes" and "No"; now if the user selects … | |
I have been trying to search the web to find a way to code a python program that can scan a given directory (ex. "C:\Documents and Settings\Matt\Desktop") and assign every file name found there (ex. "test.py" and "essay.doc") to a seperate variable or inside a list. Is there any way … Software Development python | |
i am newbie and have a problem. i have a text file(rawfile.txt) like below. NAME:XXXXXXXXXXXX SURNAME:XXXXXXXXXXXX DATE:23.09.2006 A B C D E F G H (column names) 40 250 300 01.01.2006 13:43:21 250 12345678 KENTBANK 31 123 455 02.02.2006 11:22:43 450 CAPITALBANK . . . . PAGE 1 40 150 … Software Development python | |
Hi I'm using visual c++ express since yesterday and I have an error that visual c++ 6.0 didn't detect :p I think it can be some program configuration... :o [CODE] 1>------ Rebuild All started: Project: IUCUNN, Configuration: Debug Win32 ------ 1>Deleting intermediate and output files for project 'IUCUNN', configuration 'Debug|Win32' … Software Development c++ | |
Can anyone help me w/ this....help me make a program of pascal triangle | |
I'm trying to run a perl script designed to update the database on a remote server from the copy on our main server. Both dbs are in postgresql and running the slony replication setup. Semi-recently, the server went down on the remote unit and had to be replaced; I was … Software Development first-post perl postgresql | |
Its a common problem but i've never had it before. source compiles fine. but get linker error when i build. tryed with Dev C++ and VC 6.0 same problem with both compilers. [Linker error] undefined reference to `CQTMovieFile::CQTMovieFile()' all libs and files are added any thoughts anyone. Software Development c++ | |
hello.. help me solve this :cheesy: when a new car or motorcycle created, the system should create a folder with the name of the car or motorcycle. the hierarchy should be like this: Vehicle(main exe folder) +Car -Porsche -Ferrari +Motorcycle -Suzuki -Honda new vehicle info's folder shoud be create as … Software Development c++ | |
I am brand new to the world of java and was working on a tutorial from the java website. I was feeling all cool writing my code and getting it and then when i tried to compile a bycycle program i got a error message reading: [/Users/Sam/Bicycle/build.xml:29: Compile failed; see … | |
#include <stdio.h> #include <string.h> char* string(char *str); int main() { printf("%s\n ",string(" in this method ")); getchar(); return 0; } char *string(char *str4) { char str[25] = "How"; char str2[25] = " do I "; char str3[25] = " return a string"; strcat(str,str2); //append str2 to str and return str … Software Development c | |
Hello: I have been reading today about creating and using Sets. I have tried some sample code to see the results and I think it might be useful for me. I am in search of a data type that will be able to store strings and\ or values culled from … | |
Hi, I want to know how to convert a decimal integer into its binary form?? I came across a code which used BIT OPERATORS; I could not understand it. pLEASE HELP ME WITH THIS. Note: This is not my ASSIGNMENT PROBLEM. I know one way of converting decimal into binary … Software Development python | |
Hello: I was wondering if anyone in this forum could point me in a direction (a link) where I could find practice projects (similar to Python [URL="http://www.daniweb.com/techtalkforums/thread32007.html"]Projects for the Beginner[/URL]) dealing specifically with C++ classes and their related functions? Thank-you in advance, reRanger | |
:mrgreen: hi im am tryingto create a dimensional analysis thing going on and so far i have this [code] def mult(self,other): tempTuple1=list() tempTuple2=list() i=0 for unit,value in other.expr: for unit2,value2 in self.expr: if unit2 == unit: tempTuple1.append((unit, value+value2)) #self.expr[i]=tempTuple1 ## for unit2,value2 in self.expr: ## for unit,value in other.expr: ## … Software Development python | |
Hello again: I seek assistance on what I believed would be an easy problem to solve, but, after much searching, I have not yet discovered a valid answer: I have a canvas which consists of a background GIF upon which (when triggered) at least one new (smaller) GIF will appear, … | |
Why can't I get the changes in my grid to update the data base? Here's the code.............. Public Class frmAddChangeDelete Inherits System.Windows.Forms.Form Dim currpath As String = System.Environment.CurrentDirectory Dim connService As New System.Data.OleDb.OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0; Data Source= " & currpath & "\ServiceCalls.mdb") Private daCustomers Private daCalls Private daStatus Private serviceDS As New … | |
I am programing in MFC .NET, and I am encountering a problum in adding the symbol '' to a CString object. This is naturaly due to the fact that the symbol is used for such things as \n \t ect. How do I go about it? say I have the … Software Development c++ | |
Hello all.. I need some innovative idea's for this.. Q For a given version/patch How can one check that what is recived is what we have delivered? How to check that what we delieverd is wht they install?We use to send packaging to our authorities in different countries and this … Software Development java | |
Hello there, I am trying to write a script for an old 133mhz laptop I have, that will bind every key to different functions, and on a key press a different image, or video will be displayed, and/or a sound file. I have figured out how to bind keys with … | |
hi every body.. i need to write a vb programm which i can take the user input and calculate the summution of it .. the input must be charachters .. i'll give every one a value .. i know how to do this part .. i have a problem just … Software Development vb.net | |
Hi, I'm trying to get the threads synchronized, but the output I get is still wrong: Expected sum: 20000000 Actual sum: 10000000 Do I use synchronized wrong, or do I put it in a wrong place? [code] class TestThread extends Thread { public void run() { for (int i = … Software Development java | |
Hi, I have a basic doubt about C compiler option. I have 10 functions in my environment and I want a particular function to go into a new section which will be defined in a file where the function is defined. My question is: Can we define a seperate section … Software Development c | |
Alright I've written a password manager before in Java, but it sucked pretty bad. I've decided to make another one in C#. My problem is I don't knwo what file format to use. I could use a text file and use des encryption, but I wanted to know if its … Software Development encryption mssql | |
I developed a web service in VS2003. The prototype ran great. I fully developed the functionality and in the meantime upgraded to VS2005. Now I can't get my web service to run. I referred to [U][URL]http://msdn2.microsoft.com/en-us/library/ms228268.aspx[/URL][/U] At the MSDN site I am told that the compilation tags for VS2005 now … Software Development asp asp.net file-system microsoft-access web-server | |
Hi, Can u guid me , how to connect the java with xml and I need to get the Data's from any database. Through a common xml file i need to fetch the data and an view through xml.. Can u help me how to do it using java. Regards, … | |
Greetings, I am trying to create a script that does 2 things. I imagine this can be done in 2 or 3 lines. 1. ssh to a server 2. execute the passwd command here is what I am trying - ssh -l username server passwd Once the script ssh's to … Software Development shell-scripting | |
Hey guys, I need help with this client server program I am working on. Description: The server program takes port # as a command-line argument and performs the following operations: 1. Opens a socket connection on the specified port 2. Listen for request from clients 3. When a client program … Software Development client-server file-stream java legal | |
i have a vb program , i want to run this program on my local intranet , is it possible that my program remains on a single pc and all other pc will access the same from that single location , i have used crystal report tool also , is … Software Development visual-basic | |
Hi: I am beginning to develop a project (game) that will be using graphics: I am trying to implement a view that is an image onto where other images will be added on "top"-- the other images do not have to move via user imput-- I just need to place … | |
Can anybody send me some source codes regarding web pages. I have got an interview and they said they would ask me to do a web page. What could they possibly ask me to do. If any body have any ideas please do revert back to me. Thanks in advance. … Software Development | |
Hi guys, back again...You guys were very helpful before and I ended up approaching it a totally different way. I used the mathematical way which is hard to explain but well...it worked so thanks. Now I am having a problem constructing a program that prompts the user for a name … | |
Hello, I am a newbie to assembly. I am working with a custom Bios that does not boot the mbr of the first drive but a custom binary file on the first partition of the first drive. It is written in 32bit nasm and loads a [URL="http://www.tek-tips.com/viewthread.cfm?qid=1279995&page=1#"]linux kernel[/URL] directly. What … Software Development assembly linux-kernel | |
Hi! How can i derive the used integer from variable a, when i use following code: [code] a = unichr(275).encode('utf8') [/code] When i try this: [code] print ord(a) [/code] It raises an error... Software Development python | |
Hi, I have a question which i have no idea how to do manage. I need to convert a string in the format like "1 234 567" so i can do some calculations on the indvidual numbers. What is the best way to do this? Thanks Software Development c | |
I have a form that I've created in excel. I am trying to write a macro to run behind it to work along with the check box ActiveX Controls I've inserted in the document. I asked one of my programmers to help and he said he cannot get the macro … Software Development visual-basic |
The End.