132,726 Archived Topics
Remove Filter ![]() | |
hello I am using a program called MPLAB-SIM and I am trying to test my interrupts on a 16F class pic my interrupts registers are setup like this movlw b'11001000' ;sets up INTCON, with PEIE and PORTA interrupts allowed movwf intcon ;uses w to set intcon interrupt control movlw b'00011110' … Software Development assembly | |
I have a problem. I spend hours each week typing data from Excel in one format in excel into another format in excel! My theory is that if data is in excel at no point should I have to do any manual data entry to manipulate data into my desired … Software Development visual-basic | |
Could someone find an obvious reason this while loop performs once and then breaks? I don't think the condition on the while loop is dropping it out. I must be when I call the formatted writers but I 'm not sure how to make it stay in the while loop. … Software Development java | |
Well I did not have a problem with my last program assignment which involved me making the Student class that I attached below, But in my new assignment i have too Write a program that will use the Student class developed in the previous assignment to provide a menu-based interactive … Software Development file-system java | |
Heres the situation: I am taking a C++ course online. I had a PC up until about a week ago when i got a Mac. Now i must do all my work on the only computer i have, the Mac. I turn in my work at the end of the … Software Development c++ | |
I have a systems programming problem. Its a group of small programs that interact with each other to implement a mutual exclusion problem. I was wondeing if somebody could comment them to help me understand them better. Would be very much appreciated. They are toilets shared by boys and girls. … Software Development c | |
I'm using a class to generate a list of primes. Im checking a series of numbers being incremented by two against the current vector of primes to see if any primes divide into the number evenly. If no primes divide into it I add the number onto the end of … Software Development c++ | |
I know this is simple, but I need a bit of help. I need to write a program that will prompt the user to enter three integers, and should then print the numbers in ascending order. The hint the teacher gave was to use scanf three times? I'm just confused... Software Development c++ | |
Hi, I have never used a forum like this before but I am stuck! I have to write a C++ program that allows the user to enter up to 20 students info. It must include Nem, Exam 1 grade, exam 2 grade, Homework average, final exam average. For each student, … | |
I am trying to write a code that displays the contents of an array called rates in the ratesLabel using a For...Next statement. I think I have some of the work done. This is what I have: I have the click options for my display and exit buttons, the numbers … Software Development vb.net | |
Hi, I am an intermediate c++ programmer, and I'm looking for a tutorial on Visual C++ express edition. If anyone could point me in the right direction with a link (I've searched google, and just get loads of stuff from microsoft, or things that are irreleveant.), it would be help … Software Development c++ | |
Hi, I am relative new to Swing development, so please be patient... I have created a scrollable table and would like to add (at runtime) a JComponent (for example a chart linked to the table) that would sit on top of the table and would also scroll aong with the … Software Development java java-swing ![]() | |
I need to assign each student a letter grade. The way I have it set up now it assigns the letter grade of the second student to both students. How can I get it to assign each student their own letter grade? Also, I would rather output the letter grade … | |
Hi All, Does anyone know why I'm getting a 'Null Reference' error when I try to use a FolderBrowser? I have the following code (called from a Toolstrip Menu Item): <code> Dim fldBrowser As FolderBrowserDialog = New FolderBrowserDialog fldBrowser.RootFolder = Environment.SpecialFolder.DesktopDirectory fldBrowser.Description = "Which Folder do you want to use … Software Development vb.net | |
Hi guys I'm doing a program for one of my class but the teacher asked us to write a language mangler to modfiy a sentence and make it nonsentence And he want us : - If any word has length 9 or more characters, insert into the word after the … Software Development c++ | |
Need your help in this code too.. this is the program to convert any entered number into its hexadecimal equivalent but the problem is that same result is printed for any number...:'( :'( [CODE]int main (void) { int n; printf("Enter Number :"); scanf("%d", n); printf("Hexadecimal Equivalent %x", n); getch(); return … Software Development c | |
Good day. My semester of c++ is coming to an end. I've got to complete a total of 7 assignments within the next 3 weeks. I've completed 5 out of the seven. I've got two left (1 has a separate thread by itself). So you can also take a look … | |
I am developing a small application that enable users to surf at a fee. Now, I want this user(s) to remain logged in as Administrator but when the application is running, I want the following keys to be disabled : Ctrl+Esc,Windows keys,Ctrl+Alt+Delete, Alt+Esc. I only want the Supervisor access these … Software Development pascal | |
I am writing an assembler code to do the following: ToUpper function converts a string of characters to uppercase, if they are not already uppercase. That is, the string already exists in memory (on the stack) (Yes it is Homework) I am trying my best to do everything I know... … Software Development assembly | |
Dear Friends please help me., How to write data to parallel port and how to read data from Parallel port, If you have any API function please share with me. Regards M.Sakthivel Software Development api visual-basic | |
hi im kind of a dodo in VB6 as a part of my project im trying to build a media player in vb using Windows Media Player control but the code that i had written on another system (windows 2000) is not working on my system (windows xp). the error … Software Development visual-basic | |
I'm new at Java and I'm tryin to create a Login screen that prompts the user to enter a username and a password and then allows them into the program. Is it true that I cant use the "switch" on a string and only if else statements? If it is … Software Development java | |
Hi can someone look at this program for me it wont fill out the whole address for me and when i search or go delete it doesn't do anything. [code=c++] #include<iostream.> #include <fstream> using namespace std; struct Person { char Name[50]; char Address[80]; char Phone[30]; }; void add(); void search(); … | |
Hey i have a HW to do an address book storing the names addresses and phone #s and add to address.txt. and the phone is the key so i have to create a search using the phone #. i'm also suppose to use a mygetline function that i don't quite … | |
i have a code which is in the if-then-else statement... then i want to use the select case statement... and i dont know well on this... hope you can help me... the code is Private Sub cmdGo_Click() Dim postA As Single Dim postB As Single If Combo1 = 1 Then … Software Development visual-basic | |
Hi i've have this problem in my code when i do the overloading of operator >>. My problem for this code isnt encounter error but my input like say i input 7, the num.a output will change this 7 to 55 and num.b output for 5 to 53. below is … Software Development c++ | |
I want to create two functions, one that takes array values and lenngth and the other displays array values and length Here is my code, it gives me segmentation fault [CODE]#include <iostream> #include <iomanip> using namespace std; void input_array(float a[], int &n) { int j; for (j=0; j<n; j++) { … Software Development c++ | |
[code] class MyControl : public BaseControl { } class Base { proctected: BaseControl &mControl; } class MyClass : public Base { public: MyClass( MyControl &control ); void ReadControl(); } MyClass::MyClass( MyControl &control ) :Base(control) { } void MyClass::ReadControl( void ) { MyControl &control = (MyControl &)mControl; // <=== ??? control.DoSomething(); … Software Development c++ | |
Hi all, im having issues with event's and methods. I have 2 forms, for example form1 and form 2. on form 1 i have a label and on form 2 i have a check box. what im trying to achieve is when the check box is checked in form 2, … Software Development vb.net | |
Wondering if any of you can help me with this, I've been struggling with it for weeks and I've tried every relative example I could find for it. Basically my program loads an image into a picture box, and now I need it to scan the picture and return the … Software Development vb.net ![]() | |
Hi There, It is my first post. I am currently workign for a company and have just been moved into R+D. Part of my new job involves C++ Programming. I am having trouble with numerous things, (was thrown in the deepend) Basically, This program is designed to keep track of … Software Development c++ | |
How can I install VB.net 2008 after downloading from MSDN site . the size of the file is 3.05G and it is Image file. what is the way to do it. Software Development vb.net | |
title was self explanatory.. i repeat .. can a class allow a friend method of a friend class to use it's protected or private members oh yes one more, can a friend method of a derived class use base class's protected members i am new to this type of concept … Software Development c++ | |
Hi, I am taking an Intro to Computer Science course. I have to translate a code to assembly. I was wondering if someone could help me out with the first line of the code. I am not sure what to do since it it ==. if (x==y) { thanks! Software Development assembly | |
Create a text file with a letter on the first line, and two double-digit numbers on the second line. Write a program using fstream that reads in your text file, creates variables to manipulate that input and outputs the following results to a different text file: "The ASCII value of … Software Development c++ file-system | |
Hi I want to implement a program where client sends a file to server and server displays the message from the file. I have attatched my java files for reference Software Development client-server java | |
It's a phone book program. Takes number, name, and address and saves them to addressbook.txt. It has add, search and delete functions. I got all but delete. Here's the search function(works): [code=c++] void search(){ char num[50]; char search[50]; ifstream input; input.open("addressbook.txt"); cout << "Enter phone number: "; cin >> num; … Software Development c++ | |
i WANT TO change the caption using vb6. I changed the caption using form(.frm). I have made the changes in the code files but when I am compiling the new code the error which I am getting is regarding "MSComctlLib.Button". I also tried to include the mscomctl.ocx but it again … Software Development visual-basic | |
What in the world am I doing wrong? Can someone please help me. I am especially lost on the last method. I am supposed to use two classes to perform one of three math operations depending on the user's choice. Use if statements to allow the user to choose which … Software Development java | |
Hey, I'm still fairly new to C++, and even more new to this forum. Any help would be greatly appreciated. Could someone look at this segment of code for me and tell me what is wrong with the "if" statements to change the time. I'm not getting the output that … Software Development c++ | |
The ultimate goal is to send simple messages ("GH", "HC", etc.) to a CMUcam2 and to read what messages I get back. I need help in setting up a serial communications port in Windows. I have seen how to open the port on other threads on this website, but I … | |
I was advised by a friend of mine to use fread64, fwrite64 instead of fread and fwrite. Does this exist? Been looking for it's documentation but I haven't found one. Software Development c++ | |
I am to write a program that can be used to calculate the federal tax. The tax is calculated as follows: For single people, the standard exemption is $4,000; for married people, the standard exemption is $7,000. A person can also put up to 6% of his or her gross … Software Development c++ | |
Hi, I have a script which uploads files successfully to another server via ftp. But after the files are uploaded, I want them to be deleted (removed), but it doesn't seem to work. I would appreciate if someone could help me out with this. How can I modify my script … Software Development session shell-scripting | |
I am new to java and having issues. package components; import java.awt.*; import java.awt.event.*; import javax.swing.*; /* FrameDemo.java requires no other files. */ public class ContactApp { /** * Create the GUI and show it. For thread safety, * this method should be invoked from the * event-dispatching thread. */ … Software Development gui java java-swing | |
Hi all, Having some trouble with an assignment. My program should store lists of names and ages and sort the list by name (alphabetic). Here's my current attempt [code=c] #include<stdio.h> #include<string.h> // struct to hold the data typedef struct _data { char name[5][30]; int age[5]; } data; int main() { … Software Development c | |
What I want to do is: click on button1 in form1---> loads form2 ---->set focus to a textbox1 in form2 and show IBeam Cursor there. I tried textbox1.Focus() in Load, but it only do it for the first time I click button1, when I click button1 again, it loads form2, … Software Development vb.net | |
[code] public bool IsNum(char ch) { if (((ch >= '0') && (ch <= '9'))|| (ch == '.')) return true; else return false; }[/code] Why does this method work in a normal console app, but not in a class library that I am trying to write? If I copy this code … Software Development ![]() | |
hi everyody,i need ur help.I am able to send subject and text as mail to the recepient but iam unable to send hyperlinks in th text.plz suggest me how to send |
The End.