199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for technogeek_42

hi to all who can help just a buddy to teach me how to work with asp.net and i would like to know everyone is their any differnce between asp.net and php???? and what is that........ and can i ask where can i find some script that may help me …

Member Avatar for a496761
0
95
Member Avatar for ff4930

Hello everyone, I have a project which is to find the permuted index of each word in a textfile. Im restricted from using STL btw. I read in input.txt and have to output each word and corresponding line number and if it is found multiple times, it will have (numoftimes) …

Member Avatar for ff4930
0
88
Member Avatar for scratchnloved

I'm lookin' for a way to retrieve data from a remote xml feed, and store it as a variable.. Any ides :)? thanks in advance

Member Avatar for Ancient Dragon
0
91
Member Avatar for Noxes

I just recently started coding and have really taken quite a liking to it. I enjoy it very much and hope to get better as soon as possible. I have a couple questions that I would like an answer to start me off. 1. I want to write a program …

Member Avatar for Ancient Dragon
0
248
Member Avatar for edholden

Hi. I'm having a little difficulty understanding character sets in Python. Basically I'm trying to write a function that will substitute a non-ASCII character with a similar ASCII equivalent. So if given a string like 'ÂBÇD', the function would iterate through the string object, replacing select characters to return a …

Member Avatar for edholden
0
257
Member Avatar for abhishek23

hi guys well I go to my dos prompt and invoke the compiler with the javac command but I always get the following message: javac is not recongised as an internal or external command,operable program or batch file I would like to know why i am gettin this message and …

Member Avatar for jasimp
0
303
Member Avatar for henpecked1

I'm being asked to make my default constructor "interactive" by having it prompt for an input and store the three phone number pieces you see below. They are strings, and they get called for display in main with the telnumber yournumber piece of main. How would one do that? [code] …

Member Avatar for henpecked1
0
133
Member Avatar for cheechand

Hello, I am trying to split a word into an array For example, "airplane" becomes ['a','i','r','p','l','a','n','e'] Any suggestions?

Member Avatar for lllllIllIlllI
0
72
Member Avatar for newtosql

Hi, I would like to know if there is a way to link to a sql table, but not be able to edit it, the table is part of another program data and I just want to look at data, maybe copy to spreadsheet. I figured out how to get …

Member Avatar for MidiMagic
0
101
Member Avatar for rickya100

Hi, thanks for checking this out. Ok so the problem is that I have the following code for trying to get a div to slide down from the top of my page. The problem is that on clicking the button that activates the function I get an error. The error …

Member Avatar for rickya100
0
333
Member Avatar for OmniX

I wish to check if a variable (I am pulling the variable as mysql_fetch_array) contains the number 2008 in it. If so it is displayed. Now I have the display working fine but it displays everything and I want to optimize it to just show the variables containing 2008. Any …

Member Avatar for R0bb0b
0
175
Member Avatar for tuse

Is there is query with which I can get the sum of elements in one row? I am trying to develop an atttendance application. Design as follows- <date1> <date2> <date3> <date4>--- <attended> <rollno1> 1 0 1 1 3 <rollno2> 0 0 1 1 2 <rollno3> 0 1 0 0 1 …

Member Avatar for tesuji
0
116
Member Avatar for punithapary

Is this possible to read or write in javascript.Please help me..... thanks and regards pp

Member Avatar for MidiMagic
0
34
Member Avatar for Funnygirl33

Can anyone help me bypass the following codes? [code=JavaScript]<script type="text/javascript"> if (top.location != location) top.location.href = document.location.href; </script>[/code]

Member Avatar for MidiMagic
0
107
Member Avatar for Phaelax

Nevermind, I'm a retard. I had phpMyAdmin opened to the live server, not the testing server which is still empty. I need a drink.

0
75
Member Avatar for hezfast2

Hello all, I've been writing a multiple choice question version of the game Hangman. I've got it done except for stopping already asked questions from appearing again. I've got the 'asked' question numbers (the questions and answers are read in from a file into various arrays) added to a vector …

Member Avatar for VernonDozier
0
106
Member Avatar for grvs

I allocated memory to a pointer, which i had to return. So I don't know where to free it as its a local variable. I was trying to create an array of variable length (user-specified). I got some help for that in this forum only under this [URL="http://www.daniweb.com/forums/thread129324.html"]thread[/URL] here is …

Member Avatar for grvs
0
5K
Member Avatar for zoner7

I've got something like 400 lines of code at this point, and I realize that not too many people will be inclined to look at it. Thankfully, the majority of it works swell, and I only need part of it examined. I realize that my use of vectors is not …

Member Avatar for zoner7
0
92
Member Avatar for 007tron

hi, i was wondering if anyone could help me out with this. i'm getting a compile error like this: [C++ Error] TestDriver.cpp(26): E2285 Could not find a match for 'Airport::Airport(char *,double,char *,FlightsTL)' i'm really sorry about this but the code is a bit lengthy. it comprises of two header files …

Member Avatar for VernonDozier
0
231
Member Avatar for successws

