199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for JenniLei

Hello, my first time on these forums, but im sure it will not be the last. I am doing my dissertation for computer science and my project is based on the classic time tabling problem using constraint satisfaction. My question is does anyone have any information or links on where …

Member Avatar for JenniLei
0
119
Member Avatar for oku

Hello everyone, Well i've just searched the forum to see if my question has been answered prioer to posting, but seem to find the answer. Well basicly i've created a script to help me monitor and maintain the domain names my company owns (1000's) I've virtually finished it but i …

Member Avatar for CademiaX
0
3K
Member Avatar for tortoiseman

Hi everybody, I am new to Java, and can't figure out why my program is not recognizing the class Picture. The program compiles, but when I run it, it gives an error: Exception in thread "main" java.lang.NoClassDefFoundError: Picture at NewtonReal.main(NewtonReal.java:55) Please note that to run NewtonReal, you must include three …

Member Avatar for tortoiseman
0
121
Member Avatar for stevejhon

Hello I had problem I want to delete row from my datatable through asp:linkbutton. How can I do this. I had the following code, but it adds another row to the table protected void delCart(object s, DataTableNewRowEventArgs e) { dt = (DataTable)Session["Cart"]; dt.Rows[e.Item.ItemIndex].Delete(); //dt.Rows(e.Item.ItemIndex).Delete(); int CartItem = (int)Session["cartItem"]; CartItem = …

Member Avatar for zezo
0
117
Member Avatar for threebluIdboys

Someone please enlighten me. I am just beginning to experiment with mysql and php on websites. I just took over a new site that had an exsisting sql file. I need to add a new table to the database and can not figure out how. If I just open the …

Member Avatar for threebluIdboys
0
116
Member Avatar for PRob99

int x=10; int total=10; do { total += x++; }while(x<15); System.out.println(x); The output of this program will be 15. I don't understand why 15 is the answer. I'm not understanding the arithmetic here. Doesn't the "+=" mean total = total + x? And doesn't x++ mean that the next value …

Member Avatar for ~s.o.s~
0
77
Member Avatar for mufliha

hello everyone, i want to capture web cam photos in c# application.Can any one plzzz give me the code to implement it. thanku

Member Avatar for Elmo_loves_you
0
168
Member Avatar for k2k

it looks like case 1, reading the data from a text doc is doing what it supposed to do (coz if i put the output lines under case 1 it works) however case2 doesn't have anything in the nameBox[] .. it didn't get the array index from case 1... any …

Member Avatar for javaAddict
0
188
Member Avatar for mailtosridar
Member Avatar for corteplaneta

Hello everyone, I'm new here and have a question for you! I was working on a very complex macro in VBA using Outlook 2007's macro editor, but then realized the project is more suited for a standalone executable. Feeling working on this in VB6 was too outdated, I switched over …

Member Avatar for corteplaneta
0
252
Member Avatar for minwei86

Hello, This is my program here...I want to make it read from a textfile and displayed in this way Number : 1 Roman Numeral : I Number : 2 Roman Numeral : II My textfile is in this form: 1 2 but i still unable to solve it...is something to …

Member Avatar for mcriscolo
0
102
Member Avatar for RuneMan

Here's the situation - Im making a website for a game server in which a user can make 1 account. and in 1 account he can make 3 characters. We maintain two tables one for accounts and one for characters. The three characters which can be made is recognized by …

Member Avatar for RuneMan
0
97
Member Avatar for sbv

Hi i am importing a excel sheets using vb.net. my code is dependent on column sequence. but its as per user need the sequence is chaning again and again. For that i need to change my code ( which is huge ) need to change. :( plz help.

Member Avatar for bruce2424
0
184
Member Avatar for creativehacker

Is there any way to disable saveas option in IE browser I found a site where they disabled saveAs in IE [url]www.totaram.com[/url] how did they actually do that can this be done using javascript...or any other mechanism I want saveas to be disabled when users see my site in IE

Member Avatar for zezo
0
128
Member Avatar for Kamal_Java

Hi , I have a stl list which stores my base class pointer .Like [CODE]list<BaseClass*> eBList;[/CODE] now i want to iterate through this list and store it in one local variable. how do i do this. i have shown below the code i tried .... But at one part it …

Member Avatar for Aashath
0
162
Member Avatar for Dontais

I'm probably just confusing myself, but what the basic idea is I put in a grade and it outputs if the grade is an f, c, d ... etc. It allows me to enter a number and after I enter it it will continue to show F! repetitively. After this …

Member Avatar for Dontais
0
113
Member Avatar for kvdd

Hello, I am a bit a loser with JavaScript, but I found the following code to auto scroll a multiple select box to the last selected item. [CODE]Function autoscroll() { var lst = From1.Listbox1 if ((lst.multiple==true) && (lst.length>0)) { if (lst[lst.length-1].selected==true) { lst[lst.length-1].selected=true; return; } else { lst[lst.length-1].selected=true; lst[lst.length-1].selected=false; } …

Member Avatar for kvdd
0
2K
Member Avatar for koushal.vv

How to add keyboard shortcuts to Menu in an SDI application? Some of the things that i have tried is : say Context menu has a sub menu called Menu1 , i have mentioned it as &Menu1 which makes Ctrl + M as keyboard short cut for it [ but …

Member Avatar for jencas
0
165
Member Avatar for Kezoor

Hello everyone ! I am a still a beginner in Python (and have no knowledge in other languages), and today I got a reaction from my script that I find unexpected. Here's the code: I want to use the buildOneCard function to create a card (a couple of values), by …

Member Avatar for Kezoor
0
182
Member Avatar for Zolookas

Hi, I have a question. Is it possible to copy all contents from record to typed pointer which has same items? Example here: [CODE=pascal]program linked_list_queue; type queue = ^myrecord; myrecord = record data: integer; otherdata: string; datadatadata: char; next: queue; end; const head = nil; tail = nil; procedure add(argument: …

Member Avatar for pritaeas
0
153
Member Avatar for VbRider

help plzzz... Specified cast is not valid If Not IsPostBack Then Dim LastPage As LoginForm ===> LastPage = CType (Context.Handler, LoginForm) <=== txtID.Text = LastPage.Value End If how to solve this problem??

Member Avatar for VbRider
0
115
Member Avatar for grisha83

Hello everyone I am trying to do this assignment in the book: Write a program that reads four words (as character strings) and display them in increasing and decreasing alphabetical sequence. I have done the 1st (easy) part but not sure how to go about displaying words in alphabetical order. …

Member Avatar for grisha83
0
138
Member Avatar for Katherine692008

I am trying to do this problem: Create a “hit counter” for your home page i.e., exam1.php. There is a file in the exam folder called COUNTER.TXT that contains the number zero. Your PHP page should do the following steps: 1. Read the counter file 2. Add one to the …

Member Avatar for Katherine692008
0
139
Member Avatar for PRob99

The following is a question from my teacher along with the correct answer: public class IfTest { public static void main (String args[]) { if (true) if (false) System.out.println("a"); else System.out.println("b"); } } The code will compile correctly and display the letter b when run. I have to explain why …

Member Avatar for chan95
0
104
Member Avatar for it2051229

I'm looking for the header file of shm.h , although i've seen some on the web but when i use it the prototype methods are not implemented.... where can i download the full shm.h?

Member Avatar for Salem
0
118
Member Avatar for PaladinHammer

[CODE]#include <iostream> #include <fstream> #include <string> #include <iomanip> using namespace std; int main () { ifstream fin("program4.txt"); ofstream fout("output4.txt"); string lastName; string firstName; string fournumbers; if(fin.fail()) { cerr << "Unable to open input file\n"; exit(2); } if(fout.fail()) { cerr << "Unable to open output file\n"; exit(3); } while (fin >> …

Member Avatar for stilllearning
0
142
Member Avatar for Ellisande

To pass an ifstream type as an argument for a function? [code]bool initGame(Game &game, int argc, char *argv[]){ ifstream board(argv[1]); // <------------------- This part ifstream deck(argv[2]); int numPlayers= atoi(argv[3]); int numRounds= atoi(argv[4]); if (board.fail() || deck.fail() || numPlayers==0 || MAXPLAYERS < numPlayers || numRounds < 1 || numRounds > 1000 …

Member Avatar for Ellisande
0
191
Member Avatar for Stella01

why we use different libararies in C can some one PM me all Libararies ?

Member Avatar for Dave Sinkula
0
100
Member Avatar for jaasaria

hi guyzz.. i wanted to make a code to change my system unit date and time using vbcode. i have a small idea, to run a command prompt but i don't no how to make it so. any possible idea well be appreciated.

Member Avatar for loveknights07
0
105
Member Avatar for murderotica

Is it possible? What would be the classes to use to implement it? I'm just fascinated with steganography. :)

Member Avatar for murderotica
0
178
Member Avatar for jie83

i already create two button at the runtime already but i don't know how to create the arrow pointing to the children.. n when i click at the children other button create again is just like a family tree..anyone one pls reply asap thax alot people out there=) [code=cplusplus] using …

Member Avatar for Ancient Dragon
0
151
Member Avatar for abu taher

I have a datagrid to show data from backend access file. when I click a button it was show. I want I click on a data and it will show in a text box of other form. anybody can help me.

Member Avatar for AUGXIS
0
96
Member Avatar for unk45

so ive created a function that replaces all user input characters in a string with another specific user input character..the next task is to create a func that replaces a particular part of the string with a substring and ive got something down but i cant really test it becuz …

Member Avatar for mcriscolo
0
94
Member Avatar for shwick

Running ubuntu 8.04 I built this off of the tripwire daily cron script. I'm trying to check the number of violations. There's a problem when $tripResult is instantiated with the tripwire report- it doesn't have any newline characters. This causes grep to not get the line with the number of …

Member Avatar for shwick
0
137
Member Avatar for MDGM

Hi, Im making a 5 star rating system but half the time it has the complete wrong result. I have gone over and over the script and checked the sums with a calculator and it is still doing something wierd. Sometimes when I rate it above it's current rating it …

Member Avatar for MDGM
0
163
Member Avatar for Jennifer84

How is it possible to get a menu where you rightclick on the Form ? I am not sure if this is the contextmenu. I tried to add this to the Form and also some components to it but that did however not work.

Member Avatar for Jennifer84
0
117
Member Avatar for Aamp88

hey everyone. i'm fairly new to programming and right now i'm taking a clss where i have no idea what is going on but anyway if someone can help me write a small simple code for a small simple program where i hav to use transducer i can paypal you. …

Member Avatar for William Hemsworth
0
141
Member Avatar for Niner710

If I have a bunch of structures defined within a class header file but outside the scope of the class how would I set a SETTER function to change the values. [code] struct VoltageValues { float Vcc; int TblkLoopEnb; double Blah; }; class TblkArray { public: TblkArray(); ~TblkArray(); struct VoltageValues …

Member Avatar for mcriscolo
0
157
Member Avatar for Niner710

Hi, I am new to C++ and trying to write a function that returns a pointer to a structure. I have a header file as follows. [code=cplusplus] class Blah { public: struct Values *getValues(); struct Values { int A; int B double C; } } My class file is as …

Member Avatar for ArkM
0
129
Member Avatar for joed13k1941

I wrote the following program with the instructions in the top comments: ( I am using visual studio on vista) [code=cplusplus] #include <iostream> using namespace std; int main() { int num1, num2; int total = 0; cout << "Please enter an integer between 0 and 100: "; cin >> num1; …

Member Avatar for joed13k1941
0
233
Member Avatar for Tekito

Most of my Visual Basic 6 experience comes from VBA with Excel. With VBExcel, you can run any procedure (if it does not require input parameters) by simply putting your cursor in the sub and clicking the "play button" (F5) . With full VB6, the same action will not just …

Member Avatar for Tekito
0
173
Member Avatar for onemanclapping

Hi, I'm doing a program that has a class called Liga. That class has a vector with 'Equipa's. Liga has a vector called 'pessoas' which I want to access inside a function in each Equipa, is this possible? for example: Liga.h [CODE]... vector<Pessoa*> pessoas; ...[/CODE] Equipa.cpp [CODE]... void Equipa::mostraStaff() { …

Member Avatar for onemanclapping
0
115
Member Avatar for jared_masc

Hi, iam writing a pig latin program with 3 different methods i dont knw understand the error that iam gettin in the code here's the code: [code=c] #include <stdio.h> /*Include the standard I/0 header file */ #include <string.h> /*Include the standard I/0 header file string library */ //The functions that …

Member Avatar for stilllearning
0
248
Member Avatar for scotchfx

If in a class method I pass in a list: std::list< regmatch_t* >& pm_list; and dynamically allocate memory for an array (of type regmatch_t) which is then added to the list as a pointer: regmatch_t* pm = new regmatch_t[ num_subexpressions ]; pm_list.push_back( pm ); will the list destructor automatically deallocate …

Member Avatar for Narue
0
132
Member Avatar for manzoor
Member Avatar for e_agam
0
81
Member Avatar for transplantedNYr

I have to take the following code and make it tail recursive. I am not looking for the answer, but how to find the answer. How to work through this to understand what I need to do. Our hint is that we can change the parmeters of the function, like …

Member Avatar for transplantedNYr
0
97
Member Avatar for bk1985

Please help me on designing an ER for the following scenarios.. * Guest do a hotel reservation * Handling the billing part for the activities that the guest does during his\her stay @the hotel Your help will be greatly appreciated, if anyone can help me...

Member Avatar for timothybard
0
132
Member Avatar for DemonGal711

FIXED - I'm getting a parse error somewhere in this section of code before the else and I can't see it. Please help someone. [B]NEED HELP HERE -[/B] Okay, I'm apparently getting a parse error somewhere in this code. Any help? All the errors are listed as "Parse error before …

Member Avatar for stilllearning
0
550
Member Avatar for En-Motion

i need to get a printout of a c program running using dos-redirection. Does anyone know how i can redirect the output to a texfile so i can print it?

Member Avatar for ahamed101
0
298
Member Avatar for the_lumin8or

Hey everyone! I'm trying to figure out the last step in completing this application. It compiles fine, I just can't seem to get the right answers! It's something to do with differentiating the two switch statements when calculating the results...between "car_type" and "ins_option". I'm a beginner so I'm not too …

Member Avatar for LizR
0
291

The End.