199,114 Archived Topics
Remove Filter ![]() | |
I have this function whereby it allows people to download zip file but then i try to open it after downloading it, there was this error msg that says "Error reading zip". | |
Hi Everybody, I was wondering if there was a way to take a string in a java project and put it in the username field (like the field on [url]http://www.inquiryBio.com/WEBPROTECT-job.htm[/url] ) of another program. I think you may have to access another class somewhere else.Just so you know... I'm doing … | |
Hi, I was wondering if there is a way to control hardware in C++, such as opening and closing a CD drive. Thanks in advanced, C++ | |
[B][code] #include <stdio.h> #include <math.h> int main() { double op1,op2; char opp; char *res= "2 ^ 1"; sscanf(res,"%d %c %d",&op1,&opp,&op2); printf("%d\n",op1); printf("%c\n",opp); printf("%d\n",op2); printf("====\n"); printf("%d\n",pow(op1,op2)); /* the output is for sure 2 */ } [/code][/B] [COLOR=Blue][B]but it output : 1073741824 <-- ??? I don't know what here so please any … | |
This is kind of a weird senario. This question was at the java state championship I was at a few weeks ago. Here was the question: Which type of class cannot be instantiated: abstract static (choices I can't remember..they were wrong) Would both abstract and static be correct answers? I've … | |
Hi I am new here as you can see, well I want to learn PHP, and I don't know where to start. What I want to do is make a game like [url]http://www.racewarkingdoms.com[/url], and you have probable heard of it before, Outwar. If you could point me in the right … | |
I've been having trouble using XHTML as the main DTD and adding my own as a secondary. I've googled and find plenty of discussions or articles about XML or XHTML, but I can't seem to find what I'm looking for. does anyone know how to do this? Thanks in advance. … | |
i am writing an app. for my company that hast to edit regitry entrys on pc in our network. any idea how i can solfe this problem?? | |
This is my form script which has one simple problem that I do not know how to fix. If the name/email fields are left empty, it confirms this in a pop-up, but still proceeds to submit the form as is anyway. How do I fix this? [code] <form name="TheForm" method="POST" … | |
Hello everybody, I'm new to the site and just as new to dhtml, so please be patient with me. Here's my dilemma: I'm trying to change my existing nav bars (in FrontPage 5.0), to slide-out nav bars; however, I'm lost as to where to insert the dhtml code that I've … | |
I got most of this too work, i talked to my teacher and he gave me some hints but i cannot get it full. The idea is to get the program to count specifically how many "a"'s there continueing through all the 26 letters. I cannot figure out exactly out … | |
Please, please, help me out in rewriting my sub-query to some kind of JOIN for earlier MySQL version: The query should retrive any availble rooms from the database MY ATTEMPTED SUB-QUERY: Select * From Room R Where R.room_no NOT IN( Select B.room_no From R.room_no = B.room_no And R.room_type = ‘single’ … | |
a program that will display teh string "HELLOWORLD" in ascending style [code] #include<stdio.h> #include <conio.h> void main() char str[]="HELLOWORLD" int i. choice; while(1) { clrscr(); printf("(1) Ascending style\n"); printf("(2) Exit\n"); printf("enter your choice:"); scanf("%d", &choice); printf("\n\n"); switch(choice) { case 1: [B]for (i=0; str[i]!='\0';i++) //--> Please!!! this is where i need … | |
I just have a quick, dumb question about interfaces... What are they? I mean my teacher has been trying to explain them and I didn't pick up on that and then I read about them in a Java book and on the internet, but it's still just not clicking. I … | |
Hi, I was wondering if there is a way of stoping the automatic code generation for form controls. I want to stop .NET creating the Text property (and only this property) for the "initializecontrol" function, so that I can do it myself later on in the initialization(the values will be … | |
So there are test results in a txt file. (In this format: student id (int), First Name (String), Last Name (String), points (double). One student/line). I need to make an ArrayList<Student> using the txt file (Student has a student id, first name etc.), . I know how to read the … | |
hello I want to open a html or jsp page with a jsp command please help me thank you :?: | |
Hey people, first I would like to say hi to you all. :-| You see I'm a beginer is the computer industry, I'm still in college right now. And I really love to learn more. Could you pleas give me some links where I can find free tutorials and free … | |
I am new to programming and I kind have got myself into a bet with a mate that i can create a basic program in three weeks. The program needs to be able to show a missile launching from country to country and exploding. It needs to miss about 40% … | |
Right now I'm reading up on the chapter "File Processing" to help me quench my thirst for putting C++ to USE in the real world. Seems to be the most powerful subject so far. Can you please clarify the difference between Sequential Access Files and Random Access Files? What are … | |
hey all :) i locked some files using win rar and cant remember the pass lol, so heres my qu, can you make a password cracker in java for it, if so can someone tell me how stpe by step :). | |
Does ne one know how to answer this question? Discuss the truth or otherwise of the statement “Recursion and loops are the same thing". | |
Does anyone know of a Highlighter class I can use with JTextArea for HTML code? | |
wat exactly servlets are? how r they used in java? wat r the real benefits by using java servlets? give a detailed theory and example for servlets in simpler words. | |
Hi, I'm trying to write code such that my class can be used like so: To accomplish this, I'm trying to overload the + operator of my class to return a string. I am able to do this, but when I try and do the operation above, I get: Error: … | |
I can't figure out how to write a program that will work over a network of computers? How do you get a program on one computer to carry out instructions that will affect a program on another computer or computers? Does anybody have any ideas? | |
I am trying to push a pointer into a vector, but my compiler gives me the error: request for member 'Add_Object' in theContainer, which is of non-agregate type 'Container(X)' Please tell me what I am doing wrong. Here is my code: [CODE] #include <vector.h> #include <iostream> class Object { private: … | |
my programme has the strcmp. but i dont understand what it is use for. while((strcmp(current->bed_num,beddelete))!=0) bed_num and beddelete i have declared as an integer variables. when i run the programme, it stated that invalid conversation from 'int' to 'const char*' what does it mean?? thank you | |
Hello, I've been trying to find something about why window.opener doesn't work for IE (I'm using 6.0) when I use the window.opener in a separate JavaScript file. It works without any problem when I use Mozilla/Netscape, but not for IE. The implementations I've seen in my searching for an answer … | |
please ,if one can help how to implement caht application using socket in c/unix or help me with example code of that with my thankssssssssssssss feda | |
[COLOR=Blue][B]Is the following code correct:[/B][/COLOR] [CODE] char * cmd="ls -l"; /* Unix command used for listing */ char * spCmd; spCmd = strtok(cmd , " ");/* it divides the cmd in to tokens */ execvp(spCmd[0] , spCmd);[/CODE] [COLOR=Blue][B]output of this code to execute command that is written in cmd ?[/B][/COLOR] … | |
Hello, I recently programed a hangman game, However it as flaws with are buggin me! Basically you sak the user for a guess, then the outcome is displayed... then I've cleared the screen and redraw / reload it. This wouldnt be done in the real world since rendering would take … | |
[B]hi alll am a new member of this this amazing community and feel good to be part of it.i required help regarding simulation of multilevel feedback queue.i have checked many samples of scheduling but couldnt got right...so can any body help me?? code of this simulation should be in c/c++ … | |
Can someone explain this sort algorithm to me and how i can make a more efficient version, justifying the changes. for (int p = 0; p<n-1; p++) for (int counter = 0;counter < n-1; counter++) if (a[counter]> a[counter+1]) swap(a, counter, counter+1); Apreciate all help. | |
Im having trouble with the Running product in my C++ program. Where is the question: > 2. Write a program that repeatedly reads in integer values until a value less than or equal to zero is entered. For each value, it should print the product of the numbers from 1 … | |
Hi.. anyone outthere have sample coding leave application. This application will calculate how many days u take leave not including public holidays. Please help me? | |
Hi, newbie question, Im trying to get a thumbnail picture on a html page to open a seperate (sized browser window (about 300/300 or so)-view Large version of the thumbnail. I'd like to specify a background image (if possible), but just trying to get an image to open first of … | |
I have until Monday at 3:00 pm to get this chat client working. I have been at this for 2 weeks, now. I have finally given in to asking for help. I'm trying to convert the following specs into code: 1. In the launchFrame method, you need to make the … | |
hello everyone, I'm writing a function traverse for a doubly liked list, I can only use these private members: Node *current , int count, int mutable current_position and one one private member function void set_position(int position) const The post condition of member function traverse is the action specified by function … | |
Just curious how you feel about a few things... First, how do you feel about operator overloading? Our next project "can" involve it if we chose and I think it would be easier that way, but the TA's said some people think its a bad idea. I was just trying … | |
plz anyone urgently send me the coding of graph create of trig nometric functions in c language.i have to summit my project with in 18 hours from now on .sos. | |
I have to write a function that reads a string and outputs only the consonants. example: string: adadad output: ddd I wrote a program without the function and it works. Now I'm trying to change the program to use the function. As of now my only error is: error writing … | |
I have to read a file in format char, int string. I can easily do it in the form - int int, string e.g. 12 34 the cat sat on the mat(which is what I want to process and output) code below. [code] tokenType = inputStream.nextToken(); while (tokenType != StreamTokenizer.TT_EOF) … | |
Can the [I]main() [/I] call be embedded within a class? At work yesterday I caught a snippet somewhere, and I noticed [I]main()[/I] was inside a class, something like the following: [code] [B]class[/B] personnel { [B]void[/B] in_prev_data(); [B]void[/B] in_new_data(); [B]int[/B] main( [B]int[/B] argc, [B]const char[/B] **argv ); [B]void[/B] process_data(); [B]void[/B] pack_data(); … | |
Hello, i'm just starting to learn the very basic's of c++ but what i need is either a link or someone with alot of patience for c++ sockets, i'm planning on making a direct connection message encrypted chat program, but i can't find any eliable easy to use sites for … | |
When trying to compile a C program including the code below, I keep getting this error and I don't know what to do to fix it. Please explain if you can! Complete code may be downloaded from my website at [url]www.atrixnet.com/cquestion.zip[/url] (It's only 2 Kb) I suppose I'll attach it … | |
:sad: There is a programming question. This is searching program. there is a string array. In this string array ther is a sentence. I get a word from the user . When the user's word is match with the sentence that is in the string , a message will appear … | |
PLEASE HELP ME I WANT TO KNOW HOW TO CALL A DOMAIN NAME FROM ANOTHER DOMAIN NAME ie)if suppose i had a url [url]www.john.com[/url] its has database if i had create a website for all members and it was store in john databse eg www.a2.com(member of john.com) if any person … | |
Hey is this field a good field to study in college if you want to learn programming and all of that happy stuff? |
The End.