132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for iklila

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
Member Avatar for Athelas
0
105
Member Avatar for kirtee2209

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
Member Avatar for Mitja Bonca
0
86
Member Avatar for shyla

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#
Member Avatar for abelLazm
0
756
Member Avatar for Munnazz

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
Member Avatar for abelLazm
0
97
Member Avatar for TheQuad

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
Member Avatar for peter_budo
0
1K
Member Avatar for shilp

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
Member Avatar for tomato.pgn
0
192
Member Avatar for Sourish90

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
Member Avatar for tomato.pgn
0
238
Member Avatar for g2gayan

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
Member Avatar for abelLazm
0
364
Member Avatar for python01

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
Member Avatar for python01
0
180
Member Avatar for LegitHugo

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
Member Avatar for abelLazm
0
158
Member Avatar for kshitij tyagi

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
Member Avatar for kshitij tyagi
0
169
Member Avatar for rannamaa

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++
Member Avatar for rannamaa
0
118
Member Avatar for sumprit

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
Member Avatar for sumprit
0
121
Member Avatar for NinjaLink

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
Member Avatar for ztini
0
119
Member Avatar for vedro-compota

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
Member Avatar for vedro-compota
0
138
Member Avatar for die_raupe2

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
Member Avatar for ztini
0
220
Member Avatar for rannamaa

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++
Member Avatar for rannamaa
0
117
Member Avatar for Shizuka

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
Member Avatar for Jx_Man
0
286
Member Avatar for guru_iyer

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
Member Avatar for guru_iyer
0
1K
Member Avatar for toferdagofer

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 …

Software Development gui java
Member Avatar for WolfShield
0
127
Member Avatar for retmil

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++
Member Avatar for retmil
0
128
Member Avatar for reloadmvp

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++
Member Avatar for reloadmvp
0
210
Member Avatar for Stefano Mtangoo

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
Member Avatar for lrh9
0
6K
Member Avatar for msqueen082

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
Member Avatar for msqueen082
0
120
Member Avatar for jmcginny5

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
0
81
Member Avatar for sha11e

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++
Member Avatar for sergent
0
9K
Member Avatar for nxt200

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++
Member Avatar for sfuo
0
131
Member Avatar for IndianaRonaldo

Im looking for some real c++ programming challenge...please post the most difficult you have encountered yourself....thanks in advance....

Software Development c++
Member Avatar for mrnutty
0
104
Member Avatar for cse.avinash

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

Software Development c puzzle
Member Avatar for chhabraamit
0
122
Member Avatar for MaAr91

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
Member Avatar for WaltP
0
311
Member Avatar for baldandwild

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 …

Software Development ide vb.net
Member Avatar for baldandwild
0
215
Member Avatar for Tcll

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
Member Avatar for Tcll
0
7K
Member Avatar for osirus0830

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++
Member Avatar for Narue
0
99
Member Avatar for xxyuri

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
Member Avatar for xxyuri
0
209
Member Avatar for abcdef1

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
Member Avatar for mitchems
0
203
Member Avatar for socksy

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
Member Avatar for socksy
0
210
Member Avatar for rithish

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
Member Avatar for jon.kiparsky
0
94
Member Avatar for Muhammad Anas

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 …

Software Development c++ ios
Member Avatar for Narue
0
2K
Member Avatar for Lokril

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++
Member Avatar for Lokril
0
216
Member Avatar for cse.avinash

Is there any alternative to return 0.? [B]*void main() should not b use as an alternative.[/B]

Software Development c
Member Avatar for Narue
0
101
Member Avatar for ceyesuma

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
Member Avatar for xml_looser
0
105
Member Avatar for battlex2010

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
Member Avatar for battlex2010
0
280
Member Avatar for owenransen

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++
Member Avatar for mike_2000_17
0
165
Member Avatar for shyla

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
Member Avatar for kimbokasteniv
0
593
Member Avatar for harinath_2007

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

Software Development gui java
Member Avatar for JamesCherrill
0
105
Member Avatar for Labdabeta

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
Member Avatar for chrjs
0
106
Member Avatar for guru_iyer

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
Member Avatar for guru_iyer
0
1K
Member Avatar for Justin9825

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
Member Avatar for Ezzaral
0
101
Member Avatar for shyla

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
Member Avatar for shyla
0
136
Member Avatar for littlemini

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
Member Avatar for jon.kiparsky
0
113

The End.