199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for shawnisalk

Hi, I'm trying to write a program for Windows that will control the mouse with the keyboard, but I'm not sure I understand how Windows works. My theory is that I will need to send mouse event messages for the mouse and hook the messages from the keys that are …

Member Avatar for shawnisalk
0
326
Member Avatar for JayGeePee

I'm not sure how to do this or if its possible with CSS/HTML. I have tables that hold info on my index page that is entered from the members area. The table has a plain white background, which isn't my problem. I'd like it if when new info is entered …

Member Avatar for Lsmjudoka
0
66
Member Avatar for sundip

Hi all Can we convert a string to function name in c. I am not looking for function pointer. Like:- [CODE] void fun1(); voide fun2(); char *fun = "fun1"; (*fun)(); [/CODE]

Member Avatar for sundip
0
259
Member Avatar for webfan16

i'm sorry my title is confusing here's my problem i've created this echo "<table border='1'> <tr> <th>Idno</th> <th>Name</th> <th>Specialty</th> <th>Email</th> <th></th> </tr>"; while($row = mysql_fetch_array($result)) { echo "<tr>"; echo "<td>" . $row['Idno'] . "</td>"; echo "<td>" . $row['LastName'] . " " . $row['FirstName'] . " " . $row['MiddleName'] . "</td>"; …

Member Avatar for Lsmjudoka
0
95
Member Avatar for sss33

When you have a file with a lot of lines of numbers. I want to know if instead of writing the formula to calculate the numbers for everyline of data. Is there a way to tell it to apply the formula I have made to every line until there are …

Member Avatar for Gribouillis
0
99
Member Avatar for xcarbonx

Hi, im using visual studio 2010, and for my recent assignment i am having difficulty when closing a text file. My program is to read in the data from a text file and then do some calculations and then output the result. My text file Measurements.txt looks like this: 5 …

Member Avatar for codeorder
0
410
Member Avatar for new SE

Hi all, i have a problem with my datagrid attribute "OnPageIndexChanged="gridedit_PageIndexChanged""... for example if i have 2 page and the second page contain only one record.. if i want to delete the record, this error appear.. anyone can help me plz.. [CODE] Invalid CurrentPageIndex value. It must be >= 0 …

0
69
Member Avatar for dschuett

Hi all, This may be asking a bit much, but this is my FIRST advanced PHP/MySQL project. Any help is appreciated. I am currently building a website for one of my friends photography business, and she has requested to allow her clients to be able to sign with a username …

Member Avatar for Lsmjudoka
0
120
Member Avatar for abhi_elementx

Hello all. I want to find the return address where execution should jump after returning from a function. Say this is my code: [CODE] void foo(){ } int main(){ foo(); printf("After foo.."); return 0; } [/CODE] After foo() returns, how to find the rturn address where control will be passed? …

Member Avatar for abhimanipal
0
836
Member Avatar for flyingcurry

For homework, we have to find the time complexity class of certain algorithms and explain why it has that certain complexity class. So, I have a couple of questions: - Why is the first running time always so much longer than the ones after? (setting up the application or something??) …

Member Avatar for tong1
0
214
Member Avatar for headedtomexico

I'm distributing a binary that users are required to install the following: Microsoft Visual C++ 2005 Redistributable Package (x86) Microsoft Visual C++ 2008 SP1 Redistributable Package (x86) If they don't have them the program puts up a ambiguous error message. I'm not really sure how static linking works, but I …

Member Avatar for Ancient Dragon
0
160
Member Avatar for Steve_Jones

My program lags the computer because i have it going through a while loop to continue check if a condition is true. Is there any way i can have a wait for user input such as pressing a key to perform the evaluation. Or is there any way to have …

Member Avatar for Steve_Jones
0
98
Member Avatar for chineerat

Hi! I need help calculating the summed values of a column. Also, the row values are subtracted from each other eg: [CODE] col1 col2 col3 row1 a b = a-b row2 c d = c-d row3 =a+c =b+d =a-b+(c-d) [/CODE] however there can be N number of rows. I have …