Hi All I have a very simple website for selling real estate - and I use a third party custmer management system - they give me free listings which I have showing within a listings page on my site. (good so far) :) My problem is when a user clicks …

Member Avatar for R0bb0b
0
130
Member Avatar for comply or die

Hi people I'm in urgency, I got an exam on monday with C++ and I might get a thing like there is a sentence like "Jack went fishing on monday", and I need to count the number of "m","e","a"s etc in it, I suspect you got to type a string …

Member Avatar for VernonDozier
0
229
Member Avatar for barnes138

Hello, I'm new to C++ and am trying to figure out how to make my program run over and over again until the user chooses to quit. Any advice would be appreciated. Thanks [code=cplusplus] #include <iostream> #include <cstdlib> #include <string> #include <math.h> #include <windows.h> using namespace std; int num1, num2; …

Member Avatar for stephen84s
0
164
Member Avatar for c++ prog

help plz...I have to create a program that multiplies matrices...those elements in the array must come from a file or reads a file...I have constructed these codes but this program lets the user type their number, not read from a file..I have these code so far...[CODE]#include <cstdlib> #include <iostream> #include …

Member Avatar for stephen84s
0
134
Member Avatar for Magda

Hi all, I am currently revising for an exam which will cover all the basics of object-oriented programming, it was going quite well until I met Collection :) I have got two questions to which I have started writing answers to but got stuck...Could someone please have a look at …

Member Avatar for Ezzaral
0
339
Member Avatar for Lardmeister

I have started to use the PyScripter IDE and really like the many features it has. However, everytime I make an error in the code, and as a beginner I make a lot of errors, it rather ungraciously exits. There must be something wrong in my settings?

Member Avatar for sneekula
0
133
Member Avatar for cheechand

I am trying to compare a list of words to a dictionary to see if there are any matches. How do I do this, as diction.has_key() does not work for lists?

Member Avatar for woooee
0
113
Member Avatar for CoolGamer48

EDIT: Ahhh.. nvm, I found it: [ICODE]die("Error with database".);[/ICODE] should be [ICODE]die("Error with database.");[/ICODE] Might anyone know why the following php script produces [I]no[/I] results? I.e., when I ctrl+u in Firefox, a blank screen comes up. [CODE=php]<html> <head> <title>Create Base</title> </head> <body> <h1>Create Base</h1> <form action="bases.php" method="post"> <table> <tr><td>Name:</td><td><input type="text" …

Member Avatar for R0bb0b
0
121
Member Avatar for ardeezstyle

Hi everybody, is it possible to refresh/reload a webpage from a child page ? I f possible, may I knw the code for that?

Member Avatar for drago865
0
75
Member Avatar for Zolookas

Hi, i am new to c/c++ and i need to execute external cabextract program to extract archive, but if i sprintf command and file name to command variable i get segmentation fault. How i need to modify code to avoid segmentation fault? Here's an example: [CODE=C++]void cabext(const char *fname) { …

Member Avatar for Zolookas
0
913
Member Avatar for FTProtocol

Is it possible to make the window block thing in your toolbar flash when an event happens? i couldnt really think of what function would do this.

Member Avatar for Ancient Dragon
0
91
Member Avatar for sniper29

[CODE=cplusplus] #include<iostream> using namespace std; int intro(); double getData(); double averageHigh(); double averageLow(); double indexHighTemp(); double indexLowTemp(); double table(); double i,j,hsum=0,lsum=0,aveh,avel,high=0,low=0,ind; int const row=2,col=12,num=12; double temp[row][col]; char month[20][num]={"JANUARY","FEBRUARY","MARCH","APRIL","MAY","JUNE","JULY","AUGUST","SEPTEMBER","OCTOBER","NOVEMBER","DECEMBER"}; char space[]=" "; int main() {getData(); table(); averageHigh(); averageLow(); indexHighTemp(); indexLowTemp(); return 0; } int intro() { cout<<"||||| |||| ||||| |||| |||| …

Member Avatar for Ancient Dragon
0
221
Member Avatar for mstester

Hey all, Is there a way that I can detect when any key has been pressed? Basically I have a login box and if the user has Caps Lock on and tries to enter his password a Tooltip apears, however as soon as they type again I want the tool …

Member Avatar for KillerOfDN
0
116
Member Avatar for masoud87

hello i have a program that is written by Borland C++Builder 6 it is a program for writing binary files using ofstream. but when i ship this program to Borland C++Builder 2006/2007 and compile it,the run time of program increased very much. for example you can test this standard code …

Member Avatar for Ancient Dragon
0
327
Member Avatar for Cybulski

