132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for jkalmar

Hi Everyone, I've got a library of ASM books I'd like to sell as a set to an ASM devotee. Here is the list of titles and what I originally paid for them. If you pay for shipping and make me a reasonable offer, they are yours. Or, if you're …

Software Development assembly storage
0
116
Member Avatar for Mikey12345

Hi im new to c#.. just wondering how to convert this vba code:- [code] Sub AddUP() x = 1 For i = 2 To 100 x = x + i Next i ActiveCell.Value = x End Sub [/code] Best Regards

Software Development c#
Member Avatar for Zinderin
0
171
Member Avatar for Medalgod

OK, so i've written a server to listen to TCP connections, and send a response. It can be connected to via telnet and works fine. Next, i started writing the client side of the application - I started out simple by trying the following: [CODE] public static void Send2(Server server) …

Software Development client-server
Member Avatar for Medalgod
0
117
Member Avatar for mikaelaillanes

Hi! I have a problem with a binary tree programing (AVL)where I have to check if it is or if it isn't balanced.... I have made a start but I know it isn't right... [CODE] public boolean isBalanced() { boolean balanced = true; isBalanced(root, balanced); return balanced; } private void …

Software Development java
Member Avatar for NormR1
0
200
Member Avatar for shingo99

hi im a beginner in Java i have make a simple program using the JCreator LE but when i execute file the error below is shown in the command prompt Exception in thread "main" java.lang.NoSuchMethodError: main may i know what is the matter? thank you in advance

Software Development java
Member Avatar for Cort3z
0
516
Member Avatar for Cort3z

Hi. I got a noobish question: Is it possible to return an array "directly", so, something like this. [CODE] public int[] getArray(){ return int[]{this.intA, this.intB}; } [/CODE] I know I can just make the array first. But does this not use unnecessary cpu time and memory? This is going to …

Software Development java
Member Avatar for Cort3z
0
110
Member Avatar for reza.adinata

