199,114 Archived Topics
Remove Filter ![]() | |
Ok, I know how to overload an operator. I have successfully overloaded +, -,=, * for a matrix class. I am trying to do inversion of a matrix. I have the code working for the inversion but I do not know how to properly overload the function I want. I … | |
Hi guys, Not sure where to ask this so I figured I'll start with C#. I would like to write a windows service that will allow some external device or authentication provider to log a user into windows. For example, a finger print reader can log a user into windows … | |
hi, im doing a project on 'courier management systems' . i am using asp.net as the application and mysql as the database. im not clear on how to integrate mysql with asp.net... i would appreaciate if some description plus some examples are posted on...thank you | |
I have written some code to dynamically allocate memory for a 2D matrix. I am using overload operator to perform functions on the matrix naturally. I am having memory issues (Unhandled exception at 0x... Access violation reading ...). Here is my class, header, and main code. The code builds fine … | |
Hi, I need to get a table in javascript n i wrote this code: [CODE] //mainMenu is the table name var x = document.getElementById("mainMenu") //then i need to get it's left margin so i wrote var x = document.getElementById("mainMenu").style.marginLeft; [/CODE] But it is giving error that x is null. Can … | |
Hi, I wish to read the file twice. I am using ifstream to read the file. I tried using rewind(File pointer). But i get an error. How can i do it. Thanks | |
I`ve created a social network website in PHP,actually this is my first website. now i need to know how i`m i going to benefit using my website. Please i need somebody to advice me,beacuse i know nothing about website marketing. | |
Hi, This is my first question in the forum and I was wondering if anyone knew the answer. For the past 8 years or so, I have been using OLE to transfer information between perl and excel and word. I actually wrote a word version today for the first time … | |
I wrote the following function for my assignment at college. The whole thing is working flawlessly. This function requires me to create a box on the screen as follows: [QUOTE] int console_Box(int row, int col, int l, int h, char edge, char top_btm, char ls_rs) This function displays a box … | |
Hello, My first post and I am hoping someone can resolve this strange dilemma. I am creating a text file by exporting the results of a query. One of the fields is a phone number that is formatted 999.999.9999 Unfortunately not all exported phone numbers are correctly formatted in the … | |
Recently I was interested in making a stock bot as a neat project for myself. It would run on a virtual stock exchange account, not using real money of course. The biggest problem I have run into is getting data to and from websites as I have no idea how … | |
Is it safe to assume that any object that is preceded with the letter 'J' is a member of the Swing package? Just trying to get lightweight versus heavyweight components sorted properly. Thanks. -- Curtis | |
i start to w3shools xsl tutorial and created one xml and xsl file and linked them together, after running the xml file i got the following error: The XML page cannot be displayed Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh … | |
Hi, I’ll use a txt file to store locations in it. When I user click on button, the locations will be read from txt file and stored in an array. If more than 1 user run this script, will it cause problem like “File is already open”? It this reliable. … | |
Hello I want that on the page visible to user, there is a text box, User can specify full path to an image in this text box, and once user clicks on apply button. then this image is set as the background image for a div How should this be … | |
A friend convinced me to store a vector of pointers in my class: [code] vector<Point*> Points; [/code] In my class instead of a vector of "real" objects (what do you call this?). The problem now is that there are several functions (out of my control ie. in a library) that … | |
I have a title that is read in from the keyboard. I need to put it in quotation marks but i dont know how to do that...for instance, my program asks the user to put in a movie title and they input the title. Then i have to display the … | |
hello, I am using byte array to store values in it & then i am storing that byte array into database using [code] st.setBytes(1,myBytearray); [/code] while retreiving values it works fine if last byte value is not zero. But if it is zero, i think,last value is not getting saved … | |
I'm getting ready to start a project in my Software Engineering class and I've been assigned the role of Analyst. I will be contacting the "company" to begin the process. If Im remembering my System Analysis class correctly I need to come up with some good questions to ask the … | |
Could someone help me figure out how to disable user accounts in ColdFusion? What I am trying to achieve is this: When a user makes 5 successive invalid attempts, his/her account will be temporarily locked for 20 minutes, after which they can try logging in again. If after the first … | |
would anyone explain the difference among "public static int " and "public final int " and "public static final int" ? thanks | |
HI EVERYONE, I have one problem, as i calculate two time like today i have worked [B]9.43 hours [/B]and 2nd day i worked [B]8.20 hours [/B]when i calculate total time of these two day then it shows [B]17.63 hours [/B]but i want to show this with the help of php … | |
I have an application with Hotkeys installed. when the hotkey is pressed, the application comes to the topmost, or bottommost z-order. I have used SetwindowPos api. The problem, however, is that in as much as the window is the topmost, it is not active, so it does not receive input. … | |
Hi all, Please take a look on this page [URL="http://www.vistaprint.com/vp/ns/studio3.aspx?pf_id=088&combo=31679.96.32.93307|93307|137|0&uei=94406&icparts=yes&ag=true&combo_id=82920&ssc=1&filter=9%3a10013||1%2c4%3a10003||1%2c3%3a10001||1&xnav=previews&rd=3&referer=http%3a%2f%2fwww.vistaprint.com%2fpremium-business-cards%2fgallery.aspx%3fpg%3d1%26rd%3d2"]http://www.vistaprint.com/vp/ns/studio3.aspx?pf_id=088&combo=31679.96.32.93307|93307|137|0&uei=94406&icparts=yes&ag=true&combo_id=82920&ssc=1&filter=9%3a10013||1%2c4%3a10003||1%2c3%3a10001||1&xnav=previews&rd=3&referer=http%3a%2f%2fwww.vistaprint.com%2fpremium-business-cards%2fgallery.aspx%3fpg%3d1%26rd%3d2[/URL] and this [URL="http://www.vistaprint.com/vp/ns/studio3.aspx?pf_id=088&combo=911.122.5.4421|4421|137|0&uei=5316&icparts=yes&ag=true&combo_id=4164&ssc=1&filter=9%3a10013||1%2c4%3a10003||1%2c3%3a10001||1&xnav=previews&rd=3&referer=http%3a%2f%2fwww.vistaprint.com%2fpremium-business-cards%2fgallery.aspx%3fpg%3d1%26rd%3d2"]http://www.vistaprint.com/vp/ns/studio3.aspx?pf_id=088&combo=911.122.5.4421|4421|137|0&uei=5316&icparts=yes&ag=true&combo_id=4164&ssc=1&filter=9%3a10013||1%2c4%3a10003||1%2c3%3a10001||1&xnav=previews&rd=3&referer=http%3a%2f%2fwww.vistaprint.com%2fpremium-business-cards%2fgallery.aspx%3fpg%3d1%26rd%3d2[/URL] They are basically 2 templates for Business Card printing. Notice that the text fields will be updated to the Image on the right dynamically with different style and position from one template to another. Does anyone has … | |
I am using a few combo boxes in my form and have set the DropDownStyle property set to DropDownList. I want to expand i.e. show ALL options when the control gets focus (similar to presing the F4). Also some entries of my list have a greater width then the width … | |
I have to write a program which generates a pascal's triangle. The user inputs the height of the triangle and it supposed to generate one. This is what I have so far and I don't know how you would keep adding rows after the second one. I'm so lost :( … | |
hi...can somebody give me a little help here. i get error message : 'file' object is not callable its a program that call shell script (shell script run "fusion.deb"). here`s the code: test.py [CODE]#!/usr/bin/env python import sys import os try: import pygtk pygtk.require("2.0") except: pass try: import gtk import gtk.glade … | |
Hello. First of all i must say that im a noob with .jsp programming, so pleas be indulgent :) .. [code]String somepage = "client.jsp"; <%@ include file="menu.jsp" %> // this works[/code] [code]//How to add variable somepage in file= <%@ include file="somepage" %>[/code] Thanks ! | |
I have Dictionary that I update time after time and the dictionary result get inserted to the wxListCtrl in report mode. The problem comes when I insert new data. It seems that the unicode character (u') is also get inserted as part of data. Is there any way to strip … | |
i need to be able to have python spit out a date like this (mm/dd/yyyy) even if the user doesnt add the "/" to there input. here is what i got so far. import string date = raw_input(enter your date:") print date[0:2]+'/',date[2:4]+'/',date[4:8] the output is mm/ dd/ yyyy. how would … | |
this is my struct [CODE] struct CropType { string crop; string farmer; string color; string order; }; CropType myCrop; [/CODE] and this is my tree [CODE] struct TreeNode { CropType info; TreeNode* left; TreeNode* right; }; [/CODE] how do i compare a string within my struct like crop to a … | |
Hi, I'm trying to get [URL="http://www.cgal.org/"]CGAL [/URL]working with VS 2005. So, I installed the [URL="http://www.boost.org/"]Boost [/URL]libraries as well as CGAL and tried to run the following example program: [ICODE]// file: examples/Polygon/Example.C //-----------------------------------------------------------------------// // This is just a simple example that demonstrates how to use the // class CGAL::Polygon_2. //-----------------------------------------------------------------------// #include … ![]() | |
How to redirect to another page (for Example: to my login page) using python. | |
Hey pal, It would be great if you give your suggestions and ideas on Java script Tile base game engine. You know.. with click to walk (or keyboard), inventory, grab items, talk to people, exp, levels, etc. Any Good Ways, any help would be appreciated. Thanks, Eric Paul | |
hello i am wanting to make a text based mafia game but have no clue or where to start i have already got a story line and can do amiture html like creating a simple webpage if you can help me please please i realy want to make 1 contact … | |
Hello, Im creating a serial com port. I want to be able to store the default settings in the registry such has baud, stop bits etc etc. I have managed to do this but I just can't get my program to pull the stored settings out again. I have looked … | |
Hello, Bud redhead game ( [url]http://www.fungamesplaza.com/pd-star_defender_ii.html[/url] ) is a great game; anyone knows other games in the same style? I am specially interested in high quality remakes after old hits such as Galaga, Space Invaders, etc.... These games are great, and I would like to have as many of them … | |
I'm trying to build a crude album viewing site. There are three files I'm working with: [LIST] [*]index.php: Contains html code. [*]images.php: Builds images from browser URL and an array. [*]include: Builds an array of images from a given directory. [/LIST] Given: [B]image.php[/B] [code=php] <?php include('include.php'); buildImageArray("images/"); $image = $_GET['show_img']; … | |
Hi, everyone! I wish i could find someone who is diligent in answering to my queries since i am a beginner when it talks about java. I understand visual basic very well since it was the language i used when i am doing my thesis, and now i am working, … | |
i have to use an array for this and when i run my program my computer starts to spit out number can someone help me. the critia is that it can read from base 2-9 and will give me the answer in base 10. [code] #include <iostream> using namespace std; … | |
I had learned that JVM will collect only the freed memory location during the garbage collection..That is if an object had a reference, then it will not be collected... My doubt is, will the JVM collect all the used location whenever it goes out of the method..That is . [ICODE] … | |
i am makin a simple account creation screen for my website and i have an error: Error: No database selected and i dont know why im getting this because i have used mysql_select_db(), heres my code: [code="php"] <?php $con = mysql_connect("localhost"); if (!$con) { echo "Could not connect:" . mysql_error() … | |
I am recently writing a doubly link list by C++ However,I don't know how to perform shuffle as the following: Places all the nodes in odds positions before that in even ones. For example,after executing shuffle, the list {a, b, c, d, e} will become {a, c, e, b, d} … | |
Hi all The program i'm trying to write is meant to take a series of HTML codes as input and check to see if the all the tags in that code are matched or not (it should basically check all the opening tags and see if they have been closed) … | |
Hello readers, I'm very new with VB6.0. Can you please help me?? There are two tables in my Access DB. Users are inputting Emp_id(PK) in Table1. Under combo_click i need to save all Emp_id from Table1 into emp_id column(FK of Table1) of Table2. It is possible to save date in … ![]() | |
gud day I made a software in which it is possible to save data to an Excel sheet. Now, I would like to program that one can open this sheet and the saved data is then (automatically) loaded into some textboxes of the forms in the VB software. The data … ![]() | |
Hi, I have recently jumped into the realms of C# and I am having some trouble with editing properies accross threads. From what i have managed to research thus far i beleive i need to use the Invoke() method, however i am not quite sure how to go about this … | |
This may be a funny question. But how does php get rendered, I know it is a top down interpreter. But does that change when using classes. If I make a bunch of variables in a function do all the variables get interpreted first and then the function logic or … | |
I need some help with a project. I'm trying to print out all possible combinations of a number grid. For example: 1 3 2 5 4 2 4 3 1 5 5 3 4 2 3 4 3 1 5 2 5 3 4 1 2 The numbers are randomly … | |
Does anybody know how to indent in the java code and then once then one you run the application the output is displayed with the indentation you created. Anyone's input in this would be helpful. |
The End.