132,726 Archived Topics
Remove Filter ![]() | |
Can anyone point me in some kind of direction other then google for looking at developing for mobile applications? I'm trying at the very bottom since ive got a firm know how of C++ and Java. Thanks | |
Hi, i was wondering if you could help me. i am having a problem with a listener in SWT. i have a program where the user enters some text in a textfield and then clicks on a browse button where they select the directory they want the program to search … Software Development java | |
Hi. I was wondering if anyone knows how to split a string. I did find a code on it; but it's based on a pattern. Can anyone help me to split a string into letters.. e.g. "Like" --> "L", "i", "k", "e" Software Development java | |
hi all,:sad: hope there are a lot of [B] JAVA DEVELOPERS [/B] who can help me on this. We have to develop a checkers game.Should develop in both .Net n JAVA. Two players sitting in two machines with two platforms. One has to play in Java platform n other has … | |
hi, am facing problems with taking contents/added items of a listbox in one form(Add) and displaying it in a similar listbox in another form(Modify) which has an adodc for navigating thru records. now i know textbox works fine but listbox is giving a hiccup...any ideas? :!: Software Development visual-basic | |
Is there any way to like 'dim obj as _______' and then control real objects with it? Like... obj = text1 obj.text = "blah" ..and it work? Software Development visual-basic | |
Need help. How do I fix this code? [CODE]max_points = [25,25,50,25,100] assignments = ["hw ch 1","hw ch 2","quiz ","hw ch 3","test"] students = {"#Max":max_points} def print_menu(): print "1. Add student" print "2. Remove student" print "3. Print grades" print "4. Record grade" print "5. Save Students" print "6. Load Students" … Software Development python | |
I've created 2 tables in Access and have created a form for each table in VB5. Each autonumber field is the primary key of it's table. When the first form comes up the autonumber field has a value but when I go to the second form the field is left … Software Development visual-basic | |
A friend of mine just introduced me to the Eclipse IDE, which may or may not end up replacing IDLE for me. Anyway, one of the features of Eclipse is error warnings as the code is *displayed*, rather than waiting for errors to pop up at runtime. This code got … | |
Hi, Actually my program will be read some input, as example :- 123 456 789 123 567 456 Then, I want to copy all the data into array and filter out any duplicate or same record..Finally the program will be print the result without duplicate records ? Could somebody guide … Software Development c | |
Im trying to cast a char to a string, but if i just define equality, the complier says incompatible types. I looked in my textbook but it only shows how to cast ints and doubles.:sad: I have to write a class that takes a char and a String. It then … Software Development java | |
Hi, I'm hoping that someone can help me out. The Range statement below has an issue with the right hand side of the equal sign. If I leave out the "& i", the information in the first text box is copied into all of the cells. However, I want to … Software Development visual-basic | |
I have a problem: How to insert raise in Text()? for example i have file: [code] #my_program.py a=ddd [/code] and other file: [code] #my_file.py: from Tkinter import* root=Tk() text=Text() text.pack() execfile('my_program.py') #text.insert(END,raise) mainloop() [/code] In file my_program is Error. How to insert raise of this error in Text? thanks | |
I am in java programing this year in college. First couple of chapters have went fine. They have us learning by using "notepad" and the command prompt. I had just completed my latest assignment and went to compile it and it told me "class or interface expected". I figured I … Software Development java | |
I've got a bunch of fields displayed in a form and I can change them on the screen and the changes are saved in the database. How can I make them so they cannot be changed? Software Development visual-basic | |
Hi, I just installed the latest version of Visual C++ from Microsoft on a windows XP system. I have used this program before, but this time, on my new install, when I try to compile, I'm getting an error, "c:\documents and settings\user\desktop\r\listdbl.cpp(1) : fatal error C1083: Cannot open include file: … Software Development c++ file-system open-source | |
can someone suggest me a good topic for major project. good if it is in .NET plzzzzzzzz Software Development vb.net | |
Hi, I don't know if this is possible. I have a data structure that is displayed in various tabbed panels in various forms(JList/JCheckList etc.). Some of these panels are able to manipulate the data structure. Is there a way to attach some sort of ActionListener to data structure so whatever … Software Development data-structure gui java | |
THis i sprobably a fairly simple question to answer, but i dont know much about writing in javascript. IM trying to design a webpage in which the h1 tag will dynamicly size so that it spans across the width of the page. I know this can't be done without javascript … Software Development java javascript | |
//this is my thread: public class threadMoveRight implements Runnable{ Storeroom sto = new Storeroom(); String url; Image image1; boolean flag; public threadMoveRight(String purl,Image pImage) { this.url = purl; this.image1 = pImage; } public void run() { searchData(); flag = true; } } //and after the user press on right he … Software Development java | |
As far as I know when a check box is check the value should be 1 and when it is not checked it should be 0 correct? In my case if I don't check the box its null and if I do its -1 Here is my code [code]Private Sub … Software Development visual-basic | |
Again, I don't know what I've done wrong. [code] #include <iostream> using std::cout; using std::endl; #include <cstring> using std::strcpy; using std::strcat; #include <cstdio> using std::sprintf; void destroyMultiCharArray(char * * anArray, int size) { for (int i = 0; i < size; i++) { delete [] anArray[ i ]; } delete … Software Development c | |
Hi im new to all this but need help. i have a program that runs in the terminal of redhat 9 "./signalp -t gram+ etc" and this produces an output file called output.txt i need a script that will run the command line automatically after the last one finishes and … Software Development redhat shell-scripting | |
HI Java people, Its great to finally find a forum where i can increase my experience of programming in Java and hopefully other programming languages. Am a student and playing with programs makes my day. Fustration is also a brother i know. I currently have an assignment which am working … Software Development java | |
I am getting this error in the second constructor for Class MailCarrier. mailcarrier.cpp(11) : error C2512: 'Employee' : no appropriate default constructor available I'm trying to incorporate composition and inheritance into my program. :idea:Any help would be appreciated:idea: [code] //MailCarrier.h #ifndef MAILCARRIER_H #define MAILCARRIER_H #include "Employee.h" #include <iostream> using std::cout; … Software Development c++ | |
Hi I’m getting compile errors in the following code: [code] void Driver::read_data() { ifstream infile("data", ios::in); string name, surname; while (infile >> surname) { infile >> name; Person temp(infile); temp.read_surname(infile); temp.read_name(infile); temp.read_phone(infile); temp.read_age(infile); temp.read_weight(infile); 87 person_map[surname][name] = temp; } } [/code] The errors tell me that 87 driver.cpp instantiated from … | |
Hi everyone. I’m having some problems:mad: debugging the following code: [code] typedef map<string, map<string, Person> > pclass; pclass::const_iterator i; map<string, Person>::const_iterator iter; pclass person_map; void Driver::add_record() { string surname, name, phone, age, weight; int new_age; double new_weight; cout << "Enter name: "; cin >> name; cout << "\nEnter surname: "; … Software Development c++ | |
I have inherited an Access 2000 database that has a text box where you click on a file path that is already entered there and it is suppose to bring up a Word or Adobe file. Sometimes the file will open and other times Adobe will open and the document … Software Development adobe flash microsoft visual-basic | |
[code] #include <iostream> using std::cout; using std::endl; #include <cstring> using std::strcpy; using std::strcat; #include <cstdio> using std::sprintf; int main() { char * lb = "(?:[a-z90](?:-?[a-z90]+)+)"; int lbLen = strlen(lb); char * sbFrmat = "(?:%s(?:\\.%s){0,4})"; int sbFrmatLen = strlen(sbFrmat); int sbLen = (lbLen * 2) + sbFrmatLen; char sb[sbLen+1]; sprintf(sb, sbFrmat, … Software Development c++ | |
hello there! lately i started learning assembly from a book that first gets you through many things about processors, memory, logical&physical addresses and many others... now, what i dont understand is: any element from a segment is available through an logical address that has two elements: a selector and an … Software Development assembly | |
Hi, I was wondering if anyone could help me. I'm constantly getting the following compiler message: 138 driver.cpp 'class pclass' has no member named 'surname' 138 driver.cpp 'class pclass' has no member named 'name' on the following lines: [code] 138 for (i = person[surname][name].begin(), i != person[surname][name].end(), ++i) { 139 … Software Development c++ | |
In my program I want to add records to the database and then reference them by a unique identifier such as a user id. Even if the user name is the same as another, The would be different IDs so I could pull data on the correct one. So my … Software Development visual-basic | |
I am writing a program to calculate my paycheck. I am including in this program two functions to calculate sickleave and vacation leave. I have a hireDate data member in the format of mm/dd/yyyy, how would I figure out length of employment to calculate aquired vacation and sick leave? I … Software Development c++ | |
I recently started a game for me and my friend to play while he's away at college. I just tested the connection with him, and the test failed. I'm able to connect to 127.0.0.1, and my own ip with ease, but when I try connecting to my friends, it just … Software Development visual-basic | |
any1 have any guidance with coding email attachments, like that in the email textbox, like underlined filenames so that when its clicked, it opens that file...using vb6. Software Development email visual-basic | |
I'm trying to use scansets to filter out out some textfiles. #include <stdio.h> int main( void) { int i; char str[ 80], str2[ 80]; scanf("%d %[abcdefg] %s", &i, str, str2); printf("%d %s %s", i, str, str2); getchar(); return 0; } When I input "123abcdtye" I expect the output to be … Software Development c | |
Hi, I was asked to go over this block of code and explain what it does. Let me know if this is correct, thank you! [COLOR=DarkGreen]It selects a random EXE file and checks if the first line has the 1234567 signature. If it does it goes to the Subroutine I-executable … Software Development c | |
i am trying to use a boost library [CODE]#include "boost/date_time/gregorian/gregorian.hpp"[/CODE] and my source file is in the same folder as boost. however, during compilation i get errors that directories that gregorian.hpp links to (boost/date_time/compiler_config.hpp) could not be found. i've checked that all the files that gregorian.hpp links to are in … Software Development c | |
SIr, I wanted to know the C Statement for adding two numbers without using + sign.. Anyone can help me to solve this..... ThanQ | |
[code]# include <iostream> # include <stdio.h> # include <conio.h> # include <dos.h> # include <string.h> # include <math.h> # define TRUE 1 # define FALSE 0 //if you can change to a class it can be better and faster struct member { int mid; char mainname_1[20],madd[30]; struct Read_Struct { int … Software Development c++ | |
[B][I][COLOR=Blue]if you run this code in c++ you get the following error at the underlined part is where the problem is : error C2143: syntax error : missing ';' before 'constant' : fatal error C1004: unexpected end of file found Error executing cl.exe.[/COLOR][/I][/B] [CODE] # include <iostream> # include <stdio.h> … Software Development c++ | |
I have a text box that will be populated by data, sometimes to long for the form and I wanted to add a vertical scroll bar to it, but I'm not sure how to link them together. I can place it on the form but it doesn't work the textbox. … Software Development visual-basic | |
Hi guys I am new to C++ and need urgent help with this part of my code for a uni coursework I have to submit by Thursday [code]//ClientData.h #ifndef CLIENTDATA_H #define CLIENTDATA_H #include <string> using std::string; class ClientData { public: // default ClientData constructor inline ClientData( int = 0, string … | |
C++ Code: [code] /* readmail.c */ #include <stdio.h> #include <stdlib.h> #include <windows.h> #include <windowsx.h> #include <mapi.h> #include <string.h> int readmail(); long err; LHANDLE lhSession; lpMapiMessage FAR *lppMessage; lpMapiMessage lpMessage; char szSeedMessageID[512]; char szMessageID[512]; char szTmp[4096]; char szTmp2[50]; LPSTR lpszSeedMessageID=&szSeedMessageID[0]; LPSTR lpszMessageID=&szMessageID[0]; int main() { readmail(); return(0); } int readmail() { … Software Development c++ | |
I am facing a problem with my project. I want to Update my database through DataGrid Object which is a tabular one right !. But, I want to control the number of empty rows that are available. But it has only one empty row that means i can enter only … Software Development visual-basic | |
Ok im learning how to do exponents in c++ and I get most of this, but I dont get what double means. I do however know what float is. in the deffenition of double from my compiler help it says "double - a double-precision floating point value." but i dont … Software Development c++ first-post | |
example , I put in the number [B]1.52[/B] then, in the dump, it looks like [B]31 2E 35 32[/B] (the ascii equivalent of '1','.''5',and '2') but I want it to be [B]3F C2 8F 5C [/B] so that I can start my calculator Thanks! Software Development assembly | |
with respect to network programming in java can anyone tell me what exactly a cookie is? please be elaborate. thank you very much Software Development java | |
Hi, [U]Here's what I've got:[/U] Visual Studio 2005 C# Application with form and a label on it (This is a simplified project ;) ) [U]Here's what I'd like to do:[/U] I want to change text on the label from the method I'll create. Looks simple... If I'll create a button … Software Development visual-studio |
The End.