199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for eternalblizzard

Hi, I'm currently working on an Eight Queens problem solving with recursion and backtracking. I have an output for my code, but it is not the desired output and I am having trouble figuring out what part of the code is wrong. Any advice would be appreciated. My header file …

Member Avatar for eternalblizzard
1
168
Member Avatar for v_janssens

Hi, In brief, I have written a program in C++ that reads data from a text file, does 'stuff' with that data and then writes the results to a number of separate file. Separately I've written a simple GUI for this program using Visual Basic (allows the user to select …

Member Avatar for mazzica1
1
1K
Member Avatar for Maxipak

Howdy! I've searched the forums and Google for ideas but all the information/advice I found was either not helpful or inaccurate. So, perhaps someone here can help point me in the right direction. I'm heading off to University next year but, before I do that, I'd like to study some …

Member Avatar for Chrishas
1
268
Member Avatar for happygeek

[ATTACH=RIGHT]22271[/ATTACH]It's official: Android now has a greater market share than iPhone across the EU5 countries of France, Germany, Italy, Spain and the UK. According to newly published data from the [URL="http://www.comscore.com/Products_Services/Product_Index/MobiLens"]comScore MobiLens service[/URL], nearly one in four smartphone users in the EU5 region were using smartphones running on a Google …

Member Avatar for Swordstech
1
413
Member Avatar for marceta

Hi guys, im workin on a little text based RPG using c++. It is a win32 comsole application and i am wondering what i could do to improve it! I have added my source code [code] # include <iostream> #include<ctime> #include<cstdlib> #include<cctype> using namespace std; struct monster { int strength; …

Member Avatar for aramil daern
1
942
Member Avatar for caswimmer2011

Hey, Is there a way to get the keycode from a char? I tried using KeyEvent.getKeyCode() but the KeyEvent class didn't have a constructor so it was freaking out. I've been searching for 2+ hours already and nothing. My goal is to have a char, convert it to keycode, and …

Member Avatar for caswimmer2011
1
1K
Member Avatar for mattnguyen45

The last do..while loop only prints the 2^n of the number entered and n is user input. It does not print all 2^n from 1 to what ever value user inputted. [CODE]/** * * * @author * @version */ //import Scanner utility import java.util.Scanner; public class Loops { public static …

Member Avatar for JamesCherrill
1
174
Member Avatar for KushMishra

Hello to all, I've designed a website to provide Software and all the data is coming into the gridview.The entries in database are...... [B]SoftName : [/B] Name of the software [B]SoftType : [/B] Type of the software (like windows,mac etc.) [B]SoftUrl : [/B] Path of the software file in the …

Member Avatar for KushMishra
1
466
Member Avatar for Jones_nash

Hello there my friends, I was looking to the best PHP code generator in the market, i already take a look into some frameworks but before i buy it i wanted to take a look here to know if you guys have any sugestion. Any of you already have/use/bought any …

Member Avatar for Ezzaral
1
191
Member Avatar for adonweb

How can i set a fixed height detail section in crystal reports regardless of record count. I set the height of detail section to 10 records. If i put 8 records, the space for other 2 records should be white space. That is, total height remain the same. Please help …

Member Avatar for wsfaso
1
3K
Member Avatar for reuben12

I have a bcp output file from sybase that i need to parse using 'c' and write to a new file. A sample line from bcp o/p file is below 9890000501:74667:0:6::2:0000:0:6:0:5:0:0:0:0:0:0:0:::9890000501:1:1:0::::::::0:0:3::::::::::\202^B:\202^B^D:0:0 :1:0:0:0:0:0:0:0:0:0::::0:0:0:::::::::0::0:0:0:0: The file has ":" has the delimitor. I need to create a new file with a single line …

Member Avatar for maaroufi
1
2K
Member Avatar for jonesa01

Hello, I hope someone can help me solve this: I am writing a script which can extract phone numbers from a peice of entered text which i can do fine but when there are other numbers it becomes more complex and i cannot seem to find away round it. All …

Member Avatar for jonesa01
1
4K
Member Avatar for leefuren
Member Avatar for wavyaquaeyes

HELP- I need to view my php files in the browser. I am running Apache server. I know only this much to put in the browser [URL]http://localhost/[/URL] /filename.php thanks

Member Avatar for dineshnbhatia
1
20K
Member Avatar for Seiko09

Hi, im new here, and i want to ask about "how to make a compiler". I'm a Computer Science and part of my subject wants me to create a compiler, and I had no idea of how to create one. Can anyone help me.....

Member Avatar for vijayan121
1
240
Member Avatar for geetajlo

hi i just want my form to connect to a database. and also i want my password in my textbox to be encrpted . i want it to check in the database if password and user = true then display next form and the login form should be close whenever …

Member Avatar for yveslemy
1
1K
Member Avatar for QQnoobie

