199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Wiki_Tiki

I need help creating an elapsed timer with visual C++ 2008. Basically what I want to do is have elapsed time in seconds, minutes and hours tick down on a 'label' control. I've gotten it all set up, including the code for starting the timer ( this->tim_main->Enabled = true; ) …

Member Avatar for mcriscolo
0
379
Member Avatar for pastryman

The following code snippets are from the NxOgre libraries. I'm coming from a Java background, and statements like the following just confused me: [code=c++] Body* body = NxNew(Body)(identifier, this, firstShapeDescription, pose, params); [/code] What's happening on the right side of the equals sign? Is NxNew the class? Is (Body) a …

Member Avatar for ArkM
0
129
Member Avatar for phouse512

I can't seem to get the fopen thing to work, or otherwise, I'm just stupid if it is but I don't know it. Here is the code: [code=php]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <HEAD> <title>Open the file</title> </HEAD> <body> <?php $fp = fopen("http://www.mydomain.org/order.txt", "a+"); fclose($fp); ?> </body> </html>[/code] …

Member Avatar for phouse512
0
112
Member Avatar for MortiS

Hello! I cant figure out, how can i accomplish the following: i need to show a close button over an image when mouse is hovering over it. Clicking this button will delete the image. The problem, ofcourse, is not the image deletion, but how to show a close button in …

Member Avatar for Troy III
0
168
Member Avatar for mansangeet

need help in php coding !!!!!!!!!!!!!!! not able to send values to database................. hav checked the code many times............ when i apply conditions in my code ...it simply stops sending values to database... plz help.........

Member Avatar for nav33n
0
78
Member Avatar for zoooz_20

i have java assignment >> i need any one to help me to solve it >> this is my e-mail >>> [email removed] ............................... Java Assignment 3 1.Use nested loops that print the following pattern:- A) 1 12 123 1234 12345 123456 2.Write a program to compute the sum and …

Member Avatar for javaAddict
0
274
Member Avatar for ddwyer50

Helo All, I need to write a python script that will automatically log into a website and retrieve a URL once it has logged in. I already know how to fetch the html of a page, but how do I make the script log into the page first? On the …

Member Avatar for EAnder
0
219
Member Avatar for redrum237

hey, i have made a game called zombie island. this is what needs to be included in the game: This is a simple turn based game. Set up a 2d grid. Onto the grid randomly position holes, zombies and a man (each represented by a simple character e.g. O Z …

Member Avatar for redrum237
0
147
Member Avatar for guravharsha

Hi, my adduser.jsp page consist of form with field username,groupid like. I am forwarding this page to insertuser.jsp. my aim is that when I submit adduser.jsp page then the field filled in form should insert into the usertable.The insertuser.jsp is like: [code] String USERID=request.getParameter("id"); String NAME=request.getParameter("name"); String GROUPID=request.getParameter("group"); InitialContext context …

Member Avatar for senthil_sivanat
0
154
Member Avatar for ChrisP_Buffalo

I'm trying to write my first web scraper with Python using simple regular expressions to match the info I want to extract (I realize BeautifulSoup is available, but I'm not ready to use that yet, so I want to figure out how to use reg ex first) . I want …

Member Avatar for jlm699
0
64
Member Avatar for jhughe28

Is it possible to have an XML sent to JSP without any user involvement? I know about set and get attributes, but does anyone know how to extract an XML message that's at the end of a URL? thanks

Member Avatar for senthil_sivanat
0
106
Member Avatar for affu304

i have one jsp with some hyper links. on click of this links i want to show some other jsps in the same jsp.

Member Avatar for senthil_sivanat
0
70
Member Avatar for aarya
Member Avatar for senthil_sivanat
0
144
Member Avatar for obsolucity

I am having some trouble wrapping my head around this project. I am needed to code a relational database in C++ making use of the sql selection and projection operators. I can use a 2d array to create the 'database'. Please, if anyone could just point me in the right …

Member Avatar for mcriscolo
0
1K
Member Avatar for guravharsha

Hi, I am trying to retrieve data from table in two times. In first query I am displaying all data available in table. Now I want to count the no. Of rows available in the same table by using select count(*)from table-name type query. How can I retrieve records of …

Member Avatar for senthil_sivanat
0
537
Member Avatar for brr

