199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for cristina06

[CODE]Public Sub DisplayData(strArray() As String) Dim intPerson As Integer For intPerson = 1 To mintNumPeople Cells(2, 1).Value = strArray(1) Cells(2, 2).Value = strArray(3) Cells(2, 3).Value = strArray(2) Cells(2, 4).Value = strArray(5) Cells(2, 5).Value = strArray(4) Cells(2, 6).Value = strArray(6) Next intPerson Cells(intPerson + 1, 1).Value = strArray(intPerson * mintDataPerPerson)[/CODE] I'm …

Member Avatar for cristina06
0
249
Member Avatar for neocortex

Hello! I wonder if anyone used google-diff-match-patch for fuzzy string comparisons, i.e., for finding a closest/most similar string? Can anyone explain and give some examples? Also, in genera, what would be the best matching algorithm in Python. I tried Levenshtein, but matches are not so good, and I tried difflib.get_close_matches …

Member Avatar for Neil Fraser
0
1K
Member Avatar for feoperro

Hi, I would like to develop a php web application using wamp - just something simple to start out. What IDE should I use? and how do I link it to wamp? Thanks!

Member Avatar for feoperro
0
83
Member Avatar for pandaEater

I'm making a hash table using a linked lists to handle collision. So I'm creating an array of "head" pointers to access each linked list. I can't figure out why I'm getting the error below: error C2440: 'initializing' : cannot convert from 'LinkHash::ListNode' to 'LinkHash::ListNode *' I commented **not working** …

Member Avatar for pandaEater
0
279
Member Avatar for drewpark88

Hey guys, I have a bit of a problem with implementing an ajax based contact form. I am sure I forgot something...does this almost look right? What do you think the problem is, the form still submits but the page refreshes instead of just sliding the form up and fading …

Member Avatar for drewpark88
0
138
Member Avatar for apautz22

I am working on the UVa problem 10032 - Tug of War, where I'm given the time constraint of 3 seconds to solve the problem. I have pasted the criteria for the problem below. [INDENT]A tug of war is to be arranged at the local office picnic. For the tug …

Member Avatar for apautz22
0
794
Member Avatar for benhowdle89

I'm populating a dropdown from a mysql table with php but some cells in the column are blank, so in the dropdown there are gaps where these blanks are. Can i choose not to show blank cells or something? Thanks

Member Avatar for pritaeas
0
263
Member Avatar for crsher

can anyone create a program for this? In this program, you will be creating a very simple pizza-ordering menu. At this pizzeria, there�s only one kind of pizza you can order: regular (cheese,) no toppings. Your choices are what size of pizza, and how many of them. You�ll need to …

Member Avatar for TrustyTony
0
2K
Member Avatar for hassancool

HI, I am using an Image Hosting Script... I want to modify it according to my needs... Is there anyone who can help me in this? I can also pay for that.... But its Really Urgent.... Regards....

Member Avatar for hassancool
0
155
Member Avatar for gedas

hey everyone, well i have made a method that would return array of string. the strings would be obtained from the file(employee.txt) every 4th line in the file contains employees loginID i need to store those ids in to one array and then return it. here is the code of …

Member Avatar for gedas
0
133
Member Avatar for eladreznik

i am trying to change the background color of a tooltip i am using tooltip.backgroundcolor = color.colr no errors but thecolor doesn't change any ideas ?

Member Avatar for jugosoft
0
365
Member Avatar for ChaosKnight11

So I made a few tutorial applications and understand the most basic Python concepts and I'm well on my way to become a Python addict, only one thing is standing between me and the road ahead. I'm trying to make my first "useful" Python application - a program that allows …

Member Avatar for richieking
0
183
Member Avatar for nssltd

Hey During my web browser program i want to embed the very basic feature set as desktop background. i know how to set the image as desktop background but i am unsure how to get the image of the website Any help is much appreciated NSSLTD Method to set image. …

Member Avatar for nssltd
0
294
Member Avatar for unikshegz

