199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for mehnihma

I need Subversion server for eclipse and client which works on Mac, I need something free or a 30 day trial Do you have some idea? Thanks

Member Avatar for ~s.o.s~
0
118
Member Avatar for CarterLangley

Hi all, Here is all my code for processing a form. Having trouble with the last else statement. The error is saying it is not expecting that last else!! Sorry for all the code, but I thought I would put it all in here. Could somebody please let me know …

Member Avatar for CarterLangley
0
205
Member Avatar for RanbirSandhu

Hey frenz , I just made a console application in C#.NET as: using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConsoleApplication2 { class Program { static void Main(string[] args) { List<int> rand = new List<int>(); rand = abc(); for (int i = 0; i < 10; i++) { Console.WriteLine(rand[i]); …

Member Avatar for RanbirSandhu
0
156
Member Avatar for patk570

I am trying to append the code to display the results of the database by including a link, I got the link to work, but it will not display the results when clicked. Below is the code, If you can help me that would be great! Thanks <?php //if we …

Member Avatar for patk570
0
162
Member Avatar for sahitya12

can any one help to create an dynamic (2*10) two dimensional array using new and delete? which ask user to enter the value and fill both row and column? I am able to create one dimensional but unable to create 2-D.

Member Avatar for sahitya12
0
181
Member Avatar for king03

Hi there guys I need your suggestions. Do you know any system or game that is not that hard to program, like something that can be done for less than 3 weeks because I need it for my term project. thank you for those who will help out.

Member Avatar for thines01
0
118
Member Avatar for Afropuff01