Trying to define a function that dynamically creates a Student object and then prompts the user for the info and returns pointer to a Student object. [CODE]class Student{ private: string firstName; string lastName; string aNumber; double GPA; public: Student (); Student (string f, string l, string idNo, double gPoint); string …

Member Avatar for QQnoobie
1
141
Member Avatar for warlord902

I want to make node heights of JTree nodes to differ. I mean like the parents have different node height and childs have different node height. I tried to put myJTree.setRowHeight(30) while adding nodes but it doesn't work because it does not work for a single node but for the …

Member Avatar for mKorbel
1
982
Member Avatar for ddanbe

A little console application in C# to show you the IP address of your computer or the IP address of any website you like.

Member Avatar for chan_lemo
1
325
Member Avatar for Ryden

I have to deal with a program on arrays doing different things with such as finding out if the row contains a number in the first n rows, put all the numbers listed in the arrays without repeating numbers that are listed twice, finding numbers that are in common and …

Member Avatar for JamesCherrill
1
120
Member Avatar for TrustyTony

Here is capital letter style caesar crypted message. We can simply try all possible shifts for first few words (ignoring punctuations, which is left as is). If both first words succeed we assume we cracked it. You could also use Vigenère encryption, but keeping non-letters is less simple, our Vigenère …

Member Avatar for TrustyTony
1
937
Member Avatar for vegaseat

Early versions of Python used a hybrid of samplesort (a variant of quicksort with large sample size) and binary insertion sort as the built-in sorting algorithm. This proved to be somewhat unstable, and was replaced in version 2.3 with an adaptive mergesort algorithm. I am comparing several rudimentary sorting routines, …

Member Avatar for Skrell
1
4K
Member Avatar for scrivomcdivo

Hi folks. I'm looking for a bit of help and guidance on what you think would be the most suitable DB for a project I'm working on. This isn't a web-based project but as I couldn't find a more suitable sub-forum to post this query, I thought I would ask …

Member Avatar for xuqi
1
126
Member Avatar for Dante2

I realize this will very likely be a short thread, but it is a question that has been eating at me for a while. I have just started taking a Java class (basic introduction) and so far I am loving it. Primarily I am a web programmer, so the only …

Member Avatar for JeffGrigg
1
406
Member Avatar for perlsu

Can anyone help me to get the estimate value of float value 1001.27124 to 1001.27? Math.round(float) function return the int value. But I want to get float value result with 2 decimal point; Thanks in advance.

Member Avatar for mubin_89
1
4K
Member Avatar for rocketman03

hey im trying to create a program to convert dec to hex , but this only lets me print either integers or chars , but not both , how do i fix that ? [code] int convertHex(int num) { quotient=(num / 16); remainder=(num % 16); if (remainder <= 9 && …

Member Avatar for WaltP
1
442
Member Avatar for Majestics

how to move a jframe which has no taskbar? [code] frame.addmousemotionlistener(this); public void mousedragged(MouseEvent e) { // What to write here } [/code] I tried setBounds of jframe but it flicker when we try to move the frame.

Member Avatar for Kyberium
1
277
Member Avatar for MitchyMoo

Dear sirs, I would just like to ask a quick question: What control would i use for creating a paint-like program but with layered features? It was a choice between GlassPane (but am not to sure how to use it despite the fact i have been up all night researching …

Member Avatar for MitchyMoo
1
141
Member Avatar for CoolPrizes

So I need help on how to calculate how much change to give back to a customer. I need the program to give change in the least bills and coins as possible. Ex. Customer's item costs $13.37. He/She pays $20. Program gives back: One $5 Bill One $1 Bill Two …

Member Avatar for CoolPrizes
1
7K
Member Avatar for adcgv

We are trying to build a simple basic search engine at [snipped] and we need help with page rank. Now the results are being shown in the order of relevance. Can someone plz help us with some algorithm, link or code snippet. Also is it possible to call a c++ …

1
124
Member Avatar for Ravic85

Hello everyone! I've made the mistake of not asking my teacher for help when I had the time. Now I'm stuck and lost. I didn't do this because I felt I should be able to figure this out myself since this is my major. So, I'm giving up and needing …

Member Avatar for Eagletalon
1
1K
Member Avatar for awais.abdul

In this course we are going to develop software for “School System” that will computerize all the necessary school processes. This software will facilitate the school management in running and managing the school. We will mainly focus on these aspects, 1. Teacher and Student Record Keeping 2. Student Grading 3. …

Member Avatar for swathik
1
919
Member Avatar for resell4
Member Avatar for raviaaaa

After installing tomcat 6.0 server into my machine iam not able to find "start up and shut down" files under bin directory pls tell how to solve this issue

Member Avatar for Taywin
1
187
Member Avatar for Kevingon

Hi, I'm trying to set custom fonts, I can do it without problem with this code: [CODE] InputStream is = this.getClass().getResourceAsStream("/src/someFontName.ttf"); Font f=null; try { f = Font.createFont(Font.TRUETYPE_FONT,is).deriveFont(15f); } catch (FontFormatException ex) { Logger.getLogger(PanelLiquidacion.class.getName()).log(Level.SEVERE, null, ex); } catch (IOException ex) { Logger.getLogger(PanelLiquidacion.class.getName()).log(Level.SEVERE, null, ex); } txtPlace=new JTextField();txtPlace.setBounds(185,10,310,20); if(f!=null){ txtPlace.setFont(f); lblPlace.setFont(f); …

Member Avatar for Kevingon
1
686
Member Avatar for Aman6o

I need help understanding the increment operator and the output of this program. I am confused with the output of 'i' and 'm' According to me: i = 4 and m = 20 but, that is not what you get when you compile. Please explain. Thanks in advance. [CODE]#include <stdio.h> …

Member Avatar for Narue
1
146
Member Avatar for Virangya

hi, i need to subtract one date form the other and take the difference in minutes or seconds.. i'm getting the first date from the data base in 'Y-m-d H:i:s' format and second date is the current date (same format). and i want to know the difference between them in …

Member Avatar for lyrico
1
14K
Member Avatar for anna12

hey all, im new at shell scripting and need to find out a simple way to create text files, with random words in them. then needing to input 3 of these files arranging their lines in alphabetical order and after that creating an output file with the last lines sorted …

Member Avatar for eryxzs
1
11K
Member Avatar for kiwimedia

[B]Sending email through PHP[/B] [B]Intro[/B] Thousands of websites use contact forms to communicate with their users. You will have almost certainly seen one if not used one to contact someone. The contact form will take the users information that he or she has filled in then send the data over …

Member Avatar for KingGold171
1
3K
Member Avatar for masterofpuppets

This is my first GUI program in Java. If finds the day of the week for any given date which is after 1 January 1900.

Member Avatar for glen dc1
1
822
Member Avatar for hfx642

I've created a component (a replication of a JSpinner) with a JTextfield, and two JButtons. I've created ActionListeners on each of the JButtons to update the JTextfield. In my main program, I've create new objects based on my new component. I've added ActionListeners on my new objects.JButtons. My new ActionListeners …

Member Avatar for JamesCherrill
1
666
Member Avatar for binu_ds

Hi all, I have three CSV file. First one include toname,toid and status.Second one has username and password and the third one include from,subject,content,reply to,cc etc.I want to read csv files and to send bulk amount email address. Also want to increase mail sending time. How will read csv file …

Member Avatar for karthik_ppts
1
95
Member Avatar for monkeybut

IT currently is set up for base 3, but should be able to make a couple of minor changes and convert to any base, thanks and hope it helps someone out. [code]#include <iostream> #include <cmath> #include <fstream> using namespace std; void convert_base(int v, int b); ifstream inputdata; ofstream outputdata; int …

Member Avatar for mike_2000_17
1
530
Member Avatar for lolsn0r

Hi everyone I have a question to everyone. dim a as string ="preview=" dim b as string = "&amp" textbox1.text = a + "Random Code" + b result must be: preview=93a92&amp Random Code: I Need something that does not skip the text/number. Random Code can be everything. Example: 93a92,b3at2, 1256abcde …

Member Avatar for marsky
1
144
Member Avatar for rozerdun

I have a problem, i have two files with same name and it required to upload on site without renaming file both are jpg file, in one database it's my task how can i complete this task?

Member Avatar for vijay_myl
1
301
Member Avatar for concepcionmark

I have found this code in this forum: [CODE]Dim objForm As Form Dim sValue As String Dim FullTypeName As String Dim FormInstanceType As Type ' Form class name sValue = "Form2" ' Assume that form classes' namespace is the same as ProductName FullTypeName = Application.ProductName & "." & sValue ' …

Member Avatar for dimasalang
1
183
Member Avatar for imraan1992

[CODE]#include <iostream> #include <conio> void main() { int n; cout<<"Enter value of n:"; cin>>n; if(n>=0)&&(n<=10) { { if(n==0) Zfactorial=1; cout<<"/t/tThe value of Zfactorial for n"<<Zfactorial; else(n>0)!!(n<11) for(int n=0;n<11;n--) Zfactorial=Zfactorial*(n); cout<<"/t/tThe value of Zfactorial for n"<<Zfactorial; } else cout<<"Invalid value of n"; continue } getch(); }[/CODE] [B]question[/B] Professor Zoe has come …

Member Avatar for gusano79
1
101
Member Avatar for Jessurider

can anyone tell me how to rotate the inner yellow star within the blue star [CODE=java] import java.applet.Applet; import java.awt.Color; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.geom.Path2D; public class app extends Applet { final static int OFFSET = 30; final static int OFFSETS = 30; public void paint(Graphics g) { Graphics2D …

Member Avatar for Ezzaral
1
156
Member Avatar for Reverend Jim

I was doing a little playing around with some scrollbar controls and I noticed an odd behaviour that I was hoping someone could explain. I create three horizontal scrollbar controls, one for each primary colour. Possible values for each R, G or B are 0 to 255. When I set …

Member Avatar for Reverend Jim
1
214
Member Avatar for rlaknar
Member Avatar for arshadshabbir
1
5K

The End.