199,114 Archived Topics
Remove Filter ![]() | |
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 … | |
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? | |
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 | |
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 … | |
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 … | |
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] … | |
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 … | |
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 … | |
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 … | |
how do u write cin.get in c language and how to open and close files in c languauge | |
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 … | |
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 … | |
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 | |
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 … | |
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 … | |
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 … | |
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 … | |
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& … | |
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 … | |
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; … | |
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 … | |
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; … | |
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 … | |
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 … | |
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 … | |
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. … | |
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; … | |
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 … | |
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 … | |
#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 … | |
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 | |
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> … | |
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, … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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. … | |
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 … | |
I'm looking for any information how to open vaw file with java. Thanks in advance for any help. | |
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 … | |
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 | |
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] … |
The End.