199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for rakeysh verma

I want the following. Write a program that implements the FIFO and LRU page-replacement algorithms ( Virtual Memory) 1) Read the size of reference string from keyboard 2) Generate a random page-reference string where page numbers range from 0 to 9 3) Create a input file with generated reference string …

Member Avatar for ajay.krish123
-1
250
Member Avatar for SamoaJoe01

Hi, I'm encountering a frustrating problem in Delphi. I've written several very long programs to demonstrate certain things related to neural networks. As such, the program GUI has many things on it that are updated per iteration of the solver: from labels, to memos, to editstrings, etc. The two main …

Member Avatar for House_of_Dexter
-1
1K
Member Avatar for mainguy

Hello, I'm using Inno Setup for the first time and just a beginner in Pascal. My code: [CODE] XMLHTTP := CreateOleObject('MSXML2.ServerXMLHTTP'); XMLHTTP.Open('GET', myUrl, False); XMLHTTP.Send(); ... MyFileStream := TFileStream.Create(Path + MyFilename, fmCreate or fmOpenWrite); [/CODE] But,I don't know how to use MyFileStream to write XMLHTTP.ResponseBody or XMLHTTP.ResponseStream. Could you please …

Member Avatar for mainguy
-1
253
Member Avatar for KevinADC

Code snippet to generate random passwords. Avoids using confusing characters such as lower case L (l) and the number one (1), the letter 'O' and the number zero. Upper-case alpha characters could be added to the character set if mixed-case passwords are desired.

Member Avatar for Prakash_8111
-1
432
Member Avatar for sudharani

I am doing a small project.In that users can register for yoga programs.When the administrator set the new program with date ,place and timings then the registered users should get email automatically with all above details . Please help me doing this. I have done the registration part successfully.

Member Avatar for sudharani
-1
2K
Member Avatar for Peter_APIIT

Hello to all, i encounter an error like Error 1 fatal error LNK1107: invalid or corrupt file: cannot read at 0x2C8 C:\Program Files\OpenCV\bin\highgui110.dll Additional Include Directories C:\Program Files\OpenCV\cxcore\include C:\Program Files\OpenCV\otherlibs\highgui C:\Program Files\OpenCV\cv\include Additional Library Directories C:\Program Files\OpenCV\otherlibs C:\Program Files\OpenCV\lib C:\Program Files\OpenCV\bin Additional Dependencies cv.lib highgui.lib cxcore.lib highgui110.dll Error Message is …

Member Avatar for Salem
-1
361
Member Avatar for stoymigo

Hi, we are running a windows server 2003 os on our network. The application i develop needs to be able to move files to folder that the user running the app can't access. The application already stores the user details of the administrator , how can i use those details(username,password …

Member Avatar for stoymigo
-1
529
Member Avatar for Drew

Learn how to take the Now() command and format it in a bunch of differnt ways. [B]Code from: [URL]http://www.iportalx.net[/URL][/B]

-1
325
Member Avatar for Shaitan00

I have a class (NamedPipeManager) which has a thread (PipeThread) that waits for a NamedPipe connection using (ConnectNamedPipe) and then reads (ReadFile) - these are blocking calls (not-overlapped) - however there comes a point when I want to unblock them - for example when the calling class tries to stop …

Member Avatar for Salem
-1
470
Member Avatar for stevenpetersen

How do i style or put html into a [ICODE]map.openInfoWindow[/ICODE] (the bubble on google map). The reason is because i would like to include a picture and style the text. The code below is just a normal Java API Map that i use. The key has been removed for the …

Member Avatar for pritaeas
-1
608
Member Avatar for smileyc

Hi, sorry to ask this, I know it has been asked before but despite reading the answers I still dont get it. I am using visual studio 2008, vb.net. I have a lable, label1. I want it to display the results of a calculation, a/b. The answer is a number …

Member Avatar for emint
-1
4K
Member Avatar for samaru

This book is excellent: [b]Sams Teach Yourself Shell Programming in 24 Hours (2nd Edition)[/b] [url]http://www.amazon.com/exec/obidos/ASIN/0672323583/qid=1034404576/sr=2-3/ref=sr_2_3/102-8089820-6681729[/url] It received good reviews. Here's my personal review from Amazon.com: This is probably one of the best books by Sams that I've read. If you want to start shell programming, you've picked up the perfect …

