199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for mkmk123

i have list. [CODE]Here is list 1 http://example.com/link1.html http://example.com/link2.html http://example.com/link3.html http://example.com/link4.html +++++++ Funny and Funny Sad and Sad [/CODE] [CODE]Here Is list 2 http://candy.com/link1.html http://candy.com/link2.html http://candy.comlink3.html http://candy.com/link4.html[/CODE] Append list2 into list1 we have result: [CODE]Here is list 1 http://example.com/link1.html http://example.com/link2.html http://example.com/link3.html http://example.com/link4.html Here Is list 2 http://candy.com/link1.html http://candy.com/link2.html http://candy.comlink3.html http://candy.com/link4.html …

Member Avatar for mkmk123
0
274
Member Avatar for shamsidah

hello.. i have a table name [B]paintshop[/B] and have 4 fields for example [U][B]table:paintshop[/B][/U] bodyNo | defect_code | qty | date 58786859 | FM | 9 | 2011-11-29 58786859 | BB | 1 | 2011-11-29 58786859 | TN | 4 | 2011-11-29 58786860 | RN | 7 | 2011-11-29 58786851 …

Member Avatar for shamsidah
0
87
Member Avatar for M.Waqas Aslam

Hi ! i m working on asp.net project and using c# for it , i want to place my delete button on the right most of the gridview , by default button is placed at left side of the grid , can any one please help me . as i …

Member Avatar for M.Waqas Aslam
0
126
Member Avatar for b-one

Hello, I have formatted an invoice and saved it in a text file. In my text file i used TAB after every field, but when I am trying to print that text file using streamreader all tabs are disappeared. Can you please tell me how to retain the TABs while …

Member Avatar for b-one
0
211
Member Avatar for dsoto

