199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for aran87

Hello im new to the world of php, ive been designing a webpage in ma spare time and ive got to a stage where im stuck its basically ticking checkboxes and inserting them into the next page somehow using the $post method not sure how to do it. But the …

Member Avatar for coboldeveloper
0
163
Member Avatar for freshfitz

Can I reformat a phone number in SQL manager. I imported a foxpro dbf with the dts wizard and it imported the phone number as (609) 555-1212 I need it to be 6095551212

Member Avatar for freshfitz
0
99
Member Avatar for paolomontero

I get this error: [quote] error C2785: 'std::ostream &operator <<(std::ostream &,const Outsider<T>::Nested &)' and '<Unknown>' have different return types [/quote] When trying to compile the following code with VS2008: [CODE=cplusplus] #include <iostream> using namespace std; template <class T> class Outsider { private: class Nested { private: T myData; public: Nested(const …

Member Avatar for paolomontero
0
155
Member Avatar for masocha
Member Avatar for sch_bern
0
128
Member Avatar for Nisaac

Hello guys, I am new to this website. It's nice to see these friendly people, anyways.... I have been trying to learn Java for a little bit now, I know the basics and some of the advanced things. But I came across a problem that is intriguing me so much. …

Member Avatar for Nisaac
0
206
Member Avatar for MaxManus
Member Avatar for MaxManus
0
75
Member Avatar for Prahaai

