199,114 Archived Topics
Remove Filter ![]() | |
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 … | |
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 … ![]() | |
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 … | |
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 … | |
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)){ … | |
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 … | |
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 … | |
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) ** **** ****** … | |
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 … | |
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 … | |
can i get a link to a good material or tutorial on blog engine building | |
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 … | |
can anyone explain stactic vs instance method by understanding example plz | |
[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 … | |
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). … | |
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 … | |
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 … | |
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] | |
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 … | |
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 | |
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 … | |
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 … | |
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 … | |
I have create a database in ms access 2007 but i don't have to connect this database to vb6.0 please help me......... | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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, … | |
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. … | |
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 … | |
[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 … | |
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 … | |
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 … | |
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? | |
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, … | |
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 … | |
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 … | |
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 … | |
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 … | |
[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 … | |
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 … ![]() | |
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 … | |
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" … | |
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 … | |
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 … | |
i want to implement "http://road.fullspeedahead.com/fly.aspx?taxid=222&layout=product", i need help.....??? | |
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 … |
The End.