Member Avatar for jenn11
-1
478
Member Avatar for stevenpetersen

I need to insert GLatLng another webpage with a include content file...... How would i go about this? Do i need to make a database for it? //<![CDATA[ function load() { if (GBrowserIsCompatible()) { var map = new GMap2(document.getElementById("map")); map.setCenter(new GLatLng(34.4419, -122.1419), 13); } } //]]> </script> </head> <body onload="load()" …

Member Avatar for stevenpetersen
-1
420
Member Avatar for snakay

Hi to all, I like to reach all the cells by column name in a loop( foreach...) and compare the content of the cell in datetime type and add a value to another cell depending on the result of the comparison. I do this for all the populated rows. Question …

Member Avatar for snakay
-1
251
Member Avatar for kartik14

Hi, I'm kinda new to development using visual studio. I have a c++ program and I want to specify command line arguments to it from visual studio. Can anyone please tell me how to do it? Thanks (The version I'm using is visual studio 2005)

Member Avatar for tona70
-1
526
Member Avatar for LOVE4CODE

I've created a admin center, that has two seperate login permissions. Admin which can edit listings, etc... and Viewer which can only view listings, and edit 1 or 2 of the listings details and not all of them like the admin. I've seen web-sites where certain text input fields are …

Member Avatar for benjiei
-1
3K
Member Avatar for pedro.alonsod

Help word automation with c# urgent please Posted: 07-21-2009 02:29 PM Hello I'm trying to create a doc from a template I can access bookmarks an everything is ok except when there is a bookmark inside a textbox in the template, I can't acces that nor the bookmarks in the …

Member Avatar for pedro.alonsod
-1
904
Member Avatar for boyjim32

Problem 2: Write a program which will accept the price and description of three items. It will then display the total price of the three items as its output. Here is a sample output: First Item: ruler Enter price: P 32.50 Second item: notebook Enter price: P 25.00 Third item: …

Member Avatar for tux4life
-1
250
Member Avatar for pltndragon

The question is to write a program that dynamically allocates an array large enough to hold a user defined number of test scores. Once all the scores are entered the array should be passed to a function that sorts them in ascending order. Another function should be called that calculates …

Member Avatar for pltndragon
-1
2K
Member Avatar for MArun25039

Hello, I'm having an issue with a MySQL/PHP site I'm working on. I'm new to both. I've seen several posts that were similar or same but was unable to derive a solution based on my code. I have a form that will submit HTML code to a database. I know …

Member Avatar for guru12
-1
5K
Member Avatar for NextCom