Member Avatar for chineerat
0
160
Member Avatar for XodoX

Ok, I'm wanting to do the following... A C++ program that can edit a sentence with word insertions and deletions. You can assume the sentence has words and numbers separated by spaces and punctuation symbols. The input is a regular text file, where each line is terminated with an end-of-line …

Member Avatar for XodoX
0
115
Member Avatar for NewbieProgram

Our professor decided to give us a really hard assignment in our 2nd week in the course. I really have no clue where to start. Requirements Writing reusable code to check a user name and password can be a challenging task. Three major things can change between one password checker …

Member Avatar for NormR1
0
265
Member Avatar for samuel17

Hi all, Me again. I am having issues with a looping program. My current issue right now is that it wont compile, it keeps saying i need another perentheses at line 20. This program is suppose to calculate the investment and show for every year. The year and amount of …

Member Avatar for tong1
0
240
Member Avatar for gus7984

The assignment was to write a C++ program that implements Insertion, Bubble, Merge Sorts for sorting Arrays of non-negative integers. The three Algorithms should return as output not just the sorted Array but also the number of COMPARISONS needed to sort the array. The array is has randomly generated numbers …

Member Avatar for kes166
0
166
Member Avatar for valonesal

Im a novice at php and cant seem to get the following two line together. We want to use this line [CODE] <?php if($logged_in) { echo "Welcome back, $logged_row[username]&nbsp"; } else { print('<a href="http://xxx/login.html">Login</a> / <a href="http://xxx.com/signup.html">Signup</a>'); } ?>[/CODE] But we need this put into it, we need it before …

Member Avatar for valonesal
0
103
Member Avatar for aaronmk2

I am having trouble with the evaluate class. An error message is coming back for the pow(x, degree). I have included the cmath library and have cast x and degree into double. Any hints or tips would be greatly appreciated. I have tested the program without the pow(x, degree) and …

Member Avatar for sfuo
0
97
Member Avatar for timkonu

i am designing a database for a football league and one of the requirements is Although the match is between two teams, it is common that many players are named in the team but they do not actually participate in that match when it takes place. reserved players and can …

Member Avatar for timkonu
0
82
Member Avatar for nicholaslee21

[CODE] <html> <link rel="stylesheet" media="screen" href="DynCalendar/dynCalendar.css" /> <script language="javascript" type="text/javascript" src="DynCalendar/browserSniffer.js"></script> <script language="javascript" type="text/javascript" src="DynCalendar/dynCalendar.js"></script> <body> <table width="703" height="210" border="1" cellpadding="5" cellspacing="0"> <tr> <td width="535"><form name="Add_Record"><form action="insert.php" method="POST"> <p class="Headings"><strong>Add a Record</strong> </p> <p>First Name: <input type="text" size="20" maxlength="20"name="firstname" /> Last Name: <input type="text" size="20" maxlength="20" name="lastname" /> </p> <p>Days …

Member Avatar for hielo
0
186
Member Avatar for Ghostenshell

How would I pass something from a driver into a list inside a class. I then need remove a word from the list and replace it with a new word.

Member Avatar for griswolf
0
156
Member Avatar for jimbob90

