199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for srinivasanb4u

Hi I am new to python . I need source code to draw scatter plot using Python my Input_1 is something like below: ------------------------------------------- ID X Y Z 120321 172.15 -285.03 -870.09 120323 244.31 -257.18 -870.19 120324 274.65 -277.03 -870.10 120327 226.51 -263.98 -870.09 120328 268.55 -271.05 -870.10 my Input_2 …

Member Avatar for srinivasanb4u
0
238
Member Avatar for IrishUpstart

So I need to create a set of data points for the function v*t+.5at(squared). The data points need to be every .02 seconds from 0 to 2.0 seconds. How do I set up the counter for that? Also, all of these points need to be wrote to a location so …

Member Avatar for ArkM
0
153
Member Avatar for K.Vanlalliana

I am doing one project in which Whenever I export the result, the list of record should be extracted as Excel file and the list of record should be listed within Excel Table with formated Line. So, I want to format Excel from VB so as to make line / …

Member Avatar for K.Vanlalliana
0
213
Member Avatar for ashish100

I am using mod_rewrite in my website.It's a social networking website.There are various groups in my website.Some groups are lie "<spirit","<Iam the ONE>" etc. Previously every page used to get displayed by it's id,so there was not any problem But now since I am using mod_rewrite so the page's name …

Member Avatar for viksan
0
104
Member Avatar for dtaylor01

Can someone take a look at my code and see if they notice something wrong. [ICODE]int score; char grade =0; // read in total score cout << endl; cout << "Enter total score (float, must be <= 100): "; cin >> score; if (score >= 85); grade = 'A'; else …

Member Avatar for chococrack
0
249
Member Avatar for DragonReborn225

hey, this program is supposed to calculate fractions, and I feel that I have most of the code down, but I can't get past the fractions.cpp:50: error: expected primary-expression before 'char' error, its probably something misicule, but I can't get it for the life of me. The error is in …

Member Avatar for emotionalone
0
476
Member Avatar for rione

i really need help on this, i need code for this project, please help me, thanks in advance.. (Power Set) Given an input set with entries separated by commas, output all the possible sets that can be generated from this set. Sets are described in the file power.txt The lines …

Member Avatar for Chaster
0
104
Member Avatar for Aashath

Hi I have a LinkedList of class called Room. Now i want display elements that i stored in that class . i also implemented toString() in my Room class which returns string. The code i tried is below but its not working . i dont know the reason . can …

Member Avatar for darkagn
0
120
Member Avatar for tefismp

Someone out there please help me i must do a function for a bucket sort but i dont know how and the only things i must use are normal arrays and pointers no strange functions and libraries i need the code in c++ please i know what the program does …

Member Avatar for Freaky_Chris
0
164
Member Avatar for Oscar G. Gidei

i want to link my forms with access tables and dont want to use the odbc object. i need to use the ADO is it posible and how. for in my first instance it worked, but when i moved it to another computer it signaled "Canot find database" Help pliz

Member Avatar for jireh
0
186
Member Avatar for veledrom

Hi, Is a stored procedure faster or a normal inline query in a web application? I use mysql but i guess answer must be same for all databases. Maybe not! Also, how do i test speed of the query in php page and in mysql client application? Thanks

Member Avatar for veledrom
0
59
Member Avatar for asifjavaid

Hi all guys, I am using MS VC++.NET 2003 I have also installed MS VS++2005 and 2008 on the same computer. Now when I ran the previous programs which are programed in VC++2003, now I am facing the following errors. Error spawning 'link.exe' Error spawning 'cl.exe'. can any one tell …

Member Avatar for Denniz
0
227
Member Avatar for queenc

hi i have a application in which i want to get the zipcode or search based on the zipcode.when the users give the radius and a particular zipcode..i want to get the zip code based onthe radius .please tell me how to do that.. thanks

Member Avatar for queenc
0
722
Member Avatar for kevin wood

i am trying to submit three forms with the one button using javascript. here is my code [CODE]<script type="text/JavaScript"> function submitForms(){ document.dropdown.submit(); document.radio.submit(); document.form.submit(); } function textLimit(field, maxlen) { if (field.value.length > maxlen + 1) alert('your input has been truncated!'); if (field.value.length > maxlen) field.value = field.value.substring(0, maxlen); } </script> …

Member Avatar for kevin wood
0
115
Member Avatar for tanha

Hi. I want to know the best method of making auto installer for our application, like a page appears and asking for the mysql server information such as username and password and also database and so on, and also default account for the application? something similar to moodle and etc …

Member Avatar for tanha
0
213
Member Avatar for OmniX

I have two select tags. When I select the first value in the first tag the corresponding values in the second tag should appear. How would I do this? I am using php to select which values appear on loading. Thankyou, Regards X

Member Avatar for Shanti C
0
100
Member Avatar for efus

Hi. If given an arraylist in an interface like this: [code] interface Dictionary { public boolean hasWord(String word); public ArrayList<String> suggestions( String word ); public void addWord( String word ); } [/code] How do I use it? If I try to use it as a normal arraylist, I get the …

