132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for ReneeJA

Please, i need a teacher to help me out...i am at the intro stage and i was wondering if someone would walk me through this please..i would appreciate it. Mr. Clark employs students who are exempt from taxes and others who are not. Write a program that will calculate and …

Software Development c c# c++
Member Avatar for owlowl076
0
1K
Member Avatar for tegaelam

Hello all, I am having issues with a homework assignment. My assignment is as follows: Write a program that uses a loop to display Pattern A below, followed by another loop that displays Pattern B. Pattern A: + ++ +++ ++++ +++++ ++++++ +++++++ ++++++++ +++++++++ ++++++++++ Pattern B: ++++++++++ …

Software Development c++ display
Member Avatar for Reverend Jim
0
3K
Member Avatar for Charlton21

In the following code, I need to optimize it for the fastest performance. I'm not asking anyone to do it for me, I'm asking if someone can look through the code, and let me know where I can get the best speed up by example loop unrolling a for loop …

Software Development c
Member Avatar for lernik
0
736
Member Avatar for daino

Would anyone know how to put user input into a Char Array. I've provided the code below It doesn't work so I've tried many variations like making char wrd as char wrd[20] but still nothing. I think I'm missing a fundamental point here. All I want to do is have …

Software Development c++
Member Avatar for deceptikon
0
43K
Member Avatar for Michael_69

Hi guys, can you help me with a MIPS Asm exercise. It's the first time that i coding in this language... I solved the exercise in Java, you can get some help to convert it to MIPS? thanks a lot to everyone Java code: public class Exrcise1 { public static …

Software Development assembly java
Member Avatar for ddanbe
0
372
Member Avatar for emoji

Design a pascal that will capture the names and coursework and exam grades for math, science and computer science from a set of students. It should calculate the final grade for each course and GPA. The algorithm should output as a list at the end the name, math final, computer …

Software Development algorithm pascal
Member Avatar for Reverend Jim
0
325
Member Avatar for Andrew_39

Hello i been doing some program of my own, my program is to get the number of days paased in the year. I am having hard to get get the passed in the year. Now when i try to run and the output gives me "4438232", i am really having …

Software Development c++
Member Avatar for Johan_1
0
7K
Member Avatar for nadiam

Hello. I have this tutorial and I'm at a lost. The program is suppose to calculate the call charges according to the rates. conditions: a) all calls start at 600pm and before 700am will be given 50% discount from the normal rate b) any calls that starts at 700am and …

Software Development algorithm c
Member Avatar for JamesCherrill
0
672
Member Avatar for Rodrigo_5

Develop a C++ program that finds the minimum of 4 even numbers entered by the user.? The program should display the following grades if the minimum value is found within the given interval; 60-100 A 40-59 B 30-39 C Below 30 Fail

Software Development c++
Member Avatar for tinstaafl
0
319
Member Avatar for Victor_15

Using the IAR, I need to develop a program to display a timer using the 7 segment displays, the counter must be able to count up to 59 minutes and 59 seconds and must be displayed in the following format: 59:59 (using the colon). Use software delay loops to approximate …

Software Development assembly
Member Avatar for SeacoastView
0
596
Member Avatar for anny**

