199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for dmh22

OK, here is my dilemma, I am trying to read an input file into 3 arrays. The file must be formatted as such (ie - with each value on a new row): 3 - n value for an n x n matrix 'a' 1 - a11 - Next n^2 terms …

Member Avatar for dmh22
0
129
Member Avatar for ryy705

Hello, I understand how use the onblur event the following way [CODE]<input name="city" id="city" onblur="myfunction()" />[/CODE] But what if I don't want to insert javascript in html. I need to keep all javacript in a separate file. Can I execute my function without mixing html and javascript? Thanks in advance.

Member Avatar for Troy III
0
155
Member Avatar for Sinha's

sir,i i have two date columns today_date and doj_date.both of them are varchar data type.now i want to update today_date='01/06/2010' to '01/04/2010' where doj_date='01/04/2010'.that means only the month column. ihave used the following code update installment_scheme_customer set substring(today_date,4,2)='04' where substring(today_date,4,2)='06' and substring(doj_date,4,2)='04' . but it is showing error like this …

Member Avatar for bill51
0
114
Member Avatar for rajeshmithy

tell me code for designing a simple text editor using C++ with open,save,save as,like other options..

Member Avatar for prvnkmr449
0
67
Member Avatar for jemimaloh

Hi everyone, does anyone know how i might implement a 2D Vote table? Would using a 2D array for it be possible? I'm trying to implement a voting system for the indexes into hash table arrays. Any ideas?

Member Avatar for jemimaloh
0
110
Member Avatar for hany-h

Hi guys, I have a file named DrawPanel and this class is supposed to draw different shapes which i declared before by using mousedrag. I am not able to draw more thatn one shape and put them in an array.It seems that i don't know where to change the value …

Member Avatar for NormR1
0
280
Member Avatar for ebanbury

Hi I have a multiple-query issue I'd like some advice and help with. I am trying to create a website, in which users can upload their own images to the site. I am a beginning in PHP (and only solid in html and some sql querying) What I think I …

Member Avatar for nonshatter
0
149
Member Avatar for The physicist

Hi all, bit of a c++ newbie and hoping you might be able to help me with a problem. I'm trying to calculate the elapsed time between two dates using difftime, however I keep getting an elapsed time of 0. Can anyone see where I'm going wrong? Any help greatfully …

Member Avatar for The physicist
0
839
Member Avatar for himmat.m4
Member Avatar for NH1

i get that error when i try and run through my code. Can any one please tell me what is wrong with my insert statement. It looks correct. [code=c] OleDbConnection connect = new OleDbConnection(); connect = new DBconnect().DbConn(""); string insertStatement = "INSERT INTO Restrict " + "([Company ID], [User Type], …

Member Avatar for NH1
0
197
Member Avatar for andydeans

hi i need some help with a project i am working on. i basically have a back end site php/mysql with clients addresses etc, i need to be able to send that data to another site where they have login and passord for and it pre populate the forms in …

Member Avatar for hielo
0
118
Member Avatar for braveheart_sb

Hello, I have the code below and I'm having a problem checking the returned values from the query i send,i really would like to know how to check each and every row the query return if it contains null values.And if it does contain the null values to update another …

Member Avatar for hielo
0
128
Member Avatar for kazkikay12

