199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for klimburt

does somone knows how to creatye a program that well accept five members and display the lowest number

Member Avatar for lokeshg
0
302
Member Avatar for ammwebmaster2

I have been trying to get javascript to work for this but no luck. What I am needing is: I have a drop down box for a person to select COUNTRY either US or Canadian. If it is US then I need a zip code box to display and validate …

Member Avatar for ammwebmaster2
0
193
Member Avatar for alexander1s

the program should have a getData function that accepts the total rainfall for each of the 12 months from the user, and stores it in a double array. It should also have four value-returning functions that compute and return to main the totalRainfall, averageRainfall, driestMonth, and wettestMonth. The last two …

Member Avatar for VernonDozier
0
140
Member Avatar for debasishgang7

Hi All, I want to create a pattern like this using python.. [CODE]Aa0Aa1Aa2Aa3Aa4Aa5......Ab0Ab1Ab2.........and so on.[/CODE] Thanks...

Member Avatar for debasishgang7
0
261
Member Avatar for violette

I need to insert data from cell 'B1' into a column that has 500 rows. how to make the data repeated on every row using macro VBA?i want to make it copy to multiple sheets? below is my code: [CODE]Sub Copy() Dim wbkFirst As Workbook Dim wbkSecond As Workbook Dim …

Member Avatar for violette
0
147
Member Avatar for mayreeh

i nid to set a generated password to email, a link to the mail for user to change to a better password, now the generated password shold expire after few hours how do i do...at the moment am genearting the password effectivly, problem is settimng it expire...how do i do

Member Avatar for mayreeh
0
72
Member Avatar for Pravinrasal

can anyone please help me I dont have knowledge of jquery I want ti design calculator in jquery

Member Avatar for Airshow
0
282
Member Avatar for Zouk

Hi, I'm a senior andoroid developer. I'm writing business and mini apps for the market. I would like to expand the platforms as soon as possible. Therefore I'm looking for cross platform mobile development framework, primarily for business apps. I've tried one, but I wasn't satisfied with it. Can you …

Member Avatar for mwolke
0
134
Member Avatar for Szabi Zsoldos

Hello, I have this weird issue with my simple upload form for different files. [CODE] <form enctype="multipart/form-data" action="mesaje_furnizori.php" method="GET"> <table> <tr><td align="right">Va rugam selectati &raquo; </td><td><?php echo $selectare; ?></td></tr> <tr><td align="right"><td><input type="file" name="file" id="file"/></td></tr> <tr><td align="right" colspan="2">Fisiere suportate (.*gif,*.jpg,.*jpeg,.*png,.*bmp,.*doc,.*docx,.*xls,.*xlsx) Marimea maxima de: <strong>5MB</strong></td></tr> <tr><td colspan="2"><textarea name="mesajTrimis" cols="70" rows="15"></textarea></td></tr> </table> <input …

Member Avatar for Stefano Mtangoo
0
202
Member Avatar for borchu

Hello everyone, I am trying to manipulate "DYNAMIC ARRAY" Structures however I've been faced with problems wanting adding new value. Here my code:: -I use CodeBlocks and gnu gcc compiler ^ also I checked it on linux machine. [CODE] #include <iostream> using namespace std; #include "Deneme.h" Deneme::Deneme() { countReg = …

Member Avatar for borchu
0
276
Member Avatar for klemme

Is it possible to run to functions at the same time when using onchange? Now i have this one: [CODE] <select name="hovedside_id" onchange="hentPosition(this.value)"> [/CODE] Using ajax i get updated another dropdown list with db info from this function just above. I return the data to a span tag with an …

Member Avatar for klemme
0
587
Member Avatar for th3b3n

Hi every one, new poster here and new to Java as well. I'm working on a java program that will reads an excel file extracts the data and prints it to console. I've gotten that part to work in the below code, however I'm starting the next phase of the …

Member Avatar for th3b3n
0
183
Member Avatar for moshe12007

