199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Leesha

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?

Member Avatar for zebnoon
0
179
Member Avatar for Musing888

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 …

Member Avatar for Musing888
0
235
Member Avatar for sadhawan

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 …

Member Avatar for sadhawan
0
82
Member Avatar for samsons17

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 …

Member Avatar for blocblue
0
168
Member Avatar for heena sharma

how to reverse a string in character array without using string functions...

Member Avatar for Fbody
0
132
Member Avatar for NH1

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 …

Member Avatar for Riebens
0
181
Member Avatar for 060609

#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 …

Member Avatar for sfuo
0
214
Member Avatar for avataralien

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: …

Member Avatar for NormR1
0
103
Member Avatar for LRNPHP

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 …

Member Avatar for swi2
0
117
Member Avatar for mith_cool

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> …

Member Avatar for mith_cool
0
93
Member Avatar for raaboo

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 …

Member Avatar for diafol
0
169
Member Avatar for kimberling

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 …

Member Avatar for calccrypto
0
91
Member Avatar for lemonzipper

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 …

Member Avatar for lemonzipper
0
258
Member Avatar for Witblitz

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 …

Member Avatar for diafol
0
156
Member Avatar for Singlem

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 …

Member Avatar for Singlem
0
156
Member Avatar for Gribouillis

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 …

Member Avatar for Gribouillis
0
3K
Member Avatar for saransh60

#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' …

Member Avatar for Fbody
0
136
Member Avatar for bleedi

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 …

Member Avatar for bleedi
0
140
Member Avatar for caierhui

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 …

Member Avatar for jon.kiparsky
0
749
Member Avatar for summerhui

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 = …

Member Avatar for JamesCherrill
0
89
Member Avatar for judithSampathwa

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 …

Member Avatar for nick.crane
0
98
Member Avatar for anant

Hi...m just a beginner...could anybody tell me from where i could find a gud tutorial for pic16f84.............. thanx anant

Member Avatar for alphahr
0
182
Member Avatar for jwelch

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 …

Member Avatar for AndreRet
0
150
Member Avatar for java_programmer

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 …

Member Avatar for AndreRet
0
165
Member Avatar for angelinrajeesha

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?

Member Avatar for mrnutty
0
127
Member Avatar for litlemaster

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

Member Avatar for litlemaster
0
71
Member Avatar for hindu times

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?

Member Avatar for fxm
0
373
Member Avatar for evinkeating

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?

Member Avatar for evinkeating
0
891
Member Avatar for judithSampathwa

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

Member Avatar for Geekitygeek
0
136
Member Avatar for evinkeating

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, …

Member Avatar for Ancient Dragon
0
209
Member Avatar for ragnarok511

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 …

Member Avatar for ragnarok511
0
147
Member Avatar for TrustyTony

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.

Member Avatar for TrustyTony
0
1K
Member Avatar for Stefano Mtangoo

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 …

Member Avatar for Stefano Mtangoo
0
105
Member Avatar for CodeAerial

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 …

Member Avatar for Liyaan
0
1K
Member Avatar for tiwas

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 …

Member Avatar for tesuji
0
2K
Member Avatar for fourty

Im a doing a project using vb6.. How do i generate the data report for the project.. Your help will be much appreciated fourty.

Member Avatar for Naveed_786
0
100
Member Avatar for dupowdis

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? …

Member Avatar for JamesCherrill
0
103
Member Avatar for Nanda1605

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 …

Member Avatar for jugosoft
0
72
Member Avatar for kjmlovesbetti

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, …

Member Avatar for kjmlovesbetti
0
174
Member Avatar for Naveed_786

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 …

Member Avatar for Oxiegen
0
119
Member Avatar for manibest

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 …

Member Avatar for reach_yousuf
0
110
Member Avatar for Awah Mohamed

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

Member Avatar for rajarajan2017
0
129
Member Avatar for personx1212

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.

Member Avatar for personx1212
0
80
Member Avatar for edy_sze

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 …

Member Avatar for AndreRet
0
133
Member Avatar for AllenB

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; …

Member Avatar for randyrude41
0
287
Member Avatar for litlemaster

[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 …

Member Avatar for Geekitygeek
0
98
Member Avatar for xcarbonx

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.

Member Avatar for mike_2000_17
0
102
Member Avatar for Holali

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 …

Member Avatar for belthazor
0
785
Member Avatar for acrocephalus

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, …

Member Avatar for Gribouillis
0
2K
Member Avatar for BlackNinja

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. …

Member Avatar for Geekitygeek
0
158

The End.