anyone kno why java keeps telling me illegal start of type , in the first if statement thanks in advance Airline reference = search(choice, airlineObjects); if(!choice.equals("QUIT")) { if(reference == null) { System.out.println("wrong flight number enter another flight number"); } else { System.out.println("your file detail is ....."); System.out.println(reference.getFlight() + " " …

Member Avatar for Ezzaral
0
94
Member Avatar for epicrevolt

So I have my site templates complete and I know that I have the right database connection because I can register, but I am having problems with dynamic pages. I originally started the site with all the pages in their own unique separate PHP file, but I ran into problems …

Member Avatar for epicrevolt
0
216
Member Avatar for AlvinLiu

using recursive Java method [CODE]import java.util.ArrayList; public class Count { private String word; public Count(String w) { word = w; } public ArrayList<String> getUpper() { ArrayList<String> result = new ArrayList<String>(); if(word.length()==0) { result.add(word); return result; } for(int i=0;i< word.length();i++) { if(Character.isUpperCase(word.charAt(i))) { String shorter = word.substring(i); Count shorterCount = new …

Member Avatar for AlvinLiu
0
742
Member Avatar for bloody_ninja

Does anyone know how to create ASM code in VS2008? I am so confused and cannot find the method in which I can code in Visual Studio.

Member Avatar for bloody_ninja
0
102
Member Avatar for alastair1008

i'm writing a program that can tell me where my curser is and whether the bottons are being pressed

Member Avatar for kramerd
0
127
Member Avatar for skiabox

I am trying to produce a random walk solution but I get some strange results. Here's the code : [CODE] #include <stdio.h> #include <stdbool.h> #include <stdlib.h> #include <time.h> int main (int argc, const char * argv[]) { // insert code here... char myArray[10][10]; char letters[26] = {'A', 'B', 'C', 'D', …

Member Avatar for WaltP
0
152
Member Avatar for Saion

When i try to dynamically change the height of an iframe in ie through a java-script to match its content (a html page containing a flash movie), it doesn't resize the iframe at first, but when i reload the same page into the iFrame it resizes as planned, how come? …

Member Avatar for fobos
0
2K
Member Avatar for tgreer

Windows Form Application, C#, in VS2010 Express. I get the "Object reference not set to an instance of an object." error with the line of code below, when I attempt to close the Form. [CODE]Int32 myID = Convert.ToInt32(((DataRowView)projectBindingSource.Current).Row.ItemArray[0]);[/CODE] This is a simple form with two data-bound controls. The record has …

Member Avatar for tgreer
0
167
Member Avatar for therobot

I'm pretty sure there's just a small bug I'm missing, but I can't seem to find it. Error: g++ -Wall Proj3.cpp -o proj3 -pthread Proj3.cpp: In function âvoid initLockVar()â: Proj3.cpp:52: error: expected primary-expression before â{â token Proj3.cpp:52: error: expected `;' before â{â token Proj3.cpp:256: error: expected `}' at end of …

Member Avatar for therobot
0
2K
Member Avatar for SunnySideUp

Hi, I am looking for some help with my script, since only half of it is working. The image path will not be put in the database for some reason and when I process the form all I get is white space: [CODE] $reg_errors = array(); if ($_SERVER['REQUEST_METHOD'] == 'POST') …

Member Avatar for fobos
0
108
Member Avatar for gastonci

It may be the compiler, but it just doesn't work. The program it's suppose to return the string "a m". [CODE] #include <iostream> #include <string> int main(int argc, char *argv[]) { std::string x = "hola mundo"; std::cout << fromto(x.c_str(),"l","u") << std::endl; return 0; } [/CODE] [CODE] const char* fromto(const char* …

Member Avatar for gastonci
0
201
Member Avatar for stonest123

I'm not sure if this belongs in PHP or in SQL forum but basically... when using odbc_result_all, the bottom results is missed all the time, i don't know why it does this but i think its something to do with the driver. So, to get the last result from the …

Member Avatar for stonest123
0
117
Member Avatar for hl1202

Hi all, i'm working on some exercises which i have to load data from Image library. I write a load function and it work fine except when the number of images in the library becomes large. At this moment, the limited number if around 700 images. When the number reaches …

Member Avatar for vijayan121
0
268
Member Avatar for buse

please i can someone help me about creating chat massager application, please if anyone one know it please help. thanks

Member Avatar for anthonydonx
0
161
Member Avatar for urbangeek

hi guys, i'm just starting out c++. Now the problem is, no matter whatever program i write, i'm getting this warning. [QUOTE]#warning This file includes at least one deprecated or antiquated header. \ Please consider using one of the 32 headers found in section 17.4.1.2 of the \ C++ standard. …

Member Avatar for urbangeek
0
302
Member Avatar for heidik

Hello everyone I am trying to find duplicates for part of a string, not the whole stHello everyone I am trying to find duplicates for part of a string, not the whole string. The strings are stored in a file. Each line of file contains a string and many of …

Member Avatar for vijayan121
0
135
Member Avatar for jems5

I would like to compare user input against and entire file and print out message when item is found or item not found. My program below appears to do that but it is doings so one line at a time. Please help. Jems [CODE] import java.util.*; import java.text.*; import java.io.*; …

Member Avatar for jems5
0
2K
Member Avatar for kidanr

Hello, I'd like to know how to make a div height maximum f.e. 200px. If the height goes above 200px it should come some text saying "View more" or something and then it expands. This I need because I have a page where I will post posts and if the …

Member Avatar for kidanr
0
85
Member Avatar for ashmew2

Hi , I am basically working on a snakes game in C++. I have managed to move the snake around on the screen with the WASD keys . The snake is a result of a looped putpixel() functions in the ancient graphics.h Borland file. I was hoping to find solution …

Member Avatar for Luciusduplantis
0
171
Member Avatar for hariprasadrao

i've started learnin OOPS lately... and i hav a question... check it out... i started studying abt friend class and friend functins... a friend function program... now, how can i write a progarm 2 add two complex variables... can i use: void getdata() { cin>>a+i; cin>>b+i; } to input two …

Member Avatar for Luciusduplantis
0
108
Member Avatar for Tankadin

hi folks the program I am attempting to do here, even though its horrible so far, is one that reads in a file containing: [code] Johnson 85 83 77 91 76 Aniston 80 90 95 93 48 Cooper 78 81 11 90 73 Gupta 92 83 30 69 87 Blair …

Member Avatar for kramerd
0
180
Member Avatar for jems5

In my program I need to have the user get two chances before ending the program. Currently if the condition is not satisfied then they only get one try. I would like some help in getting a second try. [CODE] // Takes user entry Scanner user = new Scanner(System.in); System.out.println("Please …

Member Avatar for jems5
0
81
Member Avatar for DerLars

Hello everybody, I have spend the last 6 hours on trying to access a char * type within a static struct without success. I guess I use the pointers wrong but after trying "everything" I am pretty lost right now. So hopefuly someone of you can help me. I have …

Member Avatar for gerard4143
0
142
Member Avatar for Violet_82

Hi there, I have a question about a really simple program. The code below doesn't work, the compiler comes back with "fatal error C1083: Cannot open include file: 'ofstream': No such file or directory": [CODE]#include <iostream> #include <ofstream> using namespace std ; int main( ) { ofstream myfile("newfile.txt") ; myfile …

Member Avatar for Violet_82
0
199
Member Avatar for Spudgunner

Hi I'm beginning a new game project involving Event data cards. Most have common types of data. They fall broadly into three types: terrain, movement or fire. Although there are some special event cards or modifier cards but on the whole, similar data on the most part. Except the fire …

Member Avatar for Spudgunner
0
113
Member Avatar for obinimalyn

what are the modules do you prefer to do when you are creating a COMPUTER AIDED INSTRUCTION SYSTEM??

Member Avatar for obinimalyn
0
87
Member Avatar for Vast

Hello. I need some help in deducing time in a game. The current time is (06:45:10) I have two fleets that is send to attack a planet. The first fleets arrival time is known (10:31:15) 24 hour format The second fleets time to get to the target planet is known …

Member Avatar for AndreRet
0
87
Member Avatar for gedas

hey everyone, well i got a little problem im trying to write input from the JTextField into the file (file4.txt) but the problem is it keeps overwriting the text file each time i make input and any data ther was is changed in to new data.all i need is that …

Member Avatar for gedas
0
88
Member Avatar for akondray

I'm trying to write a program that, after playing a game with the user, asks if they want to play again. For this test, I want to simply test the first letter of the word they input and if it's a "y" then the game will repeat. at first, I …

Member Avatar for Taywin
0
160
Member Avatar for ebay1989

I'm not sure if this is the correct place to post this but a website I recently created keeps being unable to load. It will go through periods of loading fine and everything working and then all of a sudden it just wont load, then awhile later it'll load again …

Member Avatar for ebay1989
0
172
Member Avatar for Goshutu

my program is made to enter a matix,in which it finds all of the column`s minimum numbers which are[COLOR="Red"] >0[/COLOR] and then put them under the last row.i have sucseded entering the array and puting it out,but i think my IF is wrong somehow.I have tried initialising the last row …

Member Avatar for Goshutu
0
204
Member Avatar for pyprog

I was just wondering if there is a method or something in Java that, once a URL has been passed, can determine if a webpage under that URL was written in HTML, PHP, XML, and so on. I looked in URL and HTTPConnection classes but didn't find anything. Maybe missed …

Member Avatar for Taywin
0
82
Member Avatar for flyingcurry

The program like the title says is supposed to return the largest integer value in an user-inputted integer array, using binary recursion. And in the case of an empty array, return Integer.MIN_VALUE. I am kind of stuck on the logic of this binary recursive algorithm. I know there is errors …

Member Avatar for Taywin
0
180
Member Avatar for sidra 100

what r sum applications of very common microprocessors and microcontrollers that uses assembly language as its basic or core language

Member Avatar for coolshiva
0
74
Member Avatar for ichigo_cool

I've been doing research on data structures but I just can't really wrap my head around what they are. I'm thinking classes, enums, structs are data structures; but then I also see linked lists and queus, etc that I don't understand either. Could anyone tell me what they are, what …

Member Avatar for invisal
0
191
Member Avatar for Rajdarji

[CODE]#include <stdio.h> #include <ctype.h> #include <string.h> #include <unistd.h> #include <libgen.h> #include <time.h> #include <errno.h> #include <ctype.h> #include <math.h> #include <float.h> #include <stdlib.h> static char * string_tok( char *str) { static char *next = NULL; if(str == NULL) { str = next; } else { next = str; } if(str == …

Member Avatar for invisal
0
127
Member Avatar for Dazaa

I am writing another header file. And I am still trying to get my head around these templates. They seem extremely easy to understand but I have had the compiler moaning at me for the last 2 hours. This is what i have: [CODE] #include <iostream> #include <cassert> using namespace …

Member Avatar for Fbody
0
6K

The End.