No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
16 Posted Topics
> We are easily the best when we are among the dumb. - GlenoiD
how do i print a 2d array in a javascript without leaving the form. because whenever i click a button, an element is added to the array but it shows it in a different page here is my code function addNumbers2Array() { MultiArray [x] = new Array(6) MultiArray[x][0] = parseInt(document.getElementById("latitude").value); …
that would be very difficult to answer especially if you haven't shown us a prototype of what you have already made. a code snippet perhaps.
you can use some built in string functions for a start. but if you want that output, better have sub procedures that will generate the suffix for each word number.
if this is the situation, i suggest that you try something like putting an equal sign on your days>=31. if the while loop is true then it will just continue to execute the commands inside the braces so 31 is > not >= so 31 is left out. just a …
[code] #include<windows.h>//library system("color 02");//color Sleep(1000); //animation [/code] note: hope this helps. it works with codeblocks. since it uses a windows.h library im sure it will work with turbo.
hey. i had a question regarding activating and making command buttons control visible in a form by manipulating it from another form. ex. form 2 command button will be activated by manipulating it in form 1. i had this syntax for form 1 cmdActivate [CODE] form2.cmdAdd.Enabled=false [/CODE] will form 2's …
i have a program that would display the productName,productPrice,productCode. each is a separate array. the program would prompt user to add,delete,or search a productName,productPrice,productCode. here's what i tried to do: [CODE]string productName[100]={"milk","beef"}; int productPrice[100]={10,11}; string productCode[100]={"a1","a2"}; int x,y,z; char choice; string search,name,price,code; cout<<"what do you want to do?"; <<"[S]earch."; <<"[A]dd."; …
my problem is so simple guys, how do i make [B]3 textboxes[/B] connect to a database of users using [B]adodc in a different form?[/B] [B]so that if you entered your userid, username and password you could log in.[/B] i cant post my code now but ill try later on.
i have a notepad that i made into a database. i want to know if a username and a password are valid combination. but if i run it, the 10th entry, for example, gives 10 different outputs until it finds the perfect match. suggestions would be nice. <?php $user=$_POST['user']; $pass=$_POST['pass']; …
hey im trying to make a file database but it just goes on and on a single line.question is: how do i make a new line after an entry is made? <?php $user=$_POST['user']; $pass=$_POST['pass']; $file="fileone.txt"; $content= $user . ","; file_put_contents($file,$content,FILE_APPEND); $content2= $pass . "<br>"; echo nl2br(""); //?????? file_put_contents($file,$content2,FILE_APPEND); ?>
how can i put data from an access datafield to a datacombo?so that each time i click the data combo it will show the data that is stored in the access file it is connected. here is my code: Private Sub cboCustomerID_Change() On Error Resume Next If blnID = True …
i know that its so easy. but i dont know how to do it. ive tried ifstream and ofstream to add a line in a text file. and im sure someone in the past may have already posted this kind of problem. can anyone give me a link to that …
I have a problem with my console program. I have a text file named "myRecord.txt" with the following contents: 101,Carlito Caballero,500.00 102,Tina Gamboa,560.34 103,Angel Caballero,750.55 104,Kyla Shane,850.32 105,Jogie Glen Mait,1000.00 If I run the program, the console should prompt the user to enter the id number (which is the set …
Can you give me how to access the text file because there is a runtime error when i use ifstream. it says that it has incomplete type.thanks.
The End.
jogieglenmait