Good day. I have a problem with matrices / arrays, i cannot resolve. I have no idea how to start... I have two 2D matrices and i want to overlap (mix?) one over the other, no matter what dimensions they have. For example : a = [ (1,2,3,4,5), (9,7), (0,0,0,0,0), …

Member Avatar for rahul8590
0
148
Member Avatar for lulusweety

I want to do a multithreading program in c++. How to create thread in C++. I made a class with methods start() , run() etc for this purpose. But how to give delays. Am not able to implement multithreading. Can anyone tell me how to do that

Member Avatar for lulusweety
0
83
Member Avatar for Davife

I have created a javascript file with some utility functions. How do I "include" to those functions from another javascript file? Also if I create a global variable inside one of my javascript files, can the utility functions see that variable if they are called?

Member Avatar for Davife
0
123
Member Avatar for metal_butterfly

I have a client /server file operation program.It works properly when i run the client and server program in the same system.but when i try to run the client in one system and server in another system i am getting an error in the cleint machine as "ERROR:Connection refused". Plz …

Member Avatar for xyzt
0
105
Member Avatar for Kishorey

HI , Is it possible to get the window size in Java ,if so cld any 1 guide me....and also i need to fix the windows in a particular position ..how cld i do ds in Java.

Member Avatar for Kishorey
0
419
Member Avatar for bokz06

Hi, i am having trouble with an assignment. i need to create an array, store numbers in the array... sqaure, cube and square root those numbers individually using different methods. display the resuts with a dialog box. after that i need to find the sum of the numbers in the …

Member Avatar for bokz06
0
113
Member Avatar for marjan_m

Hi, Please guide me about embedding google map api in the site page. I need to show map for different locations which are stored in DB. I got the API key but dont know how to implement it. Thanks for your time.

Member Avatar for marjan_m
0
134
Member Avatar for TheBeast32

Hi, I'm using GNU MP to get very precise square roots of numbers. I have three questions about my code below. [Code] #include <stdio.h> #include <stdlib.h> #include <gmp.h> int main(int argc, char *argv[]) { mpf_t num, sqrt; FILE *out; mpf_init2(num, 1000000); mpf_init2(sqrt, 1000000); printf("Enter a number to get its square …

Member Avatar for jephthah
0
191
Member Avatar for Grn Xtrm

Hello friends, I'm working on a program that takes a number input from the user and recursively sums the number 'n' to one. For example, inputting a 5 would sum 1/5 + 1/4 + 1/3+ 1/2 + 1/1. I have sucessfully gotten the fraction sequence to display but I am …

Member Avatar for Grn Xtrm
0
793
Member Avatar for transplantedNYr

Thank you for your help earlier, I am just about there. I got the below code to work as I wanted below. Basically it imports the int's from a file (earlier help thank you) , then I find the min, then I sort by polar angle (all counter clock wise …

Member Avatar for transplantedNYr
0
244
Member Avatar for aashishn86

in my form i give the user two options, either to 'add a new transaction' or delete an existing one. the code for it is: for add transaction [code] <table align=center border='1' bordercolor="#ffffff" cellpadding="0" cellspacing="0" class='verdana2' width="100%"> <tr <td bgcolor='#cccccc' align='middle'> <b><A style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana, Arial, Helvetica, Sans-Serif; TEXT-DECORATION: …

0
71
Member Avatar for AbuShokry

Hello all, I need to update a field in a table with a value that contains dashes it. (e.g. 10-5-2). the field type is Text The problem is that the field gets updated with "3" which is the result of the mathematical expression 10-5-3. And that's not what I want …

Member Avatar for AbuShokry
0
70
Member Avatar for tasosa

[code=language] #include <string.h> #include <stdlib.h> #include <stdio.h> /* uni() function takes an array an thier size.and it produce an array which is include unique element */ int uni(char **arr,int size) { int unique = 0; /* The length of dst after removing duplicates */ int n=size; char *dst[n]; /* The …

Member Avatar for Narue
0
193
Member Avatar for Akis2000

ok i have 2 series of p... the user give which one was want... and then give the iterations that he/she want this is the series 4. P= sqrt(8*(1+ (1/9)+(1/25)+(1/49)+... )) 5. P= sqrt(24*((1/4)+(1/16)+(1/36)+(1/64)+...)) code:: first for series 4..... [code] int i; double: serieValue=0,pi=0; cout<<"Iterations"; cin>>i; for (long int n …

Member Avatar for Akis2000
0
115
Member Avatar for Tiwana

Hello! I want to find the position of objects on my sensor field. I have uploaded the diagram of sensor field attached In the figure S1-S8 are the laser sensor pointing into the field. While red and yellow are the balls [B] Case 1:[/B] if there is only one ball, …

Member Avatar for Tiwana
0
149
Member Avatar for Nawsheen

I have attached my question. I am having some problems with the attached question. Well here is my code: Dim Name As String Name = TextBox1.Text If Name = TextBox1.Text And radLT20.Checked = True Then txtDisplay.Text = "Name is aged below 20" ElseIf Name = TextBox1.Text And rad20To40.Checked = True …

Member Avatar for Nawsheen
0
119
Member Avatar for ongpong

how can i compute a code if i enter numbers then if i press any key its stops and computes the inputs of all no.

Member Avatar for Ancient Dragon
0
119
Member Avatar for sunscreencert

i have two radio boxes in a jsp using html and i want to make one checked based on a condition. I can do that in php but i don't know how to do that using jsp. Can anyone help me. [code]out.println("<tr><td>Billing Model"); out.print("<tr><td><input type='radio' name='appStatusDescription'value='0' >Prepaid<br>"); out.print("' </td>"); out.print("<td><input …

Member Avatar for peter_budo
0
3K
Member Avatar for robertmacedonia

Hello, I am trying to run my tables in the Sql Workshop using the Sql Commands option in Oracle, and I get this error - "ORA-00922: missing or invalid option". I read that this is somehow related to the NOT NULL option, but I think this is how my table …

Member Avatar for robertmacedonia
0
201
Member Avatar for pczafer

i couldnt figure out this any help anyone????? it should checked [TEX]if there an Appointment on the same Date and Time![/TEX] but its not. i can still put more then 1 record on the same date and time???? [CODE]void addAppRecords( ) { int number; system("cls"); //clear screen cout<<"\nHow many Appointments …

Member Avatar for ArkM
0
140
Member Avatar for lakshsind

hai, i have developed a website in ASP.NET it is working on my machine but it is not working on remote machine . I have configured IIS also and also created virtual dirtectory but if i browse for the website in my own machine with my URL consisting of my …

Member Avatar for lakshsind
0
119
Member Avatar for shasha821110

Hi,all I am implementing the required assignment and face compiler error which i do not understand. Here is my class: [CODE=c++] class fooPlayer { public: fooPlayerfunc(){}//doing something here char askYesNo(std::string question); }; class fooPlayerFactory { public: virtual std::auto_ptr<fooPlayer> MakePlayerX() const; virtual std::auto_ptr<fooPlayer> MakePlayerO() const; private: std::auto_ptr<fooPlayer> MakePlayer(char letter) const; std::auto_ptr<fooPlayer> …

Member Avatar for MrSpigot
0
110
Member Avatar for shahzad429

Hey every one. i am new in php. i know how to select, edit, add, delete data from database and show it in html table. before i was doing this using 4 php pages each for every one. but today i got an assignment that i have to display data …

Member Avatar for shahzad429
0
120
Member Avatar for ithelp

Hello Java Experts, Suppose I visit 10 web sites , some of them open pop up window even when I have blocked them in IE , then I get say 5 additional pop up window , is there an easy way to write java program to close all such pop …

Member Avatar for JamesCherrill
0
223
Member Avatar for mostafanageeb

I am now making a content management system for my site and I made a form that adds a new task to the database but I want this form to enable multiple users to this task I user select tag and allowed multiple choice but when I click submit I …

Member Avatar for cwarn23
0
62
Member Avatar for sachintha81

I have SQL Server Express 2008 installed in my computer. I need to create a Login to this using C# code. That is, I need to implement the same functionality that is performed when you create a Login to SQL Server using the wizard. Also I need the program to …

Member Avatar for Ramy Mahrous
0
931
Member Avatar for songweaver

Hey One and All, My teacher gave us a set of practice problems which are ones with addresses and she wants us to do the math out long hand and give her the answer by writing it out. On the test we will not be able to run it to …

Member Avatar for JasonHippy
0
91
Member Avatar for Josh Connerty

Hello, I have been working on some scripts for a forthcoming site and I have run across an issue. The issue being that when uploading large files (60Mb + ) will only be validated after they have finished being uploaded to a temporary directory. As you could probably imagine this …

Member Avatar for cwarn23
0
5K
Member Avatar for samanrz

HI This is the simple code you seethere'a an for loop, so there are many submit buttons ! when i click a submit button on page how should i know which button it was Thanks [code] <table> <jsp:useBean id="o" class="shopping.shop"/> <jsp:setProperty name="o" property="id" value="${userid}"/> <% String f[]=o.listshop(); for(int i=0;i<f.length && …

Member Avatar for peter_budo
0
95
Member Avatar for confusedin82

I am trying to use an action listener to fill an array, however I want to fill ONE array from two different sources: ComboBox Selection & JList selection. so I am trying to create an Array that will look similar to this format(each line is representing a different subscript) ComboBoxData …

Member Avatar for JamesCherrill
0
137
Member Avatar for deepakyadav1830
Member Avatar for javaAddict
0
247
Member Avatar for besktrap

Any one know where I can find the pygame code to create a screen where you can draw simple lines by click and dragging the mouse? I know how to create lines with the pygame.draw.line(screen, (0,0, 0), (3,200), (9, 200)) script (using that as an example), but am looking for …

Member Avatar for world123space
0
318
Member Avatar for ShadowScripter

Hi, this time I've borrowed a book called "Windows Game Programming for Dummies", albeit old it is still useful! However, I came across a problem writing a simple code the author made, namely the TextOut() The error it gives me at build time is as follows: [CODE]1>c:\users\shadow\documents\visual studio 2008\projects\g_app\g_app\main.cpp(75) : …

Member Avatar for ShadowScripter
0
325
Member Avatar for shers

Hi, I have developed a windows database application in vb.net 2008 express and sql express 2008. Is there a way to create reports in the application? Thanks

Member Avatar for shers
0
97
Member Avatar for grisha83

Hello, I am having a hard time with understanding arrays and most importantly implementing them in methods and etc. Does anyone know a good source to learn about arrays from a to z? I really need to nail down these guys. Any help will be appreciated Thank you

Member Avatar for John A
0
114
Member Avatar for Nastadon

Did a search but found nothing that answers my question. Was assigned the game Hangman as a test and I haven't been able to do anything myself and it's due tomorrow. I've looked on tons of sites for help, but so far haven't found any. The test says [quote]You need …

Member Avatar for Teme64
0
99
Member Avatar for abazoskib

[CODE]<?php //set where you want to store files //in this example we keep file in folder upload //$HTTP_POST_FILES['ufile']['name']; = upload file name //for example upload file name cartoon.gif . $path will be upload/cartoon.gif $path= "/home/content/a/b/a/abazoskib/html/snapit/photos/".$_FILES['ufile']['name']; if($ufile !=none) { if(copy($_FILES['ufile']['tmp_name'], $path)) { echo "Successful<BR/>"; //$HTTP_POST_FILES['ufile']['name'] = file name //$HTTP_POST_FILES['ufile']['size'] = file …

Member Avatar for nav33n
0
255
Member Avatar for lukechris

Hi, I have done a search so please don't tell me to! :D I have this in a text box: [ICODE]<MenuItem version="1.0"> <item_text> <TEXT default_lang="en" str=""></TEXT> </item_text> <item_help> </item_help> <item_icon> <RIGHT str="softkey1.png" /> </item_icon> <item_action> <ACTION type="JAVA" suite_name="" suite_vendor="" entry_point=""></ACTION> </item_action> </MenuItem> �PNG  IHDR F  �1�e bKGD � …

Member Avatar for Teme64
0
135
Member Avatar for Logi.

Hi there, Ive been following a pygame tutorial from devshed ([url="http://www.devshed.com/c/a/Python/A-PyGame-Working-Example-Starting-a-Game/"]here[/url] and [url="http://www.devshed.com/c/a/Python/A-PyGame-Working-Example-continued/"]here[/url]) on making a small game to helpme get to grips with using pygame unfortunately ive ran into a little snag :< I've checked and re checked the code to make sure its as given but every time …

Member Avatar for world123space
0
163
Member Avatar for AirmanTheGreat

Guten Tag, What we need to do is to call a variable (numbersToEnterInteger) from the main method to the total_average method. Also how do we pass the entire array to this method, rather than a single array element. Thanks in advance. Oh and also heres the code. [code] /** * …

Member Avatar for AirmanTheGreat
0
151
Member Avatar for cloudedvision

I call this an imaginary error, because the code that causes is never run, and it does not report an error, but the functionality breaks. I'm developing a PHP framework. I have a debugger that writes lines to the a file throughout the execution of the framework. I noticed today …

Member Avatar for cwarn23
0
116
Member Avatar for nflem

Trying to make a program that displays "Harry Verderchi" 7 times using the for-loop. With the number preceding the name like: #2: Harry .... name = "Harry" name2 = "Verderchi" for i in range(8): print "#" + "i" + ": " + name + " " + name2

Member Avatar for vegaseat
0
91
Member Avatar for guest7

Hi, I am getting the following error in my code. [ICODE] malloc: *** error for object 0x3b0fe80: double free *** set a breakpoint in malloc_error_break to debug[/ICODE] When i debug it and do a backtrace i get the following [ICODE] #0 0x90c994a9 in malloc_error_break () #1 0x90c94497 in szone_error () …

Member Avatar for guest7
0
163
Member Avatar for Adexter

Hi, I am having trouble with a C++ problem for school. Im writing a program that takes input for the highest and lowest temperatures of each month, and stores them in a 2 dimensional array. I then wrote 2 fuctions to find the average high and low temps. Part of …

Member Avatar for Adexter
0
103

The End.