199,114 Archived Topics
Remove Filter ![]() | |
Hi, I'm trying to find a way to extract numbers from a text consisting of words and numbers but have no idea how to do it. The numbers can be larger than one digit and should be able to be manipulated by common math operators like +, - and / … | |
I know it seems that everyone is writing a 'backup' program these days. I started working on this a couple weeks ago and now my dream just keeps growing. I have written a script that uses rsync to backup selected files and folders in my home directory to an external … | |
Hi Guys, I'm obviously missing something here. Basically I'm writing a program that will read in a csv file or excel file, and allows the user to pick which fields thay wish to use for what line of an address, and then import all the addresses to a SQL table … | |
Okay, here's my issue. I want to take a message a user enters, and then take it and convert it to a number, the standard a-z = 1-26, with space equaling 0. I haven't put in any punctuation yet. Anyways, I think I needed a loop, and I made this … | |
I have 2 frames in my wxpython program, MyFrame and OptionFrame if I start my program it shows MyFrame, and if I end it, the frame disappears and the program stops. If I start my program and choose to show the option frame, it will show it, but if I … | |
The Programming languages started with the low level language( 1's and zero's , so no conversion is needed. Assembly language is used mnemonics ( ADD,INC,DEC) so needs conversions as the machine cannot understand it directly. there comes the Assembler. Now the question is how the Assember was implemented, i mean … | |
Hello, There seems to be a multitude of different unit testing frameworks for C and I'm having difficulty in choosing which one to use. (I have no experience with C development at all) Is [URL="http://cunit.sourceforge.net/"]CUnit[/URL] generally the well known and widely used framework as NUnit is for .net and JUnit … | |
![]() | Hi, Could someone please tell me how to read from a CSV file? Also, how to update (write) to a CSV file? Thanks, -Ashton. ![]() |
![]() | Hi, I was wondering how developers have stable backgrounds, with scrollable foregrounds. i.e. [URL="http://forums.devx.com/"]http://forums.devx.com/[/URL] Please could someone give a basic piece of sample code to demonstrate this. Thanks, -Ashton. ![]() |
I'm somewhat new to C++, and this question has been nagging at me. Is it more efficient to use a Pointer, or an actual object? Here's an example: [CODE] class SomeObject{ public: SomeObject(); /* Other methods */ }; int main(int argc, char **arcv){ SomeObject *ptrObj = new SomeObject(); // Do … | |
Error 1 The type or namespace name 'RegularExpressions' does not exist in the namespace 'System.Text' (are you missing an assembly reference?) C:\Documents and Settings\IcetalkeR\My Documents\Visual Studio 2008\Projects\SciSem\SciSem\CodeFile1.cs 2 19 SciSem What do I do? | |
hi im new to writing functions - still havent gotten to classes yet :) and having some trouble understanding which function can access which variable... i have declared an array outside of any function... then i call a function, pass it a list(array) of urls and need to cycle the … | |
This snippet defines a function [b]chmod[/b] which uses symbolic strings to represent the mode (eg [b]u+rwx[/b]) like the shell command 'chmod'. | |
Simple question one would think, but I am having trouble finding the answer. Eclipse.org promotes eclipse as being a Java IDE, but has many plugins and extensions. I was wondering if maybe there is a plugin or extension that would allow me to compile/debug vb.net projects in eclipse? | |
I have a tree am working it dynamically on server side. i want on click an image like loading to appear. anyone knows how to workout this with div and span??? any little example? | |
For synchronized block, an object has been passed.The question is,Why & when it is passed & what is the purpose of passing an object? -Thanks in advance | |
hi I have to create a help menu in my project for that i had made html pagesand my problem is I cannot connect that html pages from help menuitem. pls helpme and guide me for that. thanks for ur response shashikant.v | |
I am trying to read data from remote SQL base. I have written the function that works great if you need to get 1 Value , but when I want to read 2 or more value at from one query it doesn't work how can I fix it? [CODE]Imports System.Data.SqlClient … | |
I have this code that was done using pass by reference but now all the pass by references need to be changed to pass by pointer. Im not sure how to do this going back and forth between the functions. Here's what I have so far. [CODE]#include <iostream> #include <cmath> … | |
First off, i would like to introduce myself. My name is Ryan, im 18 and a professional gamer. About the client! Well this client is for my clan members, they can login and retrieve updates, news, ect through a webbrowser Help! Okay, so i have set a webbrowser, two texboxes … | |
Hi, I'm having " 'System.DBNull' type object not assigned to 'System.Byte[]' type " exception on reading picture data from database into picture object. When there is a picture no problem I get it, but I cannot handle the null case. I tried many alternatives but no result. Here is the … | |
hi guys i get wrong answer in this [URL="http://uva.onlinejudge.org/index.php?option=onlinejudge&Itemid=8&category=3&page=show_problem&problem=100"]problem [/URL] and i don't know why please if any one know or can help please share it [CODE]#include<iostream> using namespace std; #include<string> int EditDistance[30][30]; int Tracing[30][30]; string FirstString,SecondString; int NoOfDeletions , NoOfAdditions; int FindMin(int a,int b,int c,int i,int j) { if(a<b&&a<c) … | |
I would like to run the javascript code in between the script tag on a button press, but the code runs as the page load. Please point out what I am doing incorrectly. [code] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <title></title> <meta http-equiv="Content-Type" content="html/html; charset=UTF-8" /> … | |
cud ny1 plz tell me,how 2 connect to mysql via VB6.0 without d help of mysql connector as 1 user said. i don't think there is ny need of such in VB6.0 i just wanna know how to set connection string through coding an fire sql query in VB its … | |
Hi, i have the following snippet of php that i wrote but cant figure out why it wont work all the variables have been set before hand. Heres the PHP: [code=php]echo "<table border='1'> <tr>"; if ($win_score > $lose_score) { echo " <th>Winner</th> <th>Loser</th> <th>Win Score</th> <th>Lose Score</th> </tr>"; while($row = … | |
how do open port on firewall using java programmatically... any upnp code ... plz help me its urgent......... | |
Hello, We are currently using a Mysql database: we would like to change. Now, we'd like to use Mssql. Only problem is that most of the data and other information are on Mysql. Can you help us with this? Thanks a lot for your help. | |
Hi, I need a vb.net code that will give me random numbers, which i will save in a database column in a primary key field. But the code should surely generate the random number. Thanx & Regards Anup | |
Good Day All i have a Table with the ID Field that was not an identity Field. This Field has not Duplicates. Now later i want to Change this numeric Field as an Identity Field like this [CODE]--STEP 7 ADD THE IDENTITY BACK IN TABLE MTM_ACTV_STAFF ALTER TABLE [New_Jaco].[dbo].[MTM_ACTV_STAFF] ALTER … | |
Whats wrong with the folowing simple sample? [CODE]struct mystruct { double x, y; mystruct(double z) { x=z; y=z; } }; template <class Real> class myclass { public: Real x; myclass(Real x) { this->x=x; } }; int main() { mystruct s(1.,2.); myclass<mystruct> obj(s); return 0; }[/CODE] The error message look for … | |
I have a question. I have a report that the load time is different I want show wait time to user , I think should use the Multi Thread but I not know how works it. | |
In Db ch is a field with default value "Click here to view" and when I clicked it shows image (reference path stored in DB) in blank new window. Now I want to show this link as submit button and in action i want another page which shows details. [CODE=php] … | |
I've added a dataset , and a table adapter to my C# project. In this query , I get table data , then filter , then I will iterate and fill a listbox.(The dataset and tableadapter was added via DataSources boxes) [CODE=CSHARP] listBox1.Items.Clear(); ETPDataset.t_USR_UsersDataTable tbl = (new ETPDataset.t_USR_UsersDataTable()); ETPDatasetTableAdapters.t_USR_UsersTableAdapter tblAdap … | |
Hi Trying to pull this off in one query but my and right & left joining is giving me unusual results... i have a 'product_style' table, an 'product_item' table, an 'addto' table and a 'removefrom' table - im monitoring when products are added/removed to/from the cart... and want to pull … | |
Hi and thanks for looking. The problem i'm having is simply getting an image to swap on a mouseover. Well I sort of had it working but then I cahnged the function to try and accomodate for more images and it just fell over dead. Let me show you the … | |
I'm having a bit of a problem with my page protect script. I've been working on my backup server for the past week or so making changes to the site. I uploaded all of the changes to the main site today and now every single page that includes my database … | |
Well, here i m trying store the some vertices(4) in an array. and trying to read them. But i m getting an error of "Array Index out of Bounds Exception. I know the error is in the line i have highlighted(red). And i have tried various methods. But not working. … | |
last semester, i did an airline reservation system. we need to create another system for this semester. any suggestions? [except inventory and enrollment systems] thanks | |
[CODE] import java.util.Scanner; public class Card { private boolean rankBad; private boolean suitBad; private boolean invalid; private boolean valid; private int value; private int altValue; private int suit; private int rank; private int numValue; private int status; private boolean isJack; private boolean isAce; private String card; public Card() { Scanner … | |
im working on a function for a custom list class that writes all the items of the list to an output file. However i keep getting this error: no match for 'operator<<' in 'fout << nodePtr->List::Node::myItem' and error: no match for 'operator<<' in 'fout << ' '' i think ive … | |
My prob' is that when I type 'Amanda' when the program asks for my name, it returns Hi. I want it to return Howdy when I input 'Amanda', and hello for all other strings. This is my program: [CODE]#include <stdio.h> int main() { int nothing; char namn[20]; printf("What's your name?\n"); … | |
hi, I use a software called HD-speed to test the speed of my USB hard dirve. when I test the write speed, it destroy the data in my hard dirve. can I restore my data back? I find that the method used by HD_Speed to read/write is the following Win32 … | |
Hi! I'm trying to implement an optimization idea for Dijkstra's algorithm for homework. This is the optimization idea that they want us to implement: [INDENT][B]Idea 3. [/B]Many of the vertices have exactly two neighbors. If a vertex [I]v[/I] has exactly two neighbors [I]u[/I] and [I]w[/I], then you can replace the … | |
Hi everybody. Thus far. I have successfully created a drop down menu. What I want is for someone to choose a selection from the drop down list in admin_page.php and click the Status button to view the status of the option chosen. For now, I created a status button that … | |
I am currently a student in computer Information Technology and I would like to ask those of you who are experienced working in this field. I didn't really know what forum to post this, so I am posting in Python because I love the language and have posted here before. … | |
Hello Every one is there any body who could help me on how to open a doc file and how to read its content thanks in advance | |
Alright I've pretty much exhausted all other sources of information and still can't seen to understand how to do this, so here is my question: I have a program that loads up a txt file, then displays a menu and allows people to choose options from that menu. If they … | |
Hi all, I would like to ask for some help in a query. I am trying to create a view and this view should show the student name, project name, hours spent on the project, and number of units the project is worth. However, if the project is not done … | |
i Am beginner to c++, so bear with me i can seem to fix these errors error c2109 subscript requires a pointer or arrays [code=cplusplus] //Stephen Igbinedion //CMPS //Due Date; Dec 4th 2009 //Programming Assignments 6 (Final assignment for CMPS 1043) //This Program orders a set of integers. #include <iomanip> … | |
This is a stupid question, but for the life of me, I cannot remember how to create the "Or" symbol in code....(the two vertical lines...)...how do I do it? |
The End.