why i cant run graphics.h in turbo c++ but i have graphics in my llibrary :( help plss

Member Avatar for daviddoria
0
83
Member Avatar for COKEDUDE
Member Avatar for Colezy
0
111
Member Avatar for jmcorpse

Hello, I have been working on this program for the past four hours and was doing good till I got to this point. I am pretty sure that I probably can't do it this way, but I'm just learning and it isn't becoming apparent to me how to correct it. …

Member Avatar for jmcorpse
0
153
Member Avatar for madheswaransuji
Member Avatar for overlook

Hi, I have to make a script with parameter that limits the character. This is the code snippet So script.pl -teacher [string] where teacher should only be allowed of [A-Za-z0-9_-]# , if not, print error message which is "error". Other thing is that, the parameter -teacher have to follow the …

Member Avatar for overlook
0
172
Member Avatar for adobe71

i hav created software in visual studio 2008 window application using C#,now i want to add serial number.how can i do it pls give ur suggestions.

Member Avatar for Serialz
0
189
Member Avatar for sebcbien

Hello, I'm trying to update a dictionary using variable in a class. Something looking like this : [code=python] class testClass(object): def __init__(self): self.data0 = 0 self.data1 = 1 self.data2 = 2 self.data3 = 3 self.d = dict( data0 = self.data0, data1 = self.data1, data2 = self.data2, data3 = self.data3 ) …

Member Avatar for snippsat
0
175
Member Avatar for newbie_java

Hi! I am just a newbie here! I just wanna ask how to do the file handling in java applet? Do I have to do the certain policy/permission to perform it? If so, how would I do it? And another one, how can I close the APPLET WINDOW once I …

Member Avatar for NormR1
0
472
Member Avatar for frogboy77

when i try to use pow with cmath header i get error message pow(int,int)is ambiguous it also gives other possible options i.e pow(double,int) why is int^int ambiguous? how could it be less ambiguous?

Member Avatar for Fbody
0
142
Member Avatar for ASTA LAVISTA

hi every body>>>> please i am student and this my homework very important to me the question is : how to complete this simple program to make its return 0 ????? the answer is some thing instead of: [CODE] /* some statments */ [/CODE] please i am new here and …

Member Avatar for ASTA LAVISTA
0
412
Member Avatar for filch

I have a page where I need to show a number of form input fields depending on what number is selected in a select menu. I have a sort of solution but is is messy and involves too many fields. I need to show up to 15 text input fields; …

0
379
Member Avatar for Sinha's

sir, I am developing a s/w in asp.net using c#.everything is working fine.but some times i get error like Event code: 3005 Event message: An unhandled exception has occurred. Event time: 9/23/2010 4:00:35 AM Event time (UTC): 9/23/2010 9:00:35 AM Event ID: 4849e4d93324492b9167dcc72751f79a Event sequence: 8 Event occurrence: 1 Event …

Member Avatar for sundarchum
0
153
Member Avatar for mpc123

I have this very easy form to store info in a database table but i would like to be emailed once somebody has entered the details, how would i do this please? Form [code=php]<form action="insert.php" method="post"> <div align="center">Firstname: <input type="text" name="firstname" /> Lastname: <input type="text" name="lastname" /> Email: <input type="text" …

Member Avatar for mpc123
0
92
Member Avatar for jude1693

hi guys... I am having a hard time figuring out how i could determine the winner of the game and how I can determine if a game is a draw. Any suggestions or code that i should input in my porject? Please help me. Im new in C#.

Member Avatar for moteutsch
0
144
Member Avatar for mahavir123

I am reading XML and PHP. I have to import a xml file in mysql database using PHP script. I tried using 'simplexml_load_string()' and 'simplexml_load_file()' functions. It worked. But how the xml parser is used to import XML files into Mysql Database. Please tell me about this, I tried the …

0
139
Member Avatar for fire_

I need your help... Again... How can i combine reading from file with [iCODE]std::getline(file, std::string);[/iCODE] and [iCODE]UpdateData(FALSE);[/iCODE] ? UpdateData() accepts only CString and getline only std::string, and then i try to use it like that: [CODE]std::string readbuff; int length; std::ifstream file("file.txt"); while(getline(file, str)) { length = str.length(); for(int i=0; i<length; …

Member Avatar for fire_
0
636
Member Avatar for SALONOY,MANIX
Member Avatar for ddanbe
0
50
Member Avatar for frogboy77

hi, beginner question i am planning to write code for different values of a^b. both a and b will vary in the program and both will be long long ints; as my compiler wont allow pow(int,int) as it is ambiguous(dont know why) either while have a as a double and …

Member Avatar for frogboy77
0
90
Member Avatar for frogboy77

trying to write a fuction to work out the GCD of two numbers seems to run ok but the return is incorrect any help much appreciated #include <iostream> #include <cmath> using namespace std; int g_c_d(int a,int b); int main() { cout<<g_c_d(2871,4060);/*test example*/ cout<<endl; system("pause");/*been advised not to use this but …

Member Avatar for frogboy77
0
125
Member Avatar for danny4444

Hi there, I'm having a bit of a problem passing a variable from a form to a php script and could use some help. I hope this makes sense: The problem occurs when the script doesn't recognise the name of the text-area (which is a unique name that changes each …

Member Avatar for danny4444
0
95
Member Avatar for kashifboy

[code] how can we check that user [B]inter [/B]an [B]integer[/B] or not? [/code]

Member Avatar for Narue
0
100
Member Avatar for Bri426

I'm new to C++ and I'm having trouble understanding how to determine what to put inside a loop. I know it differs from program to program, but a lot of my assignments deal with the user inputting a number of how many numbers they want to input (it can be …

Member Avatar for frogboy77
0
236
Member Avatar for hindu times

Hi there, I'm working on this page, which is built in Wordpress: [url]http://www.rjt-online.com/blog/[/url] As you can see I am displaying recent Twitter posts using Twitter's own JS code, which seems to work fine. Problem is, when you navigate away from the page, and come back to it (using browser back …

Member Avatar for hindu times
0
90
Member Avatar for racertim

This is for a tool I have that receives a lot commercial emails and it would only apply to that. It is not for emails that I receive from individuals with yahoo.com, gmail.com, or business accounts. I'm familiar with retrieving and parsing email headers using imap_headerinfo. I found that imap_header …

Member Avatar for racertim
0
290
Member Avatar for burcin erek

there is a mistake on the code. I would like to write "test" like t e s t but it writes reverse. it is easy but my brain is not enough. [CODE]#include <iostream.h> #include <string.h> #include <conio.h> int main(void) { char *pointer="test"; int index; for(index=(strlen(pointer)-1); index >= 0; index--) /* …

Member Avatar for burcin erek
0
90
Member Avatar for glenak

Hi, Java has been my choice programming language for many, many years now, and I want to start doing C++. I've written in C++ before, but that was a while back. I'm treating myself as a beginner at the moment. I use Eclipse to write Java, and I recently updated …

Member Avatar for glenak
0
233
Member Avatar for gybte.wartex

Hi all! i have a problem. From my database im streaming out a file and will save it with filestream.savetostrem() method into the windows temp directory. thats work correctly. after that i open the file with the shellexecute command. and the question: on forms close event: make a method to …

Member Avatar for pritaeas
0
392
Member Avatar for Jawahar prabhu

Here the code for get three digit value 'n' and calculate r=2^n+1 then find that value 'r' is a prie or not, here i like store the integer value 'r' without exponential function and big Integer, please make a great help to me. thanks in advance.. import java.*; import java.io.*; …

Member Avatar for stultuske
0
140
Member Avatar for osirion666

Okay Basically i want to put the contents of array called numbers into a MSSQL database i can connect to it no problem and select and display data so its not a connectivity issue here is what i have so far: [CODE] for (int i = 0; i < numbers.length; …

Member Avatar for javaAddict
0
456
Member Avatar for end3r

Hy, I have a .properties file with a key-value defined like this: [icode]my_property.value=text text text bla bla bla {0} qwerty {1}.[/icode] I need to know what class should I use if I want to read the value and insert parameters in {0} and {1}. In the past I used to …

Member Avatar for end3r
0
4K
Member Avatar for localp

There's a header class called example.h [CODE] #ifndef __Sample_H__ #define __Sample_H__ namespace example { namespace Samples { class AlgorithmSample { public: virtual void release(void) { delete this; } virtual boolean process(void); }; class AlgorithmDesc { public: virtual String getName(void) const { return "some example program"; } }; }; }; #endif …

Member Avatar for Valaraukar
0
137
Member Avatar for maxelcat

Hi Am doing my first bit of jQuery and I thought it was all great until I looked closely. I'd really appreciate any help! All I want to do is fade in an absolutely positioned div with a couple of lines of text in it when the page loads. There …

Member Avatar for benhowdle89
0
134
Member Avatar for kra9853

// The purpose of this Lab is to start the program used in Lab 1 and modify it // to calculate the average of 4 grades entered by the user and display the results // on the console through the use of the math operators in C++. // Part 2 …

Member Avatar for Valaraukar
0
174
Member Avatar for bops

Hello. When implementing a KeyListener in my application I have the following code. I have added the KeyListener to a JTextField control using addKeyListener(this) and the current class implements KeyListener. [CODE] @Override public void keyPressed(KeyEvent ev) { System.out.println("Pressed: "+ev.getKeyCode()); } @Override public void keyReleased(KeyEvent ev) { System.out.println("Released: "+ev.getKeyCode()); } @Override …

Member Avatar for bops
0
988
Member Avatar for Nidhi S.
Member Avatar for Mkaveli

Hi I'm making a game in Python with the use of Soya3d. I can load all the models and textures in Soya3D but the animation that i made for the models doesn't get imported. It keeps asking for a cfg file and is was wondering how I could fix that …

Member Avatar for poczatkujacy
0
166
Member Avatar for waphon
Member Avatar for fumnimda

i am programming a web site for a store and the manager of shop want to display onlinw show via their camera on the store. how can i do it in a php site? what are the requirements for doing this job? should i have a dedicated server for that …

Member Avatar for rokape
0
271

The End.