Member Avatar for stultuske
0
101
Member Avatar for enim213

hi, im enim and its my first time to post here in javascript because im into php. my question is: 1.) Is it possible to have two checkbox in a row (with different value), the one is hidden and if i check the the visible checkbox, the other one will …

Member Avatar for enim213
0
134
Member Avatar for christiangirl

I need to print the contents of an array backwards, but every time I try it just prints a a smiley face, or something like that. Here's the code, it isin three files: [code] main file: #include <iostream> #include "testArray.cpp" using namespace std; int main() { testArray test; char ch; …

Member Avatar for Freaky_Chris
0
244
Member Avatar for geordiejon

I am trying to get to grips with Object Oriented PHP. Last week we were given a exercise to do, which creates a webpage, using a class and a client which will call the class. I am totaly not getting the hang of this, and i am getting so frustraited …

Member Avatar for vl4kn0
0
150
Member Avatar for nishant52

I want to develop online event for my college's tech fest similar to [URL="http://www.deathball.net/notpron/"]"NOTPRON"[/URL] game. To be more specific the game should be like [URL="http://www.shaastra.org/2008/Events/Kryptyk/contest/login"]http://www.shaastra.org/2008/Events/Kryptyk/contest/login[/URL] or [URL="http://www.thesilenceguild.com/Dom/game/"]http://www.thesilenceguild.com/Dom/game/[/URL] I know php and DHTML. I have prepared question for the levels. But i need to know how to implement it. Please help …

Member Avatar for somedude3488
0
230
Member Avatar for grisha83

Hello, it the same old program calculator i have corrected errors that were preventing me from running the program. Now that i have done it i am facing another issue; It doesnt perform needed computations such as +-* and etc. It must be my switch fn. Any help will be …

Member Avatar for Evan M
0
145
Member Avatar for annie_singh

Hello, I am a beginner in perl. I am stuck with a problem. I have an array which looks like this 6.324 32.707 50.379 5.197 32.618 46.826 4.020 36.132 46.259 7.131 38.210 45.919 6.719 38.935 42.270 2.986 39.221 41.892 -0.269 37.184 41.565 `Inline Code Example Here` These are the X, …

Member Avatar for KevinADC
0
864
Member Avatar for potatochips

hi, i have a Windows Application using visual studio.net 2005.. is there any way to close only the report in the report viewer n not the rest of the windows that r running? =/ thanks so much! :)

Member Avatar for potatochips
0
134
Member Avatar for Evan M

As I was busy inlining some of my functions, I was wondering if it is really necessary to inline anything. Doesn't the compiler automatically inline stuff, or do I have false memories? And if the compiler does inline stuff for me, would it be best to let it do its …

Member Avatar for Evan M
0
135
Member Avatar for mode17

Hi, I'm a beginner in c# and I'm now work in a project with image editing. i already figure how to do this manually but my professor wants it automatically. and i tried to call the class type after i load the image but it doesn't work. here is my …

Member Avatar for LizR
0
93
Member Avatar for grisha83

Hello, I am writing the code for my basic calculator program and having some issues with it. I keep getting the same error, which doesn't let even let me see whether my program works. Could you please take a look at it and at least direct me in a direction? …

Member Avatar for grisha83
0
100
Member Avatar for neighbordave

Hi all, first time user on this website and I'm very new to Java so I'm kind of stuck on this I would appreciate any help I can get. My assignment is as follows and I got everything except one last part that I cant figure out how to write …

Member Avatar for neighbordave
0
144
Member Avatar for kenji

I have a question regarding pointers to member functions, this is the first time that I have come across them and I have no idea how to write the function for it. This is the function prototype: [icode] const char* getData() const; [/icode] I understand what it is and how …

Member Avatar for seanhunt
0
158
Member Avatar for koman

[code] #include <iostream> using namespace std; int main () { int j; int t; int p; int num; cout << " Please enter an even integer greater than 2: "; cin >> num; for ( int i = 2 ; i < num; i++ ) if ( ( i == …

Member Avatar for stilllearning
0
165
Member Avatar for samjars

I have just started studying C++ and am trying to write an interactive C++ program. The program should be a form of supermarket receipt. The format/sample is given below CASH 20000 [U][B]ITEM(S) PRICE[/B][/U] Soap 2000 beef 3000 cake 1500 book 2000 Bags 4000 CHANGE 7500 I have tried my best …

Member Avatar for Salem
0
97
Member Avatar for Jason123