OK so I'm doing this assignment and i'm confuzzled: write a basic class, with a constructor, default constructor, setter and getter functions. This is what I got: [code=c++] class Car { private: int yearModel; string make; int mpg; public: Car(int, string, int); //constructor void setDefault(int, string, int); // def constructor …

Member Avatar for jimbob90
0
93
Member Avatar for markolini

guyz pls i need help writting d php script for a registration form...i want all the contents of the form to be emailed to an email address i will provide here is a copy of the html code, its juss the php script i need not pls someone help [CODE]<FORM …

Member Avatar for diafol
0
235
Member Avatar for Jeneo W.

Hello How do I deal with Trees as Linked Lists ?? View Photos, [URL=http://img832.imageshack.us/i/49362381.png/][IMG]http://img832.imageshack.us/img832/4553/49362381.png[/IMG][/URL] Uploaded with [URL=http://imageshack.us]ImageShack.us[/URL] I think I would need for TL* son ,TL* father, TL* brother. [CODE]struct ff { int id; ff * son; ff * father; ff * brother; }; class formula_s { public: ~formula_s(); formula_s(); …

Member Avatar for Jeneo W.
0
94
Member Avatar for kratoras

Hello everyone, i have a problem using the replaceAll method and i hope that somebody can help. I want to remove substrings (sub) from a string (message). The message string looks like that: prop(ag1,0,1,4,5)/prop(ag2,2,5,3,3)/prop(ag1,0,1,4,5).... I want to take each prop(...) and put it in a list, but not the duplicate …

Member Avatar for Rajesh1202
0
241
Member Avatar for eman 22

I'm now studing Object Oriented programming course,and I want to do a gui and implement all rules of object oriented programming in it . so what's the best recommend language to do gui other wise library swing in java ??

Member Avatar for JamesCherrill
0
55
Member Avatar for kuchick32

I am starting a homework an assignment on C++ about a mortgage calculator. It is really complicated and I'm really confused. I just need some help. PLEASE AND THANK YOU! :)

Member Avatar for hpfreak080
0
123
Member Avatar for gravikiran

Hello folks, I am new to VB 2008 and right now I have been struggling a lot for updating access 2003 database from a VB 2008 desktop application. My problem is that I am unable to update the 'Status of the USER' to 'ACTIVE'. The problem is in the "setUsersOnline() …

Member Avatar for lolafuertes
0
200
Member Avatar for vasilevich

Hello DaniWeb, I am pretty new to this community and overall to the C++ language. Not so long ago i've decided to learn C++. Anyways the problem is: I am trying to make a simple calculator, its very easy my problem is i am trying to advance my knowlege about …

Member Avatar for vasilevich
0
264
Member Avatar for ceatkin2

I am trying to demonstrate to my class mates the run time difference in using bit-wise and logical operators. I chose to do this by writing a simple (I thought) program that reads 2 ints from the console, and multiplies them two separate times, one using the logical multiply (a …

Member Avatar for N1GHTS
0
242
Member Avatar for restrictment

Hello all, I need help with a scientific notation problem. I am to create a program where the user enters a 5 digit number, and it is displayed in scientific notation. This part is easy, however I am trying to take it to the next step and make it so …

Member Avatar for burcin erek
0
171
Member Avatar for amare_de

Hello: Was trying to assign a function pointer to a struct member and am getting compile errors. The .h file I have to use has defined the struct: [code] typedef void(*callback)(bool, char*, int, unsigned long, void *); struct CallbackInfo { callback func; void* stuff; }; [/code] What I have in …

Member Avatar for amare_de
0
102
Member Avatar for jayzee1989

So I have an assingment that I am stuck on -_- So I am supposed to create a code that "tests" out a range of integers and determine the perfect squares(4,16,25, etc) within the range without using square root calculations and using a function. I have written the following, and …

Member Avatar for TrustyTony
0
109
Member Avatar for aman rathi

hello everyone i am a student of computer app. from last 4 months i was using turbo c++. but by the advice of some people yesterday i installed codelite. i wrote a simple c++ program but i am not receiving any output i pressed ctrl+f9 as in turbo c++ but …

Member Avatar for usagi
0
275
Member Avatar for kalle82

Hi I have this project I'm working on and I'm totally stuck. Things is that we need to do the following: A - Write a class, Sphere, which has one private field of the type integer which represent the radius of the sphere. B - Write a default, empty, constructor …

Member Avatar for ddanbe
0
384
Member Avatar for ryathegr8

i want to write a code in C++ in which when i Press a key...it displays the letter which i have set in my code for dat key.....it means a program that changes the ascii code of a keyboard.....tell me the logic how can i do that??????

Member Avatar for frogboy77
0
96
Member Avatar for Nathaniel10

I am reading the first chapter on graphics in the Stroustrup book. He explains that we students will need to download the files of a GUI toolkit in order to run programs containing graphics. He recommends the "Fast Light Tool Kit, FLTK" because the book's programs are based on that …

Member Avatar for usagi
0
114
Member Avatar for advait_123

Below is the function I copied to get the answer...so plz do tell us the simple method for this..... [CODE]int ** addmatrix(int **a,int x1,int y1,int **b,int x2,int y2) { int i,j,**c; c=(int**)malloc(x1*sizeof(int*)); for(i=0;i<x1;i++) *(c+i)=(int*)malloc(y1*sizeof(int)); if(x1==x2 && y1==y2) for(i=0;i<x1;i++) for(j=0;j<y1;j++) *(*(c+i)+j)=*(*(a+i)+j)+*(*(b+i)+j); return(c); }[/CODE]

Member Avatar for N1GHTS
0
103
Member Avatar for george_82

Hi all, Can somebody show me an example how to embed SCPI and GPIB type commands in C sharp for instrument control? It is for controlling a spectrum analyzer through Ethernet interface. Thanks and regards, George

Member Avatar for SpiritualMadMan
0
321
Member Avatar for techie929

Hi, I want to calculate the number of days between two dates. Date is in the below format: First Date : 2010-09-27 05:00:00 Second Date : 2010-10-1 08:00:00 Thanks.

Member Avatar for Airshow
0
329
Member Avatar for hbat66

Subject PHP: Echo SimpleXMLElement Object Data Out to 3 Column HTML Table Post Hello everyone. I am working with Simple XML Element object data and PHP code. I want to echo out that data into a 3 column HTML table and have run into some trouble. I am currently able …

Member Avatar for rdc
0
465
Member Avatar for empyrean

Hello.. i have two datatables with only one column each. i wanted to compare those two columns in two datatables. here is the example dt1 apple orange peach banana dt2 apple peach mango apricot now i want to compare dt2 with dt1. dt2 is bound to a list box. so …

Member Avatar for mshauny
0
154
Member Avatar for Shaswat

can anyone explain me add to cart script.i have read it in some sites but dont know what it means. can anyone explain a simple one?

Member Avatar for Kieran Y5
0
67
Member Avatar for sharkymo

guys,,, m doin my final year BE-cse...i need a career advise..my passion is game design (not coding) like char,areas,etc...but if sme1 really teach me the easiest way to code definetly i will copeup..what is the scope for game designers now a days..??? i want tis information to pursue my higher …

Member Avatar for xtrmR
0
380
Member Avatar for sen4ik

Hi I am parsing .csv file which contains 21 000 records. While i am parsing it i insert records in database. It is taking about 40 second for script to parse the file. User will not sit and wait 40 seconds - he might close page. How can i print …

Member Avatar for MooGeek
0
64
Member Avatar for gauri_agr

Hi All, I am new to Ajax. I have updated my website with Ajax code. How should I get unique url after click on menu. I mean if I click on "about me" on my website yogawithgauri.com. the url in the address bar should be yogawithgauri.com/aboutme Please let me know …

Member Avatar for Protuberance
0
119
Member Avatar for Xufyan

I had an assignment to create a calculator in two ways, 1) Method returning values. 2) Method without returning values. I've done this with methods returning values but how could i add, subtract, divide , multiply without returning a value from methods ? [CODE]import java.io.*; class first{ int a=5,b=2,c; public …

Member Avatar for java_programmer
0
150
Member Avatar for Supriyo

Hello. Apart from practice and books (like C++ coding standards by Sutter and Alexandrescu) what is the fastest and surest way to acheive coding standards in c++? Supriyo

Member Avatar for xtrmR
0
356
Member Avatar for El3et

Having the following message when trying to run my DirectX10 application. A screen shot of the message is attached. Would appreciate help with this and just before someone asks yes I have DirectX10 installed. Sorry if this is the wrong place to post this thread. Thanks.

Member Avatar for xtrmR
0
75

The End.