199,114 Archived Topics
Remove Filter ![]() | |
[B]a. Write a pseudo-code that prompt the user to input number of sold items and then receive the sold value for each item, calculate the average value, display the items numbers associated with its values and display also the calculated average value on the screen. b. write down the C++ … | |
hi i need to read html from a url requiring that i log in to the site. how is that done? i think it depends on how the site is build? its for a torrent site, and they often use the same template as far as i know. the site … | |
I'm new to c / c BUT not new to programing, I know php vary well. Well, on to my question. I'm writing a physics calc, the user enters a Vi and Angle and it gives them the rest of the info, [url=http://www.kc8onw.net/~jacob/calc.php]here's[/url] my php version. I got my c … | |
hi all. i need help... 1.how do i copy a line in a text file into a struct. 2. the text file i have is this: 10 SasonSasoniBenSason 100 100 5 Pinokio 70 90 20 JohnRambo 50 87 3 Elvis 3 77 50 JamesBond 17 1 40 BillGates 91 8 … | |
Hi I am wondering why size_t is used when it has the same functionality as an int and assigning size_t type variable to int works fine. Any one ? Thanks | |
Hi all when i trying to convert a string to date and store in data base it shows type cast error code is as follows: dim s_date1 as string dim s_date as date s_date1 = s_mon & "/" & s_day & "/" & s_year s_date = CType(s_date1, Date) | |
Hi, I try to take data from mysql and insert into xls. I achieve that but I cannot sort out the char problem. Turkish characters are displayed in a weird shape in the file but everything seems fine when i display them in a web page. I tried ISO-8859-9(which is … | |
Greetings, I'm slowly building up code to do the following:- [LIST=1] [*]Display TWO selection option boxes (cascading). [*]If the FIRST selection option box changes then reload the jsp using onchange event (not changing the option box value on relaod i.e. not re-running the SQL query). [*]ONLY on initial entry should … | |
hi I designed simple program of computing the petrol bill and save it into MSACCESS data base. This bill included decimal places. But everytime I check my msaccess database. The number is automatically rounding up or down. I try to set standard settings with two decimal places but the number … | |
How i can get path of StratUp folder?? i m really didn't have any idea for this. please help me. any help will be appreciated. | |
Hi everyone, I'm now fiddling over a week to fix a problem on my linux-webserver. I have the following code: [CODE] ... $bool=mkdir(trim($semname), 0777, TRUE); //chmod(trim($semname),0777); $f2=fopen(trim($semname)."/index.php","w"); ... [/CODE] it works perfectly when working on my home server under windows but as soon as loaded up on my linux-webserver it … | |
Hi This is ScorpionZ I have Created a window that holds an Id of Particular Product having code this: <head> <script type="text/javascript"> function poponload() { testwindow= window.open ('image_viewer_window.php?images=<?=$prod_id?>', "Image","location=1,status=1,scrollbars=3,width=452,height=218"); testwindow.moveTo(215,350); } </head> <body> <td bgcolor="#F8F8FF"><a href="#" onclick="return poponload()">View Images</a></td> </body> // Talking about $prod_id it is an Id already in … | |
hi i have a html page when the user clicks a button in the parent window a popup window will be opened which will contain the login page.if the user is a valid user then i want the parent window to get refreshed so that i can show him the … | |
Hi, In my web application which is developed under JSP,JavaScript, the menu's works fine in Internet Explorer but the same sub menu's does not works/opens in firefox and others.For example i gota menu's as below, Admission ------- Student admission --------Faculty admission When i click on Admission link, the student and … | |
I was wondering if it is possible to download/copy a zipped file with images from one server to another and then unzip the file to a folder with PHP? If so, any suggestions of how or where to read up on it? By the way, the zip file requires a … | |
I have downloaded some example source codes in C# for example "start.cs".. How can i execute it in VS2005? i opened it in C# IDE in VS2005 and i can't seem to run it.. Anyone who can help? | |
Last week I asked about this so I tried to write another example to try it out. I have a Line class which needs to have and members of type Point and member functions that return type Point. The Point class needs to have member functions that return type Line … | |
i am adding elements to my db and the elemtents which have been add will be displayed on a different page. i am using an upload page which creates a thumb nail of an uploaded image and then stores the path for this image in a variable called $thumb_name. the … | |
just wanna ask..if session cant be use, i try setcookies() to get the variable pass through the pages, however i get this error message: Warning: Cannot modify header information - headers already sent by (output started at C:\Program Files\VertrigoServ\www\logincheck.php:2) in C:\Program Files\VertrigoServ\www\logincheck.php on line 3 i put setcookie($username, time()+3600); right … | |
Hallo members, I have been trying to learn PHP/MYSQL but I have been disappointed all the time. I have installed PHP DEV package that has MYSQL and PHP. Then I tried writing code via Macromedia Dreamweaver ... but when I save the dot php (.php)files and try viewing my pages, … | |
Hi, I'm trying to create 6 buttons in a for loop using tkinter, each button's command points at the same function, but passes a variable (the loop counter.. in this case i) now for some reason.. when i run it, and click on each button, the function is supposed to … | |
this my proj.. i need to do a program that will display the names in file.txt into jlist please help me with this... and i need a button for save,add new,cancel,and close.. after the names displayed in the list..when it clicked,,it must display its corresponding address,and contact number...thanks..hope youll help … | |
Hi all, In graphics mode, I need to read hexadecimal value from a file and assign it to variable for which i can add other value later. Eg : I need to read value 1007(hexadecimal) from a file and assign it to a variable. Later when i add 3 to … | |
Hello VB Experts, Can anyone show me how I can sort items in a datalist alphabetically? I bounded the data using ADODC and Microsoft Jet 4.0 ole db connecting string. I would appreciate it much if anyone could help me solve this problem. Thanks in advance | |
I can't get this to compile. It is for a homework assignment. The program asks user for 5 test scores and is to display letter grade and average test score. I was able to get the calcAverage method to work, but after adding the determineGrade method, I end up with … | |
hi...i am doing form for bill redemption, and juz wanna ask is there any function in php used to check for expired date? like current month is march, if user enter due month to be january, then it will be invalid. Any function to detect current date? By the way, … | |
The following is the program I wrote, but the result is not what is required exatly. Somebody please point me out to what I am doing wrong. The question: > Write a Java application that reads an integer value between 0 and 100 (inclusive), representing the amount of a purchase … | |
Hi guys, Im kinda new here and I'm looking around for some ideas regarding my current project. It's all about file restoration of deleted or corrupted files for Pen Drives. Im currently working on this project from completion of my college degree. Hope you guys can help. I haven't started … | |
I have the following sql statement in VB6 (latest VB SP, Win XP, SP2) that works fine in ado to sql server 2k5 but does not work in ado to access 2k3. [B]"Select ID, Make, Model, PlsPerBBL, Size, Processor, Location, From MeterData Where MeterNo = 'FQ-805 8" IN'"[/B]. I know … | |
The following piece of code is supposed to add html spaces in place of leading spaces. /** * Finds all leading spaces on each line and replaces it with * an HTML space (&nbsp;) * * @param s string containing text to replaced with &nbsp; * @return the new string … | |
HI ... I need an idea for developing project in asp.net . W r team of 4 people want to develope some appliction in asp.net . So plz suggest me some idea . We don't bother about size of project...So plzzzzzzzzzz help........... | |
i want to get all running process... how a can do this? anybody know how to do this? please help. thanks in advance... | |
Could someone please why do we say that the syntax of enhanced for loop (for-each) in java in streamlined. Also, my java compiler does not compile programs containing the enhanced for loop. It gives errors like: for(int x:collection) { } ^ ; expected Could someone suggest solutions to this? | |
Hi all, I am fairly new to java, as well as netbeans, but I come from a VB background. I am wanting to build platform independant aps and find the need to cross over into this world of Java, and netbeans (so far) is the best visual ide I have … | |
Hi all Is there anybody who can solve this problem? This is not a easy problem. Problem: Assume that George(S,X) is a function that returns a Boolean value, where S is a stack, and that the time complexity of George is O( log |S| ) , where |S| is the … | |
I am getting compiler output that makes me think I have some sort of syntax error like a missing ';' or misaligned (). But I've checked my code thoroughly and can't find anything wrong. What else could cause this kind of error? I included the compiler output along with my … | |
Hello Everyone. Project outline: [QUOTE]I've to make a project which is the following: I'm a Car Distributor that distributes(sells) cars to different Car Dealers I should have a stock class with all the different types of cars I have ej(Toyota: 100, Mistubishi: 220, etc...) each type of car should have … | |
i need to embed text with different fonts to an image it will be cool if i could use the .ttf font files for writing text Thanks in Advance | |
I'm self studying from the book, C++ Primer Plus Fifth Edition, by Stephen Prata. The following relates to Chapter 13, Page 699, Programming Exercise #4. One task is to write the derived class method definitions based upon the given prototypes. The following are the said prototypes. [CODE="cpp"]class Port { private: … | |
Hi , I need a solution for my web page [url]www.servisracunara.co.nr[/url] When i click on the Popravka 2 I want to change a iframe to Popravka 2 . Thank you for your effort of reading this . | |
I cannot compile my programming..abnormal programming..anybody whi knows where is my mistake? [code=C++] { int count, k; { count=0; myfile<<"i,j|"; for ( int i = 1 ; i < students.size (); i++ ) for ( int k = 1;k<students.at(i).examcode.size(); k++ ) { count=0; for (int colHead = 1; colHead <students.at … | |
Is python provide search in parent folder contain subfolders and files for example folder name is cars and subfile is Toyota,Honda and BMW and Toyota contain file name camry and file name corola, file name honda contain folder accord and BMW contain file name X5 Is there way to enter … | |
How can I declare the txt.InitialValue.text, txtSalvageValue.Text and TxtAssetLife.Text part of this code? Thanks in advance for any help. [code] msngInitialValue = ToSingle(txtInitialValue.Text) msngSalvageValue = ToSingle(txtSalvageValue.Text) mintAssetLife = ToInt32(txtAssetLife.Text) [/code] | |
I am wanting to produce a number matrix which will result in displaying the numbers in chronological order. For example, if a 3 x 3 matrix is desired, the output would result as such: [[1,2,3],[4,5,6],[7,8,9]] The first part of my code can produce the initial list. However I am unsure … | |
Im writing a website, but when one goes to login it is not detecting the username/password the code i used follows(I just started learning yesterday... so im kinda lost as to why its not working). [code=php] <?php session_start(); $errorMessage = ''; if (isset($_POST['txtUserId']) && isset($_POST['txtPassword'])) { $host="localhost"; $username="falconnest_forumuser"; $password="qazasdedc"; $db_name="falconnest_forum"; … | |
Hello I'm trying to teach myself how to use mysql and php via a couple of books and a lot of hacking away. I have Jesse Feiler's book "How to Do everything with Web 2.0 Mashups" and I'm stuck on chapter 11 which is a practical exercise in mashup building. … | |
We're learning about functions in Intro to C++ and a problem is telling me my getInput() function is supposed to "get the user's weekly payrate" but at the same time it also says "remember the getInput() and displayInfo() functions are void." How can I get input if there the function … | |
I've been trying different things all weekend trying to figure out what is going on here. If I log in to my server via a PC and telnet, it comes through just fine. So I know it's my code here is messed up. Here's my code [CODE] while(1) { mbstowcs(CHAT," … | |
Hi, i have my site looking like this : [code] html> <head> <title>Toller Titel</title> <link rel="stylesheet" type="text/css" href="layout.css"/> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> <script language="JavaScript"> <!-- button1= new Image(); button1.src = "bilder/menue/menue1.jpg" button2= new Image(); button2.src = "bilder/menue/menue2.jpg" button3= new Image(); button3.src = "bilder/menue/menue3.jpg" //--> </script> <div id="menue"> <div style="text-align: … | |
Can an Interface file contain multiple classes? If so how would one implement this interface file (what specifications do you need to use to specify which class you are using)? If this is not legal or is a bad programming practice then please explain why. Thank you, Arielle |
The End.