i have a 2D array of emp[20][10] How can i do it such that it only prints out the selected index like emp[0][0] to emp[0][10] etc. It will print around more than the selected.. [code=cplusplus] for(int i= 0; i < 20; i++) { for (int j = 0; j < …

Member Avatar for seanhunt
0
101
Member Avatar for Tom Tolleson

Hello! I'm new to Ajax (coming from PHP world), and I've been able to find plenty of examples of Ajax being used to display data from XML on a web page, but I haven't found many examples of Ajax being used to update/edit the content or structure of an XML …

Member Avatar for ~s.o.s~
0
91
Member Avatar for JpegUser

Hi, I'm trying to figure out how to scale down a jpeg image in the jpeg library. From the documentation, i've come across these two variables "int scale_num, scale_denom". I've changed the value of scale_denom to 8 but my image could not be displayed. In my jdapimin.c, cinfo->scale_num = 1; …

Member Avatar for JpegUser
0
87
Member Avatar for guest7
Member Avatar for Ancient Dragon
0
127
Member Avatar for cerb63

Modify the original Hero's Inventory I assignment to allow the user to create an inventory which not only holds the name of the objects obtained, but their point values as well. You will do this using a single structure, so that string names and numeric point values may be housed …

Member Avatar for Ancient Dragon
0
247
Member Avatar for Baskar_engg

hi The type initializer for 'System.Transactions.Diagnostics.DiagnosticTrace' threw an exception. this is the Exception im getting while im fetching records from excel file help me to solve thiz

Member Avatar for technicalganesh
0
195
Member Avatar for atreides27

I'm cryptically told nothing more then "your code is almost completely wrong" this is supposed to be a program that reads from an input file (infile.dat) one line of "programming advice" to a user. Then the user enters their own advice for the next person who runs the program to …

Member Avatar for Ancient Dragon
0
117
Member Avatar for vkiller

I have a program to write that can binarize a gray-level image based on the assumption that the image has a bimodal histogram. The code should report both the binarized image and the optimal threshold value. Assume that foreground takes a value of 1 and the background a value of …

0
77
Member Avatar for it2051229

Hello, i'm interested on learning the PERL language and I do not have any idea on the installation and what really PERL does although i've made research but still confused. Is PERL for the WEB like PHP? or it is like C for creating executable applications?.. I have E-books of …

Member Avatar for KevinADC
0
179
Member Avatar for LADY187

Hi i did the simple part of my project and got it to run but now i have to add in prototypes. can someone please help bool validRadius(double); bool validLengthAndWidth(double, double); bool validBaseAnd Height(double, double); I will also create functions which will calculate the area of the various geometric objects. …

Member Avatar for LADY187
0
107
Member Avatar for Duki

Hey everyone, I have a program using databases and I want to send a click event for the AddNewItem binding. I was able to do something similar for the "Save" icon, so that when a user modifies an entry they can click a link label that says "Apply" and it …

Member Avatar for Duki
0
111
Member Avatar for guest7

Hi, I am getting the following error : test.o(11488) malloc: *** mmap(size=2097152) failed (error code=12) *** error: can't allocate region *** set a breakpoint in malloc_error_break to debug test.o(11488) malloc: *** mmap(size=2097152) failed (error code=12) *** error: can't allocate region *** set a breakpoint in malloc_error_break to debug test.o(11488) malloc: …

Member Avatar for guest7
0
190
Member Avatar for Se7Olutionyg

[CODE]#include <math.h> #include <iostream> using namespace std; void instruction(); int calculator (char); void divide_by_zero (); float do_next_op (char, float, float); int main() { //input char input; float accum,num; // instructions (); void instruction(); accum = 0 ; do { //get input cout<< " : " ; cin >> input; cin …

Member Avatar for Denniz
0
182
Member Avatar for sankari27

Hello, I have one application that reads and writes from the serial port. Sometimes the function read(): "read(fd,buffer,numbytes)" returns before than read bytes reachs numbytes. (Because there are more data in the serial port buffer) I mean. if numbytes is 32, sometimes read returns 12, and in the next read …

Member Avatar for Ancient Dragon
0
92
Member Avatar for LADY187

[code=cplusplus] #include <iostream> #include <fstream> #include <stdlib.h> #include <iomanip> using namespace std; int main () { ifstream inFile; //declare variables int counter = 0, //row counter countErr = 0, //counter for error message id; double grade1, grade2, grade3, grade4, gpa, cTotal1 = 0, cTotal2 = 0, cTotal3 = 0, cTotal4 …

Member Avatar for chococrack
0
107
Member Avatar for Ancient Dragon

If anyone can answer [URL="http://www.programmingforums.org/thread16958.html"]my question on PFO [/URL]I'd apprecaite an answer. I don't want to repeat it here because it is somewhat lengthy.

Member Avatar for Ancient Dragon
0
82
Member Avatar for dreamgirl

hello, well my question is that when am creating a standard vb calculator, am unable to display the number 1,2 and so on the textbox?? How do we do that? Thx in advance

Member Avatar for Froot Loops
0
122
Member Avatar for reno02

Hello: I am a newbie and need help with a celsius to fahrenheit script. If anyone can help, it would be greatly appreciated. Right now, it comes back with the error Here is my HTML code: <!xxxx.html> <HTML> <HEAD><TITLE>XXXXX Temperature Conversion</TITLE></HEAD> <BODY> <H3>Use this form to convert a temperature.</H3><BR /> …

Member Avatar for KevinADC
0
98
Member Avatar for MDGM

Hi all, Iv made a simple 5 star voting system and need a way to make sure the user can't vote on the same product again in the next hour. I'm not a mathmatician and get really confused with the time calculations and have tried quite a few methods now …

Member Avatar for MDGM
0
142

The End.