199,114 Archived Topics
Remove Filter ![]() | |
I'm working on some python programming and I need some help as to how to double the size of a picture using the image module.... any ideas?! | |
Does anyone knows how to solve this? Thanks for suggestions. Find a recurrent relation, its initial conditions and explain how is obtained this relation. A Driver pays in a station of toll using only five cents coins or ten cents coins, throwing one currency a the time. Find the number … | |
hi ,i am curious about collecting info about new computer terms. can anyone tell me what is "shareware" and explain a little. thank you very much. | |
My darn code keeps crashing, what am I doing wrong? I have a class with the follwoing method: [CODE]void BBSNode::AddToBuffer(char *buffer) { //strcat((char*)inputBuffer, (char*)buffer); sprintf("Got Data: %s\n", buffer); }[/CODE] I'm calling the method like this: [CODE]nodes[nodeID].AddToBuffer(sockBuffer);[/CODE] sockBuffer was declared like ... [CODE]char sockBuffer[IN_BUFFER_SIZE];[/CODE] Now, when I run the program and … | |
If someone could help me doing a code in VB to do the following: The output should be a list of all posible ways in which (m) different Males and (f) different female could be line up if no two females could be together (one female can not stand after … | |
hi. new here. Im a freshman at UCSB and im taking my first c++ class. I got this assignment in class and i was hoping for some tips. The value of pi to 15 decimal places is PI = 3.141592653589793 . . . Your job is to write a program … | |
:?: [COLOR=Navy]In this assignment I am to Design an HTML form that includes(at least) the following components:[/COLOR] *Customer ID *Total purchase amount *Submit button *Reset Button Explaination of program: The company uncfsu.edu wants to increase it's online sale. They have a promotion. If a customer has purchased at least $100.00 … | |
i m trying to use mysql database with asp,i m trying to code regsiter.asp. but i m getting the error this is my code <%dim struser,strpass,stremail,strlname,strfname,straddress,straddress1,straddress2,strcity,strcountry,strsql stremail=request.from("email") strfname=request.form("fname") strlname=request.form("lname") straddress=request.form("address") straddress1=request.form("address1") straddress2=request.from("address2") strcity=request.form("city") strcountry=request.from("country") struser=request.form("usercode") strpass=request.form("pass") response.write(user) response.write(pass) ' Open database Dim Conn, RS Set Conn = Server.CreateObject("ADODB.Connection") Conn.Open "Driver={MySql … | |
Today I had an exam and in that there was a question to differentiate between type casting and type conversions...Are they actually different?? I always thought they were same... :?: | |
Frndz, I want to display [B]data in a horizontal pattern using Datagrid. [/B]Tried to get that through the TemplateColumns but wasnt able to find out what exact values are to be modified to achieve that. can someone plz tell me how can this be done ?? cheers - Prasadd | |
I direly need help with passing an array of structures into a function. The problem is that Main_menu.name is blank. What is the correct syntax to pass by reference, so that I will get the Main_menu.name in main()? I would like to use pointer in the createMenu function for efficiency. … | |
I am working on a project that requires me to recive data from a network application. After I recive the data I'm suppose to break it up. Now I know of a way to sorta do that by using "tokens" and strtok (if you don't know strok breaks up a … | |
Hopefully I'll be able to explain this issue. If not, I may just have to post a lot of code. Basically, I've got a base class called 'Log' with virtual methods of writing to a log. I have two descendent classes - ScreenLog and FileLog (with all the same methods). … | |
Sample run of the program: Welcome … Please type in your budget: 120 Menu Select an item from the above menu: 2 How many of this item you want?: 2 Please confirm [Y : yes, N : no] ?: Y Total cost for this item = 50.000, Budget remaining = … | |
please help me how to write this program. write a program to calculate: a - b / c * d + e *f % g where a , b , c , d , e , f , g are integer the output format like. a= b= c= d= e= … | |
First of all i am new to PHP Session. THE PROBLEM: I do session_start(); command at the begening of every page so that php uses session but what i also what it to do is that if that person closes the browser and returns back to same website it should … | |
Hi, Can anybody tell me why in the following peace of code the link does not get hidden when "locationid" is empty? thanks, torsten <%if IsNull(cursor("locationid")) = false then %><A href="javascript:MM_openBrWindow('http://www.mapminder.co.uk/getmap/default.asp?page=viewlocation&locationid=<% =cursor("locationid") %>&source=82YWNH0INZZDY-zIkhkce2L£wY!Pbgx6&zoom=<% =cursor("mapbytezoom") %>','','toolbar=0,location=0,directories=0,status=1,menubar=0,scrollbars=1,resizable=0,width=585,height=585,screenX=0,screenY=0,top=0,left=0');" onMouseOver="window.status = 'Link To Location Map'; return true;" onMouseOut="window.status = ''; return true;"><IMG SRC="../images/pubs/gpg_getmap_button.gif" WIDTH=58 … | |
Hi all, New to this site asd VB6 AAAAAAA i'm trying my best. Anyway here goes need to store names and numbers names in lstbox number in an array. select the name from the lstbox and display the number in a lbl. here's the code so far can someone please … | |
Sir I am currently using wamp5_1.4.4 1) Apache 1.3.33 2) MySql 4.1.10a And I want to update with the latest version. I could I made the modifications. PLease do help me. Ashwin Perti | |
This routine works and formats the date exactly how I want it but I dont want current time. Instead I would like to format the time from a mysql database. I have tryed this [php]strtotime($row_Recordset1['when']);[/php] but it dont work. How do i get my database field in the array and … | |
I want to creat file with each line having date + time + data so I can append more data as need be and know when it was added. What date+time function would be best? | |
Hello ppl. Ok have to investigate and write a report on the efficiency of the following Linear Search algorithm. But im having problems starting off.... can anyone here help me kick start this 3 page report... would apreciate any information & help you guys here can give. [CODE]// This program … | |
if i try to use this constructor BigNum d("-2345"); how do i get the compiler to convert the string to a negative number?here's the code i have for this constructor [code]BigNum::BigNum(string s) { num = new node; num -> next = NULL; num -> val = 0; int i, j, … | |
is it possible to have a validation password while open a MS Access password?? Where should i set it and how can i set it? the open connection or? pls advice.... thanks... | |
I am writing a Math related program and I want to display the equations that the user inputs properly. I was thinking about using LaTeX to displaythe equations in a JTextField but need help puting that concept into code form. | |
I have this pathfinder and I got it to work using c++... now i am trying to convert it to OpenGL and it is not working. I wrote code to use a mouse to plot the start and destination points. but it won't work properly. I have attatched the file … | |
I need help in my VB class making a cash register. I know I'm supposed to use modulus and integer functions as well as nested if's, but am having a hard time coding it. If you haven't figured it out yet, this is my first real attempt at coding in … | |
i have database in which i hava login information iwa nted to check weather the persons login information is correct or wrong. i m very new to asp. so any body help how i have to proceed [code] <%dim user,pass user=request.form("usercode") pass=request.form("pass") response.write(user) response.write(pass) ' Open database Dim Conn, RS … | |
Does anybody have any ideas on how to make your own email program? Could you use the mail function and restrict access? | |
Hello, I'm trying to understand how this heap sort algorithm works (how this particular implementation from [url]www.eternallyconfuzzled.com[/url]) works. [code] void jsw_do_heap ( int a[], int begin, int end ) { int save = a[begin]; while ( begin <= end / 2 ) { int k = 2 * begin; while … | |
hello everyone, :) I am new here, and first of all, I let you know that I was just read the rules of this forum and I agree with all of them... so, my question is about a homework, but I am determinate to do a good job and put … | |
Hello! I need help on how to upload sound in C++ language. I was wondering if you can provide me with source code or an example where the sound has been uploaded. It would be a great help if you can provide me an example which includes a graphic. Thank … | |
I have a JFrame , and to one of its button 'done', I wish to add an ability to close the window...ie on clicking done this window should close. jen | |
I have run the slider demo that come with wxPython docs. It is rather stupid, as it puts slider on a panel using many unexplained numbers, never tells how to get position of slider or what to do next if the slider is moved. I am much lost, does anyone … | |
Hello, These last few days I was feeling like remodding my PHPBB completely, and when I scanned through the files, I came acrossed the TPL files. I wondered, [i]TPL?[/i] and thus opened one of the files with my editor. I seen the lines coded, "{FORUM_NAME}," or something similar and wandered … | |
Hi, I really need some help I've been banging my head again wall with this one. I have created login page, username and password stored in sql database but now I need to add roles to webpage. Need them to be stored in database because the high amout of users … | |
hi frindz, o m new ti ur forum plz help me, i m trying to do my Library project in C#,but i m new to this language i need login code so that i can start my project by first completing login page.can somebody help me :confused: | |
[CODE]while( i < lineCount) { current = 1; while (nList[i-1] = nList[i]&& i < lineCount) { current++; i++; if (current > highest); highest = current; arrayposition = i; multiMode = false; } else if(current == highest) { multiMode = true; } i = i + 1; } if (multiMode == … | |
The following HTML does not work on FireFox, only IE. Anyone know why?? <a href="http://www.daniweb.com/"> <img border=0 src=http://www.daniweb.com/certificates/badge45765.jpg alt="extofer has contributed to our community" width="125" height="125"> </a> :o | |
is there a php function that I can verify if the string contains all digital number, not alphabetic charactor? thanks. | |
Hello There, I am working with c# & I have used two textbox server control. 1> Registration Date 2> Expiry Date First of all, user enters value for the first textbox namely Registration Date and then the expiry date should be auto calculated by adding 30 days into currently entered … | |
hello, im doing a project on email account which must include at least 2 constructors, a finaliser, a display `method()`, a menu that allows to test all fuctions of the class and a `main()` i got the attributes of email : address, password, currentName, noOfmails and the methods are `logine(), … | |
i have some problem here. i dont know how to explain in words of wat i wan. i have attach the file in i dont know how to create new checkBox in picture Box by using coding? :rolleyes: when ever i click. the button wont go over to the new … | |
I've got the following code: Code: @mail($address, $title, $message , "From: ". $from . "\nContent-Type: text/plain; charset=utf-8"); Which sends a verification email to a registered user. The only problem is the email is considered bulk, and ends up in the bulk folder, or doesn't show up at all. I'm thinking … | |
i need to write a simulation of CPU scheduling. The operating system must select one of the processes in the ready queue to be executed. i have real problems understanding what the professor wants in this program, can anybody here help me develop some pseudocode for the logic behind this … | |
help im trying to create a conditional database query this is what i have <CFQUERY name="qget_by_date" datasource="log"> Select * FROM productioninfo WHERE ((txtdate =#LSDateFormat(Now(), "d/m/yy")#)) </CFQUERY> <cfif qget_by_date.recordcount GT 0 > <cflocation url="poductioninfo_entryform.cfm"> <cfelse> <cflocation url="main.asp"> </cfif> this works but i need to check date=now and username="txt" an date= now … | |
I have write javascript to create form field when button is click. function addEvent(myTable){ var lastRow = myTable.rows.length; var x1=myTable.insertRow(lastRow); var a=x1.insertCell(0); var a1=x1.insertCell(1); var x2=myTable.insertRow(lastRow+1); var b=x2.insertCell(0); var b1=x2.insertCell(1); var x3=myTable.insertRow(lastRow+2); var c=x3.insertCell(0); var c1=x3.insertCell(1); var x4=myTable.insertRow(lastRow+3); var d=x4.insertCell(0); var d1=x4.insertCell(1); var x5=myTable.insertRow(lastRow+4); var e=x5.insertCell(0); var e1=x5.insertCell(1); var x6=myTable.insertRow(lastRow+5); … | |
I've been doing web dev for the past few years and have gotten to a few languages, but not CF. To be honest it always interested me to know, but I just never had the will or the opportunity to learn it. Coming from a Java background I'm interested because … | |
[color=royalblue][QUOTE][color=royalblue]Codase is the leading source code search company with advanced source code understanding and xml index/search technologies. Rather than treating code as text, Codase understands programming languages, and treats code as code, the way it's supposed to be. This unique and syntax-aware approach provides the most accurate and detailed search … | |
How would you calculate the difference between two dates? |
The End.