199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for juljan30

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

Member Avatar for WaltP
0
133
Member Avatar for georger55

What is the importance of a counter in a linked list? what would happen if one left the counter out of the linked list?

Member Avatar for zeroliken
0
109
Member Avatar for juljan30

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

Member Avatar for phorce
0
139
Member Avatar for jamied_uk

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 …

Member Avatar for jamied_uk
0
879
Member Avatar for amid88

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 …

Member Avatar for JamesCherrill
0
912
Member Avatar for mpyap

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 …

Member Avatar for mpyap
0
175
Member Avatar for ElaineTeo

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

Member Avatar for ElaineTeo
0
1K
Member Avatar for supreet.kaur26

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 …

Member Avatar for peter_budo
0
173
Member Avatar for gizmo7008

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 …

Member Avatar for gizmo7008
0
175
Member Avatar for juljan30

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

Member Avatar for VernonDozier
0
165
Member Avatar for london-G

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 …

Member Avatar for london-G
0
260
Member Avatar for Jack5848

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 …

Member Avatar for JamesCherrill
0
164
Member Avatar for adnan18

/** * @(#)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); } } }

Member Avatar for adnan18
0
138
Member Avatar for aneeqtariq_143

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 …

Member Avatar for pritaeas
0
115
Member Avatar for marreameathue

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 …

Member Avatar for Ancient Dragon
0
267
Member Avatar for HibaPro

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.

Member Avatar for Reverend Jim
0
185
Member Avatar for adem87

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

Member Avatar for stultuske
0
246
Member Avatar for silvercats

#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 { …

Member Avatar for silvercats
0
247
Member Avatar for juljan30

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

Member Avatar for juljan30
0
226
Member Avatar for andyhesslera

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 …

Member Avatar for cybasic
0
220
Member Avatar for benyamin.jane

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 …

Member Avatar for benyamin.jane
0
947
Member Avatar for Tajinderpal

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

Member Avatar for peter_budo
0
240
Member Avatar for adityasingh95

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

Member Avatar for rubberman
0
140
Member Avatar for rithish

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

Member Avatar for rubberman
0
116
Member Avatar for chophouse

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 …

Member Avatar for chophouse
0
2K
Member Avatar for Duki

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 …

Member Avatar for Duki
0
144
Member Avatar for rajatC

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 …

Member Avatar for joaquince
0
3K
Member Avatar for Monster99d

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.

Member Avatar for Ancient Dragon
0
93
Member Avatar for kaiwahl

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 …

Member Avatar for diafol
0
167
Member Avatar for triumphost

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 …

Member Avatar for mike_2000_17
0
146
Member Avatar for osamabin.idrees

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 …

Member Avatar for zeroliken
0
171
Member Avatar for gizmo7008

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 …

Member Avatar for gizmo7008
0
902
Member Avatar for kutchbhi

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 …

Member Avatar for diafol
0
118
Member Avatar for hanzbu
Member Avatar for Denise23

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 …

Member Avatar for ShiftLeft
0
110
Member Avatar for silvercats

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

Member Avatar for Ancient Dragon
0
342
Member Avatar for pkaramagi

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 …

Member Avatar for Schol-R-LEA
0
512
Member Avatar for mariaceline_21

<br /> <b>Notice</b>: Undefined variable: firstname in <b>C:\xampp\htdocs\dl\index.php</b> on line <b>70</b><br /

Member Avatar for diafol
0
137
Member Avatar for mahlak

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 …

Member Avatar for pritaeas
0
239
Member Avatar for sharmileekumari

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

Member Avatar for darkagn
0
219
Member Avatar for gurusubramaniam

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?

Member Avatar for cereal
0
5K
Member Avatar for HTMLperson5

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?

Member Avatar for lambing
0
164
Member Avatar for scarletfire

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 …

Member Avatar for JamesCherrill
0
426
Member Avatar for Viped

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

Member Avatar for Viped
0
161
Member Avatar for nheshen

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

Member Avatar for Schol-R-LEA
0
367
Member Avatar for cyberdaemon

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 …

Member Avatar for imless
0
111
Member Avatar for sorin.oltean87

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 …

Member Avatar for sorin.oltean87
0
2K
Member Avatar for davy_yg

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

Member Avatar for veedeoo
0
265
Member Avatar for anu013

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 …

Member Avatar for anu013
0
210
Member Avatar for JamesArhy

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 …

Member Avatar for sfuo
0
805

The End.