132,726 Archived Topics
Remove Filter ![]() | |
sorry if this a bit of a pain and there are other threads to read about this but can anyone explain how arrays work a bit, i need a quick refresher course. like how they work, are they like the equivalent of stacks in assembly language? and say you set … | |
OS: windows vista 32 bit. I was searching the web for a compiler which has lesser numbers of issues and with good written help available. I am thinking of vc++ or blood shed dev c++ Then I came across this term ANSI ..... Is it necessary for a compiler to … Software Development c++ windows-vista | |
Hello, The file name I want to use is always different, though the directory path name is the same. How can I get the variable to see the same directory path without throwing in the extra quotes? For example, I enter DE000000 for the drawing number. ScriptFileName = Drawing_Number & … Software Development visual-basic | |
i have two questions,please dont tell me that i violate dani web ruls because of my long questions thank u. one: i wrote a program in c,and i compiled it(in borland c),it had no errors(so far so good) then i run it and errors such as: linker error:undifined symbole_line in … | |
please help me in concept of smtp and pop3 because new to this concept Software Development java | |
well im doing a program that should output: A BB CCC DDD EEEE FFFFF using 2 loops. im on Dev-C++ 4.9.9.2 im all new 2 this an this is what i got so far, some help will b great to finish this =] [code=cplusplus] #include<iostream> #include<iomanip> using namespace std; int … Software Development c++ | |
Hello, I'm experiencing a little problem with what I'm trying to do: I've created a large number of buttons with Photoshop, these however, already look like buttons, and are rounded. However, when I put them on a BUTTON control the button looks ugly because it has another button on it. … Software Development c++ | |
I was trying to write a program that takes an input from a file which is located in Desktop not the default directory where the program is saved [code] #include <iostream> #include <fstream> #include <stdlib.h> using namespace std; int main() { ifstream fin; string str="C:\Documents and Settings\shankhs\Desktop\ccs\Assignment CCS.txt",temp=""; cout<<str<<endl; for(int … | |
Hello everyone, beforehand, sorry for my english... I have to do client - server application. They must interact, using classes URL, URLConnection. I understand, how to send data to server. But I can not realize server work. The common algorithm of server is: 1. Start. 2. Wait for connection. 3. … Software Development algorithm client-server java | |
Well see the above code [CODE] int a = 10; int* p1 = &a; int* p2 = p1; // Copies the address right?[/CODE] But what happens here? [CODE]char* str1 = "Hello"; char* str2 = str1; // What happens here[/CODE] I tried this code and when I modified str1, str2 remain … Software Development c++ | |
I am getting the following error... init: deps-jar: compile-single: run-single: Exception in thread "main" java.lang.IllegalArgumentException: adding a window to a container at java.awt.Container.addImpl(Container.java:1010) at java.awt.Container.add(Container.java:928) at javax.swing.JFrame.addImpl(JFrame.java:480) at java.awt.Container.add(Container.java:899) at BoardCreator.<init>(BoardCreator.java:40) at Board.main(Board.java:14) Java Result: 1 BUILD SUCCESSFUL (total time: 3 seconds) Here is my code which is a box … Software Development java java-swing | |
I have a file that is tab separated. i read it in as an arraylist<string> how can i print out only the second section of the file? Software Development java | |
i cant seem to find what is wrong with this piece of code: looks good to me-but my hw says it has an error in the code. [code] struct TwoVals { int a = 5; int b = 10; }; int main() { TwoVals varray[1]; varray.a[0] =1; return0; } [/code] Software Development c++ | |
Hi, I have a vbscript which calls a batch file. Now I want my vbscript variables to be passed to batch file. Is this possible? Please assist Thanks, SOW Software Development vbscript visual-basic | |
I am trying to learn VB .NET again. Have not used in a long time. I have bound my controls to my datatable and then I put values into the controls, I then have a button that I am trying to get to add/update the rows to the database. It … Software Development open-source vb.net | |
Hi all, Could anyone help me out here.... I'm trying to work out how to write a very simple server and client that I can first send a string through and then send a file to. For example, I'd send the file name and then the actual file. Also, does … Software Development client-server | |
[code] transactionInfo = date + " - " + _strtime( time ) + "New Customer - 1001 - Olly"; [/code] Ok so I've been trying to find it everywhere in C++ reference guides but it seems I can't do the above ^^ (says I cannot add 2 pointers). date is … Software Development c++ | |
I have to make a project today itself on turbo c++ :- It should have OOP. Classes. and use of database i.e I/O on text files. Can anyone suggest a unique topic and I will be asking help related to the same here =) | |
Hi guys im new to programing, i never programed before but with alot of work and dedication im doing in visual basic 2008 express edition a litle program for a family company that i work with. Is not a comercial program is just a program to have some management on … Software Development visual-basic | |
Hi, I have these errors: --------------------Configuration: IP_devllink_06 - Win32 Debug-------------------- Linking... IP_devlink_06.obj : error LNK2001: unresolved external symbol _DLClose@4 IP_devlink_06.obj : error LNK2001: unresolved external symbol _DLOpen@24 Debug/IP_devllink_06.exe : fatal error LNK1120: 2 unresolved externals Error executing link.exe. IP_devllink_06.exe - 3 error(s), 0 warning(s) The probloem is that I am … Software Development c++ | |
I'm trying to write a questionnaire that gathers info of the user and then updates a database in Access. I've managed to write the program and everything works up to the point where it updates the database, at which point it displays the error message below: OleDbException was unhandled Syntax … Software Development | |
How can we find the next highest value in the binary tree? We have a binary tree and an number is being input. We need to find the next highest number. Software Development | |
I am to create a menu application for a cell phone company. The user is to select their package, phone, and any additional add ons they would like, and it is to disply the prices. This is by far the most advanced programming I have done to this point and … Software Development java java-swing | |
Hey guys, my main thread seems to stop when i start 2 new threads and start them off. It sits and waits for the 2 threads to finish. The two threads are created off a factory class. Is this why? Its not created in the GUI class? Cheers. Software Development gui | |
I am learning to create a database with python. I am using this line of code to populate my table T.insert(2, 'Jones', 'Jack', 15, False, 0.0) And the table is created as follow: T = SDBTable('id=ui', 'last', 'first', 'age=i', 'married=b', 'salary=f') I have a class SDBTable and in it there … Software Development python | |
Hello, I'm using Java and Python together with Jython and I'm having trouble with some python syntax. I have a custom listener that I want to add to an object. Usually I'd do it like this: class ballCollisionListener(animation.CollisionListener): def collisionDetected(self,event): if event.getSource()==boundary: if ball.getX()<=0 or ball.getX()+ball.getWidth()>=boundary.getWidth(): ball.setXSpeed(-ball.getXSpeed()) elif ball.getY()<=0 or … Software Development python | |
I was trying to write the output of a loop on a file. The problem is the writing repeats for each loop. [ICODE]prev_line = "" while line: Total = 0 fields = line.split() N = len(fields) name = fields[0] #sum each 5 fields over the raw: for step in range … Software Development python | |
I have designed a program in VB 6, and the problem I need help on is whenever I log off and log back on, all of the windows in my program are blank. How do I refresh them? Software Development visual-basic | |
can u pass template class objects as parameters to friend functions of the same class?? i tried sumthin like... [code=cplusplus] template<class T> class array { T a[10]; int n; public: friend istream& operator>>(istream&,array&); friend ostream& operator<<(ostream&,array&);}; istream& operator >>(istream& din,array& b) { din>>b.n ; //size of array for(inti=0;i<b.n;i++) din>>b.a[i]; return(din); … Software Development c++ | |
Hello, I'm tring to set a string variable to be a path and filename to a certain file. I need it to look like: (load "S:\Tools\Tools_Subfolder\MyStuff\\test.txt") But when I try this command: LoadCommand = "(load \"S:\Tools\Tools_Subfolder\MyStuff\test.txt \")" I get: Compile error, Expected End of Statement The cursor highlights the S … Software Development visual-basic | |
There has been a lot of confusion for Binary to decimal conversion and vice versa. Today morning i came up with some simple self understandable code !!! Binary to Decimal [CODE] #include <stdio.h> #include <math.h> #include <graphics.h> main() { int dec; int total; int power; clrscr(); total=0; power=1; printf("Enter binary … Software Development c | |
Hello I am quite new programming in Jython, I am working with DB. I a send SQL Statements, but I want to handle the zero rows in Resulset. rs = dataSource.performQuery(sqlstatement) rs.moveFirst() I dont know which condition has to be set when the Resulset doesnt has any row. When I … Software Development python | |
Hi every one. This is my first Post. I am an electronic engineer and currently enrolled in MS Embedded Systems Engineering. In my project, i have to interface an Altera DE3 board to a windows based PC and achieve a data transfer rate of 100+ Mbps usin USB port. The … Software Development api c++ engineering google-api windows-api | |
I've gotten a little bit furter in understanding the general workings of python, and currently I'm fidgeting with classes and objects. I was thinking of the possibilities of having a program with a whole bunch of user defined classes that the user can use (hey, almost a repetitive aliteration there...) … Software Development python | |
Hi, I'm wondering is there any build-in function or component that I can use to create a multi-select dropdown combobox. I try to google for this but most of the solution I found is for web based software. I'm not asking for the whole program. At least something for me … Software Development | |
Hi All, Can someone suggest me how to solve the following issue? I have an Excel(macro enabled) consisting a registration form. Based on selection of a certain field, some chosen fields have to be disabled. Example: I have 2 forms , employee and vendor maintainance forms. Based on choice of … Software Development visual-basic | |
Hello, I've to build a database of students in a certain school in which each student has a list of her/his passed exams along with the grade gotten. I have 3 structs and I need an advice on how to carry out memory allocation, eg. when I add a student. … Software Development c | |
HI Folks , Sorry if it is the Repeated Question.... --->[B][COLOR="Green"] I want to Create An Object for a Class With user specified name.?[/COLOR][/B] Example : Class Name : Simple User Specified Name for a Object : SunServer i want like this Simple [B]"userSpecified Name"[/B] = new Simple(); how to … Software Development java | |
Hello!! I desperately need help on event triggering across panels in wxPython! :( I have 2 classes that inherit wx.Panel: Leftpanel & Rightpanel Leftpanel consists of several buttons. Rightpanel consists of a graph (i.e. using matplotlib). I want to make the program so that pressing the button on Leftpanel will … Software Development python | |
Hello all, i would like you to answer me a question: I have a Select case statement: [code]Select Case textbox1.text[/code] and i want to add more than one case,for example: [code]Select Case textbox1.text and checkbox1.checked[/code] is it possible in any way to do this with VB.NET??? Thanks in advance, Alex Software Development vb.net | |
I am about to start my thesis this January 2008. I pick java as my PL but I don't know any database right now.. is there any database than i could learn easily and also fit to java? please help me.. Software Development java | |
Hello All, Greetings!! I was thinking of making MP3 Encoder. This is because I cannot find Exact encoder so I was finding some bindings for Lame Mp3 encoder and CD extractor/any cd to wav Library Thanks all Steve Software Development python | |
Okay heres the dilemna.... I have a Dataset("LineItems") that Stores information about so many records. To source to this DataSet("LineItems") is not its intended ouput. Meaning I pull this info in from one database and output to another. My problem is i have no idea on how to write an … | |
I'm having problems with this. The thing is that when I send an MMS with J2ME to another devices with JSR 205 (two tested: SonyEriccson w610i and Nokia 5300), a receiving icon flashes, but the message is not in the inbox folder. I think this happens because of the application … Software Development java | |
I want to put the buttons on my screen wherever i want, i'm not using design view. Is there any layout method or any other method i can use to reposition my buttons.PLEASE HELP! Software Development java | |
Could you please help me with the source code for the following Task: [IMG]http://www.2and2.net/files/492254f5267f5.png[/IMG] Software Development c++ | |
i have developed vb.net 2005 application. how to create installation file, which method is best? any one help me or give me correct link. Software Development vb.net | |
Hi frnds,, i hv a form in which i want to calculate balance.I wrote code for this as follows. But its giving me an error as "Datatype mismatch error". I hv declared bal & amt in database as Currency.Is this proper??If not suggest me some other code plzzzz. what datatype … Software Development vb.net | |
i need help about COMMAND and PARAMETERS Object in ADODB in Visual Basic 6.0>>>> i have some code that uses command and parameters object. ADODB connection is connected to a access.mdb file. all parameters are constructed in a stored procedure in sas.mdb before. I've declared more than one parameters in … Software Development visual-basic |
The End.