I'm trying to implement critical section using objects listed in this article: [url]http://www.mycplus.com/tutorial.asp?TID=290[/url] Somehow, it doesn't work like intended, or maybe I do something wrong. Basically my concept looks like this: [code=cplusplus] DirectoryReader::DirectoryReader(char* p_sConfigPath) { GetConfig(p_sConfigPath); if( hReaderMutex = CreateMutex( NULL, FALSE, "ReaderMutex") ) cout << "Mutex created!" << endl; …

Member Avatar for Ancient Dragon
0
584
Member Avatar for cwarn23

I have been programing a php online bot with an admin panel. It mainly works good an all but my forms are double posting. So the way I have designed the form is that the user enters the data. Then clicks the submit button which sends the data to MySQL. …

Member Avatar for cwarn23
0
710
Member Avatar for BluePaper

For my computing project last year I created a simple booking system in Access 2003 with a little bit of VBA to enhance it a little. However this year I need to improve it. One of the main problems I found with my booking system is that double bookings can …

Member Avatar for BluePaper
0
430
Member Avatar for allopiloping

dear guys... i have a code but it runs so slowly i would it to make it fast...can u help me?? what should i do??? [code] Var2 = 0.1 For y = 0 To jlhPro - 1 Do Var1 = Var2 For z = 0 To thn - 1 kata …

Member Avatar for dadelsen
0
156
Member Avatar for Scruffstone

Hi there, I'm trying to open up a text file read info from it, alter it and write back the alterations when a user clicks on the save button, but I've hit two issues:- 1) I can't open the file for write access as I don't have permissions - can …

Member Avatar for Scruffstone
0
234
Member Avatar for ff4930

Hello everyone, My project consists of reading 2 lines of integers separated by white spaces corresponding coefficents and exponents, each line representing a polynominal. I have to add both polynominals and subtract them. I have made a linked list class to hold each coefficent and exponent in a node. The …

Member Avatar for VernonDozier
0
111
Member Avatar for henpecked1

I have the function below in three base classes, one base, then one derived, and another derived from the second. I'm getting external resolution errors when I try to build it. [code] virtual void printtostream(ostream& out); //Since it is a virtual function the above was not defined in any of …

Member Avatar for henpecked1
0
128
Member Avatar for mykar_88

hi i have just started with c#.I would like to know what could be done with c# and how it is different from other languages. thank u:)

Member Avatar for mykar_88
0
119
Member Avatar for Miruna

can someone send me the code for selecting the items listed in combobox on keypress. Like My combobox consists of following items: Bombay. Chennai. Delhi. Currently am able to select the item with the help of mouse. how can i select " Chennai " from typing 'c'? Thanks in Advance.

Member Avatar for selvaganapathy
0
77
Member Avatar for jaasaria

sir, question.. can i get the exact len of string when quering? because i have two format in my TransID. The one is the 10digit for the MSAccess and the another is the 11 Digits in my MySql. So if i update all in the MySql database the problm is …

Member Avatar for jaasaria
0
130
Member Avatar for imtnan

Hello, I am a newbie and trying to pass a 2 - dimensional array to a function in C++ from main(). Then, [B]once inside that subroutine[/B], I want to [B]change the contents of this 2D array[/B] and be able to [B]access the changed elements of this 2D array later[/B] in …

Member Avatar for dougy83
0
3K
Member Avatar for sanchit223

I am trying to write a shared library using C but need to call some C++ functions. So I have created a shared library containing the required C++ functions. How can I call those function from C code, I tried dlopen() and dlsym() in the C code. It creates handle …

Member Avatar for Ancient Dragon
0
161
Member Avatar for henpecked1

I have a "two stage" inheritance piece I'm writing. The overall class is telnumber, the worknumber is derived from telnumber, and billnumber is derived from worknumber. The problem is in in my billnumber.cpp. In the main there are two lines referring to the billnumber class with only 4 parameters, and …

Member Avatar for henpecked1
0
175
Member Avatar for VernonDozier

Hi, I am writing a program where I want the user to be able to e-mail me feedback, so I have downloaded javax.mail and I'm trying to send myself an e-mail to test it out. I have Yahoo Mail Plus. Below is my code, which I tweaked from one of …

Member Avatar for VernonDozier
0
847
Member Avatar for CornerAnalyst

I need to be able to perform the creation of HTML controls (i.e. Tables, form controls) from inside of a DLL in vb.Net I have searched Goggle far and wide for what Import statement references the HTML objects. Imports System.Web doesn't do it. I would like to do something like: …

Member Avatar for CornerAnalyst
0
115
Member Avatar for SirDorius

I'm trying to get some HTML code from a page. The only way to do this that I know of is [CODE=javascript]document.getElementById('id').innerHTML = 'newhtml';[/CODE] But the problem is that the page is taken from the web and it has no IDs to get and I can't modify it by putting …

Member Avatar for SirDorius
0
155
Member Avatar for C41R0

i think i've chosen the longest way to add the deletion onto my system, is there any other way which is more efficient ? and im wondering why only mPane.JTextFields are working, but the rest like lPane.JTextFields aren't working ? [CODE=JAVA] . . menuItemDelete = new JMenuItem(); menuItemDelete.setText("Delete"); menuItemDelete.setMnemonic(KeyEvent.VK_D); menuItemDelete.addActionListener( …

Member Avatar for Ezzaral
0
183

The End.