iam getting problem while using resultset within resultset like... [code=java]while(rs.next()){ ....... ...... s=rs.getString(1); while(rs1.next()){ ------ ------- } //after completion of inner result set iam not getting values of outer resultset (null) like rs.getString(1);//nullpointer exception if i store in variable like in s above show then getting eventhough getting likethat but …

Member Avatar for senthil_sivanat
0
391
Member Avatar for peyman_k

Is there any built-in/ 3rd party libraries in C++ or any windows API that I can use to capture audio in windows? Thanks, Peyman

Member Avatar for peyman_k
0
97
Member Avatar for kavit.bhatt
Member Avatar for krammer

I'm trying to add colors to this bash script, can anyone help? [CODE]#!/bin/bash # Script to connect to the sprint network # Colors # ESC_SEQ=“\x1b[“ COL_RESET=$ESC_SEQ“39;49;00m“ COL_RED=$ESC_SEQ“31;01m“ COL_GREEN=$ESC_SEQ“32;01m“ COL_YELLOW=$ESC_SEQ“33;01m“ COL_BLUE=$ESC_SEQ“34;01m“ COL_MAGENTA=$ESC_SEQ“35;01m“ COL_CYAN=$ESC_SEQ“36;01m“ case "$1" in connect) pppd call sprint updetach echo -e $COL_GREEN"**You are now connected to the sprint network!"$COL_RESET …

Member Avatar for krammer
0
182
Member Avatar for army88m2

I need some help here I guess I am suppossed to put this code inside a while loop. Don't have a clue this is my first scripting class. [code]if (x <=20 and >=25 ) then print x Else If (x <=40 and >=45 ) Print x endif[/code]

Member Avatar for Jx_Man
0
109
Member Avatar for itzkanaga
Member Avatar for flagrl

i m new to programming where do i start? i have python on my computer and have played around with it. but dont know where to start or what to do. any advice would help me so much.

Member Avatar for jlm699
0
96
Member Avatar for kux

first model: [CODE] class MyException { string message; public: MyException( string msg ): message( msg ) {}; void printmsg() { cout<< message <<endl<<endl; } }; void willthrow() { throw MyException("mk"); } int main(int argc, char * argv[]) { try { willthrow(); } catch( MyException &ex) { ex.printmsg(); } } [/CODE] …

Member Avatar for ArkM
0
110
Member Avatar for StarryEyedSoy

I have a list of the stock prices over 14 years and am required to calculate the daily returns as Returns = log(today_s price/yesterday_s price) Here's what my data looks like: 7/18/2008 19.57 7/17/2008 18.08 7/16/2008 14.27 How do I calculate this while reading the data from excel? I have …

Member Avatar for StarryEyedSoy
0
112
Member Avatar for veledrom

Hi, [code] function openingBalance($accountNum) { $sql_OpenBal = " SELECT closing_balance FROM bank_balance WHERE bank_account.account_no = $accountNum "; [COLOR="Red"]$runSql = mysqli_query($mysqli, $sql_OpenBal);[/COLOR]... [/code] Red line generates an error. "Warning: mysqli_query() expects parameter 1 to be mysqli, null given". I call function [inlinecode]echo openingBalance (1500);[/inlinecode] How can i search $accountNum in SQL …

Member Avatar for veledrom
0
98
Member Avatar for karang

Hi I am using a function InitDocStruct() to initialize the document I want to print through my program. Definition of the function is [code=c++] void InitDocStruct( DOCINFO* di, char* docname) { // Always zero it before using it. memset( di, 0, sizeof( DOCINFO ) ); // Fill in the required …

Member Avatar for mitrmkar
0
129
Member Avatar for splitfinity

Hi guys. Im trying to get a wav file to play on a mouse over event. I want a wavefile to play when the mouse pointer moves over a label and stop wen it is moved off the label. I believe this can be done using the sndPlaySound, i have …

Member Avatar for splitfinity
0
167
Member Avatar for ambarisha.kn

I am reading 4 bytes in binary file and stored in some variable named as *tmpbuf. i am printing this variable in decimal value like this. printf("%d",*tmpbuf); But now what to do is i want to split 4 bytes into two and want to read those separately and saved in …

Member Avatar for mcriscolo
0
157
Member Avatar for datta08

I am trying to execute the code (append '(a b) '(c d)) in drscheme using lazyscheme and i am getting the following output: (a . #<promise:...cts/lazy/lazy.ss:453:38>). What is the problem? Thanks.

Member Avatar for elibarzilay
0
114
Member Avatar for phouse512

Hello, I've been wanting to learn C++ but I don't know the difference between Visual C++ and C++, is there really even a difference? Also, what would be the best compiler for me to start off with if I wanted to learn C++? Thanks

Member Avatar for phouse512
0
248
Member Avatar for airwinx

Hi All, I have 3 horizontal tabs menus with different form to let user key in some infor to the text fields. When user 1st time access this page, all fields are blank. But if user want to go to the second tab, user must key in some infor at …

Member Avatar for buddylee17
0
88
Member Avatar for e_velkova

Hi! I have a form, where you can choose between 5 titles of books. Under it you have a submit button. My question is: how to make so, that when the customer has chosen a book and clicks on the submit button, the title of the book to be inserted(recorded) …

Member Avatar for jsrpatna
0
101
Member Avatar for lydia21

can u please tell me how to download fckeditor with skin-office 2003 ie.[url]http://www.fckeditor.net/demo/skins?skin=office2003[/url]

Member Avatar for R0bb0b
0
116
Member Avatar for siberian1991

For my new job I need to learn a bit of Python to parse and extract data from .txt files. Essentially, I have a table that looks like this: Pair NO. Sense Antisense Coding/Noncoding Cis/Trans Overlap ATH00001 At1g02170 At1g02180 coding-coding cis 3 As you can see, the top are simply …

Member Avatar for jlm699
0
224
Member Avatar for thatoneguyx

[code] # #hangman.py # import random import sys wlist = ['apple', 'blue', 'house', 'frog'] guessed = [] gright = [] choice = None word = random.choice(wlist) guesses = 0 # add dictionary for category def menu(): while True: print 'Welcome to hangman!' print 'To start a new game type "n"\n' …

Member Avatar for jlm699
0
150
Member Avatar for kunalcrazycoder

:sad: Will AnyOne Please give me some basics of Assembly Language And its compiler as well as ide:(

Member Avatar for SamY
0
121
Member Avatar for lifeworks

Hi The case scenario is this; a website allows people to book rooms on certain dates. I would like the website to email clients 7 days before their booking date to remind them that they have made this booking... how do i get my website to do this automatically? Thanks …

Member Avatar for Shanti C
0
101
Member Avatar for ishlux

Hi all, i have this program for limiting the list of records in a single page,,,,,,,but how to incorporate this in my program.......i am unable to understand it..........what is test.php.......can any one explain me pls........in my program i am just displaying n number of items......i got this program, from some …

Member Avatar for ishlux
0
95
Member Avatar for airwinx

Hi All, I am newbie to php and mysql, so need some help from you guys. I have a page under tabs menu where it will display alphabet from A-Z and it is clickable. When user click any of the alphabet, it will display customer name started from whatever alphabet …

Member Avatar for vicky_rawat
0
86
Member Avatar for airwinx

Hi All, I have 3 horizontal tabs menus with different form to let user key in some infor to the text fields. When user 1st time access this page, all fields are blank. But if user want to go to the second tab, user must key in some infor at …

Member Avatar for Troy III
0
104
Member Avatar for lydia21

hi, please tell me how to download tinymce editor . i want to download the below tinymce editor [url]http://tinymce.moxiecode.com/example_full.php[/url]

Member Avatar for nav33n
0
297
Member Avatar for saikishore

Hi . This is kishore i want to know how to create Alpha numeric Verification code in php..in same page... plz help me asap.. Thanks Kishore

Member Avatar for saikishore
0
184
Member Avatar for robertmacedonia

Hi , can anyone tell me what does this error mean? s\visual studio 2005\projects\igrabobi\igrabobi\Form1.h(124) : error C2451: conditional expression of type 'void' is illegal ? I got it when I tried to build my game. Thanks a lot

Member Avatar for robertmacedonia
0
143
Member Avatar for soroush68

I modified it by visual studio 2005 and it works with it correctly but i has errors by my old compiler(borland C++ 5.02). errors in the last code was caused by using clrscr(),gotoxy() & ... ,that functions was for just borland and was not standard. Does new code of this …

Member Avatar for soroush68
0
186
Member Avatar for Brent.tc

Hi, I was wondering how to program a device driver for Windows XP in c++. For example, say I wanted to make a device driver for a mouse (I say mouse because that seems like one of the most simple everyday 'tools', and would seem as though it were the …

Member Avatar for Nick Evan
0
243
Member Avatar for Swetadri

Hi All, I have a problem.For my project, I need to log-in to yahoo.com by giving just username and password in my jsp form and I have to retreve the url of rssfeeds which I have subscribed by My Yahoo. I am not finding how to do this. I tried …

0
131
Member Avatar for karang

Hi I am using Dev C++ for my development purpose. I have few queries 1. Can I use it for making professional applications. 2. Is Dev C++ is same as Visual C++. Kindly advice Regards Karan

Member Avatar for Alex Edwards
0
110
Member Avatar for monksorlo

I'm a recent college grad and I'm building a database for my family business, which is a writing instrument manufacturer. I learnt about the concepts of subtype and supertype, but my professor told us that he almost never use subtype and supertype, instead he would do something else just for …

Member Avatar for bilalhaider
0
457
Member Avatar for jeetudaljit
Member Avatar for neer111

Hi .....cud ny1 plz let me know the source code to send message from one computer to any of the computers within one workgroup or any other ......plz note that i do not want sending e mail concept ......... like we have net send command to send messages to any …

Member Avatar for neer111
0
122

The End.