199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for ram619

Can you please tell me how is the processing of this code taking place. Because its giving a fixed address same as mentioned in the book. The Answer to this question is Address of i=FFE4 value at ptr =10 Address of j=FFE2 value at prt=20 how come addresses are these, …

Member Avatar for ram619
0
152
Member Avatar for Jessurider

can anyone tell me how to make appear a jframe in a slow motion in java i'm using netbeans editor..............

Member Avatar for NormR1
0
416
Member Avatar for itisnot_me

ok so i am using jquery ajax to send post data to the php page to get processed. since im using a textarea with an editor on it i have to call the content like so var content = $('#pagecontent').val(); then post it through to the php page. which works …

Member Avatar for itisnot_me
0
135
Member Avatar for iGuardian

This is the question: Define a function that takse a partially filled array of numbers as its arguments and returns the standard deviation of the numbers in the partially fille array. Since a partially filled array requires two arguments, the function will automatically have two formal parameters: An array parameter …

Member Avatar for iGuardian
0
368
Member Avatar for sorrow0o

Hey folks, First poster here :icon_cheesygrin: So we got an assignment and part of it is, to write a stack with an array. So far so good, but I'd like to use a dynamic array that doesn't need the user to input any size. [CODE] void init() { int i; …

Member Avatar for Narue
0
96
Member Avatar for daniel36

i am using this code and want to include one get variable in url which will be used in database query to show result.How it is possible .please solve my problem. i[CODE]<?php // database connection info $conn = mysql_connect('localhost','dbusername','dbpass') or trigger_error("SQL", E_USER_ERROR); $db = mysql_select_db('dbname',$conn) or trigger_error("SQL", E_USER_ERROR); // find …

Member Avatar for Stefano Mtangoo
0
115
Member Avatar for fsefsef23

I have a program that is supposed to count the number of 'comparisons' during a selection sort. I'm having trouble trying to determine what a 'comparison' is considered! It runs the sort properly and sorts in ascending order, but I'm not sure where to put the comparison counter. I'm wondering …

Member Avatar for Narue
0
533
Member Avatar for wnr78ta

I have a simple doubly linked list for a class I am in and I keep getting a seg fault on my last line of code, no matter what i make it. I can put a bunch of random couts and it will print them all then on the last …

Member Avatar for wnr78ta
0
718
Member Avatar for ALFA-FOXTROT

Hey guys im blind here... Im sending data to the controller to be processed... It works... except when a send two types of words... they are <script> and <scripting> Example: Input 1: <javascript> Input 2: <js> click SUBMIT (retuns no problem) [code] Array ( [answers] => Array ( [0] => …

Member Avatar for Stefano Mtangoo
0
654
Member Avatar for Dakot

Hello all , i have a small problem , i'm writing now a voting program , and i'm a little bit confused , how can i attribute the votes to a certain person? i mean , i enter the value 1 , and this vote must go to the first …

Member Avatar for Narue
0
102
Member Avatar for tedman102

I have made a program to make a rectangle in a text matrix. It begins asking for width and height. The variable must be greater than 2 and a whole number. The only problem is if a user enters a character instead of a number, or a decimal instead of …

Member Avatar for Narue
0
266
Member Avatar for sike.mausa

[B]I have been given a chunk of code from my teachers, and I just need help getting it to run. I'm very new to java so any help is much appreciated. Here it is:[/B] [code] import java.util.*; import java.io.*; public class CourseStats { static String[ ] studentNames; static int[ ][ …

Member Avatar for sike.mausa
0
616
Member Avatar for Asotop

Hey! I'm trying to create a program which can multiplicate complex numbers. For example. (1+2j)*(3-4j)= 11+2j What would be the best way to split up the equation (1+2j)*(3-4j), so i can persom the calculations? I tried using the split method but I just got stuck, since i couldn't make it …

Member Avatar for gusano79
0
165
Member Avatar for MORFIOUS

m beginner in c# i got periodic table project from here [url]http://www.daniweb.com/software-development/csharp/threads/379733/page2[/url] my prob is this is totally code based and hard to editable for me since m newbie .... windows form is empty but output comes in proper form ,.......... i want to drag that output form into form1.cs …

Member Avatar for jbisono
0
153
Member Avatar for smmcfarl

I am having trouble inputting sample data into an array and am wondering what I need to do to correct this? The input sample is like this: 3 7 9 3 8 2 10 11 4 14 This is the code I am using and is not working. The MAX_SIZE …

Member Avatar for smmcfarl
0
92
Member Avatar for Coyx

Hi All, Just a quick one, My code (Below) works in Internet Explorer, but not in Chrome, Safari or Mozilla Firefox. Not sure why, but would it be possible for someone to point me in the right direction? Thanks! Code attached; [CODE=Javascript]<script language="javascript"> function formAction(flag) { switch (flag){ case "create": …

Member Avatar for Coyx
0
488
Member Avatar for dhsn

I would like to find a c compiler for windows 7. So far I have tried 3 and all get the message that "this program is incompatible with windows". Any suggestions? dhsn

Member Avatar for nilay2141992
0
306
Member Avatar for kurohige

i'm trying to get data of 30 minutes ago to now.. any idea with the query [CODE]SELECT DateDiff("n",Now(),[TimeStamp]) AS [Time] FROM RIMData_RAW GROUP BY DateDiff("n",Now(),[TimeStamp]) HAVING ((Now()>30)); [/CODE]

Member Avatar for adam_k
0
84
Member Avatar for empyrean

Hi I am trying to run this C code in Visual Studio along with a set of Cpp files. It gives the below errors error 2143 : syntax error : missing ')' before '&' error 2143 : syntax error : missing '{' before '&' error 2059 : syntax error : …

Member Avatar for gusano79
0
273
Member Avatar for devjeetroy

So I'm making a text editor with syntax highlighting. I'm subclassing richedit and using drawtext to overwrite(Exactly like in Iczelion's tutorials). I was trying to solve the highlighting part, and up till now, I've managed to paint over all of the text(no syntax discrimination). But I've run into a strange …

0
123
Member Avatar for stereomatching

Boost provide us [code]is_base_of[/code] and [code]is_polymorphic[/code] Yet the dynamic type need to be deduce on running time What kind of situations would you use [code]is_base_of[/code] and [code]is_polymorphic[/code] to replace dynamic_cast? Thank you very much

Member Avatar for rubberman
0
141
Member Avatar for Awah Mohamed

hi guys, well.. i run my php program and the page just displays the following: [CODE]Parse error: syntax error, unexpected ';' in C:\xampp\htdocs\Azone\Azone\profile.php on line 160[/CODE] i checked line 160 more than 1,000,000 times and i got nothing to change! here is the whole code of the page, please help …

Member Avatar for Stefano Mtangoo
0
148
Member Avatar for jonnyboy12

Hello. I have a game with code like this. [CODE] class manualSetPosition{ public: Ogre::ManualObject * manualDebugger; void SetPosition( Ogre::ManualObject * manual, Ogre::Vector3 mousepos ){ manual->position(mousepos); }; }; [/CODE] Thats a class I use to draw a grid. I build it like this in my project. [CODE] manualSetPosition ManualSetPosition[1226]; [/CODE]this works …

Member Avatar for nickcampau
0
136
Member Avatar for katarey

Hello Friends, I have developed a windows application using C#, its installed on [code]C:/program files/application folder/application.exe[/code] I have not used Data base so i have used files (CSV/TXT) for storing data, there is many types of files generated by application and some application setting variables are also stored in a …

Member Avatar for boyans
0
202
Member Avatar for kab5zb

I was wondering if someone could help me write the code for this... I have a text file with 10 lines, one word on each line and I am trying to get a word from a random line and then cout that word. Can anyone help?

Member Avatar for thines01
0
191
Member Avatar for bhuvan83

hi every1 i m using mysql as my back end and it runs on whole on intranet in my office. the error i m getting is Error: 1040 SQLSTATE: 08004 (ER_CON_COUNT_ERROR) mESSAGE Too many connections when users r trying to access the webpage. how can i remove the error. plz …

Member Avatar for Dr AKM
0
350
Member Avatar for nelly89

hai everyone, i have a problem when i want to update from gridview the error message is display Object reference not set to an instance of an object. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about …

Member Avatar for nelly89
0
235
Member Avatar for subone

Hi, I am making a program where the user has to input an integer with LESS than 5 digits. If he enters more than 5 digits, I want the program to print: "ERROR" How can I do that? I wrote this code till now. Do I have to use a …

Member Avatar for JamesCherrill
0
3K
Member Avatar for maria536

Ok, I worked on my code so that I can repost it here. This is what it has to do. I also need a static cast which I am not sure where to put it. Thanks for any help!!!! Users should enter each number at an input prompt, then enter …

Member Avatar for maria536
0
142
Member Avatar for avidthrows

Okay.. Maybe I should have put this in a different spot. The programming language I'm using is irrelevant. What I'm looking for a is a simple plain text or xml english dictionary, that actually has pronunciation, either in IPA or simplified. It MUST have pronunciation, be in plain text or …

Member Avatar for avidthrows
0
110
Member Avatar for duttydane

Create a class called “PROCESSINTEGER” for comparing two INTEGERS. Provide member functions input, isEqualTo, isNotEqualTo, isGreaterThan, isLessThan, isGreaterThanOrEqualTo and isLessThanOrEqualTo. The predicate functions simply returns 1 if the relationship holds true between the two Integers and returns 0 if the relationship does not hold. Also, provide a predicate function isZero. …

Member Avatar for tkud
0
160
Member Avatar for PriyalRao

I have code for moving boxes but it have slider to control speed and tilt of boxes. I want to remove these sliders without stopping auto move effect. Can anybody convert this code to simplest? Please help Thanks in advance. [CODE] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html …

Member Avatar for PriyalRao
0
261
Member Avatar for jpd5066

I am assigned the sort-of famous RMS assignment. This is what I have so far, it is just beating me. My biggest confusion is how to add the entries up. I think I will okay with squaring them, dividing the total and obviously the sqrt() at the end. [CODE]#include <iostream> …

Member Avatar for jpd5066
0
576
Member Avatar for <HHH>

hello ! im trying to read few numbers from a file and but each line of numbers in diffrent array now i can read the numbers but in one array any help here is the code [CODE] public static void main(String[] args) throws IOException { File number = new File …

Member Avatar for <HHH>
0
106
Member Avatar for ntrncx

hey all i am studying from a book,and i have to do an exercise. i dont want code or anything i want tip or someone explain me how to do it. i have a oldmast.dat file with some records a trans.dat file with records and i have to update the …

Member Avatar for ratatat
0
743
Member Avatar for shady05

i am creating an audio Player . I just wanted to implement this particular iTunes software feature i.e COVER FLOW , in which songs appears in thumbNails and with the help of left & right arrow keys we could scroll the playlist I was wondering if anyone could help me …

Member Avatar for shady05
0
127
Member Avatar for BuhRock

So I have to program this MVC GUI of a checkout line. I have a gui that has 10 registers. Each register has a queue of customers. There is a button that when clicked, will generate a customer and the customer will be entered in the line with the shorted …

Member Avatar for JamesCherrill
0
213
Member Avatar for hindu times

Hi there, I need a bit of help with redisplaying a form. Basically, currently a user will fill out my contact form, the form and it's contents are passed to my verification page, and if the recaptcha was entered correctly it goes to a Thank You page. When the recaptcha …

Member Avatar for hindu times
0
453
Member Avatar for dd2308

hello, I m trying to check if user has selected at least one checkbox and give an alert for select atleast one. the checkbox in the forms are dynamics depends up on data received from database for ex. user has to select at least one customer to process ahead . …

Member Avatar for Troy III
0
297
Member Avatar for pankeel

how to access the running internet explorer in vb.net if my internet explorer open then how to use this internet explorer in vb.net thnks in advance

Member Avatar for Pgmer
0
240
Member Avatar for violette

I need to get data between year and period. 1 year have four periods. i.e; year = 2010 period = 1,2,3,4 the problem is on the period part where i could not select second period smaller from the first period. for example, i choose year=2010 to year=2011 and period=4 to …

Member Avatar for violette
0
187
Member Avatar for adobe71

How to replace '/' to '//' in database path,after selecting it from openfiledialog() control. From [CODE]OleDbConnection con = new OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:[B]\[/B]Documents[B]\[/B]Visual Studio 2008[B]\[/B]WebSites[B]\[/B]myproject[B]\[/B]db[B]\[/B]mobile.mdb");[/CODE] To [CODE]OleDbConnection con = new OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:[B]\\[/B]Documents[B]\\[/B]Visual Studio 2008[B]\\[/B]WebSites[B]\\[/B]myproject[B]\\[/B]db[B]\\[/B]mobile.mdb");[/CODE] using button click

Member Avatar for Antenka
0
237
Member Avatar for Azmah

I'm looking at getting started with [URL="http://www.wxwidgets.org/"]wxWidgets[/URL]. I currently use Dev C++ as my IDE for C++ coding. wx Widgets looks very promising and could speed up my development if used. Though what the site doesn't state (at-least none that I've found) is whether it's an IDE of its own …

Member Avatar for Azmah
0
486
Member Avatar for jocky c

Hi, complete newbie and having a syntax error: Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in xxx on line 7 This is line 7: [CODE]fputs($fp, "$_POST['Fullname'],$_POST['Jobtitle'],$_POST['email'],$_POST['file'],\n");[/CODE] Like i say im a complete newbie to this and from what i gather brackets might be missing etcetc. …

Member Avatar for jocky c
0
165
Member Avatar for Despairy

after vising cplusplus site and checking my book i havent found any example or explanation... so here it is: i have a function called "string stringreturn()" now inside i have INT LIFE , and INT NUM i would like to return the following "blabla bla (INT LIFE VALUE) bla bla …

Member Avatar for jwenting
0
249
Member Avatar for reco21

Hello. I'm wondering if someone could help me. I have a simple like/dislike voting voting system. Everything works fine but a user is able to click both up and down freely without checking if they have voted. So what I'm going for is 'Php sessions' because I dont want to …

Member Avatar for reco21
0
605
Member Avatar for StephNicolaou

Hey guys, I have an Jlabel class and trying to simply add it to the panel in my main class. However is nowhere to be seen! No errors are being output so currently have no idea what wrong...unless you can see whether my method is wrong... Jlabel class: [code] public …

Member Avatar for StephNicolaou
0
236
Member Avatar for daniel36

I need pagination in basic php or simple i have a get variable in link.thanks and reply me that how i see old post posted by me thanks.

Member Avatar for pritaeas
0
90
Member Avatar for angeriel1

I have the folowing code so far which outputs the make and price of a car,but i cant seem to figure out were to add the discritpion of the car so that it can also be diplayed.HELP! i tried adding discription[k] = st.nextToken(); but the program did not run. [ICODE]import …

Member Avatar for mKorbel
0
210
Member Avatar for IanArcher

Hi, i am new to PHP but i have some common knowledge to recognizing commands and such. in my page i have code like this [CODE]<div class="page_column page_column_first" id="page_column_1" style="width: 499px;"><div class="page_block_container" id="page_block_759"><div class="disignBoxFirst"> <div class="boxFirstHeader"><div class="dbTitle">Up and Coming</div></div> <div class="boxContent"><div class="dbContentHtml"><p>This is a placeholder for up and coming news …

Member Avatar for pritaeas
0
175

The End.