199,114 Archived Topics
Remove Filter ![]() | |
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; ) … | |
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 … | |
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] … | |
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 … | |
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......... | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 | |
i have one jsp with some hyper links. on click of this links i want to show some other jsps in the same jsp. | |
Is there any webhost which offer less than 5$.if so will you pls direct me | |
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 … | |
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 … | |
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 … | |
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 | |
| |
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 … | |
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] | |
hi, Is there any tool in vb.net like windows rising. thanku | |
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. | |
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] … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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. | |
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 | |
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 … | |
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) … | |
can u please tell me how to download fckeditor with skin-office 2003 ie.[url]http://www.fckeditor.net/demo/skins?skin=office2003[/url] | |
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 … | |
[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' … | |
:sad: Will AnyOne Please give me some basics of Assembly Language And its compiler as well as ide:( | |
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 … | |
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 … | |
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 … | |
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 … | |
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] | |
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 | |
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 | |
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 … | |
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 … | |
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 … | |
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 | |
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 … | |
| |
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 … |
The End.