I have a INSERT, UPDATE trigger on a table, it works great and helps me from firing a stored procedure from all the (think it's over 50places) where it is needed. But I have one batch update to this table, that doesn’t require the trigger procedure; the trigger is very …

Member Avatar for rathnakar
-1
3K
Member Avatar for umair125

i am doing bscs from GCU lahore PK.i have assigned a project name as MOVIE RENTAL STORE using OOP concepts plz help me to do my project i,ll b thankful to you, umair ahmad

Member Avatar for Ancient Dragon
-1
480
Member Avatar for S2009

Hi all, I am creating an Windows Application. I have two buttons. I have written the following code snippet. [code] frmRb obj = new frmrb(); private void btnPd_Click(object sender, EventArgs e) { btnCancel.Enabled = true; obj.btnRtn.Enabled = true; } private void btnCancel_Click(object sender, EventArgs e) { this.Close(); obj.BringToFront(); obj.Focus(); } …

Member Avatar for kvprajapati
-1
297
Member Avatar for skumard

Hello, I am new to Crystal Reports with Oracle. I am trying to create a report ( in Crystal Reports) from an existing Oracle Database. The problem I am having is that I can get the tables but when I do a "browse Data" within the table, there are these …

Member Avatar for cgyrob
-1
694
Member Avatar for Aue

How do you copy and paste the text from every page of a book from Google books View plain text option: For example: [url]http://books.google.com/books?id=r70CAAAAQAAJ&printsec=frontcover&dq=true+devotion+blessed+virgin&lr=&as_brr=1&ei=cwB1SZOcI5j4MO6c-bkM[/url] instead of doing it by hand. Also how do you open a series of table of contents like this: [url]http://www.catholictradition.org/Classics/humility-text.htm[/url] and then 1. copy paste on …

Member Avatar for leegeorg07
-1
1K
Member Avatar for mirfan00

I want to compare my password with the stored password but it don't compare correctly. WHY? Please someone correct it. [code] #include <iostream> #include <string.h> #include <conio.h> #include <cstdlib> using namespace std; int main() { string my = "programming "; string pass = ""; int s; int a; cout << …

Member Avatar for tux4life
-1
256
Member Avatar for krishnampkkm

hiii In my program I'm reading the clusters in the volume using the appropriate physical offsets to the disk. [CODE]for( i=0; i< total_number_ of_ clusters;i++) { // convert logical offset to physical offset phys_offset= conversion(i); // this value I get correctly if(!SetFilePointer(drive_handle, phys_offset, NULL, 0)) { printf("\nSetFilePointer Failed: Error Number …

Member Avatar for krishnampkkm
-1
392
Member Avatar for Punkis448

Hello there! I am trying to solve a problem for a project i took and i am in the final part of it...(view below for my until now code) Well the aim is to calculate the entropy of a file and then to use Hamming to code it. I managed …

Member Avatar for siddhant3s
-1
935
Member Avatar for kuay

[code] package caesar; import java.util.Scanner; public class Caesar { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int key = scan.nextInt(); String str = scan.next(); String encrypted = encrypt(str, key); System.out.println(encrypted); } CAUSES public static String encrypt(String str, int key) { String encrypted = " "; for(int …

Member Avatar for kuay
-1
385
Member Avatar for mossaied

I am using visual c++ version 6, I have compiled the systemC library, then creates a new project contains multiple files then I try to build it but the building failed due to an error called "error C2679" and this the error message: "d:\systemc-libraries\systemc-2.0\systemc-2.0\src\systemc\communication\sc_signal.h(234) : error C2679: binary '<<' : …

Member Avatar for VernonDozier
-1
323
Member Avatar for vnnguy

:rolleyes: nothig at all I dont know what to do ? dont know anythig about PHp ? To start my doing Php , what i need ? Do i have to install mySQL in my computer or anythig else ? Just tell me tools what i need to learn Php????

Member Avatar for jamello
-1
272
Member Avatar for aravasai

can any one please identify the mistake in my code??? my code is:: [code] #include<iostream> using namespace std; class Stack{ int *arr; int size; int top; public: Stack(){arr = NULL; top = 0;} Stack(int sz){ arr = new(nothrow) int[sz]; if(!arr) exit(1); size = sz; top = 0; } ~Stack(){delete []arr;} …

Member Avatar for Stinomus
-1
18K
Member Avatar for Leila1
Member Avatar for Leila1
-1
462
Member Avatar for kostasxx

so guys, i was thinking about finding a way to create arrays, without knowing their size. for example create an app that takes unsigned long values until EOF and just saves them to an unknown size array. i was thinking that, because the array size could be big, to create …

Member Avatar for Narue
-1
2K
Member Avatar for sayakyi

Dear friend, I can't find the syntax error in my html table in php code. [CODE] echo "<table border='1'>"; echo"<tr>"; echo"<th>".{$data['engword']}."</td>"; echo"<th align='left'> "<a href=\"http://www.domain.com/sound/En-us-{$data['engword']}.WAV \" title=\"open the audio file for the word {$data['engword']} \"rel='dbPopWin'><img src='audio.gif'></a>"."</td>"; echo"</tr>"; echo"<tr>"; echo"<td align='left'></td>"; echo"<td>".(stripslashes($data["mword"]))."</td>"; echo"</tr>"; echo"</table>"; [/CODE] many thanks in advance, regards. ko

Member Avatar for sayakyi
-1
10K
Member Avatar for polo_coins

Does anyone made such thing . I must make it for may classwork but it's too heavy for me Need your help :S

Member Avatar for jephthah
-1
777
Member Avatar for airey1988

Hi, i am a newbie at this and i am having problems with the following errors. U:\year 3\AssignmentFinal\Customer2.java:29: non-static method setName(java.lang.String) cannot be referenced from a static context i have inserted my code below any help would be greatly appreciated. [ICODE] // customer class import java.io.BufferedReader; import java.io.File; import java.io.FileReader; …

Member Avatar for birina
-1
1K
Member Avatar for ismaily

how to send sms from web site to mobile Can some please help , script to be used php Thank you

Member Avatar for shefeekj
-1
2K
Member Avatar for lolodede

i need to retrieve information about customer order when the user submit their name this the code for first page [code=php] <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>Prac 3 Task 4</title> </head> <body> <?php $conn = odbc_connect("warehouse","IWSDStudent","assign2"); $sql = "SELECT …

Member Avatar for lolodede
-1
288
Member Avatar for jagdeep89

Q1: Write a program to implement a survey that prompts respondents to enter an integral value within a specified range to indicate how they like a new product. Since the program must be adaptable to any arbitrary number of respondents and value ranges, define macro MAX_RESPONDENTS to represent the maximum …

Member Avatar for ndeniche
-1
365
Member Avatar for jbennet

Can anyone reccomend any good C++ books (available on amazon preferably). Im not a total newb (I know java, php and vb.net), i just dont know that particular language that well. A book which covers data structures and concepts too would be beneficial, as im on a comp/sci course atm, …

Member Avatar for jbennet
-1
318
Member Avatar for redmaverick

I am trying to execute this program, but I am getting errors this is the code [CODE] import java.util.*; public class DateUtils { static final int MILLS_IN_DAY = 24*60*60*1000; public static Date getCurrentDate() { GregorianCalendar currentDate = new GregorianCalendar(); currentDate.set(Calendar.HOUR,0); currentDate.set(Calendar.MINUTE,0); currentDate.set(Calendar.SECOND,0); return currentDate.getTime(); } public static Date createDate(int year, …

Member Avatar for redmaverick
-1
289
Member Avatar for rainobw

can anyone of u guyz get me out of da problem m having m sure u guyz can ... i had the python re-captcha thingy to enter the captchas on a website but now tht website has putted some code on the captchas nd re-captcha script is not working someone …

Member Avatar for jlm699
-1
299
Member Avatar for Akis2000

ok iam working on a password protection for my program but i have a problem..... if the user set wrong password the program do this Wrong password!! The program will be terminated in 5 seconds but i want sec, (which is my seconds) at every second - 1 5-4-3-2-1 without …

Member Avatar for Akis2000
-1
797
Member Avatar for dammitjim30

Hi all! I am racking my brain trying to figure out why my code is not working for this TicTacToe board assignment. I keep getting the following error: Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 3 at TTTBoard.makeMove(TTTBoard.java:79) at TTTGame.main(TTTGame.java:59) Java Result: 1 The assignment calls for a 3-by-3 2-dimensional array of …

Member Avatar for dammitjim30
-1
452
Member Avatar for jackiejoe

Ok, just need some guidance on this, I have an array and a few text fields but am unsure about how to actually insert the text from the fields into an array when the ok button is pressed . I thought I would have to use "getInputValue()" and create a …

Member Avatar for jackiejoe
-1
3K
Member Avatar for Caled

Hello Experts, I need to use JOptionPane a lot in my Java exercises. Instead clustering each Java files with this JOptionPane syntax plus the parameters, I've decided to use sort of class called showFrame which has the method to show message dialog and input dialog. At the moment, im putting …

Member Avatar for stultuske
-1
443
Member Avatar for lllllIllIlllI

I was just wondering, in all of the code snippets i see there is no #include "stdafx.h" in them, but i cannot compile a program without it. Is this a Microsoft Visual C++ that is the problem or am i just missing the point here?

Member Avatar for lllllIllIlllI
-1
697
Member Avatar for mumneedshelp

I know you probebley think why all of this on a forum but once you read it all you will understand, first of all i would like to explain that this is genuine cry for help i have a 15 year old son who sufferes from RSD this happened to …

Member Avatar for Ancient Dragon
-1
529
Member Avatar for ypdev

Hi, I am trying to validate RadioButtonList (ASP.NET) using the following js function but for some reason it does not working properly. I can't get the ID of the control as I would be.. Can you help please? [CODE] <asp:RadioButtonList ID="T_selector" runat="server"> <asp:ListItem Value="1">Team1</asp:ListItem> <asp:ListItem Value="2">Team2</asp:ListItem> </asp:RadioButtonList> [/CODE] [CODE] <script …

Member Avatar for ypdev
-1
254

The End.