64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for NorseMN

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 …

Member Avatar for Ancient Dragon
0
1K
Member Avatar for charlie81

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 …

Member Avatar for crava
0
99
Member Avatar for Shveetis

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 …

Member Avatar for Ezzaral
0
86
Member Avatar for juan.s.duarte

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); …

Member Avatar for vmanes
0
209
Member Avatar for Ankita B

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 …

Member Avatar for ~s.o.s~
0
180
Member Avatar for gallantmon1
Member Avatar for jaasaria

this is the error i have... key column information is insufficient or incorrect. to many rows were affected by update. thx for viewing...

Member Avatar for jaasaria
0
93
Member Avatar for wamuti

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.

Member Avatar for John A
0
97
Member Avatar for technogeek_42
Member Avatar for kylcrow

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(); …

Member Avatar for kylcrow
0
139
Member Avatar for vbjenny

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 …

Member Avatar for nav33n
0
191
Member Avatar for CoolGamer48
Member Avatar for standardt

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 …

Member Avatar for badda
0
193
Member Avatar for Dio1080

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.*; …

Member Avatar for iamthwee
0
162
Member Avatar for GrexP

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 …

Member Avatar for GrexP
0
135
Member Avatar for creativehacker

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 …

Member Avatar for Walkere
0
107
Member Avatar for spyrilautte

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 …

Member Avatar for spyrilautte
0
3K
Member Avatar for Questions???

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 …

Member Avatar for ~s.o.s~
0
99
Member Avatar for pi415

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,

Member Avatar for ~s.o.s~
0
96
Member Avatar for fufu123

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 …

Member Avatar for fufu123
0
177
Member Avatar for Webbsta

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 …

Member Avatar for Webbsta
0
113
Member Avatar for sagedavis

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 …

Member Avatar for sagedavis
0
119
Member Avatar for chocl8drop

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 …

Member Avatar for chocl8drop
0
616
Member Avatar for kylcrow

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 …

Member Avatar for kylcrow
0
187
Member Avatar for blacklocist

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 …

Member Avatar for blacklocist
0
184
Member Avatar for creativehacker

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)) { …

Member Avatar for nav33n
0
83
Member Avatar for wollacott

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 …

Member Avatar for VernonDozier
0
140
Member Avatar for Robbieg6

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 …

Member Avatar for eggi
0
105
Member Avatar for rysin

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), …

Member Avatar for rysin
0
100
Member Avatar for kxh29

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, …

Member Avatar for Ancient Dragon
0
133
Member Avatar for dreambreeze

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): …

Member Avatar for vegaseat
0
97
Member Avatar for peterrobertson

Is there a way to open the main access switchboard in windows without showing the access program? as a usable Data Base.

Member Avatar for peterrobertson
0
171
Member Avatar for Webbsta

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] …

Member Avatar for Webbsta
0
310
Member Avatar for Valmian

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 …

Member Avatar for Valmian
0
7K
Member Avatar for jobob64

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]

Member Avatar for Narue
0
116
Member Avatar for SteveDee

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 …

Member Avatar for Narue
0
577
Member Avatar for dotNetDummi

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 …

Member Avatar for SheSaidImaPregy
0
71
Member Avatar for SiPexTBC

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 …

Member Avatar for Ramy Mahrous
0
271
Member Avatar for Saman Aslam

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 ! …

Member Avatar for Ramy Mahrous
0
106
Member Avatar for Allen 0108

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 …

Member Avatar for Adrian99420
0
111
Member Avatar for kv79

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 .

Member Avatar for Belrog
0
102
Member Avatar for n33712

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 …

Member Avatar for ~s.o.s~
0
83
Member Avatar for teppuus

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 …

Member Avatar for teppuus
0
178
Member Avatar for k2k

Does anyone know how to delete a specific index of an array? Is there any recommended library out there ?

Member Avatar for Narue
0
110
Member Avatar for Stagemgrrob

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 …

Member Avatar for Jx_Man
0
135
Member Avatar for new_2_java

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 …

Member Avatar for new_2_java
0
126
Member Avatar for linux0id

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 …

Member Avatar for linux0id
0
124
Member Avatar for new_2_java

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 …

Member Avatar for new_2_java
0
152
Member Avatar for Zadj

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 …

Member Avatar for nav33n
0
140
Member Avatar for superjacent

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. */ …

Member Avatar for superjacent
0
206

The End.