199,124 Archived Topics
Remove Filter ![]() | |
Hello, i have a multiple checkbox that needs checking. So i build some validation code through javascript. I found some problem in setting the name of checkbox in a loop. The loop should check three checkboxes. Which are [B]status1[/B], [B]status2[/B], and [B]status3[/B]. You might want to see my code below. … | |
automatically generated with the format of V000# how??? | |
hi all, i have a question 1) how can we change the value of a macro during compilation time tell me with an example 2) what is difference between exception and memory leak. how to handle exception in c 3) where are the extern and register variables stored(text,data,BSS,heap,stack) | |
hello there, im having trouble with the system() function...as much as possible, i would like my program to be dynamic...i created a program that will make an iso file...it will ask the user to input the directory that he would like to compress...the problem is, how do i append this … | |
HI guys, I am taking C++ and I'm suppose to write this program where it asks the user to input a grade that they recieved in their exam . The grade is an interger from 0 to 100. Basicly the program should convert the numeric grade to a letter grade. … | |
Hi again everyone. I'm having a problem with some code I am writing. I need to take an input file change what is on it, then print out to the screen. What I want to change in the file is re-formatting it so that there is Last name First name … | |
hello there...uhmmm, im having problems with getting the file and storing them...like for example, you ask the user to input a file then that file will be stored...how do you get that file, and where do you store them?? thanks | |
Sry guys..havin troubl figurin out sum of this posting stuff..... OK guys, Im writing this [URL="http://www.daniweb.com/techtalkforums/thread77798.html#"]game[/URL], and i can't seem to figure out one thing. This is an extra fun thing that one of my Profs suggested. If i get it working like i want..he may give me extra credit. … | |
Hi, This is satya, how we can print a string in C that doesn't use printf in main or functions? plz help on this Thank u.. | |
Hello! I downloaded software called Xloops to evaluate integrals I'm working with. It comes with some example programs to show how the libraries work, but I can't seem to get them compiling consistently. Here is one program (the important part is the first 12 lines): [code=c++] #include <iostream> #include "xloops.h" … | |
Respected Sirs/madam, Please Explain Me The Code Of Palindrome Programme And Programme For Searching Character In String . I Shall Be Grateful If You Mail The Code Of These C++ Programmes With Explanations . Your' S Obediently Krishu | |
The following cod,when I press the [I]SUBMIT[/I] button , I get [I]"[COLOR=Red][COLOR=Black][B]Forbidden[/B][/COLOR], You don't have permission to access /< on this server[/COLOR]." [/I][code] <html> <head> <title> The Internet Joke Database </title> </head> <body> <?php if (isset($_GET['addjoke'])): // If the user wants to add a joke ?> <form action="<?=$_SERVER['PHP_SELF']?>" method="post"> <p>Type … | |
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 … | |
I need to Write, assemble, and test a program that reads 2 integers [B]n[/B] and [B]m[/B] from the keyboard and than calculates the sum of all "divisible by 4" numbers from the range [n,m]. [I]This exercise requires usage of subroutine. Calculate sum in the main procedure; Check if the number … | |
Does anyone know a good source for some basic beginners type tips for using php? Thanks? | |
Why does entering the expression 011 evaluate to 9? and 0111 = 73, 01111 = 585, and so on. | |
Hi Everybody, I am a newb in SQL Server 2000. I have a genuine question. Actually what is the use of this sql server, just to store information/datas of small size??? that is: Name: Anish Age:22 Sex: Male in this format?? Maybe this question arises in my mind due to … | |
i have ceated a file in C. i have to give the login security. i already gave the user name & password. but when i type the password the letters are visible how to hide the letters ![]() | |
Hello I am Marcus and I am building a directory service and need some help using php. I am new to working with a server but I did read Sams Teach Yourself book on this subject and ubderstand what needs to be done, but still have trouble finding a script … | |
Please help with my assignment. I have to code a program that is menu-driven and im not so clued up. | |
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. … | |
i need to pass two string parameters in bat file.....in visual basic 6 i am trying thgs like Shell "N:\aa.bat abc bcd " here abc and bcd are two string variables but its not working... wht shud do to pass parameters in bat file | |
Here is the full code thus far: [CODE] public class Cardmain { public static void main (String[] args) { War wargame = new War(); wargame.play(); } } class Deck { static final int numberOfCards = 52; Card[] cards = new Card[numberOfCards]; int index; public Deck() { // Constructs all 52 … | |
import java.util.*; import java.text.*; class DemoDate { public static void main(String[] args) { Date date=new Date(); SimpleDateFormat sdf; // sdf=new SimpleDateFormat("hh:mm:ss"); //System.out.println(sdf.format(date)); // sdf=new SimpleDateFormat("dd MMM yyyy hh:mm:ss zzz"); //System.out.println(sdf.format(date)); sdf=new SimpleDateFormat("E MMM dd yyyy hh:mm:ss"); System.out.println(sdf.format(date)); } } i am getting current date and time but i want to … | |
[B]How do I display data (not dataset) on the form just like you see the inbox mail (not allow editing on the data and no first empty column on the left of dataset)? I want to display the master list of names first, then click on the name to bring … | |
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 … | |
My program will not build due to an error related to the section of code below shown inbetween the following symbol. ~~~~~~~ ~~~~~~~ The error which i recieve is the following: Object reference not set to an instance of an object. any help would be appreciated, thanks again Imports System.Data … | |
Hello Professionals, I am having my website in windows dedicated server which has been developed in ASP. I have made a ASP page and added that in custom error in IIS. So that 404 error of my website should bring the user to the custom page. It is working fine … | |
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 … | |
hi, I have made ASP pages with my asignment files (MBAIT). Format is below: [COLOR=magenta]Management.asp[/COLOR] [COLOR=magenta]Marketing.asp[/COLOR] [COLOR=magenta]Financial Management.asp[/COLOR] Now i need to attach a search engine inorder to search the content of this assignment files. For Example: we type "[COLOR=blue]Management[/COLOR]" and enter then the result would be: [COLOR=red]FOUND: 1. What … | |
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 to one and all, this is satya, I few doubts in c those are, All are linux based, 1) How we can convert physical address to virtual adress and vice-versa,for this any linux system call. 2)How a float will store in binary format. 3)what the use of constant volataile. | |
Hi, I have a series of pages that I have created “printable/savable | |
Hi i'm using Cywin bash shell, I am trying to scan my entire hard drive for an executable that contains text references to an ocx called ezVidC60.ocx (it appears to be used by both malware and non malware programs, I need to work out which). In Windows the dll and … | |
OK guys, Im writing this game, and i can't seem to figure out one thing. This is an extra fun thing that one of my Profs suggested. If i get it working like i want..he may give me extra credit. So heres the problem. This is a game where 2 … | |
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] … | |
Well, I were trying to make code that gets a XML element from the file and replaces with new data. Here is my code. Parsing command: function ExecuteCMD($forplayer, $what, $to) { $player_dir = 'D:\\Programy\\Open Tibia Server Project\\DeadTouch Binary\\data\\players\'; $SetPlayer = file_get_contents($player_dir . "\\" . $forplayer . ".xml"); $SetPlayer = str_replace($what, … | |
I am currently trying to program a hangman game as a final project - not a final grade or test. I have started this project but I am now stuck. The following is the code that has been started: [[COLOR=#0000ff] Dim[/COLOR][COLOR=#000000] secret() [/COLOR][COLOR=#0000ff]As[/COLOR][COLOR=#000000] [/COLOR][COLOR=#0000ff]String[/COLOR][COLOR=#000000] = {[/COLOR][COLOR=#800000]"fall"[/COLOR][COLOR=#000000], [/COLOR][COLOR=#800000]"spring"[/COLOR][COLOR=#000000], [/COLOR][COLOR=#800000]"winter"[/COLOR][COLOR=#000000], [/COLOR][COLOR=#800000]"summer"[/COLOR][COLOR=#000000], [/COLOR][COLOR=#800000]"thanksgiving"[/COLOR][COLOR=#000000]}[/COLOR] … | |
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, I have been trying to get into C++ for a while now. My background is in VB.net. I do have experience programming with C++ (and some C) through my classes, but nothing complex... the biggest thing that I seem to be having trouble comprehending is how data access is … | |
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 … | |
I have been looking at this code for some time and just can not figure anything wron with it. My Error Message is: Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /hsphere/local/home/gwthorn/htpsinc-web.com/York_County/login.php on line 13 I commeted 13 [CODE=php] <?php session_start(); //The fields are censored but … | |
| |
I have many of them :) At this point I'm looking for help with a specific idea I know is possible, I just have no idea how to pull it off first some code: [code] cout << "Would you like to continue? (Y/N); method1(); [/code] [code] while(someSentinal) { //Do stuff … |
The End.