199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for starsunited

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

Member Avatar for starsunited
0
346
Member Avatar for Ghost

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 …

Member Avatar for paradox814
0
234
Member Avatar for Ghost

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

Member Avatar for Ghost
0
820
Member Avatar for wal99d

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

Member Avatar for wal99d
0
326
Member Avatar for server_crash

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 …

Member Avatar for server_crash
0
1K
Member Avatar for IceColdMan

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 …

Member Avatar for Phaelax
0
166
Member Avatar for Alcides

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

Member Avatar for DanceInstructor
0
234
Member Avatar for blacknight

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

Member Avatar for Comatose
0
342
Member Avatar for Secret Agent

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

Member Avatar for jpn311
0
130
Member Avatar for Yaz

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 …

Member Avatar for jpn311
0
125
Member Avatar for bluegoo06

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 …

Member Avatar for Dave Sinkula
0
175
Member Avatar for dsgnews

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

Member Avatar for demo
0
147
Member Avatar for thlegendkiller

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 …

Member Avatar for Narue
0
345
Member Avatar for stupidenator

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 …

Member Avatar for stupidenator
0
156
Member Avatar for smgtreker

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 …

Member Avatar for rcmetta
0
108
Member Avatar for Harvester

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 …

Member Avatar for Harvester
0
153
Member Avatar for mojtabamaster

hello I want to open a html or jsp page with a jsp command please help me thank you :?:

Member Avatar for paradox814
0
185
Member Avatar for mav2040

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 …

Member Avatar for paradox814
0
191
Member Avatar for JGee

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

Member Avatar for dakkar
0
199
Member Avatar for Fasola

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 …

Member Avatar for Fasola
0
194
Member Avatar for bob901

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

Member Avatar for bob901
0
317
Member Avatar for nabil1983

Does ne one know how to answer this question? Discuss the truth or otherwise of the statement “Recursion and loops are the same thing".

Member Avatar for paradox814
0
285
Member Avatar for Phaelax
Member Avatar for dakkar
0
144
Member Avatar for phani.n

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.

Member Avatar for dakkar
0
151
Member Avatar for winbatch

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

Member Avatar for Narue
0
302
Member Avatar for Fasola

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?

Member Avatar for Narue
0
218
Member Avatar for johnson9000

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

Member Avatar for johnson9000
0
165
Member Avatar for ikanku15

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

Member Avatar for Narue
0
226
Member Avatar for sooim3

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 …

Member Avatar for manou
0
854
Member Avatar for feda

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

Member Avatar for feda
0
75
Member Avatar for wal99d

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

Member Avatar for wal99d
0
249
Member Avatar for Acidburn

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 …

Member Avatar for prog-bman
0
136
Member Avatar for falaky

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

Member Avatar for jwenting
0
232
Member Avatar for nabil1983

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.

Member Avatar for jwenting
0
157
Member Avatar for MrNiceGuy82

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 …

Member Avatar for Narue
0
125
Member Avatar for sara

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?

Member Avatar for sara
0
185
Member Avatar for phantomlady

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 …

Member Avatar for phantomlady
0
146
Member Avatar for jmozzie

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 …

Member Avatar for jmozzie
0
178
Member Avatar for wsn

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 …

Member Avatar for wsn
0
132
Member Avatar for haskari
Member Avatar for jhdobbins

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 …

Member Avatar for jhdobbins
0
103
Member Avatar for haskari

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.

Member Avatar for Narue
0
112
Member Avatar for mb1

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 …

Member Avatar for Narue
0
100
Member Avatar for ultimate_fusion

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

Member Avatar for server_crash
0
605
Member Avatar for Auto

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(); …

Member Avatar for Auto
0
149
Member Avatar for Tyreses

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 …

Member Avatar for Tyreses
0
230
Member Avatar for atrixnet

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 …

Member Avatar for Narue
0
619
Member Avatar for pink

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

Member Avatar for peter_budo
0
90
Member Avatar for manucherian3031

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 …

Member Avatar for tgreer
0
114
Member Avatar for OverDoser

Hey is this field a good field to study in college if you want to learn programming and all of that happy stuff?

Member Avatar for OverDoser
0
139

The End.