199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for stakeMyHeart

i'm trying to study this paper: [url]http://db.grinnell.edu/sigcse/iticse2007/Program/viewAcceptedProposal.asp?sessionType=paper&sessionNumber=113[/url] it has the 'linearization' in its title. i just want to know what is its meaning. i searched google but it gave me something like calculus which i dont get. please help me. thank you.

Member Avatar for stakeMyHeart
0
113
Member Avatar for stakeMyHeart

im trying to study this paper [url]http://ww2.cs.mu.oz.au/~tim/pubs/austai2009.pdf[/url] its all about putting proper capitalization and punctuation in an english text. As I was reading it I encountered this word, lemma. I searched it on google and found ambigous results. It came to my mind that it must be lemmatization. But lemmatization …

Member Avatar for stakeMyHeart
0
119
Member Avatar for s.w.a

hello every body, how are you all please i want some one to help me in my prgram this ,as i think, is the piece where the problem occur, the output is being to give only the last value i enter from the keboard where me need is to insert …

Member Avatar for NormR1
0
149
Member Avatar for prasanna123

<?php session_start(); $database="myfriend"; $userid=$_SESSION['user']; mysql_connect("127.0.0.1","root",""); $db_found=mysql_select_db($database); $sql="select fuserid from friends where userid='$userid';"; $result=mysql_query($sql); $id=0; $users=array(); ?> <body > <center> <p> your friends list:</p> <?php while($db_field=mysql_fetch_assoc($result)) { ?> <a href="displayprofile.php" id='$id' onclick="validate(this)"><?php print $db_field['fuserid']."<br><br>";?></a> <?php $users[$id]=$db_field['fuserid']; $id=$id+1; }?> <head script type="javascript/text"> <script> function validate() { var id1=document.getElementById(</script><?php print $id ?><script>); </script> …

Member Avatar for prasanna123
0
168
Member Avatar for wenothat

I Hope Any One Can Modify My File To Working Fine ... Sorry 4 My English [CODE]<?php if ( ( "randgames.php", $_SERVER['PHP_SELF'] ) ) { ( "Location: ../" ); exit( ); } $xBhtml = ( "table.tpl", $ccthemes ); $unixtime = ( ); $deltime = $unixtime - $randcachetime; @( "DELETE from …

Member Avatar for broj1
0
161
Member Avatar for gorleone

Hey guys, what the best practice for session check without duplicate code. I mean when check the session in some controller I have to duplicate the code to other controller, and that is not a good idea. <?php [CODE]class Ctrl extends Controller { private function _ses_check() {...} } class Second_ctrl …

Member Avatar for pritaeas
0
165
Member Avatar for jemz

Hi, I am new in this C# language i haven't tried yet writing program on C#,so in connection on this i want to learn how to use C#,but before i will start what editor should i use on this C#...please help me. I appreciate more help.Thank you in advance.

Member Avatar for jemz
0
132
Member Avatar for zerofreak

Hello guys, I've newly joined this forum since I want to enhance my knowledge in Programming specially in Visual Basic. So for the important part, right now I'm planning on creating a word detector somehow and there are specific rules I was to set in the textbox in relation with …

Member Avatar for zerofreak
0
175
Member Avatar for ahp@aol.in

Hi folks, I've simple question regarding following code. [CODE] int main() { int i =5; printf("%d %d %d\n",i,i++,++i); // 7, 6, 7 return 0; } [/CODE] The answer is [B]7 6 7[/B]. I want to know how it is coming. Please help. Thanks, Amar

Member Avatar for jumbowat
0
805
Member Avatar for mrprassad

[CODE] swap (char *p, char *q) { printf ("%c\t%c\n", *p, *q); *p ^= *q ^= *p ^= *q; printf ("%c\t%c\n", *p, *q); } int main (int argc, char *argv[]) { if (argc < 2) { printf ("\nSyntax: ./a.out str\n\n"); exit (1); } char *p, *q, temp; p = q = …

Member Avatar for Narue
0
155
Member Avatar for wallet123

whats the error in here? everytime i run this program even though there are no red underlines and signs still, it say theres an error in here ... and how can i do the same program using if else statement? i have started doing if else but my program its …

Member Avatar for wallet123
0
189
Member Avatar for ajacintha

Hi, I am creating a tool where a user takes a screen shot of the users report and paste all in a word document. I am working on a tool which automates this, im my application the user click snapShot button on the screen where the snapshot is to taken, …

Member Avatar for NormR1
0
420
Member Avatar for vishalkhialani

Goal: Get values which are unique in $resultSecond So I have two objects. $result->>entity_id $resultSecond>entity_id I want to get values which are unique to $resultSecond and are NOT in the $result. I tried to use array_diff(). It did not work as they are objects. I think. Below is the code …

Member Avatar for vishalkhialani
0
159
Member Avatar for srinidelite

#include<stdio.h> int main() { int i; typedef struct BookDB { int iPageNo[10]; char cBookName[10]; } b1[5],*b2; // *pvBookDB = &vBookDB; b2 = &b1; printf("Enter the pageno folloed by bookname for 5 books at at time"); for(i=0;i<=5;i++) { scanf("%d,%s",b2[i].iPageNo,b2[i].cBookName); } for(i=0;i<=5;i++) { printf("%d,%s",b2[i]->iPageNo,b2[i]->cBookName); } return 0; }

Member Avatar for jumbowat
0
140
Member Avatar for Mona Ali

hi all i have a problem that i don't know where to place the rowdatabound event and its not working in my code. i want to highlight that rows in grid whose price is greater than 50 but that's not working [CODE] [B]Default.aspx.cs[/B] using System; using System.Collections; using System.Configuration; using …

Member Avatar for Mike Askew
0
1K
Member Avatar for tgiwa

I'm new to OOP php and I am trying to load objects into an array. I followed the syntax I found [URL="http://www.daniweb.com/web-development/php/threads/286967"]here[/URL] and it works but only for the first object :sad: Here is the code i am using for the class [ICODE] class category { // Variables var $id, …

Member Avatar for tgiwa
0
222
Member Avatar for ajacintha

I have create a JFrame for my Login Screen. I need my JFrame to be Non Draggable. I tried the setUndecorated method. It makes the Jframe Non-Draggable. But I am not able to view the border of the Jframe and also the minimise, close buttons. So what is the alternative …

Member Avatar for ajacintha
0
90
Member Avatar for prathapsv3

There are 3 columns(Count,Item,Price) in datagridview which is bound to a datasource. The count is 1 by default and it should increment by 1 when i click on a button,so the count would be 2 if i click button again. Any suggestions?

Member Avatar for Pgmer
0
173
Member Avatar for adrain91

[CODE]import urllib.request import sys #'http://www.imdb.com/list/SuSZdwCyHzU/' def savePage(urll,filename): with urllib.request.urlopen(urll)as url: page=url.read() # print(page) sys.argv[0]=filename outfile=open(sys.argv[0],'w') for line in page: outfile.write(line) outfile.close() savePage('http://www.imdb.com/list/SuSZdwCyHzU/','outIMDB.txt')[/CODE] so here is my code .I try to write the original codes into the 'outIMDB.text' but somehow I got this bug: File "C:\Program Files (x86)\Wing IDE 101 4.0\src\debug\tserver\_sandbox.py", …

Member Avatar for richieking
0
438
Member Avatar for shushi

Hi guys, I think I need a help. My teacher gave us a activity on Postgres and PHP to query what's inside the database file and code it to PHP to view the results. I have a screenshot on the Database of the Postgre. [URL="http://theoutdatedblogger.com/Email-Newsletters-Template/database.png"]http://theoutdatedblogger.com/Email-Newsletters-Template/database.png[/URL] What I need to do …

Member Avatar for shushi
0
290
Member Avatar for sidra 100

hi i am writing a program which take the value from form and then execute a error "failed" each time. which means there is some error in my query but i cant find the problem. here is the code [CODE]<?php session_start(); //print_r($_POST); $name=$_SESSION['SESS_CUSTOMER_ID']; $con=mysql_connect("localhost","root",""); mysql_select_db("pras2"); $product_id=$_POST['P_list']; echo "$product_id"; $quantity=$_POST['quantity']; $query= …

Member Avatar for pritaeas
0
142
Member Avatar for Whilliam

I'm using CODEIGNITER framework. My situation is this. I have a list of data. The user selects which record to delete (through checkboxes). I have to do it in ajax because my client doesn't want to see the system refreshing. I've successfully transferred the data through JSON. Now, my problem …

Member Avatar for pritaeas
0
144
Member Avatar for balldrix

now i am working on an exercise that asks to write this without recursion.... can anyone guide me to what i can do to make this work? i dont want anyone to do it for me but help would be appreciated. [CODE]/* #include <cmath> using namespace std; void getAllDivisors(int n); …

Member Avatar for balldrix
0
204
Member Avatar for jbutardo

Hi, How can I create a dialogbox, I think that will allow user to open or to save as a textfile? Is it possible? If yes, how can it be made? Thanks

Member Avatar for Pgmer
0
136
Member Avatar for sidra 100

hi m making a program n i want that when i want to add update a stock it get the name of product from data base and show it in drop down list so that i can select one of them which i want to update. my code for that …

Member Avatar for sidra 100
0
180
Member Avatar for caswimmer2011

Hey. I am trying to make a "virus" that will not let the user exit the program even with pressing Command+Q (oh, ya, I have an Apple). Here is what I have so far: if (keylistener.getKeyCode()==81){ System.out.println("Works"); } I have the println just to see if it works (which it …

Member Avatar for peter_budo
0
145
Member Avatar for jbutardo

I have this error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near and I don't know how does this happen because whenever I check the SQL that I have made including the inserted …

Member Avatar for jbutardo
0
348
Member Avatar for davBro

Hi Guys, I have a problem with posting a news article. I use FCK Editor, and when I enter an article and want to use the apostrophe in a string like this: This is a test article. It can't be done right. The display reads as: This is a test …

Member Avatar for diafol
0
191
Member Avatar for gunzaddict29

I'm quite difficult to understand how could I control DataGridView in MS Visual Studio. I've read many articles in the internet but it seems that none of them could help me. Can somebody help me with this?.. Thanks Alot.

Member Avatar for gunzaddict29
0
126
Member Avatar for Galbatorix

hello guys, how do you write app.path in vb.net coz it works in vb6 but not in dotnet

Member Avatar for Pgmer
0
82
Member Avatar for biojet

Hi everyone, I am trying to idetify the position between start_posi and end_posi and I want to have all information of this position. For Example: [CODE]input 1 : num start end 1 1234 1238 [/CODE] [CODE]input 2 : num position information 1 1236 ACGT [/CODE] [CODE]out put 1234 1236 1238 …

0
89
Member Avatar for Virangya

hi, i need to empty all the divs whic has an id like 'bkoption' eg : my html code is like this [CODE] <div class="subsubsubmenu" id="bkoption1">some content</div> <div class="subsubsubmenu" id="bkoption2">some content</div> <div class="subsubsubmenu" id="bkoption3">some content</div> [/CODE] so when i trigger an on click function i need to empty all of …

Member Avatar for Virangya
0
584
Member Avatar for shredder2794

Hello all, How would I go about copying all the files out of a directory and lots of subdirectories and moving only the files somewhere else?(say C:\Test\file1.txt). I dont pretend to be an expert so a full explanation would be helpful. Thanks!

Member Avatar for Oxiegen
0
115
Member Avatar for Brandon.G

Hi, I am currently trying to create a gui program that when you click one button, it executes Net Pause (service), and then the second button executes Net Continue (service), could anyone tell me what code I need to use in order to do this? If it helps, I am …

Member Avatar for BobS0327
0
500
Member Avatar for trinetra31

Hi, i have to compile some coding to show how dtmf works. Any idea how? I see most of it uses unix c or linux programming? I have only been programming with windows C. Pls do guide me step by step on how to program in these languages. here are …

Member Avatar for BobS0327
0
275
Member Avatar for jbutardo

Hi, I have this program that validates error and then logs it in a text file, but here is the problem, I want to know how show the text file that has been made after the logs have been written, for example, I have validated all the errors, and then …

Member Avatar for jbutardo
0
338
Member Avatar for pwolf

the scenario is a fitness test and the challenge was to return a string saying either Gold, Silver, Pass or Fail, depending on certain conditions, they were as follows; gold - the candidate scored 4 or more at each station , and had a total of 13 or more points …

Member Avatar for woooee
0
239
Member Avatar for asif49

I'm kind of new to JavaScript, I know the basic syntax and how it works but I've been hit with this problem that I can't seem to solve... I use the following code to call a file which gets the RSS feed from one site. [CODE] <html> <head> <script type="text/javascript"> …

Member Avatar for asif49
0
193
Member Avatar for Mike Bishop

I have an application that needs to know how many excel rows are in a worksheet before they are imported into my application. at the moment I am asking the end user to enter this into a text box, but would like my application to do this can anyone suggest …

Member Avatar for Phasma
0
2K
Member Avatar for divsok

i have Register page and Login page.And for save usernames and passwords i used arraylists in a servlet.how can i forward these arraylists to another servlet for validate username and passwords..?

Member Avatar for divsok
0
170
Member Avatar for Zvjezdan23

My teacher assigned the class this: Create a simple Game Loop for the game Mastermind. (Search the Internet to refresh your mind on how Mastermind is set up.) Have your computer generate a random 5 digit number, as a string. Then the user must guess the number. Using the code: …

Member Avatar for Zvjezdan23
0
546
Member Avatar for LeaguePlayer

Hi everyone, Im new to the community and was just wondering if I could get some help :) I have an assignment where i have to create a program for a shipping company and I was wondering if someone could help me with the coding to assign the sum of …

Member Avatar for cangan
0
239
Member Avatar for abathurst

I’m having some trouble and can’t seem to find the solution. Hopefully someone here can help me out. I have two tables in a SQL Database and I’m trying to select some information from both tables where the column‘UniqueID’ has the same value. Here is the information I require from …

Member Avatar for abathurst
0
142
Member Avatar for jacksantho

Hi, Here is the code. Set con1 = CreateObject("adodb.connection") Set rs3 = CreateObject("adodb.recordset") con1.Open "Provider=sqloledb;Data Source=xxx;Initial Catalog=yyy; User Id=sa; Password=@1234;" rs3.Open "select a.courseid,a.semester,a.period,c.Category,b.credit,a.gradecode,d.GradePoint from x a ,y b,z c,m d where a.rollno='" & pprollno & "' and a.semester<>'" & prsem & "' and a.period<>'" & pperiod & "' and a.categoryid=c.categoryid …

Member Avatar for ChrisPadgham
0
430
Member Avatar for phorce

Hello, I'm working with files in a C++ project AND the text file that I need to open is in the same directory, however when just trying to open it like this: [code] string inputFile = "myText.txt"; [/code] It will not open, even though it's in the same directory, so …

Member Avatar for Narue
0
12K
Member Avatar for Hawk123

hi, i really don't know what exactly it is called :P , but i'll try to be clear on what i need. i have a text box and a listbox. when the text box get focus, it loads the listbox and displays the content. What i need my code to …

Member Avatar for hericles
0
679
Member Avatar for Mike Bishop

I have an issue with some new code that I am trying to thread, I am using the code below to start my thred [CODE] Dim t As Thread t = New Thread(AddressOf Me.Main) t.Start() Panel2.Visible = False [/CODE] in my me.main I have a counter using a var, if …

Member Avatar for adam_k
0
214
Member Avatar for Violet_82

Hi there, I am reading a javascript book and I got a little stuck when analysing one of the scripts built as test. This is the one I am talking about [url]http://aharrisbooks.net/jad/chap_08/bounce.html[/url] I went through it but I don’t seem to be able to understandexactly the way it works. Here’s …

Member Avatar for Violet_82
0
120
Member Avatar for mzdravkova

I have some problem with this in the textbox must have 6 rows and 7 columns numbers and with button click the numbers must be in diferent 42 labels.

Member Avatar for mzdravkova
0
94
Member Avatar for prakhar_cool

[CODE]#include <iostream> using namespace std; class X{ public: int p; }; int main(){ int b; X obj; int X::*ptr = &X::p; obj.p = 100; cout<<obj.p<<endl; cout<<ptr<<endl; cout<<obj.*ptr<<endl; system("pause"); return 0; }[/CODE] When i run this program, i get the output as: 100 1 100. I understand why it shows 100...but …

Member Avatar for rubberman
0
271

The End.