64,152 Solved Topics
Remove Filter ![]() | |
I am developing a framework to simplify creation of embedded software applications. Resources are typically limited in this type of environment, so I need to make it very efficient in its use of memory space. One goal is to be able to reference any variable by a <typeNumber, instanceNumber> value … | |
Not sure what I am doing wrong. My homework says Design C#solution with a `Main()` method that holds an integer variable named seconds to which you will assign a value. Create a method to which you pass this value. The method displays the seconds in minutes and seconds. Add a … | |
Hello every1... I am developing a project in JAVA.. My project is APPLICATION MONITORING WIZARD..!!! Can I get any help..?? Even if I get an idea as to how I start off, will be QUITE helpful.. The applications that I am planning to monitor include : 1.JVM 2.Tomcat server 3.Website … | |
I am having a problem writting a function to remove all occurences of a specific (user defined) integer from an array. Here is what I have so far. [CODE] #include<iostream> using namespace std; void menuDisplay(int& menuSelect); void remove(int intArray[], int& sizeOfArray, int removeItem); void removeAt(int intArray[], int& sizeOfArray, int index); … | |
hi, im making login page using jsp.user names and password entered are matched wit the db. have placed db connection code in a java classlogin.java...The directory path is webapps->myfolder->all jsp and html files webapps->myfolder->WEB-INF->classes->test->login.java I entered the url in browser also perfectly fine..[url]http://localhost:8085/myfolder/mainpage.jsp[/url] i set the PATH and CLASSPATH variables … | |
this is the error i have... key column information is insufficient or incorrect. to many rows were affected by update. thx for viewing... | |
Hi guys. Can anyone please direct me to a site where i can read about multi threading for a begginner? All the sites i seems to be finding seem sketchy. | |
| |
I was given the problem to write a class called block cipher to take in a text file and output the same text file after it has been encrypted. I have to use this header file... [CODE]#include <iostream> using namespace std; class block_cipher { public: block_cipher(); // Constructor void finish(); … | |
I searched thru all the PHP threads I could find relating to PHP & Forms and didn't quite find anything like what I asking. I am new to PHP and was wondering if someone could let me know why I am getting error HTTP 404 (Not Found) <!DOCTYPE HTML PUBLIC … | |
nvm - this topic can be closed sorry for wasting space | |
I have a gallery of thumbnails on a webpage, and when clicking on one of the thumbnail, the full image appears in a popup. All good, but the image in the pop-up loads only after the parent page finished loading, which can take quite long. It is my understanding that … | |
I been trying to import the list in the text file to the word doc, the thing is, is that I can only get the last line on the text imported while I'm missing the rest of the top. Can somebody help please? [code] import java.util.Scanner; import java.io.*; import java.util.*; … ![]() | |
OK, so I'm finally transitioning from VB6 to VS 2005 and it is excruciating. I do a lot of db programming in VB6 and Access 2003 and just trying to connect to a table in VS2005 has taken me several hours. I finally could read data from a table and … | |
Hi I want to create a login screen which asks for username and passwor with change passsword facility. My idea is to store username and password in a php file and update them. Can anyone please tell me how to update a php file from another php file.. Thanx in … | |
Hi all! I've been searching the internet and various C++ books for quite some time now, and I appear to have reached a brick wall. As suggested in a given algorithm written by my professor, during input validation, if the stream goes into failure, I am to "reset cin" followed … | |
Hello, I am a student. In my Java class we are learning about classes and objects this week. To me this has been very difficult. I have written the following bit of code for the program but I cannot get it to run. The piece of the program is designed … | |
I cannot find documentation of this anywhere. I am assuming from context that this goes a id lookup of a dom object and returns the object. Is that correct? If someone could point me to documentation of this, I would greatly appreciate it. Thanks, | |
the program works and all but i dont want my qts,dms,nks,pns to be in a decimal form i keep changing it but then it doesnt wotk can anybody help me pleasee i really appreciate it am not sure how to improve it..thank you so much.... import java.util.Scanner; public class Program1 … | |
Is there a way i can run a single void from my java class when using a shell/batch command or does it only run the main void when using a command such as "java MYCLASS" I have tried commands such as "java MYCLASS.VOID" or anything similar but im not sure … | |
I am having a sort of an issue with something. I am writing a script where, the user inputs some information in a form, and based on that form, a new file is created. The file which is created will actually become a webpage of .php type. The problem I … | |
I am trying to write a program that will flip a coin 100 times and count the number of times it lands on heads as well as the number of times it lands on tails. I have a function, flip, that returns 0 for tails and 1 for heads. When … | |
Hello, I have been stuck on this for awhile, and can not seem to get it to work exactly correct. I am trying to read in a file ("in_text.txt") and print out it's contents to the screen for now (eventually i will manipulate the data with a block_cipher class). Here … | |
Hi All, I am having this issue and don't really know a good way to overcome it. I have a main form. With a click of a button another form is created. For the example let's just say it has a simple text box. You type whatever you want in … | |
Hi everyone, I want to delete uploaded files from the server. here I am not using database please check my code and suggest me any changes Del.php [CODE]<?php $jpgdir = "uploads/"; $file=$_REQUEST['file1']; echo $file; //echo $jpgdir; // Open a known directory, and proceed to read its contents if (is_dir($jpgdir)) { … | |
ok people i wrote this code myself. i just need your help so this program can accept any digits and print the decimal equivalent. i worte more than i needed too because i wasnt so sure how muchi needed. i dont think it works very well. i tried 1101 and … | |
Hey all, first post here and as im sure once i ask my question.. you will all know that i am very new the shell scripting. I spend all of time in php, not shell. I need to figure out a way to see if a shell varable has a … | |
Hey guys, recently I started playing around with pygame. Right now im making a little orb move when you hit a key. But its stuck with the image loading! [CODE]background_image_filename = 'C:\\orb\\backroundorb.jpeg' sprite_image_filename = 'C:\\orb\\orbsprite.jpeg' import pygame from pygame.locals import * from sys import exit pygame.init() screen = pygame.display.set_mode((640, 480), … | |
Hello All! I am running AIX4.3 UNIX OS. I am developing using the C-Programming Language. I have inherited code which creates a dialog box. [code] dialog(box_height, box_width, position_x, position_y, "message")[/code] The requirement [B][I]now[/I][/B], is to place a list of say numbers in the box and grow it dynamically. Problem is, … | |
I'm relatively new to programming in wxPython and I have been trying to put a BoxSizer within a wx.Window. This only results in a small square (which is the panel within the BoxSizer) appearing in the window. Could somebody please tell me what I'm doing wrong? Sample code: class TestPanel(wx.Frame): … | |
Is there a way to open the main access switchboard in windows without showing the access program? as a usable Data Base. | |
I'm getting further and further to figuring out how my java program can read from my console application written in vb.net, i have some of my class here that i found on a site: This is mainly to do with reading numbers from input but il change it later. [CODE=java] … | |
Hello, I have just started playing around a bit with Python/Tkinter. What I'd like to happen is to draw a circle and then have the circle change its coordinate. The way I was thinking is to have some integer i to be defined 0 and then be updated every frame … | |
what about overloading the subscript operator to… say sort an array of ints without templates... example: [code] class Whatever { private: int * m_value; public: int &operator[](std::size_t index); }; [/code] | |
I am writing a simple program to read in date from a lotto winning numbers file. The data is structured like this: 01/03/1998 6 - 12 - 20 - 33 - 34 - 50 01/10/1996 13 - 22 - 34 - 40 - 44 - 49 etc. No matter how … | |
Hi experts, I have a project working on C# and ASP.Net. There's a function for my users to delete a project by the project name, which is the primary key. However, it is not functioning perfectly. When the project name is two word(second word more than 4 characters), it could … | |
I'm making a program that divides by 1000. It works fine until it divides by a number higher than itself. For example [CODE] double asdf = (1000 / 3000); Math.Round(asdf); txtSpeed.Text = asdf.ToString();[/CODE] When it divides by a number higher than 1000 it just gives me 0. Anyone know what's … | |
Hi All ! I want to use the returned value of user defined function of source code(VB.NET) in Databases( MSSQL) is it possible to throw the returned value of user defined function of source code into databases? Kindly Help me in this regrads plzzzz ... its really very urgent ! … | |
I can only compile my source code if the command prompt is pointed to the compiler directory or the source code directory. Basically, I can get the compiler to compile from either: [B][B]C:\Borland\BCC55\Bin>[/B] C:\bcc32>[/B] or [B] C:\01proj\hworld.cpp[/B] (location of source code) My source code is [code=c++] // C++ code template … | |
Hi , How can i get access to ( .rc)file when i already load it(already start my program). I want to make some changes from main window. Thank you for your effort of reading . | |
Hi Was wondering if anyone can tell me why the code below does not work! I am presuming it is something to do with the array but can't figure it out. Thanks var userpasswords = ['sooty', 'plane', 'sandra', 'football', 'laundry']; var password; password = window.prompt('Please enter your password','') while (password … | |
Hello, I am having some trouble traversing backwards through a double linked list. Basically this program pulls words from a text file (I have attached the file I am using), corrects the words and stores them in an array of pointers (one pointer per letter of alphabet) of double linked … | |
Does anyone know how to delete a specific index of an array? Is there any recommended library out there ? | |
I am not a developer or especially knowledgeable in MS SQL, but I am the person responsible for creating special queries for my companies SQL Database. I have a query that is selecting customer names, addresses, product ordered and e-mail addresses. I am want to select only those customers with … | |
Hi all, I want to run an OS command from my Java code. Basically I want to delete an unknown number of file from a particular directory from my Java code (in windows). But the way "del *.*" commnad works it prompts you whether you want to delete it or … | |
Hi everyone! I am new to C++, started not so long ago. I am writing a database program using sqlite3 and gtkmm (C++ bindings to GTK) GUI toolkit. I am using Eclipse for project building (managed make). In my project, I have two folders - 'db' and 'interface'. here is … | |
Hi all, I want to read a properties file from the same directory as my program, e.g. my program is in C:\WorkSpage\Myprogram.java and I have a properties file called index.properties how can I read the file, without specifying a path? I have tried the following but it doesn't read the … | |
Hi, I'm trying get some summary results from two related tables. I'm looking to find the most efficient way to return this data in one result set. The tables can be summed up as follows: [code] MainTable MainID INT, Description VARCHAR(50) Eg: MainID Description 1 John 2 Adam 3 Fred … | |
I'm learning C++ from C++ Primer Plus, 5th Edition, and have come across the following problem. The following class declaration is given as part of the question: [code="cpp"] /* Name: move.h Copyright: Author: Steven Taylor Date: 31/01/08 15:05 Description: Class 'Move' header file. C++ Primer Plus, Ch.10,Prog. Ex 6. */ … |
The End.