199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for venetian_jigsaw

I am unable to get my pop-up to resize or hide the toolbar when I select a thumbnail. I entered the width & height in my onclick event, bu that did not seem to work. I am guessing that I probably need to enter the attributes in the function and …

Member Avatar for Lafinboy
0
582
Member Avatar for aarya

i am developing a hotel site. when a person submit the form the message should to go their efax.how i should proceed. any body can help me?

Member Avatar for Lafinboy
0
395
Member Avatar for aarya

is there an site for asp mysql tutorials.using mysql database with php is very eazy but i am having problem with asp.which database comnly used with asp.i hope sombody help me in learning asp

Member Avatar for Lafinboy
0
156
Member Avatar for rooparaj

hey in asp,if we use cookies n in IE if the cookies seting is blocked it wont show any cookie values. So how can we avoid that So if user want to work with that website means they have to changes in IE options Private security n there they have …

Member Avatar for Lafinboy
0
141
Member Avatar for bluegoo06

Im trying to do a population vector assignment. I tried to comment my word so you know waht is going on . I am having trouble putting coefficents into a two dimensional vector array. So if you could give me hints on that it would be great. The code only …

Member Avatar for server_crash
0
132
Member Avatar for HyperEngineer

I'm trying to get the coordinates for the client section and the whole window. This is the code, but it gives me the same top, bottom, left and right for both the client and the window. The files are: T1NIU.h T1NIU.cpp T1NIUDlg.h T1NIUDlg.cpp This code is in the T1NIUDlg.cpp [code] …

Member Avatar for WolfPack
0
130
Member Avatar for raj_thota

Hi, I am Rajesh. I am totally new to shell scripting. I have to prepare a shell script which comapres two directory tree structures ( directory contents comparision is not necessary). for example, suppose I had installed a software system long back and now I want to upgrade that software …

Member Avatar for jim mcnamara
0
420
Member Avatar for alex05

Write a script named killdup. The script sorts all the lines in a file supplied to it as the first argument, and removes duplicate lines. The script stores the resulting output in a file whose name is given by the second argument. I know how to sort it, but how …

Member Avatar for jim mcnamara
0
334
Member Avatar for Yokonomo

Hello! I am a 2nd year MIS/CIS business student and I havent learnt much about computer programming. From what my advisors and ppl who are in the MIS program here tell me, MIS has little programming and more to do with how computers work in a business. I also heard …

Member Avatar for jim mcnamara
0
255
Member Avatar for bucsoldier03

how do u write cin.get in c language and how to open and close files in c languauge

Member Avatar for jim mcnamara
0
120
Member Avatar for cumadhu

Hi All, I am working on a web site project.<BR> And it has the following set up:<BR> web site name: [B]madhu[/B] and <BR> Local path: [B]C:\madhu\Folder1[/B](uses [B]web.config[/B] file which is in [B]Folder1[/B] only).<BR> But i have one file in [B]C:\madhu\FolderXYZ\FileABC.doc[/B].<BR> If i try to access the FileABC.doc(Try to open the …

Member Avatar for Paladine
0
671
Member Avatar for rjadhav

How do i print asp page on client side ? the code <input type="button" value="Print" onClick="window.print()"> prints the entire asp page .if i want to print only the contents of the page and not the links and other stuff .How do i do it ? Can I get a sample …

Member Avatar for william_stam
0
171
Member Avatar for qasimraza

I am currently working on ASP and wants to establish a trusted connection with database (i.e. SQL Server 2000 in my case) Can any one help me out. Thanks Qasim

Member Avatar for william_stam
0
158
Member Avatar for aarya

i m very new to asp. i m trying to learn asp. i m trying to connect to mysql database. i m using this code <% ' Open database Dim Conn, RS Set Conn = Server.CreateObject("ADODB.Connection") Conn.Open "Driver={MySql}; Server=localhost; database=db name; uid=name; pwd=pass; option=0;" Set RS = Conn.Execute("SELECT * From …

Member Avatar for william_stam
0
157
Member Avatar for kyakobi84

i have attached the exe file of the program that im trying to do it, & im facing many problems, can anyone do that & reply me :rolleyes: :cry: ??? 1) how i can put more than 100 countries in the first combobox??? 2) when i choose a country, how …

Member Avatar for troupm
0
153
Member Avatar for juusan

I'm a college student in a C++ class. I'm writing a program, and I get the follow error: [I][taz3] 3:36pm ~/c++ > gcc stustats-sjs.cpp -o stustats-sjs.app stustats-sjs.cpp: In function `int main()': stustats-sjs.cpp:64: ANSI C++ forbids using pointer to a function in arithmetic stustats-sjs.cpp:65: ANSI C++ forbids using pointer to a …

Member Avatar for juusan
0
230
Member Avatar for shanenin

I wrote a python script that checks for new media on my windows box, if it is new it copys it over to my standalone freevo jukebox. Below is a small part of the script that does the actually copying [code] source = "/mnt/samba/%s" %i destination = "/mnt/media/movies" print "copying …

Member Avatar for vegaseat
0
148
Member Avatar for peter_budo

I'm getting following compile error OrderedList.cc: In member function `std::string OrderedList::find(std::string&, std::string&, int&)': OrderedList.cc:133: error: invalid conversion from `int' to `const char*' OrderedList.cc:133: error: initializing argument 1 of `std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]' OrderedList.cc looks like this [CODE]string OrderedList::find(string& …

