199,124 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for enggars

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. …

Member Avatar for MidiMagic
0
125
Member Avatar for louis7370
Member Avatar for srinath.sec

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)

Member Avatar for thekashyap
0
156
Member Avatar for jaepi

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 …

Member Avatar for jaepi
0
166
Member Avatar for tony71

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. …

Member Avatar for tony71
0
131
Member Avatar for kylcrow

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 …

Member Avatar for kylcrow
0
130
Member Avatar for jaepi

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

Member Avatar for jaepi
0
247
Member Avatar for learningtocode

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. …

Member Avatar for vbCNEW
0
137
Member Avatar for satyanarayanam

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..

Member Avatar for Narue
0
156
Member Avatar for mattb0611

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" …

Member Avatar for mattb0611
0
114
Member Avatar for krishu

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

Member Avatar for Narue
0
93
Member Avatar for Eko

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 …

Member Avatar for Eko
0
109
Member Avatar for sibotho

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 …

Member Avatar for w_3rabi
0
130
Member Avatar for nineball_ssj9

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 …

Member Avatar for nineball_ssj9
0
98
Member Avatar for Estreetloans

Does anyone know a good source for some basic beginners type tips for using php? Thanks?

Member Avatar for jbennet
0
235
Member Avatar for jwjazz

Why does entering the expression 011 evaluate to 9? and 0111 = 73, 01111 = 585, and so on.

Member Avatar for sneekula
0
111
Member Avatar for Hellodear

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 …

Member Avatar for campkev
0
121
Member Avatar for kavaas

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

Member Avatar for iamthwee
0
2K
Member Avatar for Turnkey Monkey

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 …

Member Avatar for dr4g
0
194
Member Avatar for the_jackel

Please help with my assignment. I have to code a program that is menu-driven and im not so clued up.

Member Avatar for jwenting
0
53
Member Avatar for apines

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. …

Member Avatar for ~s.o.s~
0
82
Member Avatar for neon123

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

Member Avatar for kiran_berry
0
1K
Member Avatar for Darkfoxx

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 …

Member Avatar for peter_budo
0
5K
Member Avatar for aruna_k_2006

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 …

Member Avatar for masijade
0
86
Member Avatar for usr1971ca

[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 …

Member Avatar for arjunsasidharan
0
91
Member Avatar for sibotho

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 …

Member Avatar for ManicCW
0
118
Member Avatar for daletonge

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 …

Member Avatar for arjunsasidharan
0
124
Member Avatar for mrhaana

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 …

Member Avatar for manleys_web
0
70
Member Avatar for IwalkAlone

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 …

Member Avatar for IwalkAlone
0
1K
Member Avatar for Hellodear

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 …

Member Avatar for manleys_web
0
150
Member Avatar for jaepi

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 …

Member Avatar for jaepi
0
116
Member Avatar for satyanarayanam

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.

Member Avatar for thekashyap
0
120
Member Avatar for rwchad
Member Avatar for h2c357
0
101
Member Avatar for markchicobaby

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 …

Member Avatar for markchicobaby
0
111
Member Avatar for learningtocode

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 …

Member Avatar for Salem
0
266
Member Avatar for rati

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 …

Member Avatar for rati
0
107
Member Avatar for squinx22

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.

Member Avatar for squinx22
0
116
Member Avatar for jwjazz

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 …

Member Avatar for jrcagle
0
138
Member Avatar for tomf
Member Avatar for shmay

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 < …

Member Avatar for shmay
0
148
Member Avatar for ReeciePoo

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] …

Member Avatar for ReeciePoo
0
77
Member Avatar for MaestroS

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, …

Member Avatar for dr4g
0
777
Member Avatar for terivo

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] …

Member Avatar for terivo
0
113
Member Avatar for EnderX

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 …

Member Avatar for EnderX
0
154
Member Avatar for laconstantine

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 …

Member Avatar for Narue
0
302
Member Avatar for SelArom

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 …

Member Avatar for ~s.o.s~
0
178
Member Avatar for eeeraser

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 …

Member Avatar for eeeraser
0
3K
Member Avatar for SuperioAssassin

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 …

Member Avatar for dr4g
0
146
Member Avatar for jscriptanit
Member Avatar for dr4g
0
98
Member Avatar for ebmusicman

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 …

Member Avatar for ebmusicman
0
134

The End.