hello !! i want to ask that in below program if i want to change cin and cout into printf and scanf then how colud i?Becuse when iam changing my program in cin and cout it is not running :( [CODE]#include <iostream> #include <iomanip> int main () { long number; …

Software Development c
Member Avatar for helo_1
0
4K
Member Avatar for Clocker

Hi guys i am trying to save information in to my access database , i created new instance of an ADODB.Connection object and ADODB.Recordset object but visual studio 2005 is given me an error message that ADODB.connection and ADODB.Recordset are defined, please can any one help this is my code …

Software Development vb.net visual-studio
Member Avatar for chilaka2
0
5K
Member Avatar for ema_1

Hi, I have a seminar in programming. My topic is how to use the api in C and how to use the api in vb6. I dont know anything about that. Can you help me a little bit? Thank you

Software Development api c
Member Avatar for Reverend Jim
0
187
Member Avatar for hegindra

#include <iostream> #include <stdlib.h> #include <unistd.h> #include <time.h> using namespace std; int createZombie() { if (rand() % 67 < 10) return 11; else return rand() % 10 + 1; } int main() { srand(time(NULL)); char enter; // game starts int playerAlive = true; int playerSkill = 9; int playerScore = …

Software Development c++ oop
Member Avatar for JamesCherrill
0
580
Member Avatar for Sagar_9

Hello All, I'm currently working on a project which requires me to encrypt multiple text files at one go. I am able to retrieve the name of the files through listfiles() but how am i supposed to pass those files to File variable so that the encrypt method can encrypt …

Software Development algorithm encryption java
Member Avatar for Sagar_9
0
2K
Member Avatar for sunilkumarmano

hi everyone, Im doing a project of creating a office application.I want to to add all the options that in my project that are available in the microsoft word.I have a doubt in adding table in the work area.Can any one tel the solution to my problem.

Software Development microsoft-office vb.net
Member Avatar for Rajeev_7
0
2K
Member Avatar for Sameer_8

Hello i have an other code that bother me because i am confused what i should do take a llok to the questions first: **Example 2: The GradeBook Class: Consider the attached GradeBook class. Complete the following tasks: 1-Modify the determineClassAverage method so it allows the user to enter the …

Software Development java java-swing
Member Avatar for JamesCherrill
0
270
Member Avatar for k2k

hi, does anyone know how to insert a background picture to a JPanel? I have googled around, found something seem more difficult than it should be, and a simple one as below but not showing the pic. [code] midBoard = new JPanel(); JLabel pic = new JLabel(new ImageIcon("Sunset.jpg")); //midBoard.setBackground(java.awt.Color.RED); midBoard.add(pic); …

Software Development java
Member Avatar for JamesCherrill
0
14K
Member Avatar for Sameer_8

Hi i have other problems in other class the questions is ** The Person class Create a class called "Person" that includes three pieces of information as instance variables: a name, address, and age. Your class should have a constructor that initializes the three instance variables. Provide a set and …

Software Development java
Member Avatar for Sameer_8
0
200
Member Avatar for Sameer_8

Hello everyone, I have a reall small questions and i am stuck in the end of my code. I need just someone explane it to me please or maybe i am confused. Take a look... Questions: **Create a class called "Employee" that includes three pieces of information as instance variables: …

Software Development java
Member Avatar for Sameer_8
0
1K
Member Avatar for Violet_82

Hi guys, as I have never used any design pattern I thought I might try to learn something by developing a small application. What I'm thinking is something like a radio controlled car simulation - I mean a really really simplified version of it of course - something like creating …

Software Development java
Member Avatar for Violet_82
0
318
Member Avatar for Rajan_8

I am doing a mini project on Caesar cipher, I found one program but can't understand the 29th line "key = -key". Please help me. # Caesar Cipher MAX_KEY_SIZE = 26 def getMode(): print('Do you wish to encrypt or decrypt a message?') print("'e' for encrypt and 'd' for decrypt") while …

Software Development python
Member Avatar for Rajan_8
0
694
Member Avatar for gozo12

hello what is the code of if scroll bar of listbox move i somethins like this ? [CODE] if listbox1.scrollmove then textbox.text="" end if [/CODE]

Software Development vb.net
Member Avatar for Xavier_5
0
3K
Member Avatar for Irfan_12

My application is developed in visual basic 6 and oracle 11g express is its database. Now we need to make it available on our network for multiple users to use it simultaneously. How can I configure it for the same. What is the procedure to make my application a networked …

Software Development oracle visual-basic
Member Avatar for JerryFJustic
0
442
Member Avatar for batoolhussain

hi everyone I need your help in extracting arabic text from image using vb.net. I only found program for extracting english language text but not found for arabic. I used the following code that support only english language. Imports MODI Imports System.IO Public Class Form1 Private Sub Button1_Click(ByVal sender As …

Software Development image vb.net
Member Avatar for Avedgent
0
2K
Member Avatar for MRehanQadri

Suppose I'm running a loop and the loop should continue unless I get a garbage value. So what will be the terminal condition. How can garbage value be checked in if condition?

Software Development c++
Member Avatar for Reverend Jim
0
4K
Member Avatar for Tedsintheway

Hi chaps I am trying to create a coundown timer in a form, it must count from 60 seconds to 0 and must be started using a button on the form. I also would like to add a reset button if posible. I have looked in archives and lots of …

Software Development vb.net
Member Avatar for David_98
0
1K
Member Avatar for hbk619

I've been googling and going round in circles, simply put: when the button is clicked i want an image of a card to appear. [CODE]class Actions extends JFrame implements ActionListener { JTextArea textarea = new JTextArea(2,25); JButton twist = new JButton("Twist"); JButton bust = new JButton("Bust"); public Actions() { super("Twist …

Software Development display google image java
Member Avatar for Akshay_8
0
3K
Member Avatar for naazsayed

Hi, i am trying to build Employee Attendance system and was successful in assigning TAGS to employees.now i want to calculate in/out timings of employees and which TAG swapped His/Her TAG without displaying any data to end user. i had tried basic sql query but seems to be not working. …

Software Development c# sql visual-studio
Member Avatar for rproffitt
0
327
Member Avatar for Karuna_2

Dear sir My progress bar is not full fill (end area)and precentage is not center how can do it.please follow my attachment thank you wansa Public Class Form1 Declare Auto Function SendMessage Lib "user32.dll" (ByVal hwnd As IntPtr, ByVal msg As Integer, ByVal wparam As Integer, ByVal iparam As Integer) …

Software Development display perl vb.net
Member Avatar for Xavier_5
0
295
Member Avatar for Goldfinch

I have been comparing a Java GUI program's start time to both native apps and another Java based app, and I have concluded that my program is launching a little too slowly, or at least a little slower than I would like. I think it's taking too long to load …

Software Development gui java
Member Avatar for JamesCherrill
0
243
Member Avatar for Daniel_51

How to zoom to the cursor position after the graphics component has been transformed? I want to be able to zoom to any of the test rectangles. The panning is done with the Middle mouse button. MouseWheel Event handles the zooming. Ignore the DrawGrid method, it's just to get some …

Software Development asp.net vb.net
Member Avatar for Xavier_5
0
739
Member Avatar for Learner010

we use `Print` to print text to form in vb6 and dont know how to print text to window form in vb.net please explain how to achieve it . . .

Software Development vb.net
Member Avatar for munawer_1
0
3K
Member Avatar for harsh01ajmera

How to close main form i. e login form after login and it should not close application

Software Development vb.net
Member Avatar for Varun_9
0
3K
Member Avatar for Latrell_vie

I have the following code and i dont understand why P4(3,7)is giving returnvalue true (1) , since here 7(ConTemp.XYCoord[1]) is bigger than 5 (ReCoordRo.XYCoord[1]), so i would like to know a way to monitor the boolean Rechteck1.contains(P4), watch windows doesnt give me that option, so how do i go about …

Software Development c++
Member Avatar for ddanbe
0
683
Member Avatar for tom_22

This is the result after applying trained svm..i don't know why i got support vectors as 0's and why i got uncompressed support vectors. Can someone help me? <?xml version="1.0"?> -<opencv_storage> -<opencv_ml_svm> <format>3</format> <svmType>C_SVC</svmType> -<kernel> <type>LINEAR</type> </kernel> <C>1.</C> -<term_criteria> <epsilon>9.9999999999999995e-07</epsilon> <iterations>1000</iterations> </term_criteria> <var_count>8</var_count> <class_count>2</class_count> -<class_labels type_id="opencv-matrix"> <rows>2</rows> <cols>1</cols> <dt>i</dt> <data> …

Software Development algorithm c++
Member Avatar for rproffitt
0
663
Member Avatar for Mike Bishop

I have two forms the first FrmRecipe.vb form has all my calulations and functions in it the second FrmReports has a crystal report viewer with loads of reports. I am trying to call the report as a thread so that the main from is still working however when the treads …

Software Development multithreading vb.net
Member Avatar for Xavier_5
0
3K
Member Avatar for ktimov1

To display a DataGridView column as Read Only I use: [CODE]DataGridView.Columns[0].ReadOnly = true;[/CODE] Is it possible to display a column as boolean checkbox type. The data is yes/no but I want them displayed as a checkbox. Something like: [CODE]DataGridView.Columns[2].CellType = Boolean;[/CODE] but that doesnt work..'bool' is a 'type' but is …

Software Development display
Member Avatar for jireh
0
8K
Member Avatar for PulsarScript

What does mean by saying polymorphism allows programming in general rather then programming in specific?

Software Development java
Member Avatar for JamesCherrill
0
304
Member Avatar for Mahfuz_2

'Declare the global variables to be used throughout the form Dim mfirst As Single Dim msecond As Single Dim manswer As Single ' Declare the global variables for the operators: Add,Sub,Mul and DIV Dim mbutton As Integer 'Change the sign of the number from + or - or vice versa …

Software Development
Member Avatar for Reverend Jim
0
299
Member Avatar for _1_14

I have problem in display image from access 2007 database to rdlc i work in windows form c# vs2015 Actually i need to display image from database to more records from access 2007 but i cannot in rdlc i do as following : In RDLC drag image control to report …

Software Development dataset display image
Member Avatar for rproffitt
0
451
Member Avatar for Peetah

I am writing a program that reads a comma-delimited file. There are several words on each line that will each be assigned to a string variable, each line in the file is a record, and the file contains several records. I am using getline with a delimiter, e.g. [B]getline(inputstream, string, …

Software Development c++
Member Avatar for Adam_37
0
15K
Member Avatar for tnd2491

for (UINT wCount = 0; wCount < pMan->aAccounts.wNumItems; wCount++) { CUserAccount *pAccount = (CUserAccount *)pMan->aAccounts.aItems.GetAt(wCount); if (pAccount->csProfileName.Compare(pGroup->csProfileName) == 0 || pAccount->csSingleActive.Compare(pGroup->csName) == 0) { if (pAccount->_csUserGroup.CompareNoCase(_T("GrpAdmin")) != 0 && pAccount->_csUserGroup.CompareNoCase(_T("GrpOffice")) != 0) { pAccount->pFuncRestrictions->SetRestriction(Area1, Activity1); pAccount->pFuncRestrictions->SetRestriction(Area2, Activity2); pAccount->pFuncRestrictions->SetRestriction(Area3, Activity3); pAccount->CreateInDatabase(pConnec); } } } Here, my code is calling CreateInDatabase twice …

Software Development c++
Member Avatar for tinstaafl
0
323
Member Avatar for Kittipat

i don't know how to change button backcolor after data change i use C# Oledb

Software Development c# gui
Member Avatar for ddanbe
0
254
Member Avatar for Brittany_2

Warning: I am brand new to programing. I am trying to create a random letter generator game for a class project. I feel like I have a good start to it but I am having difficulty with a few points. The program is supposed to ask the player how many …

Software Development c++
Member Avatar for Nutster
0
1K
Member Avatar for Clif40RD

Hi Guys, I have a data bound grid-view with action buttons for updating and deleting items in a users shopping cart. The grid-view uses a 'SelectMethod' in the code behind to generate the data. The problem I'm having is that every time I edit some data in the grid-view, the …

Software Development asp.net
Member Avatar for ddanbe
0
1K
Member Avatar for ALi_66

easy and best compiler for the c language???

Software Development c
Member Avatar for charlottegracie
0
113
Member Avatar for sciprog1

Hello Members, I want to write a C program which creates two threads and uses a semaphore (as a critical section) to sleep for 1 second and then terminate. I am having a hard time with some of the C Syntax for semaphores. Is it possible to post an example …

Software Development c
Member Avatar for charlottegracie
0
4K
Member Avatar for Neethu_1

1) While working dates, when and why the local time and universal times are used? 2) Which multi-threaded program is recommended for reducing CPU usage? Why?

Software Development python
Member Avatar for Reverend Jim
0
155
Member Avatar for nadiam

Hello. I have an exercisse to convert from 24-hour to 12-hour clock. code: /*ALGORITHM READ INPUT VALUE IN 24-HOUR FORMAT DISPLAY THE EQUIVALENT 12-HOUR CLOCK WITH THE PERIODS AM OR PM */ #include<stdio.h> #include<conio.h> int InputValid24Hour(void); void Output12HourClock(int); void main() { int data; data = InputValid24Hour(); Output12HourClock(data); _getch(); } int …

Software Development algorithm c display
Member Avatar for nadiam
0
482

The End.