199,114 Archived Topics
Remove Filter ![]() | |
anyone knows what event can I fire when I edit the contents of a datagrid cell ? | |
I'm stuck because I recieve these errors when I try to compile - pim.cpp: In method `void PIM::search(class basic_string<char,string_char_traits<char>,__default_alloc_template<false,0> >)': pim.cpp:101: member `firstname' is a private member of class `Person' pim.cpp:101: member `lastname' is a private member of class `Person' pim.cpp:105: no matching function for call to `PIM::print (Person &)' … | |
Hi EveryBody,I m a newComer in this Site.....Very glads to join this Site.......It will give me opportunity to solve JAVA programmings easilly.....I have a problem in Java Exceptions and Threads.....Please help me on this Topic that make me Sure...... Again Thanks to all of U as joining me............ | |
#define ID_FILE_EXIT 40001 #define ID_FILE_OPEN 40002 And all other things like this which have these number .Which number i can use for my own ID 's ? And where i can find all of this? I try a MSND but it took me too much time so i ...? | |
plenty of examples on the net for I think pascal version .00000011 hehe I cant seem to get it to work properly. Better yet, a component to load binary files into a memo, listview, richedit, etc would be even better. Any ideas? Ive been looking into this for a few … | |
hi Dear Friend i an the new member. i have problem in the xml file. my idea for project write to xml file and read the xml file and display to many the textBox. could you help me.i want display each value to sprat textBox..i want only for the read | |
I have a mysql database with user input fields. Some of these varchar fields contain commas as part of the data. When I try to display these fields they are treated as arrays and display only the first "element". This occurs both with mysql_fetch_row() and mysql_fetch_array(). I'm chagrined I haven't … | |
Hello all, I am helping create a website. Over a particular Image I have, I want it to say the name of the link, ie Home. While I got my cool flash things working where the image changes colors on mouseover, I can not get the text of the link … | |
[code=c++] // Stopping input with an empty string #include <iostream> using namespace std; #include <cstring> int main() { int i = 1; char temp[80]; char string[80]; // room for 255 strings cout << "\n\nEnter some strings - (blank to exit)" << " \nfirst string: "; cin.getline(temp, 80); while (temp[0] != … | |
Hi, I am storing strings in '|' delimited format in a text file. Each new line represents a new record. for instance [CODE]|Name|Age|Favcolour| |Name2|Age2|Favcolour2|[/CODE] I'm using a string vector to hold the tokens as they're pulled from the ifstream, However if one of the fields has not been filled in … | |
I am looking to make a small program that will cut down the repetetive need to insert BB tags in to achievements lists on a site I work for. So far I have got the algorithm sucessfully reading the first line of the file, and outputting it using cout. The … | |
Hi, I am new in java. I have a question for which I am not getting suitable answer. My question is that why vector is called synchronised? Can anybody please clarify me why vector is synchronised? | |
[B][/B] Hello everyone, I'm not sure if this is the right place to ask this question. If not, could someone please direct me to the correct forum. Here is my problem: [B]This is a CPU scheduling math calculations:[/B] The following is a set of processes with the length of CPU … | |
So for some reason I can't seem to set the background color of a JTabbedPane. This code: [code] metaTabPane = new JTabbedPane(); metaTabPane.setOpaque(true); metaTabPane.setBackground(Color.green); [/code] does nothing. The JTabbedPane stays the same grayish-blue default color. What am I doing wrong? | |
modularize program code by using functions. You will produce two solutions: a) using global access functions, and b) using classes and member functions. a) Using Access Functions Write five Invoice access functions: setInvoice(), computeAmount(), getAmount(), printData() and a global client function computeAmount(). Function setInvoice() has five parameters of types Invoice, … | |
i want to calculate the exact run time of my program in [B]seconds[/B]....i used [B]clock() function of time.h library...[/B] what i did is that i made two [B]clock_t [/B]type objects... initialized one of them in the start of main() function and the other in the end.. and calculated the difference..as … | |
Hello folks! I have just joined this forum. This is actually my first Thread on the internet and need help with using STL sort function. I searched the forum but no related answer was found. Okay...here's my code; [CODE] #include<iostream> #include<vector> #include<algorithm> using namespace std; struct MyStruct{ int array[10]; }; … | |
HI I want to submit csv file data into mysql using php. One of the fields contain data : date with format (dd-mm-yyy). I want to store the data in mysql with date format (yyy-mm-dd). pls tell me how 2 do. pls help me Thanks. bye | |
hi all, can anyone help for my problem. is it possible to get iframe id like case below? index.html <iframe id="iframeid" src="checkid.html"></iframe> checkid.html <script>alert([iframeid]);</script> advance thanks. sumiko | |
Hi.. I m working on Windows-Xp and building my project on Dev-cpp. The program compiles properly and i have also included the required dll file in the same folder of exe but when while running this application from command prompt it gives me following error message :- "[B]This application has … | |
I'm clueless as to how to fix the errors in this contact information manager program. please help. Thanks in advanced [code=cplusplus] #include <iostream> #include <string> #include <fstream> using namespace std; struct Date { int month, day, year; }; struct Address { string street, city, state, zipcode; }; class Person { … | |
hi im having problem in retreiving data in text box in C# web form.i have a combobox and a textbox.i have successfully populated combobox with data from SQL table.there are 2 tables namely employee and worker.combobox is populated with employeee data and when i select an employee it shows relevant … | |
hi i want to know how to deploy servlets on websphere community edition2 | |
Hello DBA, Can any one help me this? The table TEST contains CNAME CNO EXTRA ------------------------------ ---------- ---------- bijaya 645896 mantri 525896 mantri12 525126 testing for null My requirement is to find the column which contains all the rows null(null column) I have created the following procedure to accomplish this … | |
hello there, i have been having some problems with dev c++. It just cant seem to compile my code. It says source file not compiled when i try to run the "compiled" program. Its like this;- i write my code (simple code stil beginner lol) and i go compile it … | |
Hi to all, Function Information Minimum DLL Version user32.dll Header Declared in Winuser.h, include Windows.h Import library User32.lib Minimum operating systems Windows 95, Windows NT 3.1 How to use user32.dll in Dev-C++? Where to find User32.lib ? I tryed in C:\windows\and Dev-C++. Where is the diffrence in Header betwen Declared … | |
hi i am a fresher i want to learn j2me. just i started with hello world program but am getting an error that is java.lang.classNotFoundException. so please someone help me to come out from this error. regards Deepu G | |
This is a relatively simple program but for some reason, I can't compile it. I'm pretty sure the code is correct and working. My compiler keeps saying that it cannot find a constructor matching a HourlyWorker constructor when I instantiate a HourlyWorker object. I've checked and rechecked the code (in … | |
Hi, I am trying to find the header file monetary.h and the function strfmon() to do some currency conversions, but Visual Studio 2005 compiler doesn't seem to support those. Does anyone know if there is an alternative function I can use ? Thanks a lot. | |
The Java book I'm using ([i]Java Programming[/i] by Joyce Farrel, Thompson Course Technology), when explaining how to add components to an applet, uses the following code: [code=Java]import javax.swing.*; import java.awt.*; public class JHello extends JApplet { Container con = getContentPane(); JLabel greeting = new JLabel("Hello. Who are you?"); public void … | |
im trying to sort my random numbers to odd numbers and even numbers,, the last part of my code is really wrong.....(the sorting part) [code] my code: #include<time.h> int main() { int num[50]; int x,odd,even; srand(time(NULL)); for(x=0; x<50; x++) { num[x] = (rand()%60)+40; } for(x = 49; x>-1; x--) { … | |
Can someone tell me what value would each of the line of code will have, when you go through this code: Here is the full code: server.conf: [CODE]interface=192.168.0.2; log=/var/log/example; [/CODE] example.c: [CODE=c] conf_fd=open("/etc/example/server.conf",O_RDONLY); read(conf_fd,conf,100); close(conf_fd); /* Get server IP */ buffer=strtok(conf,";"); buffer1=strtok(NULL,";"); strtok(buffer,"="); server=strtok(NULL,"="); server_ip=inet_addr(server);[/CODE] What is the value at … | |
we know that a class will compile if no catch along with try but have finally but what happens if there is an arithmetic exception in the try block???? | |
Hi, I need some information regarding the APIs to use, to get the drive letter, if I know the label of that drive. For eg, my hard disk has been partitioned into 3 drives, C:, D:, E:. The labels (label1, label2, label3 )for these drives have been assigned dynamically. I … | |
hi all, I have 2 Admin pages 'Add Coupons.aspx' and 'Add Products.aspx' in the following directory:- F:/billadelphia/[B]Admin[/B]/Add Coupons.aspx F:/billadelphia/[B]Admin[/B]/Add Products.aspx Both the above pages are using a master page. In the Master page Iam using a Stylesheet for applying design template to all pages. In the master page images is … | |
Hi, I'm getting the error msg, "non-static can't be referenced from a static context", on my Readfile... what is the simplest way of fixing it? Thanks. import java.util.Date; import java.util.Calendar; import java.text.SimpleDateFormat; import javax.mail.*; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; public class Bulkloademail { public static void main(String[] args) { … | |
In a function can we pass void string(null) if the method is overloaded??? | |
Hi, is there any website have a lots of sample code and eg. to download. I'm quite new to JAVA cos no sticky threads for this. & also how can I do a simple buttongroup with captions? | |
[B][U]Good day to all programmers there!!!!,[/U][/B] [COLOR="Red"][U]please help me to my assignment, I need it tommorow! I want a program that [/U][/COLOR] [COLOR="Green"][B]1.input the name of student, 2.input his/her grades 3. display its grade rate 4. display if it is perfect, pased or failed[/B][/COLOR] :) | |
Hello everyone, I was wondering what a good book to start learning Java would be. I know a little about programming like variables, function, etc. , but not object-oriented stuff. I was thinking of buying Learning Java, 3rd Edition, but I'm not sure. What do you think is the best … | |
Hey I'm a php beginner and I'm having some problems with the website I'm testing with. I'll show you first the relevant code. index.php: [code=php] <?php include "stdlib.php"; $page = new Page(); $page->title = "Index"; $page->printHeader(); ?> <style type="text/css"> div.container { width:100%; margin:0px; border:1px solid gray; } div.left { width:100px; … | |
hello, I am designing a web site using ASP.Net over VB , and I need to have user login window, I 've had it from the control and the users specified from the ASP.net configuration but : I wonder if I can bind users from a table containing usernames and … | |
hi all, i want to make error handling but a complete ones. i was done with exception (ex) but i need a little bit more like error line,error number or other. does any one know how to do this? thx. best regards. | |
[CODE] // War Game made by Jeremy Wayman #include <iostream> #include <cstdlib> #include <ctime> #include <fstream> #include <string> using namespace std; int cardValue[13] = {1,2,3,4,5,6,7,8,9,10,11,12,13}; // Declaring first array string cardType[4]; // Declaring second array ifstream inFile; // Declaring a reading inFile void displayRules(); // Declaring function displayRules bool winner(int … | |
In my program I am using the do-while loop to go through program.. my question is how do I loop the program without the do-while loop... rather that when the user enters menu number 0, it quits the program... Teacher uses a script to grade the programs and on hsi … | |
I'm trying to get the program to loop back to the friends array and re-compare the two user inputs again and keep doing it until the 2nd input is the same as the first. We haven't covered this yet in my class but could someone help me to find this … | |
i have project to do a html parser . the html parser will read all table ( between <tr> and <td> tags) in a url address which is given the program. then the parser convert all the data which is read from tables to xml and sql . i m … | |
ok, so I have been working all day on this program and I am kinda stuck. The goal is to have a user input several words, then (ignoring case) alphabetize them (using [ICODE]qsort()[/ICODE] only) and count how many times each word was used. This is what I've got so far: … | |
i have an array which contains third level pointers : [CODE]char * arrP1 [ ] = { "father", "mother", NULL}, * arrP2 [ ] = { "sister", "brother", "grandfather", NULL }, * arrP3 [ ] = { "grandmother", NULL}, * arrP4 [ ] = { "uncle", "aunt", NULL }; char … |
The End.