199,124 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for ambarisha.kn

Hi, I need some algorithms with syntax to work out logical operations using Standard template library(STLs). Please get me some examples of these or teach me regarding logical operations using STLs.

Member Avatar for ambarisha.kn
0
99
Member Avatar for heshan

Hi, I have written a web service and have deployed it using Apache Axis2. What I want to do is to invoke this service using a python script. Can anyone point me in the direction of how to do this. I will be grateful If anyone can give me a …

Member Avatar for heshan
0
597
Member Avatar for hamishrock

I am trying to create a sql statement like set @sql = 'select @stage1 = count(MY_ID) From VW_OPEN where ' + @filter and run it with exec (@sql) However this generates an error Must declare the variable '@stage1'. If I run statement select @stage1 = count(MY_ID) From VW_OPEN the var …

Member Avatar for hamishrock
0
172
Member Avatar for wellibedamned

okay, this one's supposed to take n numbers, ints/floats, sort them, spit them out... now i have my code, and it looks fine to me, i'm doing bubblesort while checking with a bool function is the first larger than the second string... if i use two numbers, it works fine …

Member Avatar for wellibedamned
0
211
Member Avatar for ganeshk

Hai All, i have just completed a course in learning VB.net and would like to do a small project using VB.net. It would be of great help if anyone could suggest a project. -Ganesh

Member Avatar for hollystyles
0
219
Member Avatar for jainendra.shah

hi frds. i want to get path of new created folder by save file dialog box. hope you will help me

Member Avatar for jainendra.shah
0
50
Member Avatar for SubProf

Hello, I have a textbox which I write data out to. I use "\n" to make sure that the next line of data is written on a new line. This works but I keep getting an unwanted character at the end of each line of data written. It looks like …

Member Avatar for SubProf
0
96
Member Avatar for heels

hi, this is a snippet of my codes, <td><a href="editFunction.php?ID=<?php echo $contact['ID']; ?>">update</a></td> after clicking "update", the ID will be passed to the editFunction.php page. editFunction.php [code=php]<?php //get variables from previous page $ID = $_GET['ID']; //sql statement to retrieve the commands $sql = "SELECT * FROM contacts WHERE ID LIKE …

Member Avatar for heels
0
89
Member Avatar for november_pooh

Get Specific data from datagrid. i mean when i select row on datagrid, program will return value in that row. Any Help will appreciated. thx

Member Avatar for Jx_Man
0
123
Member Avatar for ambarisha.kn

Hi, I want to replace the numbers which are less than 5 in a container. So i write a code as follows. But it is not working. Please get me the solution for this. Destination container should be V2 itself. Where we have to specify destination container. [code] replace_if(V2.begin(),V2.end(), //range …

Member Avatar for ambarisha.kn
0
107
Member Avatar for JeffN00B

I have a headache over this one. what i am trying to do is take the text from a multi-line textbox and put it into one line so i can put that into a file for another program to read one line at a time. is there some way to …

Member Avatar for dadelsen
0
236
Member Avatar for Arijit Manna

Hi :) Iam preparing a report on VB6. I wish to have my report printed in the DOS mode using a DotMatrix printer. How will I do it, since Iam not working on the command prompt. Is there any way to solve this issue? Are there any general rules irrespective …

Member Avatar for Arijit Manna
0
301
Member Avatar for camproject

I have a file dialog.i have filtered out the type of file i need.but how could i open the file in the application after selecting it?after clicking "open" in the dialog , i need to see the file.

Member Avatar for Nick Evan
0
330
Member Avatar for mhaskell

I need to write a query that will pull my products and price. However each of the products have multiple prices and I want the price with the most recent date. I have tried the following query but it doesn't work. Can someone assist me. I'm fairly new to sql …

Member Avatar for huangzhi
0
105
Member Avatar for Diode

Hi, I'm making a website for a friend who sells sports memorabilia and I'm using a LAMP setup. I am making a menu that utilizes AJAX. The menu consists of a SELECT tag, we'll call this SELECT1, where the user clicks it, it drops down a list of leagues such …

Member Avatar for Diode
0
159
Member Avatar for QuantNeeds

Hello, So my program (to calculate n factorial) works well, except for one thing, it won’t output correctly after 12. My other 2 projects working with factorials ( calculating the constant e and e^x) worked because I used data type long. I tried doing it with my program but it …

Member Avatar for Salem
0
123
Member Avatar for pukebag

Hi there, I have a mixed list containing strings, integers, strings with numbers both prefix and suffix and mixed case strings as follow: mixedlist = ["cake", 12, "cakecar", "cAKe", "orange", "apple", "1cake", "cake1"] I'm trying to filter the list for any element containing "cake" so I get a new list …

Member Avatar for vegaseat
0
148
Member Avatar for caribedude

