132,726 Archived Topics
Remove Filter ![]() | |
how to write the interrupt instruction in assembly language and what the diferrent between subroutine and interrupt in assembly language?? anybody can help me?? Software Development assembly | |
Hi..I have a table named tblTask and another one named tblDaily_Task_Schedule. the relationshipis such that a task can have many daily_tasks. the primary key of tblTask is Task and the primary key of tblDaily_Task_Schedule is Daily_Task and its foreign key is Task (from tblTask). Each subtask in the tblDaily_Task_Schedule has … Software Development open-source | |
Hello i am trying to solve the second part of this question i am getting these errors Error 2 Only assignment, call, increment, decrement, and new object expressions can be used as a statement Error 1 Use of unassigned local variable 'i' [CODE]using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; … Software Development c# | |
Can any one say how can i make the first letter of a asp label(Hello World==> {{Change H color to different color in Hello}}) to different color using css class Software Development | |
![]() | Hi I'm making the mastermind game but using numbers instead of colours. The one part that I'm stuck on is when the right number is guessed but in the wrong position, it seems to count it too many times. for example; generated number: 4234 guess: 2122 real answer should be … Software Development java java-swing |
I am using VB.NET using Visual Stduio 2005. From a Windows application, how to execute another form? Thanks for your help. Software Development vb.net | |
Dear Frnz, I am new to this community.....I wanted help from you guys... I want to clear as well as strenghthen my concepts of data structures...I am planning to implement them in C.....I am follwing [B]Tanenbaum[/B]...but i am not completely satisfied with it..... Can you guys suggest which can be … Software Development c data-structure | |
Hello :) Im still learning C# , im developing and application as my project .... i came across a issue and thought the experts might help me out :) what i want to do is to read a text file like this : [CODE] 91.210.46.1:8080 124.193.109.13:80 124.193.109.7:80 [/CODE] and i … Software Development | |
Hi all, I have just modified a mouse so that the left mouse button gets activated when a puck hits the net in ice hockey... Now all I need is for python to react to the hit by sending an output of voltage for a period of time and adding … Software Development pc-peripheral python | |
Hey, Im trying to figure out how to read a starting and ending point in a string. What Im trying to have accomplished is something like this (This code doesn't work) [CODE] string str = ""; //str = readfrom(textBox1.Text, "start Character", "End Character"); str = readfrom(textBox1.Text, "[", "]"); textbox2.text = … Software Development | |
Hi.. I am a total newbie to writing scripts. I am trying to execute a program through a script, but I keep getting 'unexpected end of file' error. [ICODE] q=1.170 while [ $q -lt 1.405 ]; do ./a.out $q q = $(($q + 0.005)) done [/ICODE] Please tell me the … Software Development shell-scripting | |
In Java and c# you can get the total lenght of an array with array.length or simular. Not only the length of the filled elements, I want the length of the total array. Lets say the array is introduced as this. [CODE]string array[100];[/CODE] Maybe its half filled or not it … Software Development c++ | |
Hi everyone! i am trying to find the average from an arraylist conatining database values. My database table have 9 columns and has 168 rows. Now i need to find the average at an interval of 12. My database table has time as 1 column and 8 other columns with … Software Development java | |
I want a user to enter the query: "select * from books where price > 24.99 and price >= 25.00" for example, but since the statement doesn't need price >= 25.00, I want to rewrite the query to just "select * from books where price > 24.99" and give the … Software Development java ![]() | |
Hi guys - I need your advice) In which cases It'll be correct to use <T> after class name when I want to have generic type fileds in this class? big thanks in advance) Software Development | |
![]() | i was just hoping to get help on an assignment i've been racking my brain over for the last couple of hours. i'm asked to program a database of houses using object oriented programming. i'm suppose to do this by writing a house class, an address class, and a third … Software Development java ![]() |
I try to get this to work... [CODE] for(int i = 0; i < size; i++){ if(nameList[i] != NULL){ //save name } else cout << "Namelist is full" << endl; } [/CODE] but NULL is not exepted in a situation like this...or...? I want to put in the name in … Software Development c++ | |
Hi guys! i wonder how can i save image path in a string to MySQL, i mean...what instruction i have to use...i want to save it to MySQL and then show it into a picture box. Thank you very much for your help. Software Development image mysql visual-basic | |
Hey here's my code for functioning like MS Paint. But JLabels are just not visible. Please Help. [CODE] import java.awt.event.*; import javax.swing.*; import java.awt.*; import java.awt.image.*; public class MSPaint { JFrame frame; JPanel panel; Painting paint = new Painting(); public MSPaint() { frame = new JFrame("MS Paint"); frame.setSize(1024,768); panel = … Software Development java java-swing | |
Hi i'm creating a GUI and i have a couple menu items set up with options within those menus. What I'm looking to do is use those items inside the menus to open up more menus kinda like when you go down to all programs in your start menu and … | |
I am having problems with finding a solution to update the quantity and list the menu items: ex: if you select Plain eggs at 1.45 each 3 times and coffee at .50 each 2 times it should output: 3 plain eggs $4.35 2 coffee $1.00 I have the total cost … Software Development c++ | |
Create a class Cat with its data members weight & age, each of which defaults to 1. Provide get & set member functions for each data member. Also provide data member functions speak & walk. Both set functions should verify that data members are >0 otherwise set the default value … Software Development c++ | |
Vega had nailed a "Starting Python" thread. I though there should be a place for proposing intermediate and advanced projects so that one can have something to do to improve their skills more. Especially for those who don't do alot of math enough to get the challenges of project eura … Software Development python | |
hello I wrote this code using classes and it keeps giving me the error message : a nullreference exception was unhandeled/Object reference not set to an instance of an object. I am trying to add stock code and stock shares to the list of transactions using a currClient As Client … Software Development vb.net | |
So I have the code written, and it is compiling fine. But for some reason, when I compile it and it displays the results, the way it displays isn't the way it should be. It is supposed to pull information in from a binary file. Here is the link to … Software Development algorithm c++ data-structure ios | |
I found this function: I would like to use this for my program. [CODE] void gotoxy(int x, int y) { COORD coord; coord.X = x; coord.Y = y; SetConsoleCursorPosition(GetStdHandle(STD_OUTPUT_HANDLE), coord); } [/CODE] First of all, is the "COORD coord" neccesary? :/ and "GetStdHandle(STD_OUTPUT_HANDLE), coord)" What's this part? What does it … Software Development c++ | |
I have a project assignment for school... Basically its coming up with a Windows console C++ .EXE well i have spent a few hours developing a Geometry Calculator.. WOuld anyone be willing to test and report some bugs to me?? This is the project download link: https://sourceforge.net/projects/geocalcrobertdu/ People also wanted … Software Development c++ | |
Im looking for some real c++ programming challenge...please post the most difficult you have encountered yourself....thanks in advance.... Software Development c++ | |
I tried a lot to understand the code, but unable to get it. Help me with this code. [CODE]main(t,_,a) char *a; {return!0<t?t<3?main(-79,-13,a+main(-87,1-_, main(-86,0,a+1)+a)):1,t<_?main(t+1, _, a ):3,main ( -94, -27+t, a )&&t == 2 ?_<13 ?main ( 2, _+1, "%s %d %d\n" ):9:16:t<0?t<-72?main(_, t,"@n'+,#'/*{}w+/w#cdnr/+,{}r/*de}+,/*{*+,/w{%+,/w#q#n+,/#{l,+,/n{n+\ ,/+#n+,/#;#q#n+,/+k#;*+,/'r :'d*'3,}{w+K w'K:'+}e#';dq#'l q#'+d'K#!/\ +k#;q#'r}eKK#}w'r}eKK{nl]'/#;#q#n'){)#}w'){){nl]'/+#n';d}rw' i;# ){n\ … | |
Hello, been trying to work out my code. but somehow it doesnt work at certain parts. can't use math.h by the way. [CODE]#include <stdio.h> #include <conio.h> int main(void) { int input,ans,i,total,j; int hex[16]={0},counter=0,hexadecimal1=0,hexadecimal2=0,hexadecimal3=0,hexadecimal4=0; char value,value2,value3,value4; char hexadecimal[17]={0,0,0,0,0,0,0,0,0,0,'A','B','C','D','E','F'}; printf("enter value:"); scanf("%d",&input); while(input>0){ i=1; ans=input%10000; input/=10000; while(ans>0){ total=ans%10; ans=ans/=10; j=total*i; i=i*2; hex[counter]=hex[counter]+j; … Software Development c | |
Having problem make last if an statement work in the code. the variables in the if statment are doubles but the ide keep telling i need a proceeding if statement. but is already there it is in the last if statement of the code [CODE]Public Class Form1 Dim Totals As … | |
so I'm using the 'initialfile' to automatically generate the name of the import file, but I'm using 'defaultextension' to set the extension when clicking 'Save' how do I set the 'defaultextension' based on the current filter selection?? Software Development python | |
The program is compiling and I'm not getting any errors, but when I run the program, after I enter the first value, the program just terminates. [CODE]//carstruct.cpp -- Structure with information about cars #include <iostream> using namespace std; struct car {char make[20]; int year;}; int main() { int cars; cout … Software Development c++ | |
script to specify the name of the user to be checked, the frequency in seconds at which the script should check. If a checking frequency is not specified, it should default to 60 seconds So far I have got [CODE] frequency=$0 user=$1 #!/bin/sh while [ $* -gt 60 ] do … Software Development shell-scripting | |
How can I turn on debug for fucntion sendSMTP ?? What is the function for var $debug ??? [CODE] #!/usr/bin/perl -w use Socket; use strict; my($mailTo) = 'chuikingman@yahoo.com.hk'; my($mailServer) = 'mail.hgcbroadband.com'; my($mailFrom) = 'medined@mtolive.com'; my($realName) = "chuikingman"; my($subject) = 'Test send_mail'; my($body) = "Test Line One.\nTest Line Two.\n"; $main::SIG{'INT'} = … Software Development perl | |
Okay, so I'm currently working my way through Beginning Python: From Novice to Professional, and I'm up to the networking stuff. I consider myself at least an intermediate Python programmer, but the network stuff is really confusing me. I'm trying to get the hang of it by writing a simple … Software Development client-server gui python | |
hello i use eclipse when i add action listener for button it marks as redline iam using swing component what is the problem ?what is the actual problem in that Software Development java java-swing | |
I am trying to create a program that, after inputing a text file, can: 1) Count number of lines in the text file. 2) Count number of words in the file. 3) Count number of characters in the file [B][U]including[/U][/B] white spaces. 4) Count number of characters in the file … | |
My program is due today and I'm stuck at work trying to figure this out I have been using the web to get this done. Instructions: Write a program that adds the positive odd numbers you enter from the keyboard while ignoring the even numbers, and stops when a negative … Software Development c++ | |
Is there any alternative to return 0.? [B]*void main() should not b use as an alternative.[/B] Software Development c | |
When Using DOM can the text in [ICODE]<linkDesc>[url]www.deleteme.com[/url] desc</linkDesc>[/ICODE]be replaced or will the link element need to be Removed and replaced? [CODE]<?xml version="1.0" encoding="utf-8"?><links> <links> <link action="save"> <linkName>www.deleteme.com name</linkName> <linkPath>www.deleteme.com</linkPath> <linkDesc>www.deleteme.com desc</linkDesc> </link> </links>[/CODE] thanks Software Development xml | |
Is there any way i can pause a file download in my vb program?? I have tried both the http method and the my.computer.net method with no luck. I have also tried pausing the background worker by this method:[URL="http://social.msdn.microsoft.com/Forums/en-US/vblanguage/thread/407a38ec-b012-4628-9627-c0aa3cd87a42/"]http://social.msdn.microsoft.com/Forums/en-US/vblanguage/thread/407a38ec-b012-4628-9627-c0aa3cd87a42/[/URL] But even if the bgworker is paused the download goes on..... … Software Development file-system vb.net | |
Using the stdl::vector class you can use two sorts of iteration over the vector: the .begin and .end way GlifPtrVec_t::iterator Iter ; for (Iter = m_Array.begin() ; Iter != m_Array.end() ; Iter++) { CGlif* pGlif = *Iter ; delete pGlif ; } or one I am more used to: for … Software Development c++ | |
i didn't understand from the question if the user needs to enter data or not can some one verify it with me tried to follow the instructions, and thats my code [CODE]using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace BookExceptionDemoGUI { … Software Development gui | |
hello I developed a chatting application with GUI. when the TextArea is full and if any new text is added, the JScrollBar will not scroll down automatically. I struggled a lot to make it scroll automaticaly but ended with dashing hopes how to make the JScollBar to scroll down automatically. … | |
Hello, I have a few questions about Assembly. I am extremely new to it! Question 1: How do you write functions in assembly? Is it even possible? Question 2: How do you get an input to a dd variable type (do I have to do the math on four db … Software Development assembly | |
I am trying to change the background color of the JPanel every 3 seconds (3000 ms) when I click START button till I press STOP button. [CODE] import java.awt.*; import java.awt.event.*; import javax.swing.*; import java.util.Random; class TimerBackground implements ActionListener { JFrame frame; JPanel panel; JButton btnStart; JButton btnRed; JButton btnGreen; … Software Development html-css java java-swing | |
I'm need to set up teams based on how many wins the team has inside this text file : [code] UNCC 30 NCSU 28 GT 25 USC 20 GSU 19 UVA 15 UGA 2 UNC 1 [/code] For example the output of the program should be: [code] UNCC VS UNC … Software Development file-system java | |
i need to do the second part of the assignment and i cant solve it, i need to do it gui, this is what i have so far [CODE]using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace EmployeeExceptionDemo { public partial class … Software Development gui | |
for (count=1; count<=10; count++) { number1= randomNumber.nextInt(10)+1; number2= randomNumber.nextInt(10)+1; Help correct= new Help(number1, number2); switch(choice) case 2: if (number1 > number2) { System.out.print("What is the answer to this problem? " + number1 + "-" + number2 + ":"); ans= keyboard.nextInt();//stops at 2 problems!!!!!! a= correct.getSub(); if(ans == a) { System.out.println("The … Software Development java |
The End.