My project is to write a Temperature class. In addition to converting between Celsius and Fahrenheit also include Kelvin. The class has read(), add(Temperature), subtract(Temperature), multiply(Temperature), divide(double), equals(Temperature), toKelvin(), toFahrenheit(), toCelsius(), and toString() methods. Methods add, subtract, multiply, and divide all return a Temperature. [CODE] public class Temperature { public …

Member Avatar for dsoto
0
173
Member Avatar for krejar

Ok, I have absolutely no idea what is going on for my compiler errors. I am not worried about the last part where I have to put in the letter code. I am just trying to figure out how to make this compile correctly for line 43 to work. I …

Member Avatar for krejar
0
771
Member Avatar for calebcook

Does anyone know of a way to encrypt a string and output it as x number of characters? I need it to always return the same number of characters. I know MD5 always returns it as 32 characters. I'd like for it to return less that that, maybe 20 or …

Member Avatar for skraps
0
189
Member Avatar for TechSupportGeek

Hello, I'm not quite sure this is the right forum to post this kind of stuff to but I'll ask anyway. So, what the title says, is there any implementation of the Logo programming language that targets the .NET Framework? By that I mean I want to be able to …

Member Avatar for Rashakil Fol
0
127
Member Avatar for YAMNA MIDHAT

Can any one please tell me that why turbo c is not supported by windows 7?:?:

Member Avatar for YAMNA MIDHAT
0
165
Member Avatar for fender

i need help with my code here is what I have import java.util.*; public class Payments { private double myLoan; private double myInterest; private double myPayment; public void Payments() { Scanner pay = new Scanner(System.in); System.out.print("Principal Loan = $"); myLoan = pay.nextDouble(); System.out.print("Annual Interest Rate(%) = "); myInterest = pay.nextDouble(); …

Member Avatar for zeroliken
0
699
Member Avatar for terence193

This is the problem I have Read in 10 numbers, 10<numbers<100. As each number is read, print it only if it is not a duplicate of a number already read. I did the first part but couldn't work out the second,where the duplicate is used. I have some idea in …

Member Avatar for zeroliken
0
112
Member Avatar for minonfbf

Can someone show me how to change the cases down below to call functions for add, subtract, divide, multiply. Also return the answer back to the case to display the result in the case. Prototype the functions before main and add the function definitions after main. [CODE]#include "stdafx.h" #include <iostream> …

Member Avatar for thines01
0
110
Member Avatar for khizer03

i am a beginner, how to authenticate username and password to the database i hope i'll be responded soon

Member Avatar for Reverend Jim
0
293
Member Avatar for 650U

Hi, I am working on client authentication(in a sample JSP application) using certificates. I have written a code to extract the client information from the client certificate. Now I wanted to use certificate's serial number to identify the particular use from the database. I extract the serial number using [CODE]<%= …

0
195
Member Avatar for Thug_life

Hi , i wrote this program i am having problem its giving me error whenever i hit case 1 can any1 give me a suggestion what i am doing wrong [CODE] #include <iostream> using namespace std; #include <string> int main() { int y; int x; int ur_choice = 0; int …

Member Avatar for thines01
0
182
Member Avatar for maverick420

The below program works fine, but I want to add data exception using try and catch, can anyone please help how and form where I can start it? [CODE]import java.util.Scanner; public class ElseElseIf { public static void main(String[] args) { int number1,number2,number3,number4,number5; int largest, smallest; int twoDigitNumbers = 0; int …

Member Avatar for stultuske
0
150
Member Avatar for kentuckyjoe

I have a an inherited form that has a panel control on it. I want to paste other controls onto this panel but the paste option is grayed out and won't let me do it. I made sure that the template form did not lock the panel. I'm stymied from …

Member Avatar for kentuckyjoe
0
120
Member Avatar for amie900218

hai, can somebody help me, how to change root password for mysql in CPANEL? i tried to put my website online, but it send message : Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'root'@'localhost' (using password: YES) in /home/akmajuco/public_html/_class/cms_class.php on line 9 Access denied for user 'root'@'localhost' (using password: YES) …

Member Avatar for amie900218
0
252
Member Avatar for Kayy

Hello everyone, I've been coding small demos to improve my programming skills, and I've run into a problem getting indices of list items which I have been unable to figure out. I'm using C# 4.0, and Visual Studio Express 2010. I've tried to use the IndexOf(T) method, but intellisense doesn't …

Member Avatar for Kayy
0
169
Member Avatar for pROKO

I'm quite new to .net so would appreciate your help. My project is nearing completion and I would like to save my work prior to making changes each day, should something go wrong. Eventually I would like to end up with a series of archived projects so that I could …

Member Avatar for pROKO
0
170
Member Avatar for AfreenJamadar

Hi everyone, Well, First of all m glad to join a community of all master minds. My question is : I have a datagridview and each time i enter values in database the values are not reflected in the datagrid untill i load the form again. I want a method …

Member Avatar for pROKO
0
212
Member Avatar for MachDelta

Hi everyone. I've been fighting with a piece of incomplete code for a while now, and it's really frustrating... particularly because it's due tomorrow. Anyways, when I try to compile my project it's spitting out linker errors at me: [Linker error] undefined reference to `clearBoard(int, char)' [Linker error] undefined reference …

Member Avatar for Schol-R-LEA
0
130
Member Avatar for StefanieZY

Hi everyone, I need to use python to read some data in my csv file, but the file I have contains 15 rows of introduction in front. all the data I need is from the row 16. I am able to read the data as the way I want it …

Member Avatar for TrustyTony
0
366
Member Avatar for MDanz

With the below query I'd get the results one and three. How do I get the results for `sid`; 15 and 17? I can't use a WHERE because I won't know the `sid`. A better way of explaining is, how do I LIMIT per `sid` without grouping? [CODE]mysql_query("SELECT * FROM …

Member Avatar for smantscheff
0
154
Member Avatar for learner guy

Hi newbie there,this is code for chess game(just started) ,i want to convert the input in characters to integers via getMove function i have tried to made but its not working.. output is "invalid input" every time [CODE]#include <iostream> using namespace std; void printBoard(char board[][8],int row,int col); void getMove(int arr[],char …

Member Avatar for learner guy
0
202
Member Avatar for SQLpower

Hello, folks. Well, I can't get my head around that particular function. I want to calculate and then return the total amount of hours assigned for a given stage_no. I got confused. Do I have to use COUNT(*)? [CODE]CREATE OR REPLACE FUNCTION total_numbers_hours(hours NUMBER, stage_no NUMBER) RETURN NUMBER IS return_val …

Member Avatar for SQLpower
0
225
Member Avatar for mydreamgirl

Do you have any ideas of how to bring Swing to a web site? Not use applet, but Swing only. Any sample code is appreciated. MyDreamGirl

Member Avatar for NormR1
0
342
Member Avatar for eskimo456

Hi there I'm not to sure if this should go here or in games development so please move it if required. I'm trying to make a basic function that allows my character to jump. The basic idea is to check if the character height is equal to that of the …

0
234
Member Avatar for monica23

Hi everybody, in my database, am trying to print the value of total and then add it to the price, i was able to fetch the value of total but when i tried to add it to to price so as to get value of sum in this line of …

Member Avatar for monica23
0
113
Member Avatar for joshmac

I am wanting to learn the singleton method, and I am having an issue with my code. I've been manipulating my own code for a few days now, but decided to use someone else's class to give it a try, and I am still coming up with nothing. Any help …

Member Avatar for joshmac
0
136
Member Avatar for dark_sider_1

Hi there, So I'm given a programming problem for a class, and here's what's given: An n x n game board is populated with integers, one nonnegative integer per square. The goal is to travel along any legitimate path from the upper left corner to the lower right corner of …

Member Avatar for hfx642
0
282
Member Avatar for vspadmanabhan

Hi, I have to create an executable to put in windows task bar to read foxpro dbf file and update mysql table in the web server by checking new records in the dbf file comparing the unique key in both table whenever the internet connection is available in the desktop …

Member Avatar for diafol
0
327
Member Avatar for jboy1803

Hey everyone, I am in the midst of creating a very basic auction site using C#. Only been learning the language for 3 months so still very much getting used to it and finding out new things everyday. I am using a local database to store my data and want …

Member Avatar for Antenka
0
102
Member Avatar for rayidi

Dear Friends, I'm Currently using php session ( $_SESSION[''] ), I want to use $_COOKIE Because when a user didn't click the logout button and he closed the website. still he is showing Online because i write the code at the logout page. So If we use $_COOKIE it is …

Member Avatar for diafol
0
191
Member Avatar for Enrique Nivasch

Hello, I am trying to invoke a method that sits in an object that is in a different namespace than the namespace that is doing the call. My problem is that the called object name is not known by the caller. I have prepared two examples that show what my …

Member Avatar for Antenka
0
232
Member Avatar for renzlo

Hi All, I want to search specific range of rows in datagridview. I want to search the entire third row of my datagridview. How can I do that? Here's my current code: [CODE]Private Sub cmdSearch_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdSearch.Click For Each row As DataGridViewRow In …

Member Avatar for Reverend Jim
0
157
Member Avatar for asif49

I instantiate a class called Company where I have a lot of the logic of my system, I'm unsure about what visibility the following objects should have.... [CODE] public class Company { private Scanner input = new Scanner(System.in); private Employee[] employee = new Employee[100]; private Job[] job = new Job[100]; …

Member Avatar for asif49
0
120
Member Avatar for mzimmers

Hi, all - I'm relatively new to iterators, and to template functions, so I suppose it was inevitable that the first time I tried to combine them, I'd run into a problem. Here's the function: [CODE]template <class T> int getVectort(ifstream & s, long nbrCells, typename vector<T>::iterator iter) { int rc …

Member Avatar for mzimmers
0
624
Member Avatar for aaro

hi im not great at programming and have been trying to fix this for ages. i am using a script to create thumbnails and display images it all works fine. the problem is for each record on my database, eg each page on my site i have numerical image folders …

Member Avatar for aaro
0
187
Member Avatar for kyriacos1986

I have been asked to create a method to merge two LinkedList. I am allowed to use only the following methods: From LinkedList: > addLast(E); > size(); From ListIterator: > E next(); > boolean hasNext(); > E previous(); > void remove(); The first list (list1) points to 2,6,7 The second …

Member Avatar for kyriacos1986
0
443
Member Avatar for gorleone

Hi Guys, I have a 2 errors with PDO: Sometimes give me this error: Connection error, because: SQLSTATE[HY000] [2013] Lost connection to MySQL server at 'reading initial communication packet', system error: 111 Other time sent me this: SQLSTATE[42000] [1203] User [MYUSERNAME] already has more than 'max_user_connections' active connections This is …

Member Avatar for gorleone
0
148
Member Avatar for dmtYork921

Hi, I created this student calculator code but in MASM32 it keeps giving me errors. I've modified it about 10 times but it's still wrong. Could anybody help me? [CODE].data ;the terminators NULL EQU 00H CR EQU 0DH LF EQU 0AH ;number of test scores allowed MAXSCORES EQU 5 ; …

Member Avatar for thines01
0
407
Member Avatar for P00dle

Hey guys, not sure what thread to put this in, please direct me to the correct one if this one isn't it. I'm struggling with a sub report in iReports. I have a report that selects from a MSSQL database, and uses a sub report to do a select from …

Member Avatar for Ezzaral
0
659
Member Avatar for mwjones

I'm having trouble writing binary data out to a file. My end goal is to add a chunk to a PNG file; which has a format of: length (4 bytes), type (4 bytes), data (lots of bytes), crc32 (4 bytes). Collecting each of these pieces is not a problem, but …

Member Avatar for woooee
0
229
Member Avatar for regogo

Hi, Im new to java im trying to study sorting methods specifically bubble sorting i found this code online but couldn't understand what it means. can someone kindly comment the codes so I can uderstand it well. TIA here's the code [CODE] public static void sort( int a[], int n …

Member Avatar for JamesCherrill
0
121
Member Avatar for rutwvu

I was asked to write a program, based on parent-child cooperation, which uses a “parallel” merge sort to a sequence of 800 numbers from a text file.I have to read the sequence of 800 integers, which I store in an array, and then pass half of them to a child, …

Member Avatar for rutwvu
0
1K
Member Avatar for fatzky_04

Hello all! I'm making a Applicant Record Keeping System. I'm a newbie with MS access. And i'm having a really hard time understanding how queries work. I have three forms: (Sequentially) Background Checking Criteria.. Document.. So, this forms are for one applicant and they have common details. Background Checking's common …

Member Avatar for adam_k
0
177
Member Avatar for javausers

Hi all, [CODE]import java.io.*; import java.util.*; class MapDemo{ public static void main(String args[]){ Map<Integer, Object[]> tMap = new TreeMap<Integer, Object[]>(); Object[] values = new String[] {"Tree", "Map"}; tMap.put(1, values); System.out.println("Keys of tree map: " + tMap.keySet()); System.out.println("Values of tree map: " + Arrays.deepToString(tMap.values().toArray())); } }[/CODE] The above code works good …

Member Avatar for NormR1
0
234
Member Avatar for Danny159

Hey, I have the following code: I am trying to make it so when you tick the box it changed the result to what you clicked, then if you untick it it changes the result back... There will be multipal tick boxes on a page... Here is my code... [CODE]<script …

Member Avatar for Danny159
0
218
Member Avatar for lmytilin

Hi everyone! I am trying to understand tolower function... I don't get the locale variable to be honest and I would also like to know what I have to do so as to save the lower case string to another string and not just print it! That's my code... [CODE]#include …

Member Avatar for mrnutty
0
107

The End.