Is this supposed to play on my computer? I can't get the PMIDI module to work. I can write a code and it doesn't show and error, but I can't hear anything. I'm sure the codes are well written(mostly because I've used examples from other places) so does anyone know …

Member Avatar for vegaseat
0
126
Member Avatar for VernonDozier

I'm pretty new to Visual C#. I have a class called Node and a [ICODE]List[/ICODE] of Nodes called children. The goal is to make a Node tree. Each Node except the root Node has exactly one parent. Each Node has 0 or more children. To that effect, as part of …

Member Avatar for VernonDozier
0
160
Member Avatar for merkuries

It's my revision question. Please help... Create a Class Employee. This class holds member variables: employee number and salary. It has an array of 4 employees and includes 4 employee number and salary. Has 2 member functions: Get() employee detail, namely number and salary Display() employee detail Create main() I'm …

Member Avatar for merkuries
0
172
Member Avatar for dr_kac

Hello! I would like to sort (by number) a file of data that looks like below: ABGH SDFDS 123 SDFS sDF 12 ... Can somebody help me? Thanks

Member Avatar for bvdet
0
139
Member Avatar for Alex Edwards

Correct me if I'm wrong but... Each time I declare an object without assigning it a value, I am instantiating it (so long as the valid constructors is called upon doing so--) like... [code=c++] Triangle tri1 (3, 4); [/code] and this object exists on the stackk but only for the …

Member Avatar for Alex Edwards
0
218
Member Avatar for hazmatt

I found some open source code written in C that does most of what I want for a project and am having some trouble making the modifications I need. I am hoping the solution will help me better understand pointers and memory allocation as well. The original code takes in …

Member Avatar for hazmatt
0
129
Member Avatar for Jihad

I have a form where there is image, at the first time it displays the defualt image,when the user uploads image, the new image appears. But when the user get out from this page and get in again and upload another image the same old image is still there. Its …

Member Avatar for Jihad
0
149
Member Avatar for beelzibub

[ICODE] ... am i right to think that the call in the main ( new Grid ...) sets up the board then the (new Che ...) calls to set up the men/pieces which it does (i hope) but it also encounters a setLayout(new Grid ...) which iverwrites all the (new …

Member Avatar for Alex Edwards
0
160
Member Avatar for dnalor

package packagePgmaLibrarySystemRolandgasparDizon; import javax.swing.SwingUtilities; import java.awt.BorderLayout; import javax.swing.JOptionPane; import javax.swing.JPanel; import javax.swing.JFrame; import java.awt.Dimension; import javax.swing.JLabel; import java.awt.Rectangle; import javax.swing.*; import java.awt.*; import javax.swing.JSlider; import java.awt.GridBagLayout; import javax.swing.border.SoftBevelBorder; import javax.swing.JScrollPane; import javax.swing.JTable; import java.awt.GridBagConstraints; import javax.swing.JButton; import javax.swing.BorderFactory; import javax.swing.border.EtchedBorder; import java.sql.*; import java.awt.event.*; import javax.swing.ImageIcon; import java.awt.SystemColor; import java.awt.Color; …

Member Avatar for masijade
0
174
Member Avatar for cheguashwini

Hello, I am new to proogramming and I need read the elements from two csv files into a 2 vectors and display the elements of vectors. The csv file is in the following fomat: 200, New york, -23.456, 23.455 201,Chicago,-34.5434,34.546 ..... ..... After that I have to perform string matching …

Member Avatar for VernonDozier
0
5K
Member Avatar for DustinS

I just started messing with Python, and was having a great time with entering Tkinter GUI commands into the Python shell (ActivePython 2.5). Its fun entering commands one at a time and seeing components appear real-time (instead of normal process of having to compile the whole thing first). Anyway, I …

Member Avatar for DustinS
0
7K
Member Avatar for lahom

hi i created an application in vc++/MFC now iam using ado to connect to the databaase but there is aproblem i couldnot find any solution for it ....pleeease help the problem is this error : [B]error C2146: syntax error : missing ';' before identifier 'm_pConn'[/B] while iam defining : [B]in …

Member Avatar for mitrmkar
0
354
Member Avatar for darklich13

I'm having a little trouble with one of my exceptions. The following code is just a simple division of two integers. I have built two exception to handle an InputMismatch and divide by zero. What I want to happen is when there is an exception, I want the program to …

Member Avatar for darklich13
0
257
Member Avatar for tanha

Hi. I know this is MySQl forum, but maybe some one help me through the below issue: I don't know which file I should download to install postgreSQL, could nayone please guide me which I should download ??? [URL="http://www.postgresql.org/ftp/source/v8.3.1/"]http://www.postgresql.org/ftp/source/v8.3.1/[/URL] I am using Windows OS.

Member Avatar for tanha
0
101
Member Avatar for Felipo

Hi Folks - I have been spending gays spinning my wheels on getting some form validation to work - I have text boxes and radio buttons on the form - The validaiton is written in Javascript It is an ASP web page - It seems that the Javascript validation code …

Member Avatar for Felipo
0
343
Member Avatar for marizion

recently i was reading a tutorial about the ole api and i think i managed to get through the whole tutorial but when i try to use some of the functions the tutorial uses like oleuninitialize then i get an error saying undefined reference i would like to know what …

Member Avatar for marizion
0
131
Member Avatar for jhartley3

[ICODE]def aquariumTicket(total = 0): age = input("What is your age?") if age < 3: price = 0 elif age >=3 and age <=12: price = 19.5 elif age >= 55: price = 21.5 elif age >12 and age <55: price = 26 print "Ticket price: $%.2f" % price others = …

Member Avatar for slate
0
107
Member Avatar for kux

I need some guidance in a little project. I want to make a Document/View project that opens some planing files. I want the view for this files to be something like an excel sheet so you can modify the values of some fields and then be able to call some …

Member Avatar for Ancient Dragon
0
298
Member Avatar for QuantNeeds

Hello, I am having the following problem with calling my function to return the salary it calculated depending on the switch statement. I don't understand the error: ": error C3861: 'getSalary': identifier not found" [code] double Salary::getSalary() { return salary; } void Salary::compute() { cout << "Enter the employee's paycode …

Member Avatar for QuantNeeds
0
157
Member Avatar for jhartley3

def divide(dividend, divisor): This function should return the calculated value of integer division of divisor by dividend. Calculate the solution by using subtraction recursively to divide the two numbers. You are not allowed to use the division operator for this problem. Explanation: note that 7 divided by 2 is 3 …

Member Avatar for slate
0
112
Member Avatar for Ghosh

Hi, I am new to JSP. I have created a index.jsp page in Netbean. When I uploaded the index.jsp in the server it dint run. Can any one please tell me what all I should upload into server for a jsp page to run? Thank you. ghosh

Member Avatar for Ghosh
0
91
Member Avatar for k_en

i can't understand what problem with the statement below. No error in sql statement and connection. Date dt; dt = (rs.getDate(1)==null?"":rs.getDate(1.trim());

Member Avatar for jwenting
0
105
Member Avatar for sasidharnet

Hello, this is sasidhar. I am going to attend an Inteview. He gave me a simple project using servlets. Inventory management. I am searching for procedure in net. If anyone gives Some useful information regarding this I am very thankful. If I submit this project almost I will get job. …

Member Avatar for javaAddict
0
280
Member Avatar for mariaczi_pl

I have this error : "no appropriate default constructor available " in Form1.h. Form1.h [code] #pragma once #include <time.h> #include <windows.h> ref class CCenter; namespace RCK { using namespace System; using namespace System::ComponentModel; using namespace System::Collections; using namespace System::Windows::Forms; using namespace System::Data; using namespace System::Drawing; /// <summary> /// Summary for …

Member Avatar for mariaczi_pl
0
192
Member Avatar for sameeha

hello i have just started learning c++ .But Im not able to get any good compiler for c++.Can anyone out there help me by suggesting me a good website from where i can download c++.

Member Avatar for m4design
0
119
Member Avatar for mrynit

I am trying to modify code for a usb thermometer prob for linux. I have the source code and the makefile used to compile. When i use make to compile, it will compile and work just fine no problem. I am trying to setup eclipse so i can modify the …

Member Avatar for jephthah
0
259
Member Avatar for Alex Edwards

The error is listed in the title and then commented in main (last comment). The program runs but once it encounters the bool expression I overloaded, it seems as if the program pauses. I have a feeling it's a stack overload due to the way my function operates, but I …

Member Avatar for Alex Edwards
0
85
Member Avatar for asda71

hii friends plz help me. i m new in VB. I hav a .bat file. i tried executing this file in VB6.0. bt i cant execute tht correctly.u\i tried using shell command Shell("D:\USB\MY FINAL PROJECT\RECOGNIZER\recognizer.bat", 1) i hav to run d .bat file and only aftr the execution of bat …

Member Avatar for selvaganapathy
0
93
Member Avatar for Kadence

I'm trying to use fstreams to read and write binary data to a file with the following code: [CODE]#include <fstream> #include <iostream> using namespace std; int main(){ ofstream out("test.data", ios::binary); for(uint i=0; i<10; i++){ uint outcount = i+100; out.write((char*)&outcount, sizeof(uint)); } ifstream in("test.data", ios::binary); for(int i=0; i<10; i++){ uint incount; …

Member Avatar for Ancient Dragon
0
84
Member Avatar for marcosjp

Hello! As a college assignment, I'm finishing a small applet that communicates with a MySQL database (through a Java server via RMI - all this is part of the assignment). It's doing all it should except for one thing: in one of the tabs I included a JTable that lists …

Member Avatar for jwenting
0
128
Member Avatar for sreddy_k

Hi All , I am new to this forum and Ajax technologies. let me introduce you first , my name is sam and working as a java developer. I am working in a project where i need to use Ajax . I have a Jsp which have 2 combo's in …

Member Avatar for jwenting
0
69
Member Avatar for warjas816

I'm trying to demonstrate various array operations, and have a couple of questions. I'm having problems with printing out the column and row totals. It only prints out the totals of the last row and last column. It also only prints out the lowest of row 1 and the highest …

Member Avatar for VernonDozier
0
138
Member Avatar for drichird

In VC++ 2008 Express, I open a new "Hello World" project (CLR Console Application). If I right-click the project in the solution explorer, and select "properties", I get a "... Property Pages" window which shows a line entry for: Configuration Properties / C,C++ / General / Additional Include Directories. It …

Member Avatar for Ancient Dragon
0
167

The End.