199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for AnujSuper9

Hello everyone! So, I've been given an assignment to create something of a simplified Scrabble game in C. I'll start of by mentioning that I'm aware of the vastness in similarities between C and C++, but I am more versed in C++ and so I'd consider my C to be …

Member Avatar for jephthah
0
6K
Member Avatar for arvindikchari

Hello, I want a simple Php script which does the following: (a) List all file names alphabetically such that the LAST 3 letters of the file name match with one of a few strings entered by the user at runtime For eg, two strings PDF and TXT are specified by …

Member Avatar for diafol
0
124
Member Avatar for yun

i need little help of urs in the above code, RightFrom Function is perfectly working but there is a logic bug in LeftFrom Function. when i m sending North as argument the result from LeftFrom is -1 but i need 0. help me to solve this issue. [code]#include <iostream> using …

Member Avatar for Ancient Dragon
0
100
Member Avatar for mimio134

Hey guys appreciate u can help to do this: Write a program to implement linked lists to handle large integers. Since we cannot store big integers in any of the primitive types, the only way is to manage each digit as a node in the linked list. Take care that …

Member Avatar for Sky Diploma
0
2K
Member Avatar for titosd

Hello, I have a problem with this method: [code=java] public boolean addRaceDrivertoTeam(String driverLicenseNumber,String nationality,String constructorName, String fullName, Date dateOfBirth , int worldChampionships, int totalScore, int highestRaceFinish){ RaceDriver driver = new RaceDriver(driverLicenseNumber,fullName,nationality, dateOfBirth,worldChampionships,totalScore, highestRaceFinish); Constructors con; con = Constructors.valueOf(constructorName); RaceTeam team= new RaceTeam(con); if (driver.getRaceDriverKey()!=null) if (raceTeam.containsKey(con)&&(driver != null) && !team.isDriverExists(driver)){ …

Member Avatar for titosd
0
128
Member Avatar for suretd

Good Day All, I have a problem with a database program. The program is to create a database for a Stocktracker program. The details for the code, I got directly from our textbook, and it compiles perfectly, but as soon as I run the program it gives me the following …

Member Avatar for suretd
0
131
Member Avatar for Lewis_UnderGrad

Hi guys, A few months ago i installed a version (5.0 i believe) of MySQL on my machine with no problems at all. Two weeks ago i had to format my hard drive and reinstall my OS. I have successfully installed Visual Studio 2005 and tried to install MySQL last …

Member Avatar for peter_budo
0
138
Member Avatar for pspwxp fan

Hello, i'm learning to work with loops and it was fine untill it came to nesting loops. In an exersize, i was told to use nested loops to display a pattern of asterisks like this: (2 asterisks, 4 asterisks, 6 asterisks, 8 asterisks, 10 asterisks, 12 asterisks) ** **** ****** …

Member Avatar for pspwxp fan
0
577
Member Avatar for atman

Hello., I'm very green in c++, and at school we just had a first lesson on pointers to functions, and I'm going over teachers code using debugger and dont understrand why the line age = getInt(IsValidAge); executes before printf, i thought C++ compiler executes lines sequentially. Any help would be …

Member Avatar for Salem
0
158
Member Avatar for Joe Shmoe

I am just starting to learn x86 assembly language because eventually I want to make my own OS. I wrote a boot sector in fasm and it doesn't load the second sector into memory. Because I just started, there is probably something obvious wrong with the code. Could anyone tell …

Member Avatar for Joe Shmoe
0
132
Member Avatar for uthman4u2nv
Member Avatar for kvprajapati
0
108
Member Avatar for Tamir09

How would I read XML data into an array? I have an XML sheet, and I want to read each of the values of a specific element into an array. So for each element in each data group I would have an array holding that data. The idea is to …

Member Avatar for Tamir09
0
3K
Member Avatar for sivak
Member Avatar for kvprajapati
0
70
Member Avatar for hypernova

[code][/code] Hello everyone ! I am still a beginner, and am posting the code in which I have problems - I compiled it in VC++ 6.0 standard edition, and it gave two warnings and no errors. The warnings disappear if i use double everywhere instead of float. the warning (same …

Member Avatar for s_sridhar
0
138
Member Avatar for don0369

Hello everyone this is my first post. My problem is reading from a text file. The file is in the format: name\tdouble\tdouble\tdouble int Since I have no control over the format of the file and do not know the size, I first begin by counting the lines of the file(nLineCount2). …

Member Avatar for don0369
0
120
Member Avatar for connormcleod

hello, I am working on a little database program in C++ that writes to a text file, saves, and then reads the text file into array's, but i'm not real sure how to go about converting the information in the text file back into arrays. the text file looks like …

Member Avatar for kvprajapati
0
9K
Member Avatar for v_sriram

Hello everyone, I have been trying to launch my JSP web application using Tomcat using my laptop as the server, with little success. I have registered a DNS at dynDNS.com ( free DNS, anyone!), made my IP static, forwarded port 8080 and port 80. The only problem I believe is …

Member Avatar for v_sriram
0
327
Member Avatar for Xessa

I want to insert an array into a table. Each array element is a row in the table. How can I achieve my goal? I don't want to use [code] VALUES x1,x2,x3,x4 ......[/code]

Member Avatar for humbug
0
164
Member Avatar for KimJack

Hello all, I am trying to display time in the following format that represents hours and minutes: hh:mm [code] public String getTime() { String time = String.format("%tI:%tM", hours, minutes); return time; } [/code] For some reason I keep getting the following error: "The method format(String, Object[]) in the type String …

Member Avatar for Xhamolk_
0
204
Member Avatar for Prakash_8111

Hey guys, How I will come to know my perl script for copying files (generally very big sized file 1000 gb ) between two server successed or interupted ? How I will get the error status of the scp commmand I used for copying file ? Thanks in advance

Member Avatar for mitchems
0
108
Member Avatar for urvenkatg

Hi I am doing a chating application.I want to know whether a window is opened or not. This is the code i am using to open a window. [code=JavaScript]var title='Chat_'+userId+"_"+selectedUserId; var url="OneToOneChat.aspx?FromUserId="+userId+"&FromUserName="+userName+"&ToUserId="+selectedUserId+"&ToUserName="+selectedUserName; window.open(url,title,'width=410,height=400,toolbar=no,menubar=no,scrollbars=no,status=yes',false);[/code] later i trying whether the window is already opened or not. [code=JavaScript]var win='Chat_'+userId+"_"+selectedUserId; if(win.closed) { } else …

Member Avatar for ankitjain_dce
0
128
Member Avatar for gretty

Hi I am testing myself by making a simple program that reverses the contents of an array. It works for some values but the last value of the array is not correct. Can you take a look over my code to point out where its going wrong? the original array …

Member Avatar for s_sridhar
0
118
Member Avatar for ankitjain_dce

Hi, Can we write javascript in iframe? I want to call a external application javascript in my iframe of the jsp i am writing....issue is we can only have one call of this JS per page,now I am importing some html tags from a 3rd party which also does this …

Member Avatar for ankitjain_dce
0
7K
Member Avatar for shibu.web

I have create a database in ms access 2007 but i don't have to connect this database to vb6.0 please help me.........

Member Avatar for vb5prgrmr
0
124
Member Avatar for gretty

Hi I am making a program that reads a string, when it finds a '.' character it changes the next character after the '.' to uppercase. My problem is, I am trying to take a string with 5 arrays (string line[5]), & extract the 1st character of line[0], then the …

Member Avatar for siddhant3s
0
265
Member Avatar for terdie

hi there.Good day!its me again.. Can you help with some codes that I have trouble with Im using visual c# 2008 and access 2000/2002 database,I have this database called VIDEO and some tables. theres add/edit/delete button in my form to add/edit/delete videos to the database. If the user adds a …

Member Avatar for terdie
0
134
Member Avatar for Fasola

What is the MOST important thing to do when developing new code or modifying existing code (other than correct functionality)? Why? I was asked this question today as part of a test for a Software Engineer job, i think its an opinion based question with no correct answer. Help me …

Member Avatar for Fest3er
0
733
Member Avatar for MDGM

Hi guys, I have a simple registration form and have had trouble getting it to check if the username is already taken in the database. This is what I have at the moment: (the code i tried to use to make the check is about half way down) [CODE] <?php …

Member Avatar for allihoge
0
2K
Member Avatar for Biolizard5000

Quicktime automatically plays files I want to download. Such as Mp3 download links and such. An example is [url]http://beemp3.com/[/url] (There are more sites than just this one.) I use FireFox and tried "Save Link As" and also tried Internet Explorer's "Save As". It does nothing. Just flashes the timer and …

Member Avatar for Biolizard5000
0
128
Member Avatar for Pabz

Have setup several ODBC links to local access DBs, and thought it would be just as simple wanting to link to an Access DB stored on my personal webspace, but no... Asks for username / password when I type in the url of the online DB in the ODBC setup, …

Member Avatar for spraveen2
0
662
Member Avatar for trickx0729

Hey guys, [INDENT]I just want to know if its possible to code a java program that will automatically logs you on your online accounts (e.g. such as yahoo mail, facebook, gmail, multiply, or even in this site) using your own username and password you use to register on such accounts. …

Member Avatar for PhiberOptik
0
669
Member Avatar for leverin4

Picture 1 down below is of a Maze program I wrote as it looks when you open it. Picture 2 is the same Maze after the program finds its way out. I want to alter the code so the program adds each blue spot one at a time as it …

Member Avatar for VernonDozier
0
242
Member Avatar for adarshcu

[code=Cplusplus] file.open("1.txt"); file.seekp(pos,ios::beg); getline(file,temp); file.close(); [/code] i ve this small code where temp is string data type. suppose the value of pos points to a location yet to be filled with data, what would be the value stored in temp? is it NULL? temp is not been initialised by any …

Member Avatar for vmanes
0
102
Member Avatar for uykusuz

Hello, I have a php script. there is user and admin sections. The information is displayed in the user side (displaying adding new article) when added from admin side. But when I add a new article and refresh page. it does not come but after 2-3 refreshes It comes. same …

Member Avatar for uykusuz
0
126
Member Avatar for follow33

Hello to everyone !!! I have a problem with query in sql. Look in the photo and you will find details about my problem. Why i cant add a new record. When i will add ID, Emri and Cmimi i want to show them automatically... Does any one have idea …

Member Avatar for follow33
0
111
Member Avatar for sonia sardana

hi frnds i want to ask that what is the format of cookies last modified..Coookies of Mozilla are saved in C:\Documents and Settings\Administrator\Application Data\Mozilla\Firefox\Profiles\x5ncmceb.default\cookies.sqlite If we read it last accessed date of cookie is in format 1244272348453125. How to convert it to date..Can somebody tell me?

Member Avatar for Teme64
0
101
Member Avatar for osmano807

Hello, I am developing a program that will read files with many lines of text (perhaps 20 thousand), and to look for a text on each line, hit the text, perform a function. I have a problem because the files have as many lines, the program will be very slow, …

Member Avatar for ArkM
0
122
Member Avatar for nikk

Hello Friends, I am developing a menu using javascript wherein, I expand and collapse divs. It works fine individually; but the problem arises when I try to hide all other divs on expanding one div. Following is the code. Pls. suggest any change if you spot any error or even …

Member Avatar for essential
0
216
Member Avatar for ChrisJ

If you're familiar with Greybox, the pop-up window: [url]http://orangoo.com/labs/GreyBox/[/url] I'd just like to know how I can get it to pop-up not in the center of the page. I'd like it to pop-up on the left side of the page. Is that possible? If so can you help me accomplish …

Member Avatar for peter_budo
0
188
Member Avatar for mrclark

I am trying to make a drawing app integrated into a program that i am making, but i am having the problem of trying to save the drawing. [code] Private Sub SaveDrawingToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles SaveDrawingToolStripMenuItem.Click SaveDrawing.ShowDialog() Try DrawPad.Image.Save(SaveDrawing.FileName, System.Drawing.Imaging.ImageFormat.Bmp) Catch ex As Exception MessageBox.Show("Drawing …

Member Avatar for Teme64
0
133
Member Avatar for Majestics
Member Avatar for Majestics
0
120
Member Avatar for vizy

Hi Guys, I have 2 listboxes Listbox1,Lixtbox2.. I am moving items from Listbox1 to Listbox2.. and vice versa using Javascript with the button clicks. The code is working fine.. but I am unable to get the Updated(done using JS) Listbox Items at the backend(C#) file. I am using the UpdatePanel …

Member Avatar for vizy
0
135
Member Avatar for mindfad

[code]from psychopy import visual, core, misc, event import numpy #for maths on arrays from numpy.random import random, shuffle #we only need these two commands from this lib from random import * import math win = visual.Window([1024,768], units='pix', monitor='testMonitor',rgb=(-1,-1,-1)) numbers = range(100) #range of stimuli to be generated or how many …

Member Avatar for mindfad
0
208
Member Avatar for Lee_Sonnenburg

I have a table that contains 144 records read in from a mysql database table. It's encapsulated in a div tag for the sole purpose of making the height fixed and scrollable. However, it seems that I can't place anything under the table. I wanted to put some contact information …

Member Avatar for diafol
0
310
Member Avatar for BestJewSinceJC

Ok, as I mentioned to Ezzaral, I'm working on learning Eclipse RCP but it is pretty hard to find good resources. I've found one good resource but it was written in 2006 and I'm really looking for some up to date online tutorials or resources using Eclipse Ganymede. Does anyone …

Member Avatar for BestJewSinceJC
0
105
Member Avatar for fatbob

Hi all I am new to programming and python and am having trouble reading particular strings from a text file and writing them out to a separate file. The file has a large number of lines, has the following format and is interspersed with signature sentences i don't need: subdoc="Book=2:chapter=1" …

0
71
Member Avatar for BillWebber

Hi I did have this code working some time ago and now for some reason it just returns a blank message box. In fact I have been trying to get this back running for many hours now and I am left with little option but to ask outside help. It …

Member Avatar for BillWebber
0
154
Member Avatar for fwso

Hello, everyone! I will graduate in this month, and I have contracted with a software development company as a Java Programmer. I am, however, wondering how could I become an excellent Java programmer! I need some suggestions on: how to improve my development skills? what kind of book or journal …

Member Avatar for peter_budo
0
323
Member Avatar for candidz

i want to implement "http://road.fullspeedahead.com/fly.aspx?taxid=222&layout=product", i need help.....???

Member Avatar for candidz
0
87
Member Avatar for tomtetlaw

How do you render a font so that it changes when the variable changes? This is my code: [code=python] ############################## # Copyright lololol (c) 2009 # ############################## import pygame from pygame.locals import * pygame.init() GRAVITY = 0.07 FRICTION = None def getNumKeysPressed(): temp = 0 for item in pygame.key.get_pressed(): if …

Member Avatar for scru
0
291

The End.