132,726 Archived Topics
Remove Filter ![]() | |
this code [code] XmlTextWriter bankWriter = null; bankWriter = new XmlTextWriter(Convert.ToString(first.Text)); [/code] [quote] ...cant convert string to system.io.xmlwriter...invalid aguments [/quote] see Screenie how do i fix this? Software Development xml | |
Is there a ways to merge two similar dictionaries, and what happens if the key words clash? Software Development python | |
I am trying to do a Java GUI game of dots and boxes, and I need to make the bounds for detecting whether or not the mouseMoved that the person made was in the bounds of the top, left, bottom, or right of a box. I refer to each box … | |
I built a function as following [code] def IsExists(fxfcustid): #global noduplicates db = db_connect("triumph","freight","vcpdb") cursor = db2.cursor() #************************************************************************* #*** Query to get entries made by the person acessing the system *** #************************************************************************* sql = '''select count(*) from triumph.fxf_salescontest_entry where fxf_acct_nbr = %(fxfcustid)s) and (delete_flag is null or delete_flag not in … | |
Hi All I have created created executable of Helloworld.py using McMillan Installer on Fedora core 3. It is working fine on Fedora core3. when i try to execute it on fedora core 2 it gives an error "segmentation fault" plese any one can help me why is it like so. … Software Development python | |
hi everybody. i am trying to develop a program that will be able to read and export informations (hw, sw, kernel, netstats..ecc) from a linux computer. my idea was to use the files in the [b]/proc[/b] directory but i can't get the script to work - this is what i … Software Development c c# c++ linux-kernel | |
I need help with some homework. I need to write a program that uses a while statement to determine and print the largest number of 10 numbers input by the user. The program should use three variables: counter: A counter to count to 10, (to keep track of how many … | |
I am trying to infile my data file into two seperate arrays which are seperated by a white space in my file. But I keep getting -86******* something number where my file is suppose to be any help will be very helpful. My first array which will read the student … Software Development c++ file-system | |
Hi all, I am a newbie to python and am not sure,what i am doing is correct or not ,i wanna call c function from within python. i have my python program as: [code] import DLL if __name__ == "__main__": for i in range(1,6): DLL.RECEIVE_FROM_IL_S(10,50) [/code] here RECEIVE_FROM_IL_S() is c … Software Development python | |
Hi there, i was thinking of basing my final year project on file sharing between clients through a server or text message communications between clients. I really need ideas on how i can go about designing and implementing a project based on my idea. I will really appreciate any ideas … Software Development java | |
[code] #include <iostream> int main(int argc, char *argv[]) { int count=0; if (argc<2) { std::cout<<"Wrong No Of Parameters"; exit(1); } FILE *file; file=fopen(argv[1],"r"); char c; while((c=getc(file))!=EOF) { if (c=='\n') { count+=1; std::cout<<std::endl; } else printf("%c",c); } std::cout<<"\nNo Of Lines In the File :"<<count+1; fclose(file); return 0; } [/code] My program … Software Development c file-system | |
Hi, I've been asked to created a program for my local video rental shop, that can store the details of the members, videos, dvds etc. On the for were the user adds a member, I am wanting some code that will generate the membership number automaticaly in a edit box. … | |
Hi, I've setup a form with several edit boxes and with a button to add the text in the edit boxes to be saved in a file. I've tryed to put a validation check in the program: When the user press' the "Save" button, it checks if the edit boxes … Software Development pascal | |
Hello, I'm having trouble with a project that I am doing in turtle graphics. I'm making a graphic of a soccer field with a ball bouncing around, but I want the ball to stop when it hits the net. I can get the ball to stop when it hits the … Software Development python | |
I've got a function with a variable list of arguments: [CODE]Execute(int arg1, int arg2, int arg3, int arg4, int argLast, ...)[/CODE] I want to write another function that intercepts Execute. I want it to have the same argument list and pass all these arguments to Execute. For example something like … Software Development c | |
Dear all, I am very newbie here and I'd like to start learning C programming. My OS is windows XP. Could anybody please tell me where to get C compiler ? Thanks in advance! Any help much appreciated. rgds, tkaung Software Development c++ windows-xp | |
Hi, I am new to C++ I am working with C++ .NET to create a multiplayer game for a project. However I need to connect the multiple computers together, for it to work, with one computer acting as the server and the other (max of 6 others) connecting to it … Software Development c++ client-server windows-server | |
Hi everyone, I was just curious if it is possible to put a jar in a jar file? thanks for your help. Nick Software Development java | |
Hi Guys I am a new member here and basically i have joined because i would like to learn some c++. I have no prior experience in any of these high level languages. I do have experience in turbo pascal but those of you who have used it know how … Software Development c c# c++ pascal visual-basic visual-studio | |
Hello, by searching explanations and code for heap sort I found tghis code: [code] #include <stdio.h> #define less(a, b) ((a) < (b)) static void exchange ( int *a, int *b ) { int t = *a; *a = *b; *b = t; } static void fixDown ( int *a, int … Software Development c | |
| |
i need help on a program that uses zenos series which calculates the sum of the first N terms of Zenos series, where N is what the user inputs. it should be a number 1 and 15 (inclusive). program should print n terms of the series seperated by + and … Software Development c | |
Why in C++ passing a pointer is not termed as a parameter passing technique.....Is it because it has a flaw of some kind i.e. address is not reflected back/we can change the address in called function..is that so...if that's the reason....then we can pass it as const pointer as a … Software Development c++ | |
I need help with finding the minimum value of x but I can't seem to get the code right. Please Help. Noob :sad: [code] #include<iostream> using std::cout; using std::cin; int main() { int x; // x is the duration of the call double sum; int number; double average; sum = … Software Development c++ | |
Ive been trying to make a game recently but all pygame windows freeze. i have to use the Task Manager to exit. I also have to use it to exit a fullscreen too. All im doing in my code is opening a blank screen. How can i fix that? Software Development python | |
What purpose exactly does scaling / shifting rand values serve? The book I'm learning from really doesn't seem to explain what these actions do. -Clifton Software Development c | |
I've looked in a couple of books, and can't find this anywhere, i'm looking for the opposite of the cos funtion, i.e. I know the cos of the angle, and need to know the actual size of the angle, is there an implicit function? If not, how can I achieve … Software Development visual-basic | |
I developed some applets that at a fixed interval, say 1 second, update a value on the page. The pages with the applets are displayed in a frame, and the frame page structure has one frame on the left, with the menu links, one frame on the bottom, with another … Software Development java | |
I have a project to do for my CMPT 120 Class. And it's using basic python coding. I'm trying to write my name out with block letters. 'JAX' I need to use for loops and i'm stuck on my X here's the code for it [code] def x(n): t3=turtle.Pen() t3.left(60) … Software Development python | |
Basically I've got a const string (it stays the same lenght) Only trying to implement it into OOP. heres the constructor: [php]score::score(void) { lives = 5; char * end = { " --------------+-\n" " + |\n " "+ ?\n" " +\n" " +\n" " +\n" " +\n" }; strcpy( death, … | |
Hi, I have a program that needs to perform billions of loops. I want to print out something to the screen for every certain number of iterations (ie let's say 1 million). Because % is only suposed to work for integers, how do I get the equivalent functionality with long … Software Development c | |
hi ...I am tryin to do this methods homework...I have to have a system.println for a void method..I know u cannot have a return for void method..but can u have a system.println in the main method for the helper void method? Software Development java | |
well, ive been using VB6 for a year now, but i cant get this to work i have 3 txt boxs, and a cmd button, and a timer thingy(dont know how to use timer yet :P ) it needs to count down in seconds, min and hours. this is the … Software Development visual-basic | |
![]() | is there an exception type in c++ like the NumberFormatException in java? i'm looking to use a try/catch to do type checking after a cin input from the user. Software Development c++ |
I have a fortran program where I am suppose to write a set of java classes that implements some accounts and the required transactions and a main test program that exercises the classes based on the specified information we have. I can't put all the info up here bc it … Software Development java | |
can anyone tell me about send keys.....if possible attach a small code also Software Development visual-basic | |
Dear programmers, Could somebody write code for this project please. For search option, I need to search by delivery date or invoice date (like: From 05/05/2005 to 01/07/2005). Thanks for any help.... Software Development visual-basic | |
How would you click a submit button on a form using winsock? thanks for any help Software Development java javascript visual-basic | |
Hello all... I am completely brand new to vb and could some guidance as to where I should go to start to learn. I am only trying to create a simple Pivot Points calculator (used for trading stocks, currencies (which is what I do)). I have found some on the … Software Development visual-basic | |
In preparation for the release of REALbasic 2005, the company is giving away the Standard version of the current release (REALbasic 5.5) It's not as deep as even VB6 as far as the range of properties for each object, but it's a pretty nice tool anyway. You can get a … Software Development | |
[indent] [color=darkslateblue][b]Sun Microsystems and Google plan to announce a collaborative effort that some analysts speculate could elevate the profile of the OpenOffice.org and Java software packages.[/b] [/color] [color=darkslateblue]Details won't emerge publicly until Google CEO Eric Schmidt and Sun CEO Scott McNealy take the stage on Tuesday at a news conference … | |
HI, sorry if this is really thick, but I'm abit stuck...I have written this piece of code as part of a bigger function: If Z = 1 Then SIDE = W - (V / 3600#) End If If Z = 2 Then SIDE = W + (V / 3600#) End … Software Development visual-basic | |
Hi everyone, I am writing a summation program for a programming class I am taking. The assignment's main purpose is to give me practice writing functions. I have gotten the functions down just fine, but I can't seem to figure out how to write the inside of the summation function. … Software Development c++ | |
We cannot have static friend function...is it because 1.since static member functions can access only static data members...whereas friend function can access all the members. 2.friend function also require an object to access the members...wheeras static member functions can not. 3.One more thing....since friend functions are non-member functions....and static functions … Software Development c | |
Hai friends I have a small problem with my code... I want to copy an existing file (its a model MS Excel file) to a new file & name it with the current date... First I tried to create the model Excel file, but when I opened it, it had … Software Development file-system python | |
Sorry for confusing the issue by including the Format source code (I did not realize all structure format would be lost on the web site). The basic issue is this. I have a very small project (3 files). From one routine I can easily make a call to a printing … Software Development java | |
I am using Visual C++ 6.0 and I am trying to use an if else statment but unable to resolve error. Here is the code: [code]/*--------------------------------------------------------*/ /* Program Homework 3_3 */ /* */ /* This program computes the roots of a */ /* 2nd degree polonomial */ #include <stdio.h> #include … Software Development c++ | |
hi i try building a bandwith monitor with the report of total connections to/from my pc so far i do a report of ip source/destination but now i want to know the lenght of data that belong to each ip. for example: i want to know de down/upload of each … Software Development visual-basic | |
Does Python have something like peek(memory) and poke(memory) of other languages that read and write to memory addresses directly? Software Development python |
The End.