Hi all, I am trying to make a simple application, where when a user press a button, there will be 2 consecutive images shown inside the window with delay. Below is the source code [CODE] private void btnAddMore_Click(object sender, RoutedEventArgs e) { //first show image1 in window FunctImage(); //put a …

Software Development image
Member Avatar for reza.adinata
0
147
Member Avatar for Zinderin

So, a single user application, all data is local, no remote access .... If a go with an Access file (DB), from the user's perspective, they simply install the app and they are good to go. Is it the same if I go with a SQL DB, or do they …

Software Development c# database-design microsoft-access sql
Member Avatar for Zinderin
0
167
Member Avatar for anil1991

i need to submit a car racing in C language using graphic functioins and to derive a track on which i have to run a car in particular time.. in short i have to make a game in C having the phenomenon to beat the clock

Software Development c++
Member Avatar for Member 784361
0
107
Member Avatar for Member 784291

how to make a program run when an external device is plugged in???(program run from the computer not an autorun from the flash)

Software Development flash java
Member Avatar for NormR1
0
66
Member Avatar for shankarz

what's mean by definition and declaration in c? how u call this: int i;

Software Development c
Member Avatar for Banfa
0
197
Member Avatar for empror9

hello guys i have some questions and i want you to help me 1- how to find a factorial for a number e.g. input 5 = 5x4x3x2x1 so the is output 120, now please see my code [CODE]int fac = 0 ; int count = 0; int num; cout <<"Please …

Software Development c++
Member Avatar for Agilemind
0
349
Member Avatar for pmedic

im trying to write a program to make the # someone puts in the prompt multiply this # by 7 how do i make this code ? i have result=Math.pow(number,7); but it does not give me the right answer... m

Software Development java
Member Avatar for NormR1
0
89
Member Avatar for Dan08

Hey everyone, I decided I didn't want to use Tkinter, so now I'm using wxPython, and I'm having some problems, such as getting values from a function to another. I know, it's a bit hard to understand, and I don't even know if this is possible. [CODE=python]import wx class Example(wx.Frame): …

Software Development python tkinter
Member Avatar for Dan08
0
96
Member Avatar for gretty

Hello I am new to Java & I have made a simple mortgage interest calculator. [b]I am looking for advice on my program such as:[/b] [i]- Proper java structure - Better more efficient ways of doing what I am doing below - Proper java format(variable names, function names) - Are …

Software Development java
Member Avatar for Cort3z
0
132
Member Avatar for kunkunlol

Ok people, I understand stacks and heaps, but when it comes to recursivity and binary trees, i have a major problem trying to understand this. if someone peopl explain me, how this recur. stuff works, I would be happy! For example, where the value goes, wich function is called and …

Software Development c++
Member Avatar for mrnutty
0
152
Member Avatar for cmsc

I was wondering if it is possible to subtract 30 from 4ah? i thought so i can convert the ascii character 'C' to hexadecimal '43', i will just subtract 30h from 43h, then add 30 so it will become 43 again and i will be able to perfrom arithmetic on …

Software Development assembly
Member Avatar for cmsc
0
192
Member Avatar for makan007

I want to write a java program to read in two integers and then output a random integer number generated between these two integers. Is there any tips? Is there a random Java API (libraries) that I could use? Tks.

Software Development api java
Member Avatar for hermann87
0
71
Member Avatar for siggivara

I'm actually trying to do this in objective c, but I belive the theory probarbly are the same for C++. Heres an example of what I want to do with a simple, working, example using an integer: [CODE=c]void func2(int *i) { *i = 2; } void func1() { int i …

Software Development c++ objective-c
Member Avatar for siggivara
0
190
Member Avatar for turnerca902

Hi everyone, I have a fairly simple problem, but having not used python in awhile, I just can't seem to get things working. Basically, I have a text file with a number of comma separated fields (attached). What I want to do is split the string, and extract the "File" …

Software Development file-system python
Member Avatar for turnerca902
0
455
Member Avatar for MarkBrend

Hi, I am writting a dll and want to return a result back to the calling code. I have tried putting:- public string oSQL2XStreamBridge( string Name) public class string oMyDll both of which it does not like... the code below errors because there is a return statment and it says …

Software Development
Member Avatar for nick.crane
0
120
Member Avatar for bchaney

Is there a problem with my code? i'm trying to refresh a few form checkboxes based on text typed into machinetxt.text with what is currently stored in the database. i put this into the refresh button click event. here is my code: [CODE]Private Sub machinerefreshbutton_click(ByVal sender As System.Object, ByVal e …

Software Development dataset open-source vb.net
Member Avatar for bchaney
0
170
Member Avatar for Francis Waldron

I'm have trouble getting my area/volume progam going on a circle,cylinder,sphere,cone One with out a menu and onwe with a menu. Thanks for all your programmers help. This is a great site for help.

Software Development c
Member Avatar for Ancient Dragon
0
108
Member Avatar for Hunter2379

Ok so i'm writing a chat program. My problem is that let's say i write something in the client or server, you only see it once you write something again. How do i make my program refresh it's self? (so it prints things in real time.) Thank You Client Code: …

Software Development client-server java java-swing
Member Avatar for NormR1
0
294
Member Avatar for ubi_ct83

Hi all, i want to ask opinion,advice or mayb solution to my problem. i want to add data from this object to an ArrayList<string>.this is my code: [CODE] class Main { static ArrayList<String> test_case_list=new ArrayList<String> (); public static void main(String[] args) { //do argument.... TestCaseGenerator(s,count,test_suite_list); display_list("Final Result",test_suite_list); } private final …

Software Development java
Member Avatar for NormR1
0
234
Member Avatar for bryandan

hi, hmm guys i want to know what are the common kinds functions is visual basic.net .?? any answer please .

Software Development vb.net visual-basic
Member Avatar for G_Waddell
0
79
Member Avatar for iHacker

I've been trying to work on a personal project, in which the user enters in a text string in the first text box, and when the user clicks the "encrypt" button, the SHA1 hash of the text appears in the next text box. I've googled around for some information on …

Software Development vb.net visual-basic
Member Avatar for Teme64
0
286
Member Avatar for rapids79

I'm working on a code that enables the user to input a string , compare it to some text in a file then send the approriate data ( from another file) using serial communication or TCP/IP. I ahve implemented the serial communication part but the TCP/IP..I've looked around but have …

Software Development c visual-studio
Member Avatar for technology
0
157
Member Avatar for kiranbvsn

hi there, i've one requirement i am using a button in three different rows [CODE] for example ( <tr id="tr1"> <td/> <tr id ="tr2"> <td/> <tr id="tr3> <td/>) [/CODE] here i am using one button control (instead of 3 buttons) in 3 different rows now in button onclick event, how …

Software Development
Member Avatar for kiranbvsn
0
93
Member Avatar for finito

Sorry I can't think of a better Title, I have an Invoice Table, Where The Structure is: [B]InvoiceID, ProductID, Qty, Sum, Location, etc[/B] Primary Key is InvoiceID + ProductID A single Invoice can have more than one Row so a single invoice will look like this: [CODE=Table]InvoiceID | ProductID | …

Software Development sql
Member Avatar for finito
0
974
Member Avatar for CanYouHandstand

Hey All I have a multi-line text box that tells the user to perform an action. When the form loads, as the text box is the only control on the form, it is highlighted. This may be a silly question, but is it possible to disable the text box from …

Software Development
Member Avatar for Amit.Tank001
0
3K
Member Avatar for powerbox

Hi guys, I created a Library 3 years ago and it is built around interfaces and generics. Now I needed to extend one of my application to support WCF. On my test scenario I can load it up on my application as part of different application domain. My problem now …

Software Development
Member Avatar for powerbox
0
310
Member Avatar for YoavX

Hello, i've tried to use Windows sockets not in my LAN and i've noticed that every time my program starts it gets CPU overflowed weirdly [code=c] ProgramConfig myConfig = ExecuteServerConfig("config.ini"); WSAData wData; if(WSAStartup(MAKEWORD(2,2),&wData) == -1)return 0; sockaddr_in serveraddr; int sock = socket(AF_INET,SOCK_STREAM,IPPROTO_TCP); serveraddr.sin_port = htons(myConfig.Port); serveraddr.sin_addr.s_addr = inet_addr(myConfig.Server); serveraddr.sin_family = …

Software Development c++ client-server
Member Avatar for Aranarth
0
141
Member Avatar for arbme

Hi, I'm new to C/C++ but have worked with PHP for years and want to make a program to tie in with my web applications. I want to write a program that listens on port 80 for incoming HTTP/HTTPS traffic to a web browser. Then checks HTTP headers from a …

Software Development c++ web-browser web-server
Member Avatar for Aranarth
0
107
Member Avatar for crystaliao

hi everyone, Originally I had a script like: telnet host port then type STATUS for checking remote server,local server status and connection. In order to omit typing "STATUS", now I'm trying combine these two commands into one line, how to write it? or do we have another way to achieve …

Software Development shell-scripting unix
Member Avatar for griswolf
0
207
Member Avatar for migicikinyanjui

I am using DataEnviroment ,I set the path of my connection by going to the properties of the connection (connemployee). and it brings issues with the path at runtime when the packaged program is installed. Help me solve this problem.

Software Development visual-basic
Member Avatar for migicikinyanjui
0
121
Member Avatar for Sunshineserene

Hi there, I am currently doing a bioinformatics project on dynamic programming. I need to read a text file, and extract the information in it and use the information in it for my dynamic programming java codes(both java codes must be together). May I know how to extract the information? …

Software Development file-system java
Member Avatar for Sunshineserene
0
424
Member Avatar for Krstevski

Hello friends, I never ever use a class destructor, and now I want to try to using destructor, but I have a small problem. My code is: [CODE] using System; using System.Text; namespace ConstTest { class test { public test() { Console.WriteLine("Start..."); } ~test() { Console.WriteLine("End..."); } } class Program …

Software Development
Member Avatar for Krstevski
0
114
Member Avatar for wiss.dev

Hi all im trying to get value of a constructed checkbox.checkstate value For i = 1 To 19 Dim scheckBox As String = "checkBox" & i & ".checkstate" dim int as integer = scheckBox ' Next --------------------------------------------------------------- in foxpro: ------------- int=&(scheckBox) any ideas??? thanks

Software Development vb.net
Member Avatar for G_Waddell
0
133
Member Avatar for lewashby

I'M getting error below when I run the following program code. It's with the following function. [COLOR="Red"]fileD.write("%\n" % depot.get())[/COLOR] [COLOR="Red"]Exception in Tkinter callback Traceback (most recent call last): File "/usr/lib/python2.6/lib-tk/Tkinter.py", line 1413, in __call__ return self.func(*args) File "/home/developer/Projects/Head First/Chapter 7/Head-Ex.py", line 7, in save_data fileD.write("%\n" % depot.get()) ValueError: unsupported format …

Software Development gui python tkinter
Member Avatar for TrustyTony
0
177
Member Avatar for BobbieJean

Hi everyone, I think I nearly have this program running right except for printing the adjacency matrix. Here's the code I have: [CODE]#include <iostream> #include <string> #include <memory.h> using namespace std; class Graph { public: static const int MAX_ROWS = 6; static const int MAX_COLS = 6; Graph(); ~Graph() { …

Software Development c++
Member Avatar for jonsca
0
264
Member Avatar for student.09

Hi I had a few quick questions about this program that I'm just about to write. The program itself looks fairly easy, for the calculation I'm not so sure. Problem Statement: We have been hired to write a program to determine the number of cases required to store boxes of …

Software Development java
Member Avatar for NP-complete
0
117
Member Avatar for empror9

hello everyone Q1-see this equation [url]http://www.daniweb.com/forums/attachment.php?attachmentid=15688&stc=1&d=1278298959[/url] is this the correct code for this Q1? [code]#include<iostream> using namespace std; int main() { float s=0,p; int i,j; float x; cout<<"x="; cin>>x; for(j=1;j<=6;j++) { p=1; for(i=1;i<=j;i++) p*=x; if(j%2==0) s+=(-p/j); else s+=(p/j); } cout<<"ln("<<x+1<<")="<<s<<endl; system("pause"); return 0; } [/code] *** Q2- i want to …

Software Development c++
Member Avatar for NP-complete
0
98
Member Avatar for c++learner

Hello, could someone be so kind as to give me a short tutorial on how to use a function that accepts multiples values and parameters using references. I need to create a function that accepts an int and a double and squares both values by using references. I'm not sure …

Software Development c++
Member Avatar for c++learner
0
154
Member Avatar for gopi17

I'm having some trouble with the output here...can anyone help me...learning how to use to C language, more of a C++ programmer...i tried using all sort of declaration but the output is still the same... [CODE] int i; float x = FLT_MAX - (2.0); double y = DBL_MIN - (2.0); …

Software Development c
Member Avatar for kings_mitra
0
107
Member Avatar for mundvawala

hey guys ...i m making a project of "CHESS GAME"..... in which to identify any pieces of chess board ,i had used described mechanism....(see code of array) ... but it actually not working...it takes garbage value...it is working only for the "Rook"... i can't understand this behavior...so plz help me …

Software Development gaming java
Member Avatar for Krefie
0
167
Member Avatar for Skyelher

I kinda use this: [CODE]while 1: [body] [/CODE] a lot... But I've also read that it's not a good idea to be doing so even if you put add some way to break from the loop within the body... Any alternatives, please?

Software Development python
Member Avatar for griswolf
0
150
Member Avatar for sarminatorius

Hi, How to explore libraries, by that i mean open and look at its source code? I am using Embarcadero RAD Studio 2010. For example i want to see functions inside #include <list>.

Software Development c++ open-source
Member Avatar for mrnutty
0
95
Member Avatar for TrustyTony

My Python has started to imagine that square root of -1 is 1, so be careful with ** and unary -. [CODE]print (-1**0.5) ## ** binds stronger than unary minus! i=-1 print "Square root of %i is %f" (i,i**0.5) # gives proper error """ Output: -1.0 Traceback (most recent call …

Software Development python
Member Avatar for Skyelher
0
341
Member Avatar for Griff0527

I've searched the C++ forums and cannot find anything that relates to my question. I am writing a program (for class) that opens a txt file and reads doubles from the file, then computes the standard deviation of the numbers in the file. In order to do this, I am …

Software Development c++ file-stream file-system ios
Member Avatar for Griff0527
0
258

The End.