199,114 Archived Topics
Remove Filter ![]() | |
im not god in programing im stil new to it need help please find the MAX and MIN number then calculate and display the average [(MAX+MIN)/2] #include<stdio.h> int main(void) int NumArray[] = {2 ,67 ,23 ,5 ,7 ,34 ,14 ,4 ,8 , 62}; int max, min, i; double b; max=numArray[i] … | |
What is the importance of a counter in a linked list? what would happen if one left the counter out of the linked list? | |
help please ^^ create another array, call it ArrayNum, then store the value of NumArray in reverse order. display the value in ArrayNum. #include <stdio.h> int main(void) { int numArrays[] = {2, 67, 23, 5, 7, 34, 14, 4, 8, 62}; int ArrayNum[10]; int a; for(a=o; a<10; a++) { ArrayNum[a]=numArray[9]; … | |
i have a forum for uploading pics or other files to a root folder but its not working online on my hosted domain at jnetscripts.com it sais its working but no file is there, i chmod the folder root to allow writing and still does not work is there a … | |
hey all i have a table in my project which called tasktable it retrives data from database (oracle) how can i change the color of the row that has the color in the cell ex. (i,8) Automatically when i click in refresh butomn i have tried so many times to … | |
I'm working on a problem to balance a checkbook. I've been struggling with it so I split it up into its components. I first made an array to store withdrawals. When I ran this program, everything ran fine. Now I'm trying to create a second array to store deposits. I … | |
<form enctype="multipart/form-data" action="upload_file.php" method="POST"> <input type="hidden" name="MAX_FILE_SIZE" value="100000" /> Choose a file to upload: <input name="uploadedfile" type="file" /><br /> <input type="submit" name="submit" value="Upload File" /> </form> <?php // Where the file is going to be placed $target_path = "uploads/"; /* Add the original filename to our target path. Result is … | |
hii..i am new to android..i am developing an android application on platform 2.1.. There are two textbox: one for Name and other for entering job.I want the values should be taken from the 2 textboxes editText1 and editText2 and inserted in my database whenever a user clicks the button.Please help … | |
I started this code, and it does encode the text, however it only does the first line of text and repeats it. It is also encoding spaces. #include <fstream> #include <iostream> #include <string> using namespace std; int main() { ifstream fin; string fileName; cout << "What file do you want … | |
int NumArray[]="2 ,67 ,23 ,5 ,7 ,34 ,14 ,4 ,8 , 62"; A. display all the value of NumArray with an ODD index B. display all the value in NumArray that are ODD C. calculate and display the average of all EVEN values D. create another array, call it ArrayNum, … | |
Hello, I have a JList which contains all data from mySQL table. I want the user to be able to select an item from the list and show it on the label. When I click on the first item it works, However when I click on the other items, the … | |
so basically for my uni work i have to create an applet that gives a word pattern for a particular sentence, ie '1 am a man' would give 2, 1, 1, because there are 2 1 letter words, 1 2 letter word and 1 3 letter word. the harder part … | |
/** * @(#)password.java * * * @author * @version 1.00 2012/7/14 */ import javax.swing.JOptionPane; import javax.swing.*; import java.util.*; public class password { public static void main (String[] args) { String user; user=JOptionPane.showInputDialog("enter password to continue(letter only)"); if(user.compareTo("adnan")) { JOptionPane.showMessageDialog(null,"ACCES GRANTED","welcome", JOptionPane.INFORMATION_MESSAGE); } else { JOptionPane.showMessageDialog(null,"ACCES DENIED","error", JOptionPane.ERROR_MESSAGE); } } } | |
i have a little problem in my website, i dont know where is the problem. i am create link of other website in my website by using this code $output .= "<b>Website: </b><a href='".$row["website"]."' target='_blank'>".$row["website"]."</a><br>"; but when i click on a website it does not open website. when i check … | |
help i'm rather new at this but have some understanding but am having some probs with 1>c:\users\kysinden\documents\visual studio 2008\projects\real\real\test.cpp(19) : error C2660: 'atotal' : function does not take 1 arguments 1>c:\users\kysinden\documents\visual studio 2008\projects\real\real\test.cpp(21) : error C2061: syntax error : identifier 'a' 1>c:\users\kysinden\documents\visual studio 2008\projects\real\real\test.cpp(23) : error C2660: 'atotal' : function … | |
hi every body , i recently finished my first project, what i need is how to make my project execute without visual studio , and also connected with the project database , i need the correct steps , thanx before. | |
hello ı want to develop some code in java but ı coudnt find the java programmer on internet please give me url or adres for downloandind java developer | |
#include <iostream> using namespace std; int answer(int x,int y); //function proto int mutab[10][12]; //two dimentional array declaration int main() { for (int i=0;i<1;i++) //this will fill 1-10 of the multiplication table { for (int h=0;h<10;h++) { mutab[h][i]=h+1; } } for (int i=0;i<10;i++) //this will fill 1x1,1x2,1x3 etc.. to ......10x11,10x12 { … | |
whats wrong with this one? i am trying to display the values in an odd index can any one help? int main() { int numArrays[] = {"2 ,67 ,23 ,5 ,7 ,34 ,14 ,4 ,8 , 62"}; int i; printf("A. Values of NumArray with Odd Index: \n"); for(i=0;i<=10; i++) { … | |
Hi, I’m making an online database (with some help). What I’m having trouble figuring out is how it might be possible to sell ‘records’…or rather the ability to add records. I would sell access to the database based on the number of records a user buys. Once you buy a … | |
HI i have a file named SharedCount.hxx. i this file i have a class that ovveride operator new. problem with this is when i want to use this class compiler generate this error error C2059: syntax error : 'constant' and error line point to operator new overloading. exactly this file … | |
Hi I have java Enabled Nokia X2-01 I have made a game in java which is a executable jar file now i want to run it in my java enabled mobile phone.Please help | |
i wrote this program as an answer to a question given in my book but the output always displays incorrectly #include <iostream.h> #include <conio.h> #include <string.h> #include <stdio.h> class Clothing { //private data members char Code[5]; char Type[20]; int Size; char Material[20]; float Price; public: //constructor Clothing() { strcpy(Code,"NOT ASSIGNED"); … | |
i would like to start data structures in c langauage.but i dont know even what is data structure and 0% about data structure.can u suggest me some books for data structure in c????? | |
I'm getting an error/crash when trying to use Python on my virtual server running Win 2008 Server. Python installed without incident, and IDLE opens and the interactive widnow works fine. But when I try to open a new window and run it it crshes when trying to save. Example: I … | |
Hey everyone, I'm having some problems with my code and was hoping someone could give me a hand. Here's the snippet I'm working with: [Authorize] public ActionResult EventResults(int id) { List<Event> CompetitionEvents = Event.getEventsByCompetitionId(id); ViewBag.CompetitionEvents = CompetitionEvents; List<Person> Competitors = Competition.getCompetitorsByCompetitionID(id); ViewBag.Competitors = Competitors; List<Results> Results = Competition.getCompetitorResultsPairings(CompetitionEvents, Competitors); ViewBag.Results … | |
Well i use Dev-c++ 4.9.9.2 for programming..i m using it from last two years...recently i learned java and saw that all java programs are run through command prompt. I tried tha same in c++. i saved my program in dev-cpp/bin .but i am not able to do this..what is the … | |
Is there anyway I can make my static text appear with a delay? For example: Hello (Wait 1/5 of a second) How are you? etc... Any help would be greatly appreciated. | |
I have a problem in a payment solution I have made. In this, I use ereg to extract a returned Transaction ID from the payment provider, and with PHP 5.3 this does not work anymore. The code used was: ereg('<TransactionId>(.+)</TransactionId>',$resultat_3,$c); I have tried to use this instead: (but it doesn't … ![]() | |
How can I get camera view and Triangle count of models in OpenGL? I know it's a vague question but I'm just starting opengl and none of the tutorials explain how to get the current camera view. I hooked all OpenGL calls for a game and figured out how to … | |
HI everybody, i recently start learning java as my oop language, beside this i have also made up my mind for web development, but i am confused that whether after learning java i should go for web ( html,css,jscript,php,mysql) for choosing it as my carrer or i should learn new … | |
I have it all written, and it works. However, I have to enter a value and it brings the prompt up again. When I enter the value in the second time, it plays the game. I always have to enter the value twice to get it to work. I'm not … | |
I have only coded 2 sites till now, first one in plain php (wall of php intermingled with js, html , super messy) and the other in codeigniter(much better as far as separating display with logic is concerned) now I have to code a website for a friend (designer). The … ![]() | |
Can someone tell me what I am doing wrong in this program? Write, assemble, and test a program to input 3 signed values (a, b, and c, in that order) and to calculate and display the signed value of the expression b + 2(3a - 4c) + 5. "call getVal … | |
Is that possible to decompile a C++(or Java) "exe" file enough to read a TEXT password,stored in the source? .......just a regular string or char. no encryption or stuff | |
i am trying to make a program that converts a Call Data Record(CDR) to a CSV in java..the problem is that am i can not figure out what notation the CDR is written in here is just part of the CDR...appreciate any EricssonGGSN2009Bber.GPRSRecord.egsnPDPRecord { recordType : 'egsn3344(70)' servedIMSI : '460101434431F7'H … | |
<br /> <b>Notice</b>: Undefined variable: firstname in <b>C:\xampp\htdocs\dl\index.php</b> on line <b>70</b><br / ![]() | |
Hi I am using PHP to develop a web application. I want to send a mail report automatically from the server, without any user interaction. I tried in cron but not properly worked in my application. Is there any other way to send aoutomatic mail from server. Any one can … | |
My requiremet is to abort the thread when the code takes more than 3 seconds to excecute. I am following the below method. public static void Main(string[] args) { if (RunWithTimeout(LongRunningOperation, TimeSpan.FromMilliseconds(3000))) { Console.WriteLine("Worker thread finished."); } else { Console.WriteLine("Worker thread was aborted."); } } public static bool RunWithTimeout(ThreadStart threadStart, … | |
Hi... I want to send a mail automatically using cron job. Till i searched about that, there is only how to set the time and path of the file in cron folder. But i want to know about how it will run? | |
![]() | Whats wrong with this code? I have not any errors from ie. <html> <script type="text/javascript"> var a = 1; var b = 2; if (a < b) { document.write("CONDITION TRUE :D") } else { document.write("CONDITION IS FALSE D:") </script> So? |
As a practical joke for your birthday, your best friend gave you some single-dimensioned arrays, each full of boolean values. She didn’t tell you how many items are stored in these arrays. As if that weren't bad enough, your friend told you that each array is filled almost entirely with … | |
Hi, my codes if statement returns false for some reason. I tried different variation yesterday and today morning and nothing works. Could someone look my code. I got File file users.txt where the usernames are stored. public static void checkUser(String userName, char[] passWord) { FileInputStream fIn; DataInputStream dInput = null; … | |
Eliza is a famous 1966 computer program written by Joseph Weizenbaum. It imitates a psychologist (more specifically, a Rogerian therapist) by rephrasing many of a patient's statements as questions and posing them to the patient. This type of therapy (sometimes called nondirectional) is often parodied in movies and television shows, … | |
Good day.. i was stuck a moment realizing what went wrong to my project. I'm currently developing a enrollment system. I have 3 tables in my DB namely course_code,curriculum and pre_requisite tables. on the course_code table i have fields course_code(PK),course_desc. on the curriculum table i have but in this table … | |
Hi, We have a file (e.g. a .csv file, but could be any other format), with 2 columns: the old value and the new value. We need to modify all the files within the current directory (including subdirectories), so find and replace the contents found in the first column within … | |
I would like to write new books in books.xml then print them on the screen. I already successfully able to write the new book to books.xml yet, unable to print them on the screen. Why is it ? <?php // Tambahkan buku baru dengan menggunakan DOM $dom = new DomDocument(); … | |
Hello All, I want to make a computer storage (online) Web Application PHP/MySQL... I mean where we can keep all the data of computer and all its configuration, upgradation, problem occured, solved problems and alerts for warranty expires.. Can any one give me the example link where i can gain … | |
Hey Guys, I'm building an asteroids-like game and I'm needing to be able to apply the same operation too all of the different "aliens" on the screen. When I had two aliens on the screen I performed all of the functions manually but that is bad program design. I created … |
The End.