132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for irenejd

I have an electronic subscription to a newspaper and I generally download and print the puzzles for doing them later. Due to health issues, I'm behind about 6 months, but I'd like to catch up. I'd like a script to automate the download and save it to my PC. I'm …

Software Development file-system legal pdf puzzle shell-scripting
Member Avatar for irenejd
0
151
Member Avatar for ubi_ct83

hi and good day to all, i have a problem with my data from the mysql. i have string data from the db and want to process in program(java app),but no out appeared.i suspect something is wrong with the input because, there is no problem if i run with direct …

Software Development java
Member Avatar for ubi_ct83
0
168
Member Avatar for LeMajestique

I am having trouble making this menu, I followed some instructions online but I can't seem to get it to loop back to the menu after I am done with a menu selection. Please Help! [CODE]#include <iostream> #include <string> #include <cmath> using namespace std; int main () { int choice; …

Software Development c++
Member Avatar for LeMajestique
0
116
Member Avatar for jmaple

So I thought I had an understanding of pointers and references but I'm not sure whats going on with int*& x. Does this mean a reference to a pointer to an int? also what use does this have?

Software Development c++
Member Avatar for jmaple
0
99
Member Avatar for lius84

Hi all, I write because I am struggling with a very strange thing. I have this class: [CODE] static const long POINTS_VERY_FEW = 100; class Bin2DSphere { /*! Class for 2-dimensional binning on a sphere */ public: string Name; double PhiMin; /* Minimum value of Phi */ double PhiMax; /* …

Member Avatar for mike_2000_17
0
181
Member Avatar for gingank

Hi All, I want to ask how to remove unwanted character from string?? Can provide an example? Dim A As String A = "@AA@BB@CC@DD" If i want to remove @BB what method i should use? First i try to use instr to detect where the @BB but how to do …

Software Development visual-basic
Member Avatar for jhai_salvador
0
235
Member Avatar for Lxyslckr

I'm trying to do four operations. Find the minimum including 0 # (working on) find the sum of the negative # (Think I'm done) Find the sum of the odd # (working on) How many positive #(working on) I need help on the sum of negative This is what will …

Software Development java
Member Avatar for Lxyslckr
0
92
Member Avatar for cjoyce
Member Avatar for cjoyce
0
277
Member Avatar for da10x

Hello people, I have an assignment to do and I have no idea how to do it. First: I have to modify this program to prompt the use for a word and display how many times that word appeared in the input file. When the user hits RETURN, the program …

Software Development algorithm data-structure python
Member Avatar for dynaflex
0
194
Member Avatar for javanoob101

Hello! I need to get some collision detection going in my code but I have no idea where to start! can anybody find out how to put this in? the detection will stop drwaing monstors if the bullet hits them [code] // The "SpaceShooter" class. //import java.applet.*; import java.applet.Applet; import …

Software Development java java-swing
Member Avatar for javanoob101
0
370
Member Avatar for MasterGberry

Ok, well I have done some research on this. And I have tried a few different methods, both seem to be giving me the same results, which must mean there is something else going on here that I am not understanding, or its just not working right. EDIT: This piece …

Software Development c++
Member Avatar for MasterGberry
0
205
Member Avatar for Mr.BunyRabit

Hey there. So i have this database, that updates when i press the "update" button. Now everything works good, until you dont enter a value into the primary key slot. Now i know what the problem is, (you cant have that slot open). What i want to konw is what …

Software Development
Member Avatar for Mr.BunyRabit
0
190
Member Avatar for tim8w

I have a DataGridViewComboBoxColumn that I allow the user to add new items to by typing in the ComboBox and hitting the 'Enter' key. That triggers CellValidating and I do the adding there by the following: cmbColumn.Items.Add(e.FormattedValue) All this works well, except that it leaves the DataGridViewComboBoxColumn blank. How can …

Software Development vb.net
Member Avatar for tim8w
0
698
Member Avatar for martin11ph

I need a program that opens a sample program and counts the number of reserved words, operands and operators. Operands and operators are easy to distinguish. My problem is how do I determine the reserved words there? One solution I thought of is to create a separate text file that …

Software Development c++
Member Avatar for mrnutty
0
154
Member Avatar for nocookies92

Recently, i found a book online that walks you through various elements of java game creation. The code from the book uses the java3D timer, so to compile the example programs, I had to download and install java3D. At Oracle's site, I selected WindowsXP as my OS and downloaded the …

Software Development java oracle
Member Avatar for nocookies92
0
399
Member Avatar for ThatGuy2244

I am trying to make a win32 program which uses an array of data that then gets put on the window. That way I can do my drawing on the array and then bitblt it or something to the screen. How would I do this. Also how many bytes of …

Software Development c++
Member Avatar for ThatGuy2244
0
126
Member Avatar for ThatGuy2244

I had tried to make a compare strings function in real mode assembly, but it didn't work, so I tried it another way and it did. It seems to me that both functions I wrote do the same thing yet one doesn't work. Can someone tell me why, the two …

Software Development assembly
Member Avatar for ThatGuy2244
0
190
Member Avatar for kchyn

Hi, I want to send chains of 12 bits of data through USB, but I'm completely new to USB programming. Say I type in "A", and it'll send 000000000001 or something like that. Basically, I'm wondering how you tell the USB port to send a 0 or a 1 in …

Software Development c++
Member Avatar for pseudorandom21
0
3K
Member Avatar for wewehalim

Hi i have this code to build datagridview column. I will fill this coulmn with the data from another column (I have done it) But now, I want it so that the table property READONLY: TRUE and the column TOTAL_PRICE to have $#.00 format. Can anyone help me? Thanks [CODE] …

Software Development vb.net
Member Avatar for wewehalim
0
165
Member Avatar for tiuwulf

Hi there, i've ran in a problem and made up an example code of my prob. [CODE]#include <stdio.h> #include <stdlib.h> #include <string.h> typedef struct mystruct { int a; }mytype; mytype* createMytype(int x) { mytype *mt; mt = (mytype*)calloc(1, sizeof(mytype)); mt->a = x; return mt; } int foo(mytype* mt) { mt …

Software Development c
Member Avatar for tiuwulf
0
91
Member Avatar for nambiajith

i am doing project bandwidth efficient video simulation in java. I set class path in jdk set classpath=%classpath%;.\\lib\\gif4j_pro_trial_2.3.jar; [Ljava.lang.String;@15151aa Exception in thread "AWT-EventQueue-0" java.lang.Error: Unresolved compilation p roblems: The import javax.media cannot be resolved The import javax.media cannot be resolved The import javax.media cannot be resolved The import javax.media cannot …

Software Development java java-swing window-manager
Member Avatar for peter_budo
0
577
Member Avatar for ftl25

Hi, Does anyone know of some code analysis tools (add-ins) for VB6? I used to use checkstyle and some other tools for Java, and am looking for something similar for our VB6 project. There is a huge codebase, and as I'm just starting out in VB coding, I'd like advice …

Software Development visual-basic
Member Avatar for IssamLahlali
0
1K
Member Avatar for winecoding

A C++ newbie question: I found the following function: [CODE]int &min(int &x, int &y) { return x < y ? x : y; }[/CODE] I am confused of the usage of “&”. Is that possible to re-write the above function as [CODE]int &min(int x, int y) { return x < …

Software Development c++
Member Avatar for mike_2000_17
0
123
Member Avatar for RuneFS

Im currently in the need of some code metrics. Specifically Im in need of afferent + efferent coupling and Instability measures. I used to work with NDepend (on .NET platform) but I now need to be able to make similar measurements on a c++ project. If you don't know NDependt, …

Software Development c++
Member Avatar for IssamLahlali
0
118
Member Avatar for somshridhar

Dear Sir, I am trying to print the string with the following code, but I am getting errors like Undefined symbol 'string' Undefined symbol 'str'. [CODE]#include<conio.h> #include<string.h> #include<iostream.h> void main() { string str = "My name is shridhar"; cout<<"What is your name"<<str; getch(); } [/CODE] I think the problem is …

Software Development c++
Member Avatar for kernel>panic
0
4K
Member Avatar for theurbanist

Hello everyone, I'm trying to create a diagram of numbers as represented by asterisks. I'm taking an integer and turning it into a string of *. For example, for the value of 4, it'd be ****. For the value of 7, it'd be *******. Does anyone know of a way …

Software Development java
Member Avatar for JamesCherrill
0
118
Member Avatar for simpleonline123

Sounds really retarded but I'm wanting to create an application that when ran the user can create an instance of lets say a button by clicking on the button that I have drawn on the screen. It's going to be an application builder programs. What I need to know is …

Software Development
Member Avatar for midimatt
0
113
Member Avatar for Amoryethel

I'm creating a program that adds fractions together. That being said however, my program does not seem to be responding correctly. Everytime I run the client code, it outputs 18, when I want it to add 2/6 and 1/6. [CODE] // Constructor // public class RationalNumber { int num; int …

Software Development java
Member Avatar for JamesCherrill
0
163
Member Avatar for TheDocterd

Hi there I have a small problem. I have a datagridview on my winform. I also have a label that will display hours worked. What I would like to do is when I select a whole row in the datagridview, I want the label mentioned to display hours worked for …

Software Development
Member Avatar for lolafuertes
0
123
Member Avatar for vavazoom

I have a Matrix class and I am trying to overload the multiplication sign. It compiles without error and runs, however it does not display the matrix like it should. So I want to make sure the error is not in my overload operation. [CODE] public static Matrix operator *(Matrix …

Software Development matrix-multiplication
Member Avatar for ddanbe
0
185
Member Avatar for harikrishna439

I have a problem with me.I'm unable to understand it.So I want from you the meaning and explanation of that problem below.I don't want program from you. ---------------------- A rectangle with sides parallel to the X- and Y-axes is specified by four real numbers a, b, c, and d. Assume …

Software Development c
Member Avatar for himam
0
137
Member Avatar for moni94

Hi. Let's say I have a method in a foreach statement, for example: [ICODE] foreach(string str in GetStrings()) ... [/ICODE] Does the method (GetStrings() in our example) get called once or once per iteration?

Software Development
Member Avatar for Mitja Bonca
0
115
Member Avatar for blondie.simon

Hello I have an array of boolean data that I'm trying to display on the screen using 144 check boxes. Is there an easy way of updating all 144 check boxes with the data from an array and an easy way to update the array when changes are made to …

Software Development vb.net
Member Avatar for blondie.simon
0
215
Member Avatar for anthony5557

I need some help with the javascript code. I have the structure down I need help with the functions. I want to enter the temp in the box and the run the function and replace the number with the converted temperature. Can anyone help me. Here is where I'm at …

Software Development xml
Member Avatar for hielo
0
228
Member Avatar for Annettest

Hello all: I have read that the purpose of const member functions is to specify which functions may be used on const objects. This makes sense. An example is given in my text and I don't understand it. If anyone could help, I would be very grateful. Here is the …

Software Development c c# c++
Member Avatar for Annettest
0
220
Member Avatar for Amoryethel

I'm in the works of creating a program that dishes out basic arithmetics with fractions, i.e., add, subtract. However, I found myself stumped over this error. [QUOTE]Test.java:18: 'void' type not allowed here System.out.println(r1.add(r2)); ^ 1 error[/QUOTE] My code is as follows: [CODE] \\ The constructor \\ public class RationalNumber { …

Software Development java
Member Avatar for Amoryethel
0
6K
Member Avatar for Dionysus

hi I was wondering if anyone knows how to create a dictionary using ANSI C. I really Dont know where to start...any help is appreciated... Thanx in advance

Software Development c
Member Avatar for Adak
0
730
Member Avatar for kookai

hi I need help with this problem. I have tried writting the program, i just can not get it to run properly. Please Write The Fibonacci series 0, 1, 1, 2, 3, 5, 8, 13, 21, ... begins with the terms 0 and 1 and has the property that each …

Software Development c++
Member Avatar for Nick Evan
0
2K
Member Avatar for horserider

how to get list of installed programs into my listbox ...

Software Development vb.net
Member Avatar for horserider
0
179
Member Avatar for MrCapuchino

Hello, I'm developing an application where if a user clicks a button a comparisson is performed, if the user was right an image needs to show for 1 second if the user was wrong another image needs to show for one second too. The thing is, I don't know what …

Software Development image
Member Avatar for MrCapuchino
0
690
Member Avatar for zakris

Hello! I am a student and i have this assignment to do! I must create in Java a phone! Not a "working" phone just how it looks (sort of!!) I start it today and i have a few questions! I didnt do anything extraordinary, just create the outside and inside …

Software Development gui java java-swing
Member Avatar for zakris
0
849
Member Avatar for ajst

Hi guys and girls, I've decided to pick up C++ again after not using it for 2 nearly 3 years. I've been programming in java and c# in the mean time so my understanding of programming is very good. I've been trying to make a pack of cards but for …

Software Development c++ visual-studio
Member Avatar for ajst
0
361
Member Avatar for Mr.BunyRabit

Hey there, =) My head is almost through with my database im working on. I just need one more thing i Cant seem to do. Now this is my code for connecting to my datagridview [CODE] String connString = @"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + Application.StartupPath + "\\Resources\\db1.mdb"; string query = "SELECT * …

Software Development
Member Avatar for Mr.BunyRabit
0
2K
Member Avatar for computerbear

My XML class is kickin my behind. I have an assignment that is to combine 3 files, books, movies and music into one called products. I have xml and xsd doc for each. I have gone over the book and a fellow students work and the solution files. I cannot …

Software Development xml
Member Avatar for iceandrews
0
150
Member Avatar for ram619

At line 12 compiler gives error....`float*' to `float' for argument `6' to `int fun(int, int, int, int, int, float, float)' could anyone plz tell me, where i m wrong......... Thanks [code=c]#include<stdio.h> #include<conio.h> int fun(int,int,int,int,int,float,float); int main() { int a1,a2,a3,a4,a5; float avg=0.0,sum=0.0; printf("Enter the five values"); scanf("%d %d %d %d %d",&a1,&a2,&a3,&a4,&a5); …

Software Development c
Member Avatar for ram619
0
5K
Member Avatar for jk09

what is meant by infinite time complexity??? i mean, does it imply that the problem cannot be solved by the algorithm as it takes infinite time..??:?:

Software Development algorithm c
Member Avatar for Narue
0
76
Member Avatar for wailoon88

[CODE]import net.htmlparser.jericho.*;[/CODE] hi i got this error when using the above library. it says " package net.htmlparser.jericho" does not exist" any help is deeply appreciated ^^ :-/

Software Development java
Member Avatar for wailoon88
0
81
Member Avatar for Ipan88

Hello. I am trying the last few days to make a text editor in Java but as I am new to the language I have some problems that I don't know how to deal with. The first one is that I want to save my text and then open it …

Software Development java
Member Avatar for Ipan88
0
154
Member Avatar for jlivvers

Hi, I have a c# windows form app that hanldes memberships. When the user click "new member" a second form pops up where the user can enter in the new data using the details view. When complete the user saves and closes this second form, returning to the original form …

Software Development vb.net
Member Avatar for jlivvers
0
174
Member Avatar for jijo cleetus

Hi i need to convert date format 16/1/2010 10:10:2011 AM to 1/16/2010 10:10:2011 AM after that i need to put values to database too as datetime datatype.Can you please help. many thanks in advance

Software Development asp.net
Member Avatar for jijo cleetus
0
164

The End.