199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for gcardonav

Hi guys: The following code is supposed to the following: 1 - Receive a random number and divide the number by 1000 2 - Then it needs to check if the number is greater than the series number and the cut point and convert the divided random number to either …

Member Avatar for VernonDozier
0
138
Member Avatar for rakky

conectivity of sql & visual basic is needed as early as possible pleaseeeeeeeeeeeeeeeeeeeeeeeeeeeee!

Member Avatar for AndreRet
0
138
Member Avatar for samira1993

Create an application that will predict the approximate size of a population organisms. The user should select or enter the starting number of organisms in a combo box, enter the average daily population increase (as a percentage) in a text box and select or enter the number of days the …

Member Avatar for AndreRet
0
482
Member Avatar for python123

Hi, I am new at Python..i have been asked to create a code for the following item. A user needs to input the 'room number' and 'date' to equal a answer. Room Number: R1, R2, R3, R4, R5 R1 = Dates: 1/01/2000, 01/02/2000, 01/03/2000 R2 = Dates: 01/01/2000, 01/03/2000 R3 …

Member Avatar for python123
0
244
Member Avatar for ivankenny

Hello it's me again i'm having problem with the database subtraction for my POS Project im using ado database and i know that you just have to change the value from the selected and voila it would update the database but mine doesnt work: ' txtqan is connect to the …

Member Avatar for AndreRet
0
146
Member Avatar for sting23

Im trying to make a simple system using VB and Access. Does anyone have requirements list for such a system? I have the basic ones but if i can get a few more it wont be too bad. Thanks

Member Avatar for AndreRet
0
123
Member Avatar for Alicito

hello my friends I need a little help over here : im workin on a calculator that should provide the user with these services: • Read a big integer number up to 300 ( use arrays ) . • Sum two big integer numbers (with using the carry). • Product …

Member Avatar for Antenka
0
186
Member Avatar for leegeorg07

Hi, I am trying to make a twitter bookmarklet that will tweet the current page, I currently have this code: [code] javascript:window.open('http://twitter.com/?status='+self.location) [/code] but when I try it, it changes the page its tweeting to just show [object Window] how can I fix this?

Member Avatar for leegeorg07
0
114
Member Avatar for baltazar

