199,114 Archived Topics
Remove Filter ![]() | |
Hi there. I am trying to get a selection sort working on assembly language, using the Irvine32.lib. This is my first time taking an assembly language class and I am struggling with this program a lot. Here is the code. [CODE] TITLE MASM Template (main.asm) INCLUDE Irvine32.inc .data array1 DWORD … | |
i am a computer science student.i have no interest on assembly.just doing it for my course. so can anybody suggest me any good assembly compiler? in my university lab they use Masm. but it is too old and do not show in which line error is and no auto code … | |
Hello guys. I just have a problem that I think you pros will help me solve real quick.. I was instructed to make a table that will show the inputed miles, yards, feet, and inches this way: Units Value Meters Miles XXX XXX.XX Yards XXX XXX.XX Feet XXX XXX.XX Inches … | |
Hello, we have to create a football scoreboard in Visual Basic. Purpose: The application calculates the points scored during a football game by one team Requirements: 1. The user clicks the enter score button in an input box object to enter a score after the football team scores 2. Each … | |
Hello, we have to create a football scoreboard in Visual Basic. Purpose: The application calculates the points scored during a football game by one team Requirements: 1. The user clicks the enter score button in an input box object to enter a score after the football team scores 2. Each … | |
hi everyone. i want to list and show the table names in a database in a php page. how to do that? in phpmyadmin 'show tables' works in query window. bt showing it through a php script i think i would have to SELECT? | |
My assignment for python is to create a card game where 2-3 draw 3 random cards in order to try to get a total of 31. If there are three identical cards(ex player has 3 2's). That value is equal to 30. At any point does a player get 31, … | |
is there [B]AAAAAAAAAAAANY [/B]way to take an xls file and convert it to xlsx using a php code? I've googled but I see not many people asked this and those who had similar problems found no solution. I've tried using PHPExcel but I can't figure out how to do it … | |
Dear all programmers I’ve search all over Google and have not found an answer. [B]My question is.........[/B] I have two DBF tables called product and ullage. The user enters data from products table into ullage, by searching for product id and adds their count into the ullage table. This part … | |
I am new to PHP and wanted to know that which reporting tool is used PHP/MYSQL based projects... to fetch data from mysql using php from which pdf can be generated also.. As Crystal report 11 has lots of good functionallity but doesn't has support for php . . So … | |
i hv 2 write a code for queue fifo rule for patients visiting doctor's clinic.. can any1 atleast tel me the algo? i'll implement it by myself... | |
so this is the assignment Let d(n) be defined as the sum of proper divisors of n (numbers less than n which divide evenly into n). If d(a) = b and d(b) = a, where a b, then a and b are an amicable pair and each of a and … | |
Hy , I have a little/big problem : I am a student and i live in a campus where i need to use a proxy and port to connect to internet. The app i made is a management system for a store ... and it is local. I used MySql … | |
Hey guys, i was hoping to get some advice on a project i am about to start. basically I have just started learning J2ME, using Netbeans. i have went through few tutorials from Hello World to Pong and completed them working fully. Now my project is something not too difficult … | |
Hi! I am just wondering what would be fastest(performance-wise) of Game Maker(with GML) or Python with Pygame? | |
Hi! I need some help. Let's say I have 3 tables (t1(id,ds), t2(id,ds) and t3(id,ds)) where the tables don't necessarily have the same id fields. For example: t1 id ds 1 1 2 0 5 7 t2 id ds 8 5 1 2 t3 id ds 9 3 8 5 … | |
hi everyone i have a program about the smallest and largest values that user input and the program decide which is the largest which is the smallest ,so i solved it and it worked fine but it's giving me the 2 values are the same the largest same as the … | |
For the search feature on my site, the user searches for a term or a phrase then it gets processed and using the "LIKE" query to the mysql database - the relevant results are gotten. then they are shortened to 500 characters so snippets of the matching results are shown … | |
I've tried this in the past, but never got it to work. How would I set specific keys to run functions, whether I am on the current form or not? Thanks! | |
i have error: illegal start of expression can you help me ?? [CODE] public void AddBefor(int befor,int a) { if(head!=null) { if(head.value==befor) { IntDLLNode t=new IntDLLNode(a); t.next=head; head.preve=t; t.preve=null; head=t; } else { IntDLLNode t; for(t=head;t!=null;&& t.value!=befor;t=t.next); if(t!=null) { IntDLLNode t1=new IntDLLNode(a); t1.next=t; t1.preve=t.preve; t.preve=t; t.preve.next=t; } } } } … | |
lets say i have a grid----->grid[10][10] i want to scan the grid for a char 's' what should I do should I... do a enhanced for loop and how can any show a example | |
In a language named vJass I can do this: [CODE] function Initialization takes nothing returns nothing string array s call read(s[1]) call read(s[2]) call print(s[1] + " " + s[2]) endfunction[/CODE] It takes two strings from user and prints them. I am totally confused how I can do this in … | |
I would like to have a loop that creates a JFrame, sets it visible and waits until that JFrame is disposed of before creating another. Is this possible? A solution would be greatly appreciated I can't seem to figure this one out. ex: [CODE]for(int i=0; i<5; i++){ JFrame foo = … | |
Question Get cells by className to equal innerHTML of cell id 'subtotal' I'm trying to grab all the cells created with insertrow function and the className 'rowtotal' and get their innerHTML to equal that of a cell with id 'subtotal'. This is a simplified html code of single cell inserted … | |
IS this Correct or Please help me to find error, i cant solve that how to see record on my form Dim Slec As New SqlDataAdapter Slec.SelectCommand = New SqlCommand("SELECT Name'=" & txtname.Text & "', CNIC#='" & txtcnic.Text & "', F_Name='" & txtfname.Text & "', College='" & txtdept.Text & "', … | |
I am trying to connect to a sql database and read from a table to determine if a username is valid upon a user entering in theirs. To just give you a background of the program: 1. The user needs to enter in their username and ID number. I already … | |
Hi, I need that user to type a date in a text box in yyyy/MM/dd format and then popup a calendar from the typed date. But to parse the date into calendar the whole date should be typed.otherwise it gives date conversion error. I need as an example;- * if … | |
Thanks for all help. My friend have a little problem with a text file. as follows Monday Thuesday Wednesday Thursday Friday Saturday Sunday He have it to load as folows Dim namneng As String, Fnumeng As Long, strLeneng As Long ' för England Dim iDag As String Fnumeng = FreeFile … | |
It's some sort of a project at school . . i was required to make a basketball game clock. The clock will start from 10:00 (10 minutes) then counting downward. . so 10:00, 9:59, 9:58 and so on . .The clock must contain a START Button, RESET Button, PAUSE Button … | |
hi there) guys , please tell me - is there any way to check that the standart input is empty or no. big thanks in advance) | |
Hi, for the life of me I can't solve this problem. I've solved problems far harder, but this is just baffling me. The problem: [I]Write a program which reads a sequence of integers from the standard input (the keyboard) and prints the largest value read to the standard output (the … | |
hi all i try to send data into Thread function - the data is : string[][] DataTimes but i get eror!!! this my function that Start the Thread: [CODE] Thread newThread = new Thread(Form1.PlayTheClock); newThread.Start(DataTimes); [/CODE] that the Thread Function: [CODE] public static void PlayTheClock(string[][] DataTimes) { ...... } [/CODE] … | |
[CODE] package semBreak; import java.io.*; public class YLingaw { public static void main (String [] args) throws IOException { BufferedReader jill = new BufferedReader (new InputStreamReader (System.in)); char[][] board = { {' ','1','2','3',' '}, {'1',' ',' ',' ','1'}, {'2',' ',' ',' ','2'}, {'3',' ',' ',' ','3'}, {' ','1','2','3',' '}}; YLingaw.ehem(board); … | |
I recently switched to a new server... But I am facing problem. On opening every .php page I am getting [B]following error[/B]. Html pages are working fine but .php files not. I uploaded a simple php page that have a single echo statement... still I am getting below error.. [CODE] … | |
Came across this showbits() function in the book im using to learn C. None of the compilers recognize it. The actual code for the function is given in the book as well. I tried to combine the two by putting function's code in header file. I have been unsucessful so … | |
is there any way to set time in asp.net like any gui control like we have in vb 6.0?? | |
I Currently have a form where we have people putting an application forward and the form consists of this code: [CODE]<label for="age">Age Group:<span class="red">*</span></label><br/>//here!!!! <input name="age" type="checkbox" value="11s">11/under <input name="age" type="checkbox" value="13s">13/under <input name="age" type="checkbox" value="17s">17/under <input name="age" type="checkbox" value="open">Open <em>If trailing for two age groups please ensure both age … | |
Hello everybody! I build a string for a system call (Matlab) like: [CODE]std::string command = "matlab -nosplash -r MyMatlabScript(" + arg1 + " " + arg2 + ");";[/CODE] The system call is: [CODE]system(command.c_str());[/CODE] However, i get an error, pointing to the first parentheses in my command string. How can i … | |
If a word or sentence reads the same way forward and backward, then it is a palindrome. A small admonition is in place, whitespaces and punctuation marks can be ignored. Also, all the letters should be in one case, lower or upper, your choice. Ideal for Python to show off … | |
How would I write a program that writes the text in a textbox to a List Box when a button is pressed, kind of like an address book? | |
Hey, [B][U]Problem:[/U][/B] Need to find an algorithm that given 2 sequences of [B]n[/B] numbers each, say [B]S1[/B] and [B]S2[/B], and 1 number, say [B]x[/B], it would tell if x is in the sum result of S1 and S2. The hashing function, say [B]h[/B], must be picked at random from a … | |
How would you create a basic search engine? Could this search engine also search based upon tags? (Not searching a site or database but just a .txt document) Thanks in advance! | |
Can anyone tell me whats wrong with this code? [CODE]using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConsoleApplication1 { class Program { static int CelsiusTillFarenheit(double Celsius, double Farenheit, string Text) { Celsius = double.Parse(Text); Celsius / 5.0 * 9 + 32 = Farenheit; int Farenheit2; Farenheit2 = Convert.ToInt32(Farenheit); return … | |
I have created a home page with a division in which 2 other JSP pages are to load. The validations fire properly when I lauch those 2 pages seperately. The problem is, validations arent working when they load within the first page. How can I solve this? Should i write … | |
Hi there, I'm currently adding in a recaptcha to a contact form that I didn't create in the first place, so I've been tentatively working my way around it. For some reason though, every time I complete my form, no matter whether the captcha I entered was right or not, … | |
i want to get #value into the url to without refreshing the page ?? i tried window.location.hash to get the #value but it return blank.. the url is index.php?page=contact-us#email plz help to resolve the problem >> | |
Ey all. Im folowing a c++ course and im stuck writing string or char arrays to matrices. The problem is i have a matrix of size [i][j] with random values from 0 to 3. Each of these values have to correspond to either a string or char array. 0=EMPTY 1=RES … | |
Hi All, Been trying to use the BindingSource.Filter on my program and everytime I fire it nothing is happening i.e. the text boxes I have setup and are not populated even though I can navigate through all the records inthe dataset using the respective navigation buttons... Code.. Private Sub ButFind_Click(ByVal … | |
hi i have created a php file which calls a php function and echos the results. i dont want to display the results i want to use them in a jquery function. [CODE] jQuery('body').prepend("<div id='target'></div>"); gMap.gmap3({ action: 'init', onces: { bounds_changed: function() { var number = 0; jQuery(this).gmap3({ action: 'getBounds', … | |
Hello to all, sorry if my english is not so good, I will try to explain the problem. I need to copy all data from a Table of a Acces mdb (connected with OleDB) to a Table of a MySql DB (connected with ODBC) I made a working solution, but … |
The End.