132,729 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for alex910TN

Hey guys. I have the following loop structure condition statement: while ( ord(UpperCaseWords[i]) >= ord('A') and ord(UpperCaseWords[i]) <= ord('Z')) do Problem: When a compile, I get an error saying: "Error: Incompatible types: got "BOOLEAN" expected "LONGINT" " using Dev-Pascal 1.9.2. Description: UpperCaseWords = PACKED ARRAY of Characters that may contain …

Software Development pascal
Member Avatar for pritaeas
0
206
Member Avatar for arishy

To start, it is NOT a hacking job. I want to access my USAGE report from my ISP. At the home page I have to select Account Management then login with my user name and pw from newly created prompt. One clicking login I get yet another prompt so I …

Software Development perl
Member Avatar for arishy
0
263
Member Avatar for nUmbdA

Hello again, I am working on a homework problem and I am not able to get the accumulator to accumulate the tickets sales for each section. My assignment is to create a basic program that will use loops. I need to have it ask for each day of the week …

Software Development python
Member Avatar for nUmbdA
0
211
Member Avatar for kw83028

Hello, this is my first post here so please let me know if I'm doing something wrong. I have a linked list project that I'm having a little trouble with. I was given LinkedList.cpp (main) and that can't be changed. I had to use a completed program that we did …

Software Development c++ linked-list
Member Avatar for kw83028
0
421
Member Avatar for khair.ullah

Creating a Report in Visual Studio 2008 In this section, you create a report that draws its information from the sample Microsoft Access database that ships with Crystal Reports. To create a report with secure data from the Your database follow these steps . 1. In Solution Explorer, right- click …

Software Development microsoft-access vb.net visual-studio
Member Avatar for khair.ullah
0
423
Member Avatar for coolbeanbob

I would like thoughts/advice on the project I am working on. I am trying to build a program that simulates the score of a baseball game given individual player statistics. As of right now, the program only has one team batting for nine innings. I am a computer science student …

Software Development gui java queue
Member Avatar for JamesCherrill
0
196
Member Avatar for McCrockett

Hello. I'm currently taking a computer science course and I'm doing a little research paper about C++. I honestly don't know C++ too well yet. But I have a few questions that I would like to ask and feel free to post your opinions. I hope this is the right …

Software Development c++
Member Avatar for L7Sqr
0
138
Member Avatar for Sarah2012

def get_score(word): '''(str) -> int Return the point value the word earns. Word length: < 3: 0 points 6-9: 1 point per character in word 7-11: 2 points per character in word 10+: 3 points per character in word >>> word_score('DRUDGERY') 16 ''' I have this homework I want some …

Software Development python
Member Avatar for HiHe
0
124
Member Avatar for Growl

# MERSENNE PRIMES # ## There is an integer n. Find primes that is < than n (p < n) and they can be expressed in the form 2^k-1. ## Hey! I'm done with connecting parts together - all works fine! But I need to replace (pow(2,p)-1) because my professor …

Software Development c++
Member Avatar for NathanOliver
0
111
Member Avatar for Sasquadge

Hey guys I'm having some trouble figuring out what is going on I'd appreciate if anyone could help here is the instructions. 5. The SalesEmployee constructor a. uses a_commission and a_sales arguments to initialize the commission and sales member variables respectively b. calls the SalariedEmployee constructor and passes to it …

Software Development c++
Member Avatar for Sasquadge
0
181
Member Avatar for riahc3

Is there any easy IDE that lets you build a easy GUI with Java? I wish you could comply native Java using VS! :P

Software Development gui ide java
Member Avatar for ~s.o.s~
0
300
Member Avatar for faithful4ever

Hi, Am trying to do up a Fibonacci sequence for MIPS (School requires us to make use of HASE Simulator). I have done up the following code but the output seems to be a tad wrong. ADDI R2 R0 1 ADDI R3 R0 1 ADDI R4 R0 1 ADDI R1 …

Software Development assembly
Member Avatar for faithful4ever
0
600
Member Avatar for thomas.weatherill.5

