199,114 Archived Topics
Remove Filter ![]() | |
i'm a student of BSc IT. i have to submit my final year project but i've got no idea what i'm going to do. any idea on what i can do it? | |
The basic idea for this program is to for me to enter a code to a corresponding website (which is already in a dictionary in the body of the program) and search that webpage for a specific phrase and return a value. This is so that I can check number … | |
Hi Guys, what i am trying to acieve is, I have an xml file which has bunch of reference to html pages, pic and videos.Now this file and all other files are in the same folder or different subfolder under a main folder.What i want to do is to read … | |
Hi.. Here is my problem: I have made a website and there was links there such as home,project,about me and so on.. But when the user click on those links the url seems to give me the full path/the full directory of where those related files/links are located. To make … | |
how to reverse a string in character array without using string functions... | |
I have an issue i need to get resolved fast. I cant seem to get my Dialog box to run properly. This is the code i have for it. The Problems i have are where the black arrows are. First arrow: "No matching prototype available Second and third arrow: "Invalid … | |
#include <iostream> #include <cstring> using namespace std; int main() { int i,n,len; char x[3]; char status[15]; cout<<"This is an airplane passengers seats program"<<endl<<endl; for(n=1;n<=7;n++){ cout<<n<<" \tA\tB\tC\tD"<<endl<<endl; } cout<<"Please enter your seat accordingly : "; cin.getline(x,3); cout<<endl; len=strlen(x); // for (i=0;i<=len;i++) // x[i]=toupper(x[i]); for(int j=1;j<=7;j++){ cout<<j<<" \tA\tB\tC\tD"<<endl<<endl; } cout<<"Thank you for … | |
I am checking on ways to update my text file existing record. For example I wanted to update the "Address" & "SSN" for Mary Rose to other information using the following code fragment. How can I make use of scanner to complete my code? Code Fragment [CODE] case 1: System.out.print("Address: … | |
Hi Everyone. Could someone assist me in the query. The table has type_of_vehicle field. In this field I have A, B and M. I would like to create a query where I can specify to select A and B, or A and M or A,B,M. Hope someone could assist me … | |
I have designed a jsp which has the following code : [CODE] <%@page contentType="text/html" pageEncoding="UTF-8"%> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Form Cookie</title> </head> <body> <form action="http://localhost:8080/FormCookie/AddValue"> Name : <input type="text" name="name"><br> Age : <input type="text" name="age"> <input type="submit" value="submit"> </form> </body> … | |
Hi, I have a table on MySQL server that contains several fields (id, ListingID, Scores),being utilised via a php page. The 'scores' column has the values stored as '1,2,3,4,5,6'. When a rating is added, people select their rating (out of ten) for a particular listing and this is then stored … ![]() | |
Hi, I had write a script in perl to randamize hex value and get the results as attached. Which is decimal value-----hexadecimal value. If i want to get randomized hexadecimal value 0x12c8xxxx but not 0x12c80000, what can i do? (where xxxx is not zero but with some hex value) I … | |
Hello All, I would like the user to be able to choose the file_name (assuming it already exists) and be able to append information to it. However, this condensed version, below, of what I'm trying to do gives me a compilation error. I feel like it has something to do … | |
If I have these defined named constants in an include file: [code]define('FORM_FIELD_QUESTION_1', 'Question1?'); define('FORM_FIELD_QUESTION_2', 'Question2?'); define('FORM_FIELD_QUESTION_3', 'Question3?'); define('FORM_FIELD_QUESTION_4', 'Question4?'); define('FORM_FIELD_QUESTION_5', 'Question5?'); define('FORM_FIELD_QUESTION_6', 'Question6?'); define('FORM_FIELD_QUESTION_7', 'Question7?'); define('FORM_FIELD_QUESTION_8', 'Question8?'); define('FORM_FIELD_QUESTION_9', 'Question9?'); define('FORM_FIELD_QUESTION_10', 'Question10?');[/code] Then, I'm trying to loop through them and create a result in which I wanted use such as: [code]for … ![]() | |
Hey I'm using a dbexpress to connect to a mysql server, that works. I then do a query and from that assign values to variables. Now my issue it that I can't seem to find a way to read a 'NULL' value from the Database and assign it to a … | |
How would you safely round a floating point number to the nearest integer ? Python has the built in function [icode]round[/icode], but it returns a floating point number [code=python] >>> round(4.9) 5.0 >>> help(round) Help on built-in function round in module __builtin__: round(...) round(number[, ndigits]) -> floating point number Round … | |
#include<iostream> #include<string.h> int main() { char* str="my name"; /*plz explain what is pointer-name,and what is string- name here(realy confused) ? i am new to pointers :) */ int len=strlen(str); char* ptr; ptr=new char[len+1]; /*is this ptr pointer or string*/ strcpy(ptr,str); cout<<ptr; delete ptr; /*how this works */ cout<<endl<<ptr; /*this 'ptr' … | |
Hey! Again, small but devious problem for me: I have a string that gets time as an input, in a format like "9.45" or "15.37". How do I extract the hours and minutes to integer variables, when the hour part may consist of either one or two digits? If it … | |
In line 32 which is the lttr[ctr] = read.next().charAt(0); wont read all the letters that i input. it only reads the last letter that i entered. what should i do to be able to display all the letters i entered and be able to reverse there order so that they … | |
Write a program to convert the month and days into number of the days for year 2010. Example: Input Month and days: May 16 import java.util.Scanner; public class A129323{ public static void main(String [] args){ int i = 0, numberOfDays = 0, sum = 0, previousMonth = 0, count = … | |
Hi there, I have a question regarding datagridview in C#, when a form loads I have given the command to add a new row to the datagrid view , and in that datagridview there is a combobox and has items In it.when the form loads I want one item in … | |
Hi...m just a beginner...could anybody tell me from where i could find a gud tutorial for pic16f84.............. thanx anant | |
I'm fairly new to VB Scripting, i have written a vb script that will check to see if out look is open and it is not it will open it. i want to a some code in that script that will allow it to run every 5 minutes un till … | |
I am writing a macro, which will take an excel sheet as input, process the data and after processing the data, will create a new excel sheet with the processed data. In the input excel sheet, there will be some blank row, which I need to be ignored. But i … | |
Hi, Is it possible to allocate memory using malloc() (C) and release it using delete (C++) or even the opposite Alocate with new (C++) and release with free() (C) If not Why? | |
I have three as 1.Contacts --> contact_ID, contact_name 2.Members --> contact_ID, Group_ID 3.Groups --> group_ID, contact_ID I want to SELECT contacts_names from Contacts where some Group_ID such that all the contact_IDs belong to one group_ID in table Members. In short I want to Group my contacts. Please Help | |
Any idea why the iFrame resize code would stop working when I copy the code over to another page? It works fine here: [URL="http://www.rjt-online.com/photos.php"]www.rjt-online.com/photos.php[/URL]. But when I copy the code over to another page ([URL="http://www.rjt-online.com/video.php"]www.rjt-online.com/video.php[/URL]) in it's entirity, and just change the urls, it stops working? | |
I have a program that works fine under windows, but when i run it on Unix I get a very slightly diffent set of results, followed by a 'segmentation fault' message. I'm at a loss to explain why. Any ideas? | |
Hi, I have a question regarding the date time in C#. I want to get the date and the time in two digit 4 as 08.45am 27/07/2010. How can I get it like this. thankxxxx | |
I've a 2-d array declared as such [CODE]lower_tri = (float **)malloc(sizeof(float *)*(dimention)); for(i =0; i < dimention; ++i) lower_tri[i] = (float *)malloc(sizeof(float)*(i+1));[/CODE] So that it looks like... [] [][] [][][] [][][][] ... However, it causes a segmentation fault when I try to de-allocate the array with [CODE]free(lower_tri);[/CODE] (only in unix, … | |
![]() | Hi everyone. I am writing a form that is builds an XML file. The form is multiple pages. Whenever I try to go to to the page after the next page, it tells me that it cannot access the XML file because it is in use by another process. It … ![]() |
Here is my practise with [URL="http://www.boggled.org/"]boggle [/URL]letter square non-overlapping word finder after some drastic debugging and cleaning. I think it is reasonable speed also. Comments wellcome. | |
Hello, I need to load JQuery UI tabs ajax call. I have made tabs and works well with my projects. I have problem in using ajax to reload one of the tabs using ajax call. When user select another thing in Drop down menu I have no way to reload … | |
Ok, just as my topic says, I'm having trouble why it cannot consider negative multipliers. Code below: [CODE]//Multiplication by Repeated addition #include<stdio.h> main() { int k, l, m, n; printf("Enter Multiplicand: "); scanf("%d", &k); printf("Enter Multiplier: "); scanf("%d",&l); n=0; for(m=0;m<l;m++){ n=n+k; } printf("Result is: %d", n); printf("\nThank you for using … | |
Hi, Is there any way to do this? I tried using a 'select scope_identity()', but that returns null, apparently because my identity column is not a numeric of any sort. An answer to this would help me a lot! I would love to not have to use an integer or … | |
Im a doing a project using vb6.. How do i generate the data report for the project.. Your help will be much appreciated fourty. | |
So I know that the standard file filter code goes something like this: [CODE]FileNameExtensionFilter filter = new FileNameExtensionFilter("JPG & GIF Images", "jpg", "gif"); [/CODE] That example obviously applies for pictures, and the extensions it searches for are .JPG and .GIF. What if the user, however, has files with no extension? … | |
Hi All, Am new to this area, it would great if any one help me on my request. I would like to retrieve each words co-ordiantes (x,y axis) from a jpg file, which is scanned hard copy. I know this can be done with the help of OCR sdk's. But … | |
Please help, I am new at vb.net and pretty terrible with very little knowledge. I have a checkboxlist(chklst) with 6 colors. I have 6 labels...Label1, Label2, etc... When Button1 is clicked, I would like to have list item1, if selected, to = Label1.text I would like to have list item2, … | |
I have problem in printing i send the print but the blank page comes code i am using as follows: [CODE]Dim linesPerPage As Single = 0 Dim yPosition As Single = 0 Dim count As Integer = 0 Dim leftMargin As Single = e.MarginBounds.Left Dim topMargin As Single = e.MarginBounds.Top … | |
Hi all I am developing a page where user can insert update delete his information. I am doing as follows when user clicks the "Delete" button, a MsgBox pops and asks to confirm the delete process. if (user clicks "yes" in msgbox) system deletes the information. else system does not … | |
hello guys . i am new to mysql and i really dont know anything about it so i need your help in creating a database that contains two places one is the username the the 2nd one is the password .So please tell me how to do it ![]() | |
hi there, i have some binary data (zip files, music, etc..)stored in a database, how can i start those files in memory without saving them to HDD..or even to temp files folder... thanks. | |
Hey guys I'm trying to debug a program which gets values from a Sybase database and exports those data to a Excel Worksheet, all is fine but when there is a value '001' from the database the exported valued to the worksheet is a null character. That is strange so … | |
Hello, I need to print the contents of a Windows Registry folder (Display Names). I have posted what I have started with and would appreciate some help. It returns a null value at this point, even though there are items in this folder. Thank you. [CODE] import java.lang.reflect.Method; import java.util.prefs.Preferences; … | |
[CODE] SqlCeDataAdapter adp = new SqlCeDataAdapter("select * from gmembers where GID = "+current_group, con);[/CODE] What I was trying to do is to Select all the records from table gmembers where GID is a string variabe. I would also like to mention that actuall data type of GID is INT. probably … | |
Hi, im just a beginner in C++ and was wondering what exactly are pointers used for? Are they just to refer back to something or are they used differently than that? I was reading through the chapter on pointers in my programming book and it doesn't really clarify. | |
Hello I have this problem in pascal: I want to include a variable in file name while assigning a text file to variable of textfile. Example: I have a text file called 'numoffiles.txt' with one integer number in it I read it and set variable a to that number in … | |
Hello! I am trying to run the code provided in the texttable module documentation ([URL="http://jefke.free.fr/coding/python/texttable/"]http://jefke.free.fr/coding/python/texttable/[/URL]) as shown in the code, but it returns a name error which tells that Texttable is not defined. [CODE]import texttable table = Texttable() table.set_cols_align(["l", "r", "c"]) table.set_cols_valign(["t", "m", "b"]) table.add_rows([ ["Name", "Age", "Nickname"], ["Mr\nXavier\nHuon", 32, … | |
Hello folks, I'm a little stuck and any help would be appreciated. Basically what I'm trying to do is have the user enter a pin or password, connect to a database and check whether that password is in there, if it is the program will switch to a new form. … |
The End.