Hello, I am having a problem with the jQuery Cycle plugin. I am trying to create a slideshow of images that change(fade) when an element in the pager nav is hovered on. (This is supposed to be possible as per the jQuery Cycle Plugin docs <http://malsup.com/jquery/cycle/pager2.html>) My setup: I have …

Member Avatar for baltazar
0
210
Member Avatar for manoj.pg

If I have the class name in a string varibale, how can I instantiate an object of that class? I am just thinking of COM and CORBA implementations where C++ object is instantiated from the data in the stream. How can I implement it?

Member Avatar for mrnutty
0
683
Member Avatar for jessicamelillo

Hi! I'm currently taking a computer programming course at Wagner college and I have a project due this week that I am completely stumped on. these are the guidelines: [I]This will be a something like a “compatibility program”. 1) You will ask the user their name, and store it. 2) …

Member Avatar for jonsca
0
104
Member Avatar for whiteyoh

Hi All, Im attempting to make a simple java menu system. the psueo code is as follows 1. user is presented with menu 2. selection is made 3. that action is ran, i.e make a new user (i have this code seperate, which works) 4. the user is returned to …

Member Avatar for whiteyoh
0
119
Member Avatar for jejannah

i need some sample code on retrieving data from the database and put it in the form particulary in the groupbox.. we are doing a project study, text to voice translator.. when the user enter the word in the textbox and clicks the speak button, the english equivalent word of …

Member Avatar for DdoubleD
0
149
Member Avatar for ArvindRaja

Recently, I stumbled across WinBGIm and decided to resurrect a small game I had made in turbo C++ a long time ago. Anyways, I succesfully got WinBGIm, did the necessary steps. After removing all the errors and building the project in Visual Studio 2008 Professional, I get this error (with …

Member Avatar for md37
0
216
Member Avatar for Gage84

Does anyone know what is ment by fabricated products & softwares? I have an essay to write about the quality of fabricated products & softwares, but I am not too sure what it is ment by my findings I believe its to do with products such as cars which are …

Member Avatar for gusano79
0
136
Member Avatar for dandixon

Right im very new to php and kinda learning as i go, here is my code. What it is, is when i search a part number it has to be matching the case e.g if i search a6725 it doesnt work but if i search A6725 its returns the result. …

Member Avatar for dandixon
0
87
Member Avatar for AdRock

I have got an example for cplusplus.com for converting a string into a char array so i can split in into tokens and adds to a vector and it works fine in the main method but if i try and create a separate function and pass a string as a …

Member Avatar for iamthwee
0
754
Member Avatar for quaifp1

Hi, I want to create a line on a canvas ( similar to a visio connector but not as fancy) which will allow a mouseover event to be trapped ( this would trigger a property sheet to display the atributes of the line - a microwave link in my case …

Member Avatar for quaifp1
0
121
Member Avatar for skelly16

Hi All Im very new to perl scripting coming from a shell background, but im determine to stick to it and learn perl. I have env variables which i have defined in my perl script and work fine from command line as these env variables are in my profile. When …

Member Avatar for skelly16
0
228
Member Avatar for vnproduktionz

here's what i currently got [code]# Reading the .csv file energyFile = open("EnergySources.csv","r") stateDict = {} for line in energyFile: line = line.strip() fields = line.split(",") if fields[0] == "State" or fields[0] == "": continue state = fields[0] total = fields[-1] float(''.join(total)) coal = fields[1] float(''.join(coal)) naturalgas = fields[2] float(''.join(naturalgas)) …

Member Avatar for woooee
0
106
Member Avatar for mitsuevo

[code] float decimal = 2.345324 float dec_points = decimal%1; [/code] hey guys, I have a small but trivial problem... i have been trying to do the above but i keep getting a error... "error C2296: '%' : illegal, left operand has type 'float'" Anyone got a clue? Thanks guys!

Member Avatar for Dave Sinkula
0
78
Member Avatar for Malinka

Dear all, may be someone can help me to find a solution to the following problem: I have a list of patterns (len=5) that are presented as tuples in a list, e.g. patterns = [('w1','X1','w1','Y1','w1'), ('w2','w2','X2','w2','Y2'), ('w2','X2','w2','Y2','w2')] I want to go through all sentences in a text file (one sentence …

Member Avatar for Malinka
0
101
Member Avatar for JRabbit2307

Help! The only thing I seem to not get is the initials from the substring........... any ideas? public class Name { //Data Members private String firstName; private String middleName; private String lastName; private String initials; //Default constructor Name() { firstName = null; middleName = null; lastName = null; } //Constructors …

Member Avatar for JRabbit2307
0
132
Member Avatar for whiteyoh

Hi All, Hoping you can help with the following. The psuedo code is: 1. Menu is displayed 2. User inputs a selection 3. That item is ran 4. on completion, the user is returned to 1 above. the code i have so far is as follows, but its still exiting …

Member Avatar for whiteyoh
0
125
Member Avatar for sfrider0

I'm drawing a sphere and some ground. I used GL_POLYGON to draw a rectangle and colored it green. When I added a sphere, my ground just turned black. Is this because the sphere is a 3d object and the polygon is 2d or is there something else? Here is the …

Member Avatar for sfrider0
0
162
Member Avatar for samarudge

Hi, On my websites, I encrypt passwords using a combination of hashing algorithm (Which I am obviously not going to post on a forum but its along the lines of [icode]md5(substr(whirlpool($Value), 0, 7));[/icode]) What is blowfish, how do I use it and how much more secure is it than a …

Member Avatar for digital-ether
0
175
Member Avatar for kulrik

Alright. Ive been at this problem for a few days know and cant figure out what's wrong with my coding. The Problem: Create a method called displayPerfectNumber in your own class named myMath. The method displayPerfectNumber asks a user to enter a integer number and displays every perfect number from …

Member Avatar for stevelg
0
541
Member Avatar for PixelHead777

At the easy risk of asking something already asked a hundred times... Curses doesn't work for me. I use 2.6 on a Vista It gives an error saying it can't call up a part of the module that came with the program. ... Uhm... help.. T_T ~Pixel

Member Avatar for PixelHead777
0
320
Member Avatar for mitzoff

I'm new to perl and I'm writing a script to parse multiple Gaussian03 output files and extract certain pieces of data from them. Ideally the script needs to print out the name of each file, look for (the last) SCF Energy, the Zero-point Energy and check if the job has …

Member Avatar for mitzoff
0
207
Member Avatar for vinodgnkm
Member Avatar for shakunni

Searching a linked list linearly is very inefficient. Is it possible to use binary search on linked lists?

Member Avatar for shakunni
0
105
Member Avatar for mar000m

please if any one can help me ....i need a radix sort code for names..... all the names are data members in (node class) i just cant write the code so if any one can help me .....

Member Avatar for dibilasd
0
99
Member Avatar for sam023

i m getting this bug.. and i still cant understand why this happening..?? here is my php code [code=php] $query1 = "call new_user('$cardDigits','$cardNo','$amount','$traiff','','','','','$creator',@_lastname,'$customer','$firstName','$email','0','0')"; $result1 = mysql_query($query1) or die('query_error'.''.mysql_error()); $lastname = mysql_fetch_row($result1); // Generate New User $query2 = "genrate_user('$lastname[0] ','$creator')"; echo $query2; $result2 = mysql_query($query2) or die('query_error1'.''.mysql_error()); [/code] Procedures are working …

Member Avatar for sam023
0
9K
Member Avatar for RajNOX

[CODE] D:/Documents/NetBeansProjects/cap/main.cpp:33: undefined reference to `_imp__pthread_create' D:/Documents/NetBeansProjects/cap/main.cpp:34: undefined reference to `_imp__pthread_create' D:/Documents/NetBeansProjects/cap/main.cpp:35: undefined reference to `_imp__pthread_join' D:/Documents/NetBeansProjects/cap/main.cpp:36: undefined reference to `_imp__pthread_join' build/Debug/MinGW-Windows/main.o: In function `Z8cancelerPv': D:/Documents/NetBeansProjects/cap/main.cpp:47: undefined reference to `_imp__pthread_kill' D:/Documents/NetBeansProjects/cap/main.cpp:48: undefined reference to `_imp__pthread_exit' D:/Documents/NetBeansProjects/cap/main.cpp:51: undefined reference to `_imp__pthread_exit' [/CODE] this is the error i got when i compile …

Member Avatar for RajNOX
0
792
Member Avatar for Cemils

Hi, I hope someone can help me creating a sql for the purpose i have. I have a table named case_score_t with these columns: id, case_id, user_id, score, created_date I am interested in picking the rows with the greatest created_date, for a certain user_id. I now this SQL with give …

Member Avatar for Cemils
0
73
Member Avatar for buddylee17

Windows Server 2003 Standard Edition Service Pack 2 SQL Server 2005 Standard VS 2008 Hi everyone. I'm currently working on the following tutorial: [url]http://www.asp.net/Learn/Security/tutorial-04-cs.aspx[/url], but I get an error adding a SQL Server DB to the App_Data folder. I right click App_Data, click Add New Item, SQL Server Database I …

Member Avatar for Ramesh S
0
369
Member Avatar for mshravs

i'm working on asp, vs2005. I should save the typed information in sql server. I connected and written the code in the following way[CODE] Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load Dim ConnStr As String Dim visitors_name, officer_to_visit, purpose, date_of_visit, time_in As String Dim serial_no, …

Member Avatar for mail2saion
0
130
Member Avatar for ch.ankit87

HI can anyone help me to write this programe in c Q ; WRITE A PROGRAM TO DETERMINE AND PRINT THE SUM OF THE FOLLOWING HARMONIC SERIES FOR A GIVEN VALUE OF N; 1+1/2+1/3+14+....................1/N THE VALUE SHOULD BE GIVEN INTERACTIVELY THROUGH THE TERMINAL

Member Avatar for nirav99
0
117
Member Avatar for skylancer

Hi, I've code like this [CODE] namespace RestaurantSoftClassLib.Karyawan { public class Karyawan { blablabla } } [/CODE] when I want to use the Karyawan's Class in User's Class [CODE] using RestaurantSoftClassLib.Karyawan; namespace RestaurantSoftClassLib.User { public class User { Karyawan.Karyawan karyawan; blablabla } } [/CODE] why I used to write Karyawan …

Member Avatar for ddanbe
0
133
Member Avatar for bigsurya

Can I have a FOR Loop of in the following manner:[for(int i=0;(s[i]!='\0')|| s[i]!=' ';i++)][/CODE=C++] where 's' is a character array

Member Avatar for bigsurya
0
120
Member Avatar for Mongz

My application has to include a live chat tool, anyone can help me with C# code, to make a live chat functional.

Member Avatar for Rit
0
231
Member Avatar for CuteCat

I don't know what to do... I've been trying for weeks to figure out the problem. You see, I'm supposed to make a game, as a project for school. Since it's going to be a rather large game, I decided not to flood the main file with a bunch of …

Member Avatar for CuteCat
0
192
Member Avatar for nikichu

Hi alll...... i am trying out a login form where in which i have multiple users... i have redirect each user to differnt pages..... ....but im stuck in the middle....... please help me out..... <code> page1 session["user"]=txtuser.text page2 welcome text(A label which is used to specify the current user) Thank …

Member Avatar for mail2saion
0
113
Member Avatar for mcap61

Hey guys, I'm trying to write something to a .txt file from within my program using ofstream. I have this function names show_results() which is a bunch of cout statements that are connected to a class and a bunch of member functions. But the function show_results is all cout statements. …

Member Avatar for jonsca
0
94
Member Avatar for samsons17

I dont know whats wrong with my code.. when i entered the value,there was nothing appeared on my screen.. I've tried put the single quote like this one : case '1' : cout<<Very Acidic; break; ..but it was only works for the acidic value..When i entered the value more than …

Member Avatar for samsons17
0
87
Member Avatar for gandolf III

Hi, this C program is to remove duplicates. HOwever it doesnt always print out a result and when it does it screws it up sometimes. [CODE]# include <stdio.h> # include "simpio.h" # include "genlib.h" main() { int a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,word; word=getchar(); a='a'; b='b'; c='c'; d='d'; e='e'; f='f'; g='g'; h='h'; i='i'; j='j'; k='k'; …

Member Avatar for dkalita
0
112
Member Avatar for mr_scooby

hi guys, I would like to be able to take all the output of a order form and the database output of the selected items and return it to a xml document. I tried the file_get_contents and that just took the actual code from the php page. My website is …

Member Avatar for mr_scooby
0
85
Member Avatar for johnbach

I have around 2 million vouchers of some fixed denomination (say 10 and 20)[CODE]create table vouchers(pin varchar2(20) primary key ,amount number,status char(1),extra_value number); create index IDX_AMOUNT_STATUS on vouchers(amount,status);[/CODE]Typical values [CODE]amount,status ,count(status) 10 N 1000000 10 U 700000 20 N 300000 [/CODE]For each payment transaction,I fetch one voucher wrt.transaction amount and …

Member Avatar for johnbach
0
169
Member Avatar for ured

I am trying to read a decimal as a char and store it in an array by ignoring "." like if I have 0000.9876 will be stored as 9876. The program works fine...but it doesn't stop when i debug it.....I need help please ........... #include<iostream> #include <ctype.h> using namespace std; …

Member Avatar for jonsca
0
108
Member Avatar for dinamit875

hi everyone, i have a program code here, its working, but as soon as im trying to add results debugger breaks after adding score, can anyone help me to fix this problem. Program is working ok. heres the code: [code] #include <stdio.h> #include <string.h> void addTeam(char[50], int); void calculateResult(int, int, …

Member Avatar for dinamit875
0
138

The End.