64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for Peyton

Hi, I was given this class member function that overloads the == operator. I don't understand it. Please could you help me understand it? Here is the class [CODE]class Word { public: // constructor Word(const string& word); // overloads is-equal-to (or equivalence) operator - this is very useful for testing, …

Member Avatar for Peyton
0
149
Member Avatar for riseguim

Hi! So here's the deal: I have this style switcher which is awesome, therefore, the cookie does not seem to work, actually it simply doesn't. I'm sure someone can figure this out for me, that would save me! [CODE]<script type="text/javascript"> // *** TO BE CUSTOMISED *** var style_cookie_name = "style" …

Member Avatar for riseguim
0
146
Member Avatar for danuz

If you put a zero number between the entering numbers, it should stop and calculate the average just of entered numbers. Why it doesn't work? [CODE]static void Main(string[] args) { double num = 0, counter = 0; for (int i = 1; i <= 10; i++) { Console.Write("Enter the number:"); …

Member Avatar for danuz
0
211
Member Avatar for Muralidharan.E

[CODE]class Test{ static String str[]; public static void main(String args[]){ System.out.println("args "+args); System.out.println("str "+str); } }[/CODE] [U]Output[/U] args [Ljava.lang.String;@3e25a5 str null My doubt is ... How some object address is printing for args when it has not initialise. In case it has got initilised ,without array size specifiction how its …

Member Avatar for Zetlin
0
191
Member Avatar for megachip04

I am building a website that hosts and streams videos. I am currently testing the site on my own server. I would like to host it remotely once it is going live. I am looking for a good and reliable hosting service that provides necessary resources for online video. The …

Member Avatar for mschroeder
0
203
Member Avatar for Reverend Jim

I have a textbox control for which I want to fit twelve double spaced lines of text so that the textbox is optimally filled (as little whitespace at the end as possible). So far the best I have come up with is [code] Dim fh As Integer = txtCategories.Height \ …

0
99
Member Avatar for dwinn

Hello, I have developed a site in VB.Net and ASP.Net with a database backend that allows a user to enter a centre code and in return it retrieves all records from the datbase where the centre code matches the one provide in the text box. My list is appearing as …

Member Avatar for dwinn
0
343
Member Avatar for Pravinrasal

Process p = Runtime.getRuntime().exec("C:\\tc\\bin\\" + prog_name , null); BufferedReader stdError = new BufferedReader(new InputStreamReader(p.getInputStream())); System.out.println("Here is the standard op :\n"); s1=stdError.readLine(); i have this code can anyone tell me how to run c program using java thanks !

Member Avatar for NormR1
0
203
Member Avatar for Pravinrasal
Member Avatar for rotten69

Hey everyone, Just curious why my little program doesn't go through the if-statement I specified in it. [code] public static void main (String args[]){ Scanner sc = new Scanner(System.in); System.out.println("Enter a value for girls:"); int GIRLS = sc.nextInt(); System.out.println("Enter a value for boys:"); int BOYS = sc.nextInt(); if (BOYS == …

Member Avatar for NormR1
0
193
Member Avatar for Nahiyan

Hello, I wrote some code to make a table using HTML with <th> tags for displaying header in the first row followed by contents of mysql database. Due to while loop the header is displayed everytime the mysql_fetch_assoc fetches stuff from the database. However I want the header to be …

Member Avatar for Nahiyan
0
4K
Member Avatar for dennysimon

hi all I want to ask what wrong with my code. It gives me error : MySqlException unhandled Incorrect datetime value: '08/03/2011 00:00:00' for column 'Date' at row 1 the code is below: private void btnsave_Click(object sender, EventArgs e) { Thread.CurrentThread.CurrentCulture = new CultureInfo("", false); DateTime datedt = Convert.ToDateTime(tbdate.Text); Decimal …

Member Avatar for Ketsuekiame
0
154
Member Avatar for Kerlix

I'm using VS 2010 and I always get multiple error messages: '<<': no operator found which takes a left-hand operand of type 'std::string' (or there is no acceptable conversion). I get that for lines 36 and 52. Then I get "Intellisense: no operator "<<" matches these operands for lines 36 …

Member Avatar for Caligulaminus
0
312
Member Avatar for Pravinrasal

how todesign automatic grading system online using java i want to create one web application which creates online grading system for the students. which displays their grades,marks and ranking ...

Member Avatar for Majestics
0
161
Member Avatar for heshanm

Hi, I want to delete erroneous transactions and at the same time update my account table to be in line with the transaction table. account (account_number, name_with_initials, accoount_type,account_balance, account_interest) transaction (tran_id,account_number,transaction_type,transaction_amount,transaction_date) First i create a page to retrieve data from the tables and then need to delete the erroneous transaction. …

Member Avatar for diafol
0
101
Member Avatar for manish250

hi all, i have developed a web service(https based) client which is running on my 4 servers.i am facing a issue on a server like this. javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target while client on all other 3 server is …

0
162
Member Avatar for jacksantho

Hi, I am saving my excel file in my local directory. $objWriter->save("C:/test.xls"); How can i delete(only test.xls) this same excel file from my local directory using php. Please try to solve my problem. Thanks in advance.

Member Avatar for tech.biztech
0
128
Member Avatar for vinaysrk919
Member Avatar for hericles
0
86
Member Avatar for dennysimon

hello all suppose I have fill a datagridview (named it mydgv) ,Can I populate a dataset with the data from the content of mydgv ? if yes how thank you denny

Member Avatar for dennysimon
0
6K
Member Avatar for bizfreak22

Hey everyone, PHP and MYSQL newbie here.....can really use your help right now. I implemented a Submodal into my script, and finally got it to submit "User Notes" into the database. Unfortunately with each new submission, the text that is submitted overwrites the previous submission. I was told to use …

Member Avatar for urtrivedi
0
444
Member Avatar for Sorcher

Hello. I have no idea how, so i'll ask you. I need /s/index.php?i=123 to be /s/123 any direction or tips would be appreciated! cheers, Sorcher

Member Avatar for Sorcher
0
83
Member Avatar for sergent

Is there Linux functions equivalent to Windows functions [CODE] mouse_event(MOUSEEVENTF_LEFTDOWN,0,0,0,0); mouse_event(MOUSEEVENTF_LEFTUP,0,0,0,0); SetCursorPos(x,y); [/CODE] Specifically Ubuntu, GNOME. I tried to search on google, but did not find anything useful.

Member Avatar for L7Sqr
0
324
Member Avatar for newbie21

I have two lists: list1 and list2 listing a set of files. For each file in list1 if a corresponding file exists in list2, I want the script to print the columns of common files. EX: list1............data1 1aw7_AB.fit => 1 2 3 1bjw_AB.fit => 9 4 7 1biq_AB.fit => 8 …

Member Avatar for d5e5
0
259
Member Avatar for rayidi

Dear Friends, Am trying to builing a social networking site that user can post his update on profile text bat. Once we click on the share button the text field value will pass to the function of xmlHTTP request, but here is not passing a value. Please help me. I …

0
115
Member Avatar for anand01

Hi all , pls suggest me some good tutorials to learn complete j2ee .. Thanks in advance

Member Avatar for Ezzaral
0
85
Member Avatar for Kerlix

Basically, I want to create a countdown timer. Which isn't hard. It's all over the web. BUT I would like to know how and what I would need for, when the timer reaches zero, the code commands a relay to close, allowing voltage to flow to something. Also, presetting the …

Member Avatar for Kerlix
0
175
Member Avatar for Lerilaine

Hello, I have this huge problem. I'm supposed to make a LISP interpreter in C++ but I have absolutely no idea what the programm should look like. So far I have a parser, which splits input string into the list of smaller strings (words, brackets). Could anyone give me a …

Member Avatar for TrustyTony
0
386
Member Avatar for KadajXII

Hi all, I able to detect user current location on google map, but i need to show speed of user travelling. Any idea how to detect it? I can give u my code if u wan. Thanks.

Member Avatar for peter_budo
0
98
Member Avatar for danuz

Hello! Do anyone know optimal solution for [B]roman numerals to 100[/B]? I made a program just for numerals to 10, but I have no idea how to solve it to 100 optimally cuz if statements are not a very good solution. [CODE]static void Main(string[] args) { int number; bool checkValue; …

Member Avatar for stbuchok
0
176
Member Avatar for Thoronath

Hi. I wrote a calculator that calculates the given expression (eg, 2 +3 +4-3-1), it works only if you type expression and press ctrl-d, what i have to do to display the result after pressing enter Here's the code: [code] #include <stdio.h> int main() { printf("give expression \n"); char expression; …

Member Avatar for Thoronath
0
213
Member Avatar for bill_kearns

I am so stuck, I lost 2 days trying to figure this out and here I am! I have an online cart selling subscriptions and I want to offer customers the ability to subscribe and choose their own payment schedule by paying monthly, quarterly or annually. Further, I want to …

Member Avatar for bill_kearns
0
222
Member Avatar for Jsplinter

I am following this [URL="http://www.boost.org/doc/libs/1_37_0/libs/serialization/doc/index.html"]example [/URL]to serialize an object with boost. However, I keep getting the same compile error: error C2248: 'boost::scoped_ptr<T>::scoped_ptr' : cannot access private member declared in class 'boost::scoped_ptr<T>' Any idea why? [CODE]// Console2.cpp : Defines the entry point for the console application. #pragma once #include "stdafx.h" #include …

Member Avatar for mitrmkar
0
378
Member Avatar for arindam31

Regular Expression (RE) They can be used with string operations. Using this, we specify the rules for the set of possible strings that we want to match (Searching for patterns in another string). Note : its finds FIRST instance of that pattern We can also use REs to modify a …

Member Avatar for arindam31
-1
239
Member Avatar for Muhasin

I am using visual basic 6. I need to update my database table which i created for the form. I am using ADobc database. How can i update the database by using the coding?

Member Avatar for xtianenikkian
0
99
Member Avatar for MichaelFL

Just when I thought I was out of the woods on this application, I decided to block someone that simply clicks the Submit button without entering any data. I looked up the use for "if (empty($field) == TRUE" and i was pretty certain I had it right,. I still had …

Member Avatar for MichaelFL
0
370
Member Avatar for hmortensen

Hi, In my main wpf Window I instantiate a new wpf window at a click of a button, that collects a bunch of data. This data is stored in a class object (see below). Now when I try to pass this class to a backgroundworker I get the well-known “The …

Member Avatar for hmortensen
0
315
Member Avatar for vaanipala

I'm trying to populate the city select box based on the selected state (which is also a select box) using Ajax. When i select state, the city select box is not being populated. There are 5 models below: Student, MerryParent, MerryClass, State, City. All of them are related to one …

Member Avatar for vaanipala
0
518
Member Avatar for PinoyDev

Hi good day! I just want to know on how to center a new page window when click.. I have this java script below but it appears on top left. I want it to appear center of the screen on even in different resolution! [code=javascript] <a href="javascript:void(window.open('http://localhost/nonescostmpc/accnt_login.php','','width=350,height=220,left=0,top=0,resizable=no,menubar=no,location=no,status=no,scrollbars=no'))"> [/code] thank you!

Member Avatar for PinoyDev
0
115
Member Avatar for azegurb

hi all, I have built search form that it retrieves information from database. for ex: when i click axtar (search) button it retrieves normally but when i click ENTER button via keyboard instead of axtar (search) button but it only displays results with white blank page here is web page …

Member Avatar for Airshow
0
106
Member Avatar for faroukmuhammad

Hi guys, I was requested to makes a 3D house plan, which a user can be able to move about in, using the keyboard or mouse. Like in games. I'm relatively good in Carrara, VB and C++ but I'm new to game programming. :S I need your help on how …

Member Avatar for Victormarques
0
321
Member Avatar for come_again

Hello, I'm trying to access a value from an input form. I know this works without the onkeyup event but with it it says the that document.formname.elementid.value is undefined! Its extremely frustrating. As the user types into the input, I am using AJAX to generate some more options which works …

Member Avatar for Airshow
0
216
Member Avatar for Ichcha

i need help in adding $data into datatable data.setvalue where will be used to generate column chart. first column = x-axis while the rest of the columns = elements. thanks in advance. [CODE] <?php $result=mssql_fetch_array($row); // $result already in correct structure. $data = json_encode($result); ?> <html> <head> <script type="text/javascript" src="https://www.google.com/jsapi"></script> …

0
81
Member Avatar for Mahesh.

hey whenever i put the password it comes both in alphabets and numbers i.e we have to press the same key 2-3 times... bt i dont want it like that i only want the password in numbers. So,can you please help me out for that or can you please tell …

Member Avatar for Mahesh.
0
62
Member Avatar for epicrevolt

Alright, so I have been o this for quite sometime. I am building a Facebook application with Wordpress and have a question. I have the app integrated into my fanpage and that works fine. The only problem is, whenever a user clicks a page inside the iFrame, it should be …

0
83
Member Avatar for rotten69

Hello everyone, I have a book called "Java Genesis" and it has some files such as packages, projects and hints to enhance learning. So, I have set up a file structure in Eclipse and it shows that there are errors and warnings. When I tried running a Java Application using …

Member Avatar for rotten69
0
10K
Member Avatar for sneekula
Member Avatar for ppetree

Hi All! I'm apparently doing something very wrong here... I can't get my soap client to send the security certificate which a valid .pem file and because of that the subsequent calls are failing. What do I have to do to get the soap client to send the pem file? …

Member Avatar for ppetree
0
3K
Member Avatar for iamjess147

How would I increment Date with a value from a database. Example: Date + Database Field value (random values) (08/01/2011 + 5 = 08/06/2011) Thanks in advance.

Member Avatar for Mitja Bonca
0
146
Member Avatar for fingerpainting

Say I have a list of lists as follows (which I do): [CODE][['Value1', 'Value2', 'Value3'], ['Value1', 'Value2', 'Value3'], ['Value1', 'Value2', 'Value3'], ['Value1', 'Value2', 'Value3']][/CODE] What I want to accomplish is if in any list Value1 & Value2 equal the Value1 & Value2 of any other list, I want to merge …

Member Avatar for TrustyTony
0
654
Member Avatar for sadsdw

Hi friends, I'm having a problem to write a file and read the same file in sequence. The file size is 4 GB. I tried fstream for both and as second option ofstream and ifstream. I'm reading just the first 2 lines of the file. If I read those in …

Member Avatar for sadsdw
0
258

The End.