When I try debugging this, it comes up with an error on the line "If txtUsername.Text = ds.Tables("AddressBook").Rows(inc).Item(1) Then". It says NullReferenceException was unhandled. Object reference not set to an instance of an object. Public Class MainLogin Dim MaxRows As Integer Dim inc As Integer = 0 Dim con As …

Software Development dataset open-source vb.net
Member Avatar for Begginnerdev
0
229
Member Avatar for vicky30312

I am making a guessing game for my programming class, and i have it all working correctly, except that when you run the program the number it guesses is always lower. Are my math equations wrong? what do i need to change? There are no error messages. //P //Project 8.4. …

Software Development c++
Member Avatar for vicky30312
0
167
Member Avatar for minimee120

Hi all, can someone help me find what's going wrong in my code? When the program runs and it goes to get the user input, the program does not respond with any feedback, ie I type find Susan, and it does not tell me if Susan is in my txt …

Software Development java
Member Avatar for NormR1
0
249
Member Avatar for sapure

In this example, what's the difference between creating a class variable from the "class Employee" & creating an object from the class GenQueue ?! What's the difference in uses and implementation? import java.util.LinkedList; class GenQueue { private LinkedList list = new LinkedList(); public void enqueue(E item) { list.addLast(item); } public …

Software Development java
Member Avatar for riahc3
0
232
Member Avatar for prasishiva

I need to display the column names from table in the dropdownlist of the application. How to display columns of table from database to application using c#?

Software Development c# display
Member Avatar for Bhuvan Ram
0
327
Member Avatar for kram54

Hi everyone ; i using to VS2008 -- devexpress V10.1.2 and MSSQL i make to same project .. my project setup is work my computer but same setup doest work to another computer error: ERROR DETAILS Following errors were detected during this operation. * [07.11.2012 02:17:57] System.Deployment.Application.InvalidDeploymentException (SignatureValidation) - Strong …

Software Development assembly c c# c++ mssql
Member Avatar for Bhuvan Ram
0
780
Member Avatar for jazeelkm

Hi , I am developing a windows application using C#. In that I want to display all the outlook profiles in a listbox and on selecting one, The folder structure should be displayed on a treeview control. I can display all the profiles in the listbox and on its changedindex …

Software Development microsoft-office session
Member Avatar for sundar786
0
796
Member Avatar for DarkPyros

hey, this is an assignment for school, the total task of the program was to accept a string, print the an uppercase version ofthe same string, count the number of vowels in the string and finally copy the identified vowels to a seconday stringto be printed. i have pretty much …

Software Development c
Member Avatar for Adak
0
120
Member Avatar for srikanth2321

Hello, I have a panel and I'm creating small textboxes which carries a text. Later when I create all the textboxes I'm able to move them dynamically in the panel and rearranged them in a order (in a straight line next to each other).How can I read the values of …

Software Development
Member Avatar for nmaillet
0
177
Member Avatar for kristenw17

So I am trying to make a code that will read a file that contains an unknown number of students and an unknown amount of scores for each student. Then output each students average score. I have tried several different combinations of loops and each times some problem comes up. …

Software Development file-system java
Member Avatar for JamesCherrill
0
350
Member Avatar for ThatJamaican

#include <stdio.h> #include <stdlib.h> int main() { char word[50]; int wordLength, i, reverseCount; reverseCount = 0; system( " color F5 " ); printf( "\n How many letters does the word have? : " ); scanf( "%i", &wordLength ); printf( " \n Enter word, letter by letter " ); for( i …

Software Development c mathematics
Member Avatar for Gonbe
0
263
Member Avatar for daino

I've managed to generate a Pkg-Config makefile using MSYS in the configure process and when I've tried to build it I've got the below errors. I'm thinking there might be a basked meaning for these kinds of errors. Any clues as to what it is. This is for pkg-config 0.27.1 …

Software Development c++
Member Avatar for Lucaci Andrew
0
271
Member Avatar for monching

# vb.net 2008 # Hi there! I am a college student of **Southern Leyte State University - Tomas Oppus** from **Philippines** taking Bachelor of Science in Information Technology. Can you help me on how to code the timer in **vb.net 2008**? We are using this in our research as completion …

Software Development vb.net
Member Avatar for savedlema
0
245
Member Avatar for savedlema

Hi all! I think I need some help moving data from one table to another. Here is the scenario: I have two tables, tblDetails (studentID,Name, Class.....) and tblPhysics (StudentID.....). Now, I want to SELECT StudentID from tblDetails WHERE Class = 1 (SELECT tblDetails.StudentID FROM tblDetails WHERE tblDetails.Class = '1') So …

Software Development vb.net
Member Avatar for savedlema
0
6K
Member Avatar for caswimmer2011

Hi, I've used keylisteners multiple times, but I am having trouble with this situation. I want the keylistener to recognize a series of characters. For example, if 'e' is typed, I want the program to listen for 'l', then 'e', etc. (spelling "elephant", if you wanted to know). It recognizes …

Software Development java java-netbeans
Member Avatar for JamesCherrill
0
230
Member Avatar for Jothe

Hallo good people, Am doing a project in which every time a delete record is done i want it to fire a trigger which then helps me capture who deleted the record and at what time this happened. All this details should be written in a flat file. Any help …

Software Development c# sql
Member Avatar for Jothe
0
98
Member Avatar for schutzk21

Hello everyone. I have a few questions about this project that I need to code. And If you can please show me how the code should look I would very much appreciate it. Write a program that can sort integers, decimals, and characters from ascending and descending orders. The program …

Software Development c++
Member Avatar for Lucaci Andrew
0
201
Member Avatar for GamerDJX

I need help with a program that I am working on. Basically the program right now takes a decimal number and converts it into whichever base I choose. What I need it to do is accept other inputs initially (binary, hexa, octal) and convert between whichever I choose. Can anyone …

Software Development c++
Member Avatar for vijayan121
0
223
Member Avatar for meetarun007

I need to display cartons as when it is placed in pallets in C# desktop program. I need to display one by one, after the robo places the carton in pallet. i.e, initally the pallet will be empty. when the robo places first pallet i need to show carton in …

Software Development c# display
Member Avatar for kattypier
0
378
Member Avatar for thammalatha

#include <iostream> #include <windows.h> #include <fstream> #include <string> using namespace std; class Entry { public: char name[50]; int id; float sal; bool b; Entry *next; void clear(Entry *head,Entry *tail) { while(head!=NULL) { head=tail->next; delete tail; tail=head; } } }; int main () { ifstream myfile1; ofstream myfile2; char *buff="",temp[256]=""; int …

Software Development c++ ios
Member Avatar for thammalatha
0
142
Member Avatar for pigrabbit87

I's running this on visual c++ and it runs without error. However, when I tried to run this on Linux, it kept giving me this "segmentation fault" message without any output. There is no pointer and is a quite simple program so can anyone please tell me what is wrong?? …

Software Development c++
Member Avatar for pigrabbit87
0
3K
Member Avatar for itsmrshow

I am trying to create a survey that displays only one question at a time. i have gotten it to show and store the question, but i cannot get to the next question in the survey. i know that once i get to the next question in the survey i …

Software Development perl
Member Avatar for wickedxter
0
229
Member Avatar for hwoarang69

lets say i am print a image on screen. with (x1,y1,x2,y2,sx1,xy1,sx2,sy2) g.drawImage(player_image, x, y, x+width, y+height 0, 0, 30, 20 ,Sprite_Sheet.m1); so how would i flipthis image vertically.

Software Development image java
Member Avatar for hwoarang69
0
137
Member Avatar for ShailaMohite

I am Create One Application In Which Only One Row Contain Enter Number Only. Please Give Me Validation For Enter Only Number In DatagridView

Software Development
Member Avatar for prampe
0
6K
Member Avatar for hotblink

Hi, I seem to be having some trouble converting the output of this(which is a list) to a string of integers. What I want ultimately is for the output to just be integers. After that I also need to determine how many times an integer appears. I know I need …

Software Development python
Member Avatar for snippsat
0
436
Member Avatar for asiawilliams

I'm taking a beginning java class and I'm trying to create a helper method to get a input from a user and combine all four methods into a package I can use in my programs after. I keep running into trouble with the last method, getMenuStringFromUser, the error it gives …

Software Development java
Member Avatar for Taywin
0
473
Member Avatar for alvy

im new at c# and was wondering if anybody could point me in the right direction in order to further my knowledge on this software. in terms of learning what each code means and stuff.

Software Development
Member Avatar for JOSheaIV
0
152
Member Avatar for tboctavan

I am never taking a C# class again. My question this time is I am trying to create an object named "newEmployee" in my main class that calls the employee class constructor method. My TL;DR constructor code is: // Constructor method public Employee(double hrsWorked, double rate) // These are defined …

Software Development
Member Avatar for JOSheaIV
0
168
Member Avatar for Carc369

I'm trying to think of a way to compare a string of multiple words and take each individual word to a dictionary. I have a binary search already coded but it's just breaking the string apart I'm having trouble with. I have to use C-Style Strings (character arrays). For instance …

Software Development c++
Member Avatar for Carc369
0
167
Member Avatar for arlir

Hi there every body, i am trying to build this contact list to hold records for a purpoted library but i got a little stuck with a few issues that i would like you guys to look at. The fifth switch(delete) statement does behave strangely i should say. When I …

Software Development c database-design file-system
Member Avatar for Adak
0
158
Member Avatar for BryantFury

Hey guys I'm going through some questions, studying for exams and below is one which has had me stressing all afternoon. Consider a uniprocessor system executing concurrently two processes P and Q. Each process executes the code listed below, process P – procedure P, and process Q – procedure Q. …

Software Development c
Member Avatar for DeanMSands3
0
232
Member Avatar for mc3330418

I'm trying to find the highest score from 6 scores taken from a text file. The code I have works, but it looks so inefficient. There should be a way to do it with a for loop, for (int i = 0; i < count; i++) if (max > score) …

Software Development c++
Member Avatar for mc3330418
0
150
Member Avatar for ssfox

Hello everyone,I'm new in MIPS programming, can anyone show me how to write code for these two programs. 1)Write a procedure called order that accepts two arguments. The first argument is the address of the array and the second argument is the index of an array element i. The procedure …

Software Development assembly
Member Avatar for ssfox
0
207
Member Avatar for daniel.moore.5099940

I need some serious assistence with finding the solution to this problem, it has plagued me for some time now and im just not getting the big picture. I need to move the elements in a 2d array according to the user input, but the way i have figured out …

Software Development algorithm c++ puzzle
Member Avatar for Labdabeta
0
401
Member Avatar for krystosan

i need help i thought i was doing it right but later when i looked at data it turned out to be something else I have 4 lines of code that i want to convert to single line list comprehension `newLst=[] for each in os.listdir(locationTxt): if os.path.isdir(os.path.join(locationTxt,each)): if each not …

Software Development python
Member Avatar for TrustyTony
0
179
Member Avatar for Anark10n

Apologies if the title is bit confusing, had to keep it concise. Okay so the xml document looks like this <students> <student sid="S2208"> <fname>Ben</fname> <lname>Doe</lname> <scourses courseid="DSA" mode="full-time"/> <scourses courseid="INT" mode="part-time"/> </student> <students> <lecturers> <lecturer lid="L1101"> <fname>Dohn</fname> <lname>Joe</lname> <lcourses courseid="DSA"/> <lcourses courseid="INT"/> <lcourses courseid="ACT"/> </lecturer> <lecturers> Using the courseid attribute …

Software Development xml
Member Avatar for Anark10n
0
187
Member Avatar for cutterpillow20

Good day, i'm new in C.. can you give me some idea in how to program a moving cursor in the output screen and highlight the text... because i will use this in my coming final project in school.. we will make a system in TURBO C.. hoping for reply... …

Software Development c
Member Avatar for Ancient Dragon
0
1K
Member Avatar for bestex

Hi guyz, My problem is when i am saving a record in MySQL Database there is an error occured "Incorrect datatime value 3/20/2011 for COLUMN DATE at ROW 1" I used Date as my DataType in MySQL server? Can anyone fix my error ??

Software Development vb.net
Member Avatar for swayzion
0
108

The End.