Member Avatar for SpS
0
182
Member Avatar for LordJayno

i'm trying to convert a string into an integer by using atoi() function. but it gives me an error: error C2664: 'atoi' : cannot convert parameter 1 from 'class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >' to 'const char *' No user-defined-conversion operator available that can perform this conversion, or the operator cannot …

Member Avatar for LordJayno
0
113
Member Avatar for christyj5

I am trying to do an insertion sort that reads from a file it has it own class but i can not get the program to do anything it says no errors but crashes when i try to run [code]#include <string> using namespace std; class Student { public: string lastname; …

Member Avatar for jim mcnamara
0
253
Member Avatar for Dee_Dee

I have to write a program that will check each value in the array for a negative number then the program must either print "The array has no negative values" or "The array has at least one negative value". We have to use the funcion anynegatives(int a[], int arraysize) This …

Member Avatar for SpS
0
267
Member Avatar for Hisham4FCI

hello all it is my first time here to post :cheesy: well i hope i'm welcomed here my problem is i want to read binary file and view it on the console two times [CODE] #include<iostream> #include<fstream> using namespace std; class Student { private: char name[20]; char address[80]; int age; …

Member Avatar for Lerner
0
205
Member Avatar for new guy n c++

HI all; i'm a new in c++ programing and i have some problem that i don't know how to fix it. i have been trying to fix it for severaldays and i it isn't working. can u help me please. this is my program which is A file contains 7 …

Member Avatar for Lerner
0
425
Member Avatar for Xtothel

hi, i have a file that look something lk this: $name[0] = "blah"; $address[0]="blah"; $country[0] = "blah"; $name[1] = "blah"; $address[1]="blah"; $country[1] = "blah"; $name[2] = "blah"; $address[2]="blah"; $country[2] = "blah"; ....and so on, i want to sort the $name array in alphabetical order...but i don want to mess up …

Member Avatar for pulse
0
157
Member Avatar for micropower99

Hey guys, I'm new here, seeing as this is a C++ forum I was wondering if someone could help me out with a C++ assignment I have. I need to make a word counting program. Here is what I need: [url]http://desertonline.net/classes/cs89a/zbecker/files/Assignments/WordCount.htm[/url] Username: cs89a password: ctwo Anyone who completes this project …

Member Avatar for SpS
0
217
Member Avatar for geeta

Hi, i hve asimple c++ prog written in vc++ editor.I am able to run this in my system when i deploy it in another system which doesn't hve vc++ environment its not working the exe just closes... can anyone just tell me how to deploy the exe into another system. …

Member Avatar for WolfPack
0
490
Member Avatar for ashneet