So I'm using OpenGL for a game in java, but I'm stuck on an extremely confusing problem. Class: private class TitleBuilding { private double x1, y1, x2, y2; private double percentage, randValue=1; private byte windowType, numBuildings; private Random random2; private byte index; public TitleBuilding(double percentage,byte numBuildings,byte index) { this.percentage=percentage*.01; this.numBuildings=numBuildings; …

Member Avatar for NormR1
0
154
Member Avatar for jhamill

Hey so this is my code for checking for palindromes...it compiles fine, the problem is it doesnt work. Basically I converted the four sentences into strings without spaces or other characters and added them to a new string called newstr....i used the newstr to check for a palindrome in the …

Member Avatar for NormR1
0
313
Member Avatar for wipeskim

i have a table with day_date and price each record is displayed as below: Day_date Price Allotment 2012-05-20 500 2 2012-05-21 500 2 2012-05-22 500 2 2012-05-23 600 4 2012-05-24 600 4 2012-05-25 500 7 2012-05-26 500 7 2012-05-27 700 2 2012-05-28 700 2 what i want to do is …

Member Avatar for smantscheff
0
167
Member Avatar for DEAD TERMINATOR

I'm trying to write a method that displays the contents of a hashmap on screen. This hashmap contains Strings and an array of int for every String. I've put the String aspects of the hashmap into an arraylist and I'm trying to use another method to print the arrays for …

Member Avatar for JamesCherrill
0
314
Member Avatar for DaveyMoyes

Hi everyone, I am getting the following error message on a script page I have. The error is Parse error: syntax error, unexpected T_IF in blah blah blah on line 432 if($paypal != '') { $qry = "SELECT * FROM tbl_name WHERE var='$paypal'"; $result = mysql_query($qry) if($row=mysql_fetch_array($result)) { // this …

Member Avatar for diafol
0
294
Member Avatar for trektrak

Ok, to be frank... I've just started java yesterday... after few months playing with web application programming (php/js) ... today... I'm building the most simple programming using java .. which is .. login system... username and password... Ok, to make it more usefull... eventho it is simple... I would like …

Member Avatar for trektrak
0
150
Member Avatar for dwlniles

// This is the error message I'm getting..C:\Program Files\Java\jdk1.6.0_25\bin>javac c:\java\Grade1.java // c:\java\Grade1.java:49: variable grades might not have been initialized // switch(grades) // ^ import java.util.Scanner; import java.text.*; import javax.swing.*; import java.util.*; import java.io.*; public class Grade1 { public static void main (String[] args) { String str, lgrade, studentName, courseName; int …

Member Avatar for zeroliken
0
257
Member Avatar for Gus_19

My textboxes and labels are fine in design view, but when I switch over to Debug or Build, a couple of the textboxes are pushed together and the labels aren't in their original spots. Haven't seen this before and was wondering if anyone has any suggestions as to why and …

Member Avatar for Mitja Bonca
0
232
Member Avatar for Jfunch

I programming a ecommerce website where users can add products to a cart and then use a paypal checkout button to process the order. I've been trying to figure out how I would let the user add stuff to a cart and not force them to login to their account …

Member Avatar for veedeoo
0
132
Member Avatar for TrustyTony

I would like to take string argument for class BalancedTrinary intializer, but the string type of argument is processed before it enters the init function. I guess I must override any class method which deals with those for int/long? def val(number_sequence, base): """ produce integer value of number_sequence as base …

Member Avatar for Gribouillis
0
277
Member Avatar for charmcity04

I am creating an program that allows a user to register for a conference. When I press the "Run" button in Netbeans I get a message saying "Build Successful," but the program does not show up on the screen. What am I missing in my code? I am new to …

Member Avatar for NormR1
0
2K
Member Avatar for choosenalpha

Greetings All, I have a brain fart. I am trying to print the first and second number in the array which is [0] and [1]. I have the for loop going through each element in the array integersCount[] so I can find those positions. But do I need an if …

Member Avatar for choosenalpha
0
209
Member Avatar for lfmconsummates

I currently have this login form in my python program with a submit button: <input type="text" class="input-small" placeholder="Email"> <input type="password" class="input-small" placeholder="Password"> and I have an sql database that has emails/logins/etc. How do I make it so the after pushing the submit button, the email/password is verified with the database …

Member Avatar for lfmconsummates
0
126
Member Avatar for Gus_19
Member Avatar for adam_k
0
64
Member Avatar for jwill222

#include<iostream> using namespace std; int main() { int Partnumber[15] = {112,130,156,173,197,150,166,113,123,143,167,189,193,117,176}; int Quantitynumber[15] = {12,30,56,17,19,50,66,13,12,14,16,18,19,11,76}; int hashTable[19][2]; int collisions = 0; int index = 0; for(int i = 0; i<15;i++) { index = (Partnumber[i] % 19); hashTable[index] = Partnumber[i]; if (hashTable[index] != 0) { do{ index++ }while(hashTable[index]!=0) } if(index >= …

Member Avatar for jwill222
0
614
Member Avatar for ManafShabbir

I am making a project for my final year, asp.net with vb.net ( Beginner ). i upload the file using the fileupload control of asp.net on the server. Now how will the client be able to download that file? Would appreciate help.

Member Avatar for ManafShabbir
0
107
Member Avatar for iPanda

I got this simple code: #include "stdio.h" #include "stdlib.h" #include "windows.h" int main(int argc, CHAR* argv[]) { HANDLE hFile = NULL; HANDLE hMapFile = NULL; LPBYTE fileView; hFile = CreateFile(argv[1],GENERIC_READ,FILE_SHARE_READ,NULL,OPEN_EXISTING,FILE_ATTRIBUTE_NORMAL,NULL); if(hFile == INVALID_HANDLE_VALUE) { printf("CreateFile function failed\n"); goto clean; } ***** hMapFile = (LPBYTE)CreateFileMapping(hFile,NULL,PAGE_READONLY,0,256,NULL);***** if(hMapFile == NULL) { printf("CreateFileMapping function …

Member Avatar for BobS0327
0
1K
Member Avatar for erogol

I want to pass my all database from windows to ubuntu on my computer. I think passing all releated data files will be enough so I need to find the files in my windows. Do you know what isthe directory path for these files? Also is it enough to carry …

Member Avatar for smantscheff
0
272
Member Avatar for NickPatton

I've written a Rational Class that takes fractions and can add, subtract, multiply, divide etc. I'm trying to keep my fractions reduced but for some reason, some but not all of my fractions are being reduced. I've posted my code below. I commented the fractions that aren't being reduced as …

Member Avatar for NickPatton
0
1K
Member Avatar for fantasma

Hello I'm trying to generate a JSON file with the JSON.Stringify, but, the quotes that are generated by my code o are not compliant with the json format. It's generating smart quotes to the left like (“object”:“pair”) instead of ("object":"pair") Does anybody knows how to solve this? I've searched dozens …

Member Avatar for fantasma
0
301
Member Avatar for v3ga

I just started learning Java (Currently, I know basic swing components like JPanels, text areas, textfields etc) and I have chosen a Logic Circuit Simulator as a project. My objective is to simulate the working of logic gates by making circuits using drag & drop. So far, I have thought …

Member Avatar for v3ga
0
1K
Member Avatar for katiecathey

I need help with creating the room class and dungeon class, i keep going back and forth and now I am just confusing myself. DUNGEON ADVENTURE PROGRAM PURPOSE: The purpose of this is assignment is for you to practice working with two dimensional arrays as well as to continue developing …

Member Avatar for JamesCherrill
0
710
Member Avatar for MrEARTHSHAcKER

Hi, I have read this on IBM: > > An exception specification may only appear at the end of a function declarator of a function, pointer to function, reference to function, pointer to member function declaration, or pointer to member function definition. An exception specification cannot appear in a typedef …

Member Avatar for mike_2000_17
0
145
Member Avatar for Vish0203

Hi Everyone!! I'm facing a few problems in storing the structutres or records in a file. I'm trying to store the usernames and passwords(Taken as example), of a person in a single record as structure variable **w[99].** and **i=0 to i<=100 *** When the program Executes for the first time, …

Member Avatar for Vish0203
0
144
Member Avatar for Majestics

I want to assigne value to string array but i dont know the size of the array from start... Is there any way to do it Programatically for(int i=0 ; i < unkownSize; i++) string[i] = some value I hope my question is clear.

Member Avatar for NormR1
0
144
Member Avatar for MysticalNomad

My project requires that I have several arrays defined in javascript such as: var d1 = new Array(2,17,18,19,20); var d2 = new Array(2,18,19,20); var d3 = new Array(2,18,21,19,20); var d4 = new Array(2); var d5 = new Array(2,18,19,20); var d6 = new Array(2,18,21,19,20); etc I have a `<select>` element which …

Member Avatar for Troy III
0
195
Member Avatar for kaizokupuffball

Hi! I have this problem on my website. When i move to the randomize section of my page it loads slow. It's ment to fetch alot of images, but it loads pretty slow, also the window freezes until the jQuery code in done running. I don't know how to explain …

Member Avatar for LaxLoafer
0
178
Member Avatar for NyQii

Im trying to run a sipmple program in c++ using openGL but get these errors... can somebody please help me? Error 1 error LNK2028: unresolved token (0A00002D) "extern "C" int __stdcall __glutCreateWindowWithExit(char const *,void (__cdecl*)(int))" (?__glutCreateWindowWithExit@@$$J18YGHPBDP6AXH@Z@Z) referenced in function "extern "C" int __stdcall `anonymous namespace'::glutCreateWindow_ATEXIT_HACK(char const *)" (?glutCreateWindow_ATEXIT_HACK@?A0x6d0c8cb1@@$$J14YGHPBD@Z) c:\Users\Surané\documents\visual studio …

Member Avatar for NyQii
0
226
Member Avatar for raj.mscking

Good To Meet you All! Sir In my server This is the JButton action for start server private void strsrvActionPerformed(java.awt.event.ActionEvent evt) { getClint(); } This is action Performed sir.., public void getClint() { try { ServerSocket ss=new ServerSocket(1030); try { JOptionPane.showMessageDialog(null,"Server is runing"); while(true) { Socket s=ss.accept(); Service a=new Service(s); …

Member Avatar for NormR1
0
265
Member Avatar for realworldmedia

How do i insert this into my sql database? I have tried a few things like putting the array bracks on the upload file. when i do this it saves the image location but doesnt upload the image. This is my upload snippet for ($i=0;$i<4;$i++) { if($_FILES['userfile']['name'][$i]) { $uploadfile = …

Member Avatar for realworldmedia
0
123
Member Avatar for eshray

hello, acually your site is helping me alots , thanx alots I have an assignemt n i stuck on readind data from user and hendle them as single string plzzzzz anyone can help me:( i tried alots and alots Write a C++ program that will make use of the following …

Member Avatar for nullptr
0
115
Member Avatar for Violet_82

Hi there, I am running a few test and trying to practice a bit with javascript I have come up with a script which is meant to swap images but it is producing errors. I had tried to debug with firebug but it is not going well at all and …

Member Avatar for Violet_82
0
121
Member Avatar for mwaikange

Hi Colleagues I would just like to wether it is possible to link a Database to a website. my website would be one whereby members have to create accounts and put money in their accounts by transfering the funds to our Business Bank Account and then we use that reference …

Member Avatar for adam_k
0
99
Member Avatar for anuj_sharma

Hi, I am trying to get a screenshot of the active window on the screen, for which unfortunately Java does not have an API. It allows me to capture the screenshot of the whole screen but not of the active window. Now, I did a bit of workaround but it …

Member Avatar for anuj_sharma
0
263
Member Avatar for sandz24

Which of the two (Binary Image and Gray scale image) is easier to embed in a color image using Discrete Cosine Transform? I'm currently exploring image watermarking using discrete cosine transform. Thanks in advance!!! :)

Member Avatar for sandz24
0
189
Member Avatar for thechadv1

I need to develop a graphical representation of a balanced binary tree using random numbers from an array with the number of elements entered by the user. That part I got down and it is working fine. The next part of the assignment requires me to display the number of …

Member Avatar for NormR1
0
257
Member Avatar for Johannady2

/*This code counts the vowels in strings? It has to use user defined methods: */ import java.lang.String; import java.io.*; import java.util.*; public class vowelConsonant2 { static Scanner scan = new Scanner(System.in); public static void main(String args[]) { String text; int actualI, actualC; System.out.println("Enter the String:"); text = scan.nextLine(); System.out.println("There are …

Member Avatar for NormR1
0
279
Member Avatar for Iamateur

how to store all items of database to combo box. i.e. store complete column in combo box?

Member Avatar for Mitja Bonca
0
136
Member Avatar for notconfirmed

Hello there, I'm a newbie in regex in c#, and I have a problem in parsing the html tag using regex in the <span> tag. here the html file that i want to get the value. <li><span>Date of birth</span>December 16, 2000 (Age: 12)</li> i want to get the December 16, …

Member Avatar for Mitja Bonca
0
3K
Member Avatar for Sawamura

hi all, this my question again.. i need to load data from database and it will show in combo box. if i want to load id_user from database i will get all id user fill the combo box item, so i can choose the user. how can i do this? …

Member Avatar for Iamateur
0
380
Member Avatar for srinidelite

Hello Everbody, I have 2 arrays called Array 1 Array 2 Stuid stuname stuid Bookname 1 Albie 1 OOPS 2 Morkel 2 CNA 3 Jmes 1 ComputerNw 3 OOPs 2 CNA Code: #include<stdio.h> main() { // char array1[2][1],array2[5][1]; char array1[100][100]={'ID1','srini','ID2','Albie','ID3','Kaasi'}; char array2[50][100]={'ID1','OOPS','ID2','STS','ID1','STS','ID1','CTC','ID3','MAT','ID2','MAT'}; printf("We're Begining the Comaprison Here !!\n\n"); search(array1[][],array2[][]); } …

Member Avatar for Sky_Flyer
0
284
Member Avatar for IIM

Anyone have idea about how can we use webcam to take pictures in java. Is there any specific port or something to enable webcam? Wondering how to do this. I don't want to use API like JMF or something.I just want to know how can we establish connection and get …

Member Avatar for IIM
0
92
Member Avatar for himanshuyadav

Hello, Can you please help me in following scenario in Perl scripting? I want to correlate two text files to get output. CONSIDER TWO CHEMICAL REACTION:- (1) A+E+C--->F+H+L (2) A+B--->G+I INPUT_FILE1.TXT #REACTANT #REACTION NO. A 1 E 1 C 1 A 2 B 2 INPUT_FILE2.TXT #PRODUCT #REACTION NO. F 1 …

Member Avatar for 2teez
0
210
Member Avatar for drichird

import os def a(): print("A") def b(): print("B") # I want to sometimes skip the main body if os.path.isdir("C:\\Blender\\mainbody"): print("main body of module_A") Is there a way to control whether or not the main body of a module gets executed by passing in arguments to the import command, such as …

Member Avatar for drichird
0
8K

The End.