hello i have problem with my code i try to delete user but i have some problem with that i cant to delete it... [CODE] if((mysql_num_rows($resultAdmin))) { if(mysql_num_rows($result) > 0) { ?> <table align="left" border="2" cellspacing="0" cellpadding="3"> <tr><td>Name</td><td>Email</td><td>Phone</td></tr> <?php $str = ""; while ($row = mysql_fetch_array($result, MYSQL_ASSOC)) { $name = …

Member Avatar for vimalnath53
0
87
Member Avatar for softDeveloper

Hi All! I'm doing a web application (jsp) where I have several texts displayed and highlights the text rolling mouse over it. I would like to pass an entire text as an applet parameter, so that the the text can be seen in a text pane/editor. At the moment I …

Member Avatar for softDeveloper
0
153
Member Avatar for Vasthor

what I mean is from this code, when coder doesn't put any curly bracket({,}), what does the while loop scope will cover? already test with random bracket put on the code, but, the only "brackected code" that work the same as the original code is when I put around words.push_back(word); …

Member Avatar for Vasthor
0
164
Member Avatar for Tortura

Hey, I created a form with many controls. It's a GUI for a measurement program. Therefore some controls must be disabled and some enabled. When the START button is pressed, every control should be disabled except the ABORT button. It works with following code: [CODE] // Disable each control in …

Member Avatar for Tortura
0
175
Member Avatar for bhagawatshinde

Hi, Can anybody help me, I have an tabcontrol which has dynamically added the tabpages now i want to add datagridview controls in each tab pages how i can do this.I am written the code like[CODE] For i = TabControl1.TabPages.Count - 1 To 0 Step -1 Dim dtg As New …

Member Avatar for bhagawatshinde
0
338
Member Avatar for apines

Hello, I am designing for work a testing environment which uses run-time randomly generated data to test our company's product. The problem is as follows: I have an inequality of the sort of x(1+y(1+z(1+p+q))) <= MAX, when x,y,z,p,q,MAX are integers, MAX is given as a method parameter and the method …

Member Avatar for amit28it
0
500
Member Avatar for murnesty

I'm using ARM nxp lpc2368. When I tried to add a assembly code in startup file. It show me a compilation error "invalid constant (e002c00c) after fixup". where the code is [CODE] mov r2, #0xE002C00C //address of PINSEL3 : 0xE002C00C[/CODE] when I refer to this link [url]http://www.ee.ic.ac.uk/pcheung/teaching/ee2_computing/arm/Refcard.pdf[/url] It said in …

Member Avatar for murnesty
0
669
Member Avatar for nav07

cmd = new OleDbCommand("select Convert(varchar(50),Fault_Time),[Level],[Trouble_Source],[Solution],[Ticket_Status],[Close_Date],convert(varchar,Close_Time),[Actual_Cause],[Solution],[Description] from [TT_Record$]", conn); its showing error at runtime :- Undefined function 'Convert' in expression pls suggest........

Member Avatar for nav07
0
3K
Member Avatar for Stefano Mtangoo

Hi, I want to parse PHP entities (classes, variables functions methods and properties) and save information on database (function signature, variable name et al). I'm trying to see alternatives for how I can archieve that with any language (the technique). So far I'm thinking of using regex to match stuffs …

Member Avatar for Stefano Mtangoo
0
194
Member Avatar for davy_yg

banner_manager.php [CODE] include ("includes/koneksi.php"); //$_REQUEST['simpan'] = isset($_POST['simpan']) ? $_POST['simpan'] : ''; $link = isset($_POST['link']) ? $_POST['link'] : ''; $gambar = isset($_POST['gambar']) ? $_POST['gambar'] : ''; $id = isset($_POST['id']) ? $_POST['id'] : ''; //SIMPAN DATA if (isset($_REQUEST['simpan'])){ $id = $_REQUEST['id']; $link = mysql_real_escape_string($_REQUEST['link']); $gambar = $_REQUEST['gambar']; } //Cek apakah ada file …

Member Avatar for Stefano Mtangoo
0
310
Member Avatar for strongpot

Hello, I have a script that among other things, creates a table with a variable being the table name. This worked fine when i was using the variable "$name". Since then I've realized that i need the table name to be "$merchid" (primary key from previous table. I've used "$newid …

Member Avatar for smantscheff
0
246
Member Avatar for happikoto

Though I would be able to figure this out but for some reason my if statements are just not working. What I'm trying to do is date validation. I call this function passing in day, month, year. The issue I'm having the the if statement. I can't seem to get …

Member Avatar for WaltP
0
199
Member Avatar for anand01

Hi all when i run the following code [CODE]TreeSet<Integer> s = new TreeSet<Integer>(); TreeSet<Integer> subs = new TreeSet<Integer>(); for(int i = 606; i < 613; i++) if(i%2 == 0) s.add(i); subs = (TreeSet)s.subSet(606,true, 630,true); s.add(629); s.add(630); System.out.println(s + " " + subs); [/CODE] the O/P is [606, 608, 610, 612, …

Member Avatar for anand01
0
131
Member Avatar for riya_developer

Hello, I have two databases in MySql... Master database and child database.. In master database there are two tables...Accountant(Having Primary Key AccountID) and Client(Having Primary Key ClientID)... Now for each client master database remains same and child database is created for each client... In child database,there are several tables related …

Member Avatar for urtrivedi
0
244
Member Avatar for usdblades

[code=python]import random secret = random.randint(1,99) guess = 0 tries = 0 print "AHOUY! I'm the Dread Pirate Roberts, and I have a secret!" print "It is a number from 1 to 99. I'll give you 6 tries. " while guess != secret and tries < 6: guess = input("What's yer …

Member Avatar for Gribouillis
0
263
Member Avatar for jefgreen

[CODE] #include <cstdlib> #include <iostream> #include <string> using namespace std; bool checkleap(int year); int main(int argc, char *argv[]) {string s1; int year,month,day,inbetween,dayspassed; char dash1,dash2; s1="Today is day number: "; bool leapcheck; leapcheck=checkleap(year); cout<<"Enter a date, in the form of MM-DD-YYYY: "<<endl; cin>>month>>dash1>>day>>dash2>>year; switch (month) {case 1: 31-day=inbetween; [COLOR="green"]//Line 19[/COLOR] 31-inbetween=dayspassed; …

Member Avatar for mzimmers
0
182
Member Avatar for swilliamrobert

Hi, I have a problem to split and get the value in string. here example output --_BeginData_ payeeId=xxxx channelId=ECEP billAccountNo=exb111109-315262 billReferenceNo=TOPUP20111109200257 amount=42 paymentRefNo=61417686 transactionDate=20111109 transactionTime=194843 userFullName=KHOR JO FENG status=S --_EndData_ In above example, i need output for payeeId=xxxx, billAccountNo=exb111109-315262, billReferenceNo=TOPUP20111109200257 and etc., so i want value after the equal. It …

Member Avatar for diafol
0
187
Member Avatar for simplyhuman
Member Avatar for Stefano Mtangoo
0
101
Member Avatar for UNDER-18 FG

Hey, everyone~ Being the second time posting here, I'll try to make it simple but clearly as possible :) So, my assignment this time is about writing a C program to print the following star patterns: [CODE] * * * * * * * * * *[/CODE] So, here is …

Member Avatar for YAMNA MIDHAT
0
284
Member Avatar for pxndx

Hey guys, Well I had a few questions, so I have an employee Database with id,fname,lname,dep and I wasn't sure if I should do and Employee class whit constructor and what not, and make the class read the information form the Database and then create and ArrayList<employee> and fill it …

Member Avatar for Paul Norris
0
180
Member Avatar for Clawsy

I want to use jw player on my site but when i start it with F5 with visual studio, i can see the page but the player is a WHITE BOX and if i right-click it it says Movie not loaded. I checked all paths, and i also use Firebug …

Member Avatar for amit28it
0
240
Member Avatar for trektrak

Hello, I need help on this... I try to insert image from mysql into my php table.... but the output inside the image table are unknown characters [CODE]�Sm��.�l1�ZQm�M�Խok�*����5l��0P9���f�����I� �$A�3tu4Z��Jǽ�_t/�&��[�{Ro������;�� �:��I%�y�ҩ?u\�t_��Ǡ]�����N�>�B��z�9���ҥ��=hƬկdw��~��hY4�E����f%����MC�� 1���I�P@zP&r����j���֩��k޺8�a�p��bSMyt���Co�Q$��?�ZF*�S�9����حR����������x�h�9$�J \�m,[�6�^C��ct�q�U%��K$%�8����4����le�niX���\B �!s9n�;�1��F~t�䎪:�E�+�7R[���"! �1ZݞzQ�>(�zSxѹ 5�⺞��mG%��֦�k �����/��9]_�4���!4 ���}���hI�����

Member Avatar for niranga
0
5K
Member Avatar for jasperking88

[ICODE][/ICODE]Here is the Question Declare an array of size 5 Input 5 values from the user Output those 5 values back. Output looks like following: Enter a value: 2 Enter a value: 4 Enter a value: 6 Enter a value: 7 Enter a value: 9 You have entered: 2 4 …

Member Avatar for jasperking88
0
2K
Member Avatar for UNDER-18 FG

Hey, everyone~ Being the second time posting here, I'll try to make it simple but clearly as possible :) So, my assignment this time is about writing a C program to print the following star patterns: [CODE] * * * * * * * * * * [/CODE] So, here …

Member Avatar for mrnutty
0
333
Member Avatar for sigridish

i have a code. i just want to save listview data to database. the title is the error that pops out here is my code [CODE] Public Sub ConnectDatabase() conn.ConnectionString = "SERVER=localhost;User id=root;database=test" Try conn.Open() MessageBox.Show("Connected") With mycommand .CommandText = "Select * from wer" '.ExecuteNonQuery() End With Catch ex As …

Member Avatar for hericles
0
229
Member Avatar for Chuckleluck

I'm beginning game development, and I started by reading Michael Morrison's [I]Beginning Game Programming[/I], which teaches how to develop a game in C++ using the Win32 API. I've had a lot of trouble with things I don't have any experience in (when I shut down my program, the process still …

Member Avatar for mrnutty
0
503
Member Avatar for phorce

Hello, I'm working on a project where certain characters can have multiple values.. E.g. Letter 'A' can be replaced with 'B', 'C', 'D' Letter 'S' can be replaced with 'X', 'Y' And then it would output it like this: A can be replaced with B - Yes/No A can be …

Member Avatar for NathanOliver
0
92
Member Avatar for 9662964

I do not want to accept same letter to guess and if does , want to show caution and force to type another try... and If user got correct letter than I do want to show the letter instead of "_" _ _ _ _ _ (Example, word is school …

Member Avatar for ASDFSGHKL
0
291
Member Avatar for ninjatalon

Can someone please help me on getting a formula round off to the next highest .25. example: 2.35->2.50 2.26->2.50 2.24->2.25 2.51->2.75 I can't use the Round function because if I have 2.26 then it will round off to 2.25 which is unacceptable. I have been using the Ceiling function but …

Member Avatar for ninjatalon
0
195
Member Avatar for Dakot

hello , i want to cin n numbers then to sort the positive numbers in one array, the negative numbers in another array , then to print positive array. So let me explain , i run the program , i enter the 9 , then enter 1 2 3 4 …

Member Avatar for Dakot
0
155
Member Avatar for ankit.4aug

[CODE] #include<stdio.h> int main() { int arr[2][2][2] = {10, 2, 3, 4, 5, 6, 7, 8}; int *p, *q; p = &arr[1][1][1]; q = (int*) arr; printf("%d, %d\n", *p, *q); return 0; } [/CODE]

Member Avatar for ankit.4aug
0
95
Member Avatar for python12345

I'm trying to write code to count the number of times a whole number can be divided by 2 before reaching 1. When I run my code it prompts me to enter a number as you'll see in my code below, but once I do so, nothing happens, just a …

Member Avatar for Rick345
0
12K
Member Avatar for anand01

Hi all , I plan to do java certification which version should i do , please suggest me and I am beginner 1Z0-853 (OR) OCPJP 6 --1Z0-851 (OR) OCPJP 7 --1Z0-804

Member Avatar for anand01
0
94
Member Avatar for jackmaverick1

I need to take the end off of a file. What I mean is that I have a file, and it has an end marker, but I can't write past the end marker. Is there a way to do this?

Member Avatar for jackmaverick1
0
114
Member Avatar for DaniwebOS

So my goal is to use inheritance and as you can see I inherited Point Example which has x, y as variables. Well for some odd reason my Length seems to be in correct and I'm not sure where I went wrong. Any guidance will be very much appreciated. Just …

Member Avatar for Paul Norris
0
158
Member Avatar for az.rathore

can any one write code to find out if array is sorted in ascending order from even to odd number or not ? i will be thankful . i am new self learner of c++. Thanks in ADVANCE

Member Avatar for WaltP
0
1K
Member Avatar for Daigan

[CODE]public void mainmenu () { title (); System.out.println ("If you wish to exit press 5, if you want to go the intro press 2, and if you want to continue 3:"); do { try { procstr = c.readLine (); proc = Integer.parseInt (procstr); if (proc == 3) askData (); if …

Member Avatar for Paul Norris
0
134
Member Avatar for ssreevidya.m

Hai , I have a table Student_transport_Details having columns : UserId DesignatonId StartDate Enddate I need to get records for a particular month. Can i retrieve records by passing MonthId [between 1 -12]. Thanks in advance

Member Avatar for red_ruewei
0
5K

The End.