64,152 Solved Topics
Remove Filter ![]() | |
Hi all I want to select data from a database and display it on a GridView. My problem is it doe not return anything when i use the WHERE clause but when i use SELECT * it works. I am new in ASP.NET, please help. here is the code i … | |
Hi all, I need some advice in implementing a new ADT that has length of n and the following operations: 1) Init() : Initializes all n elements to 0. Can assume that this is the first one called and called only once. 2) Write(i,x): write value x to position i. … | |
Hello there I want to retrieve data from the sql database according to departure plase and Destination selected on the dropdownList, Something like "WHERE departurePlace = @DeparturePlace AND Destination = @Destination", I want to display the results on a different page (i am not sure if its possible). Can you … | |
Q. WAPC to read a string into an aaray and capitalize the first character of every word in the input. Solution I tried [CODE] #include<stdio.h> int main(void) { char string[50]; char *ptr; printf("Enter string\n"); fgets(string,sizeof string,stdin); printf("string= \"%s\"\n",string); for(ptr=string;string!='\0';ptr++) { if(*ptr==' ') { ptr++; *ptr=*ptr-32; } } printf("The new string … | |
hello there...im new in c++, i need your help with this one...i want to create a program that will create an .ISO image file. the user will be asked to input all the files that he wants to compress..i just want to know what topic in c++ i will study … | |
hi all, i am writing a program in which i am checking if a string contains another string(same what strstr does). i assumed intially that the string1 is a long string with spaces and string2 is a word(which might be or might not be present in string1) i have used … | |
hi, I want to make a chat program using c++. Can you give me any site where i could find the concepts in building chat program? I will make a chat program similar to YahooMessenger. | |
This function is part of a program to convert numbers between different bases. [code=language] num = 32 b1 = 10 b2 = 2 x = 1 def increasex(num,b2,x): if num%(b2**x) < num: x = x+1 increasex(num, b2, x) else: print x return x print increasex(num,b2,x) [/code] The parameters are the … | |
I must display the number of values that are above, equal to, and below the average, with "equal" being within a tolerance .01. [code=c] void RelToAve (double ave, int numRead, double *array) { int abo = 0, equ = 0, bel = 0, i; for (i = 0; i < … | |
I have a text file setup called client.txt inside it has Halusa Decorations|Streamers|455892|$3.50 Kellys Floral|Frangipani|270272|$2.00 - Im using Listview in Report mode i was wondering how to grab each item e.g company|item|productid|cost into and put them into the Columnheaders [U]| Company Name | Product | Product ID | Price |[/U] … | |
If I am somehow in error posting this, I apologize. However, I would hope that this is the best place to ask this question. I am dealing with a MSVC Compiler, version 1.52, on a system running Windows 98. I am using these rather antiquated pieces of equipment for a … | |
I just started mess with Memory at c++ so i am very confused now, and this is why i am asking 3 questions that made me confuse so much. 1. Look at this: char *str = "Literal String"; Here we are creating a char pointer called str then we are … | |
Hi guys again, If I have an infinite loop for example: [code] MOV CX, 240 MOV DX, 320 HERE: MOV AH, 2CH INT 21H CMP DH, 1 JE DOT MOV AX, 0C00H INT 10H DOT: MOV AX, 0C04H INT 10H JMP HERE [/code] In the example I have an infinite … | |
OK, I know how to address all of the radio buttons on a page as an array, and address all of the radio buttons in a single group as an array. And I know how to create multidimensional objects in JavaScript. But how can I create a two-dimensional array of … | |
hi i want to obtain a value of a table with date restrictions, so i created two fields, one for the inicial date and other for the final date. when i try to do that the result is always null...i don't no why... i use this statement: "SELECT caminho_foto FROM … | |
Hi there guys..!! Well what I'm looking for is.. [IMG]http://www.dynamicdrive.com/forums/images/smilies/biggrin.gif[/IMG] Basically I want to have an HTML POP-UP Window, which would contain a FLASH File of the RESOLUTION "800x622". I want to have Google ads on both sides and at the bottom too. It's easy to define a layout for … | |
Hi In my LogIn screen , Including username and password we have provided secure card. This secure card displays three alphabets randomly with three textboxes to enter. like ( G __ C __ B__ ). There are 10 two-digit values are stored in LogIn table (from A to J). These … | |
Hi, I'm fairly new to c++ and I'm having some trouble getting this to work as a function. Here's the error I get: error C2447: '{' : missing function header (old-style formal list?) I can work through the minor troubleshooting of basic syntax I just don't get how to call … | |
:@Hi i am currenty working on a basket ball game in one of my grade 11 classes. My teacher and I cannot find a way to make the exit code work even when the shot is being taken. Also to take a shot you have to hit shoot in a … | |
Hi! I hope some one is familiar with pascal. I've been trying to translate this code into c++ for quite a while now... And frankly I've given up hope of solving it. It's supposed to invert an integer from binary data it reads from a file into normal characters or … | |
Hi guys I'm working on a small portion of a larger program here that will accept lines of text and based on the first word in each line needs to conditionally branch...I am using the tolower() function to make the words lowercase and then I test them in an if … ![]() | |
Consider the following code: [code="PHP"] <?php function important_function( $i ) { printf ("<p>Called for the %sth time.</p>\n", $i); return ($i < 3); } function loop_with_and( ) { $ret = true; for( $i = 0; $i < 10; $i ++ ) { $ret = $ret && important_function( $i ); } return … | |
I am so lost. I don't know what I'm doing. Can somebody help me? What I'm trying to do right now is just store ID numbers in an array to use them elsewhere in my program. I can't even do that right though. This is my first time taking computer … | |
hi again .. Does anybody have any idea how could I draw a line between two points using assembly language? e.g. if you have the first point DX1, CX1 and DX2, CX2... I wanna draw a line between them, simply, I wanna program that I give him two points and … | |
| |
Hi there... I'm pretty new to java, just learning arrays now. I've written a program that deals a "poker hand" to 4 players, using methods, but the problem with that is sometimes the same card gets dealt more than once. I'm now trying to use a boolean array of size … | |
help! I have made three UI forms to accept inputs from the user (it is about airline reservation for my academic project),I want to open these forms in succession following the inputs from the user so how do i manage to open up these forms...Help me | |
Hello Geeks! I have tried real hard trying to figure out the solution for why the getchar() and fputs() arent working in my program. I have already wasted so much time thinking and debugging about it and here I am after registering wid DANIWEB for the first time. I will … | |
Hi, I have created an on-the-side project to test some code which I hope to merge with my main program, however I've noticed that the output generated varies between two compilers (VC++ 2005 Express and Dev-C++). Since I am doing the project in VC++, it's output has had me scratching … | |
Hi I got this script of a tutorial site and I placed it on my site but it seems to work fine apart from it doesn't send the email can anyone help me please. the contact us page [code] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> … | |
Hello and thank you for taking time to read my question. I have been charged with the task of creating a scoreboard for use by one of our local teams, the problem is that I am still very new to visual basic (I am using Visual Basic Express Edition). I … ![]() | |
hi.. i wonder, what is wrong with my code? i want to let user update their previous question based on question number they selected. i have a dropdownlist called [B]qnum[/B]. when the qnum index changed, it should load respective question to textbox [B]question[/B]. however, i don't manage to update in … | |
Could you tell me the mean of this code? [CODE] while(1) { // do something [/CODE] thanks! | |
How do you add columns in list boxes so u can have sortable sections for us in a database project | Column 1 | Column 2 | Column 3| |-----------------------------------------| | Data here | Datahere | DataHere | ______________________________ | |
Im havin noobie problems like making OK and Cancel buttons any help please lol?.. also how do u go about makin seperate dialog boxes so that when i click on New Entry it opens a "New Entry" Dialog? | |
Hey, I'm having trouble with an exercise from a book, here it is; " Write a program that reads the values for a random list of card from a file,(cards.txt) where each line in the file represents a single card with the rank and then suit seperated by a space. … | |
I have application build in Embeded VC++ 4.0 project,now i want to include (.h) file in project which is produced from another (.exe) built in Win32(App) Console.I have added header file in project workspace.The problem is (.h) file is created after compiling the project.I want to include (.h) file before … | |
[URL="http://www.festra.com/wwwboard/messages/13064.html"]How do i create a insert button for a TDBCtrlGrid? [/URL] | |
I'm reting to open a project from college but it want open because my access file path isn't valid. How do i change the path so it works fine again. I try to access the date module but it keeps coming up with the error and closes the program. Need … | |
at the end of this program we have to add the average of all the students* add and divide by 3* also put a ** next to student who have over 95 % both thses should be displayed at the end so ANYONE dare to try #include <stdio.h> #include <math.h> … | |
Hello! I'm working on an assignment that requires me to store custom classes in an STL vector and do things like search, display, and delete them, then write them all to file. This is going well, but my code to delete an object (adapted from [URL="http://www.daniweb.com/techtalkforums/thread31636.html"][U]this thread[/U][/URL]) works on any … | |
Dim objNetwork Dim objExcel Dim objWorkBook Set objExcel = CreateObject("EXCEL.APPLICATION") objExcel.Visible = True Set objWorkbook = objExcel.Workbooks.Add() objworkbook.ActiveSheet.Range("A1").value = "DisplayComputername" Set objNetwork = CreateObject("WScript.NetWork") Dim strComputer strComputer = objNetwork.ComputerName Msg strComputer Set objNetwork = Nothing | |
I was wondering if there is something in python similar to the begin expression in Scheme, and if not how would you write something in python to simulate it. | |
i created this program and it works perfictly but how do i make it so all the numbers,that this loop prints out, add together? heres the code[CODE]#include<iostream> using namespace std; int main() { int i,n,a,b; b=1; n=1; i=100; a=100; while (n<=i){ cout<<n*26*n<<endl; n=n+1; } system ("pause"); }[/CODE] | |
right basicly i need to make a class. I have a file called book.cpp which needs to be modified and i have no brain at all today. help is so needed. [code] //book.cpp #include"bookheader.hpp" Book::Book(void) { title[0]='\0'; quantity = 0; deleted = false; } Book::Book(string tit) { strcpy(title, tit.c_str()); quantity … | |
I have a question I am writing this program for class where all of the output goes into one JOptionPane.showMessageDialog for instance I have the The sub total price displayes, the sales tax displayed, and the Grand total displayed in this I also want to display a message if the … | |
I am writing a simple (extremely simple) hangman program. Basically the user inputs a word, then they have double the number of letters in the word for guesses (for instance if the word has 7 letters they get 14 guesses). Please don't ask why I want the user to input … | |
say I need to the below to store as a string variable. Set autoUpdateClient = CreateObject("Microsoft.Update.AutoUpdate",strComputer) notice teh quotations ? How can I store all of this as one string with the quotations included ? I need to store this so I can manipulate it, but those quotes keep throwing … | |
I dont understand why I'm getting this error here. [code=c] #include <cstdlib> #include <iostream> #include <cmath> #include <string> using namespace std; int main(int argc, char *argv[]) { string value; int number; cout << "Enter an integer: "; getline( cin, value ); if( !isvalidInt( value ) ) cout << "The number … |
The End.