I made this code so that it can tell the program to get Morning (AM) or evening (PM) INFO [PHP] function Tms() { $time = time(); $time1 = mktime(12,00,00); if ($time > $time1) { $Time = 'AM'; } else { $Time = 'PM'; } echo $Time; echo "<br>"; echo $time; …

Member Avatar for ashneet
0
193
Member Avatar for stupidenator

Hi everyone, I am working on a program that will allow a user to enter some customer information including name/acct number, call back number, and reason for call back, and time of call back. What I want this to do is then display the customer info (up to five customers …

Member Avatar for stupidenator
0
100
Member Avatar for Savage221

Sorry for the rather newbish question. I'm stuck on part of this program, it seems simple enough :-| The user is prompted to enter a phone number in the format of: xxx-xxxx (the hyphen must be included). From there the phone number needs to be stored into an array of …

Member Avatar for Savage221
0
298
Member Avatar for Chinjoo

#include<stdio.h> #include<conio.h> struct node { int data; struct node *right, *left; }*root,*p,*q; struct node *make(int y) { struct node *newnode; newnode=(struct node *)malloc(sizeof(struct node)); newnode->data=y; newnode->right=newnode->left=NULL; return(newnode); } void left(struct node *r,int x) { if(r->left!=NULL) printf("\n Invalid !"); else r->left=make(x); } void right(struct node *r,int x) { if(r->right!=NULL) printf("\n Invalid …

Member Avatar for Cudmore
0
391
Member Avatar for vex

When using a JDialog how can I tell it where to open on the screen? Let's say I want to open it in the middle. Can I add a JDialog to a pane in a JFrame? A link to the proper java doc would be great. Thanks in advance

Member Avatar for server_crash
0
113
Member Avatar for dj_money

Here is the one that I've tried and it works. //It will terminate the loop but it's NOT an Auto Infinite Loop like the you had. //Description: //This program asks the user to terminate an infinite loop //with a sentinel value of any kind. # include <iostream> # include <cmath> …

Member Avatar for brian63304
0
2K
Member Avatar for johnpaul

I'm writing a calculator program that receives a string and returns the result (everything in console mode), using Delphi 6. I use a FOR to advance and evaluate the sub-expressions, but the compiler leaves the FOR without reason (I mean that Delphi does not give me any warnings or errors, …

Member Avatar for pty
0
200
Member Avatar for StealthCobra

Here is my program with the errors any help would be appreciated. error C3861: 'headTail': identifier not found, even with argument-dependent lookup error C3861: 'results': identifier not found, even with argument-dependent lookup error C2365: 'headTail' : redefinition; previous definition was a 'formerly unknown identifier' error C2365: 'results' : redefinition; previous …

Member Avatar for SpS
0
208
Member Avatar for some one

Implement a system for a bank. Design it so it can be used by the bank’s staff. It should enable the following: o Opening a new account for a customer o Closing an account o Displaying all accounts An Account o Contains the name of the customer o Contains the …

Member Avatar for some one
0
241
Member Avatar for Montrell274

I'm doing an assignment that implements the following interface [code]public interface MyStackInterface { public Character pop(); public void push (Character c); public boolean isEmpty(); public void clear (); } [/code] The objective is to properly arrange parenthesis, brackets, and braces. I was wondering should I use a data file or …

Member Avatar for NPH
0
107
Member Avatar for stabule

Hi all. I need help creating a prog. in C that can count the occurrence of numbers. The prog. should go like this: Enter input 1 = 223335 Enter input 2 = 2 Output = The number 2 appears twice in "223335". The first input can be any 6 numbers …

Member Avatar for winbatch
0
217
Member Avatar for arun_kumar_c

hi guys , I am a first year student! can anyone help .. the code. is . [COLOR=RoyalBlue]main() { char *b="abc"; printf("%s",b); }[/COLOR] the output is :abc. my doubt is : how can we assign a string constant to a pointer.And when we assign like this is a character array …

Member Avatar for SpS
0
232
Member Avatar for glamo
Member Avatar for jwenting
0
85
Member Avatar for plazmo

my apologize if you do not understand this, as im am very tired as i type. i am trying to make an Array of "EventItem"'s i do not know the size i need the array to be so i needed a way to add them which is why i used …

Member Avatar for plazmo
0
146
Member Avatar for Pscsc

Hello; using c# , I want to build a small database in which its data can be stored in Records (struct) , it seems difficult to do so using streamwriter , and I searched binarywriter to find any member doing like that but I didn't find any thing , any …

Member Avatar for Pscsc
0
101
Member Avatar for Cudmore

You heard me, I want to know your guys' techniques for converting data types without using additional headers (such as studio.h). Are there any tricks or intrinsic methods? Can I write my own method? I simply don't like adding unnecessary headers becasue I don't use 95% of the crap that …

Member Avatar for Cudmore
0
198
Member Avatar for nanodano

I was just curious is anyone has ever programmed a AI agent for Connect 4. I'm currently working on one right now for a class. I'm working on using backtracking/recursion to solve it. If you have, did you use recursion? Just curious what other methods are out there. I am …

Member Avatar for server_crash
0
185
Member Avatar for vicky_dev

This is really simple code that prints the address of a variable : [code]int main() { int x; scanf("%d", &x ); printf("Address of x : %X, value : %d" ); return 0; }[/code]<< moderator edit: added [url=http://www.daniweb.com/techtalkforums/misc.php?do=bbcode#code][inlinecode][co[u][/u]de][/co[u][/u]de][/inlinecode][/url] tags >> Simple as that. But the thing is this program gives the …

Member Avatar for vicky_dev
0
301
Member Avatar for kahaj

I'm trying to write a program to simulate a tortoise & hare program. They begin at square 1 of 70. There is a clock that ticks once per second. With each tick, the program should adjust the position of the animals according to a chart I've been given to follow. …

Member Avatar for Dave Sinkula
0
232
Member Avatar for tgreer

Consider the following code snippet: [code]counter = 0; workOperations = new String [OPERATIONS.Count,2]; foreach ( System.Array o in OPERATIONS) { workOperations[counter,0] = (string) o.GetValue(0,0); workOperations[counter,1] = (string) o.GetValue(0,1); counter++; } ps.Operations = workOperations;[/code] There has got to be a better way to do this! The issue is, the [b]ps.Operations[/b] property …

Member Avatar for tgreer
0
202
Member Avatar for Robson13

I'm looking for any information how to open vaw file with java. Thanks in advance for any help.

Member Avatar for server_crash
0
137
Member Avatar for plazmo

im looking on how you can use an object in an array using a "name" instead of a number. this would be just like a DataTable where you can use the tables name instead of its position in the array. anyone have an idea how this is done? or am …

Member Avatar for plazmo
0
115
Member Avatar for scoobie

Hi, i am very new to c and was wondering if anybody can help me. i want to create an array of size 1 million bits. i heard you can use malloc or calloc. does anybody know how to do this, thanks in advanced, sc

Member Avatar for rnodal
0
348
Member Avatar for Cudmore

Hey! I'm learning C++ and pointers are pretty new to me, I can work with them a little but [I]still[/I] don't see the point to them.. ok, well, I do.. For example, passing variables byReference! But that's the only good I see comming from pointers (yup, I'm a n00b).. [B] …

Member Avatar for Cudmore
0
138

The End.