3,896 Topics

Member Avatar for
Member Avatar for Deadshot_1

INCLUDE asmLib.inc .data Bank DWORD 10 rNum DWORD ? welcomeMsg BYTE "Welcome to the dice guess game. it costs $1.00 to play. " , 0dh, 0ah, 0 contMsg BYTE "Would you like to continue? (y/n)", 0dh, 0ah, 0 prompt1 BYTE "Please enter your guess for the next roll. It only …

Member Avatar for rproffitt
0
114
Member Avatar for Deadshot_1

Write a program that asks the user to guess the next roll of a six sided die. Each guess costs $ 1. If they guess correctly, they get $ 10.00. The player will start out with a $10.00 bank. Each time he (or she) guesses incorrectly you will subtract $1.00 …

Member Avatar for rproffitt
0
264
Member Avatar for BlurrieBlue

Hi, I tried to view crystal report by using crystal report viewer in Visual Studio 2010. However when i tried to declare ReportDocument, it is underlined with blue curly line. I had done the following in the code behind file. [CODE]Imports System.Data Imports System.Data.Odbc Imports CrystalDecisions.CrystalReports.Engine Imports CrystalDecisions.Shared Imports CrystalDecisions.Web[/CODE] …

Member Avatar for TAKUDZWA_1
0
2K
Member Avatar for Shahira_1

Write a program that asks a user for a character and then displays a message whether the parity of the character is odd or even. For calculating the parity, instead of testing the parity flag directly, use a loop that shifts each bit into the carry flag and accumulates a …

Member Avatar for rproffitt
0
34
Member Avatar for sanjay2012

Error 1 'AdvoDiary.DataSet' is a 'namespace' but is used like a 'type' D:\AdvoDiary\AdvoDiary\ReportViewer\rptBilling.cs 25 9 AdvoDiary namespace AdvoDiary.ReportViewer public partial class rptBilling : Form Common sCom; DBHelper myDB; string sOLE; clsGlobalVar objGlob; OleDbConnection cn; OleDbDataAdapter sDA; DataSet sDS; OleDbCommand cmd;

Member Avatar for tinstaafl
0
374
Member Avatar for nantha_2

Please help me.. When i code in my PC for this programming it is running without any error, but when i release it to server i Encountered error Compiler Error Message: CS1061: 'ASP. registration_aspx' does not contain a definition for 'btnDeactivate_Onclick' and no extension method 'btnDeactivate_Onclick' accepting a first argument …

Member Avatar for nantha_2
0
175
Member Avatar for TheofaniaLiv

So i have to create a programm that reads 7-49 numbers and makes all posible combinations (6 number each) from the given numbers. Do you know how can i do this? I dont ask for the code ready but i cant think of a way i can create the combinations.

Member Avatar for rproffitt
0
261
Member Avatar for Poppic

Currently trying to understand how to convert some C into mips. Is a "return func" different from "return"? Both C codes are very similar yet im unsure how they will both look in code once completed. Are both of these codes the same? The second code is from another thread …

Member Avatar for rproffitt
0
6K
Member Avatar for Jin_3

int my number [10]; void fun(int input, int* addr){ if (input %2 == 0){ *addr = 1; } } int main (){ int i; for (i = 0; i < 10; i+=1){ fun(number[i], &number[i]); } return 0; }

Member Avatar for rproffitt
0
55
Member Avatar for Pavan_23

Write a Python function maxaceregate(!) that takes a list of pairs of the form (name score) as argument, where name is a string and score is an Integer Each pair is to be interpreted as the score of the named player For instance, an input of the form [CKohir 73) …

Member Avatar for Dani
0
88
Member Avatar for faarrukhjamal

I tried alot to print this arrow with random generated values which are 0101 , every time it should be differnt, please help me out thanks :) ![Untitled1.png](/attachments/large/4/c843d1e3a2cf1464dc1f1eb7c0d4a68a.png)

Member Avatar for Smartfitness33
0
1K
Member Avatar for noscreen

I'm having trouble coming up with the concept for parsing an LC3 assembly string. I want the user to input a string: "4 + 3 = " or "22 * 33 = ", and have the program run it like a calculator. I need a space in between each operand/operator, …

Member Avatar for rproffitt
0
41
Member Avatar for ASD_3

Would anyone be able to help me, I am trying to make a C++ program which reads values from csv file and prints them(there are going to be three 4 rows, 3 columns). I want to know how can I add the rows (like the sum of the first row …

Member Avatar for Amber_12
0
278
Member Avatar for HelpMeProgram!

I need help with my coding and I need to know how to configure my text for my button, Here is my code so far: class EyeSprite(Sprite): def __init__(self, game): Sprite.__init__(self, game) self.images = [ PhotoImage(file="C:\\Users\\John Magana\\Desktop\\Python Projects\\clicker game folder\\eye1.png") ] self.current_image = 0 self.current_image_add = 1 self.last_time = time.time() …

0
49
Member Avatar for 652yokohoma
Member Avatar for Cindy20

Can you help me decrypt the message with the given information. I figured out the first line is using Xor ciphers but how do I figure out the rest? Y[ZU[XZWZ\XXZjZ[[WWVWU Ogaqkxpgbqbfiof! Cyw'ss bun! Zqksxl cywd lnepwvs uozneh. Qjc mgabiy nfx vmz-djrhkfalfq. Xnjfx ai qjvi viqi uat pgw odjwp. The radio …

1
148
Member Avatar for Ryan_43

https://payloadz.myshopify.com is my new site, im a computer science student i started it to showcase the vulnerabilities in linux

Member Avatar for rproffitt
0
36
Member Avatar for Onion13

Trying to make a game where explosions randomly appear on the screen using visual studio. I figured out how to make a single picture change location on the screen. So, I wanted to make the illusion of an explosion using imagelist. When I try to do it I get an …

Member Avatar for pritaeas
0
472
Member Avatar for Jimly

INCLUDE "EMU8086.INC" ORG 100H LEA SI, MSG1 CALL PRINT_STRING CALL SCAN_NUM MOV AX, CX LEA SI, MSG2 CALL PRINT_STRING CALL SCAN_NUM MOV BX,CX CMP AX, BX ; COMPARE AL - BL. JE EQUAL ; JUMP IF AL = BL (ZF = 1). PRINT 'NO' ; IF IT GETS HERE, THEN …

0
42
Member Avatar for IndiaofCarl

I have three problems the first one is to count the letters in a string in Assambler in MIPS. the string that should be counted is "My bird is a happy bird and he like to sing" .data ANTAL_TAL: .word 11 TAL_ARRAY: .word 1, 3, 6, 9, 2, 4, 6, …

Member Avatar for stellaa9x
0
212
Member Avatar for pearl.kumar1

Hi, I created an application in VS 2008,If i run my application in Client machine it shows an error like 'could not load file or assembly 'Microsoft.VisualBasic.PowerPacks.Vs Version 9.0.0.0''.Kindly refer any link which is easy to download and install.

Member Avatar for rproffitt
0
2K
Member Avatar for carla_3

I am currently working on a python program that takes the numbers from a large file and averages them. Currently I can't seem to find a way to add the numbers without using the sum function. I am a beginner and am just trying to grasp the basics of Python …

Member Avatar for Dani
0
96
Member Avatar for Arooj_3

#include "stdafx.h" #include <iostream> #include <windows.h> using namespace std; int main() { int sitution =0; cout<<"SECURITY SYSTEM"<<endl; cout<<"1. Police"<<endl; cout<<"2. Fire Brigade "<<endl; cout<<"4. Earthquake "<<endl; top: cout<<endl; cout<<endl; cout<<"Press The Button for Help \n "; cin>>sitution; if (sitution ==1) { for (int i =0; i <10;i++) { Beep(1000,400); cout<<" …

Member Avatar for rproffitt
0
40
Member Avatar for athousandsticks
Member Avatar for Mr.M
0
61
Member Avatar for Syada

Write a complete C++ program for WorldParking Sdn Bhd. to perform the following: a. Write a return-value function named calcCharges() to calculate and return the parking charges for the customers. The company charges a RM1.00 minimum fee to park for up to one hour. An additional RM0.50 will be charged …

Member Avatar for Fatur_1
0
608
Member Avatar for Syada

Write a complete C++ program for WorldParking Sdn Bhd. to perform the following: a. Write a return-value function named calcCharges() to calculate and return the parking charges for the customers. The company charges a RM1.00 minimum fee to park for up to one hour. An additional RM0.50 will be charged …

Member Avatar for rproffitt
0
33
Member Avatar for RedWGS

So i need to make a program to my final year of college which will count on the grades and it is obligatory, im doing a program to search for recipes in a access database trough its ingredients, what i mean by this is selecting some ingredients and in a …

Member Avatar for Santanu.Das
0
209
Member Avatar for Remti Altec
Member Avatar for John_266

I have to make a program that reads the number of seats and stores it in a two dimensional array. The empty seats is hashtag and if the user buys a seat it becomes *. The odd rows have 15 seats and even have 20. When I purchase a seat, …

Member Avatar for ButcherHix
0
269
Member Avatar for Dole_1

I have been going through assembly tutorials to understand how computers function at low level. I learned most of the standard x86/64 CPU instructions, but also still did not get all the answers, mostly relating to accessing the I/O and other hardware. So I have perhaps a somewhat silly question …

Member Avatar for rproffitt
0
36
Member Avatar for nevin6969

In python how to write a program which takes a number of days from now - 100 days, and find in which month that future day is.

Member Avatar for amazingadmin
0
231
Member Avatar for nana_7

; Data section .data extern printMSG extern exitNormal extern printRAX extern printRBX extern printRCX extern printRDX extern getByteArray extern printByteArray extern printEndl startPrompt db "Welcome to the amazing dice game, press enter to start " startPromptLen dq 54 rerollPrompt db "Enter any numbers you want to keep " rerollPromptLen dq …

0
33
Member Avatar for patrickdegaule

to input a number and store it in x y equal to x-z y>0 , display the value of y and x using org 300 with x , dec 0 y , dec 0 z , dec 5

Member Avatar for rproffitt
0
75
Member Avatar for mr.matrix251
Member Avatar for rproffitt
0
126
Member Avatar for kww228

I am doing a project that must convert each string in X to an integer and save it in the corresponding location in Y. A dollar sign is used to mark the end of a string. I have 90% of the code, but it only works for the first string …

Member Avatar for hamzah_3
0
12K
Member Avatar for taylan_1

It converts only one number into binary. When 2 numbers are entered, I want them to translate and write them as binary.This is very important for me, I have been dealing for 2 days I made the code here, but I couldn't do it after that.Can someone who knows help …

Member Avatar for rproffitt
0
119
Member Avatar for monjo

section .text global _start: _start: mov esi, array ; get pointer to array mov edi, arraylen ; edi = number of array elements loop: mov edx, 2 ; print 2 bytes mov ecx, [esi] ; get current array element add ecx,48 push ecx ; push to stack since we need …

0
103
Member Avatar for himanshucary

Dear All, From the below codes, I can get the values of text boxes x1,x2 in the Textbox1 of form2. (when I write x1 or x2 in the textbox 2 of form2.) But when I write c1 or c2 in the Textbox1 of form2 then it gives error. Pl. help …

Member Avatar for tinstaafl
0
151
Member Avatar for Yasmeen_4

Using mars (mips simulator) write a program using spim assembly language to read 20 integer numbers (positive and negative) store them in an array of 20 elements rnd compute the following on these numbers. 1. The count of positive numbers 2. the count of even numbers 3. print only numbers …

Member Avatar for Reverend Jim
0
226
Member Avatar for Nobu_1

Hello,i learned how to used the C++ but i have problems to analysis the problem in my project. Write a program to process monthly paycheck for all contract workers of an organization. Each worker will have the following information: Identification number (at-digit integer), the worker's name, hourly pay rate, and …

0
136
Member Avatar for MagnusTheRed90

So, I am a post grad student in the software development field, and I am not working at the moment, but I have some questions on Business Rules, User Stories, etc. So I was wondering if perhaps we could open up a discussion here on some of the common business …

Member Avatar for MagnusTheRed90
0
317
Member Avatar for Glen_4

Hello everybody I'm creating a Windows Desktop App using vb.net, I'm not very knowledgeble and I can say that I'm still a beginner. So I have this project where I'm trying to create a report form using ReportViewer where as after putting the ReportViewer control to my form and select …

Member Avatar for pritaeas
0
713
Member Avatar for Dharshika_1

MARIE program to calculate some basic statistics on a list of positive numbers. The program will ask users to input the numbers one by one. Assume that all numbers will be in the range 1 to 1000. To terminate the data entry, the user will input any negative number. Once …

Member Avatar for rproffitt
0
371
Member Avatar for rjrajbir

Hi, I am a newbie here, Recently I was working with H3LIS331DL 3-Axis Linear Accelerometer I²C Mini Module Here is code for the X, Y, Z-axis. #include <Wire.h> // H3LIS331DL I2C address is 0x18(24) #define Addr 0x18 void setup() { // Initialise I2C communication as MASTER Wire.begin(); // Initialise Serial …

Member Avatar for rproffitt
0
417
Member Avatar for VIRTUAL_2

[org 0x0100] n1: db 1 n2: db 2 largest: db 0 mov ax, byte[n1] mov bx, byte[n2] cmp ax,bx jg next mov [largest],bx jmp endrtn next:mov [largest],ax endrtn: mov ax, 0x4c00 int 0x21 error in line 6 and 7 error is mismatch in operand sizes

Member Avatar for rproffitt
-1
198
Member Avatar for VIRTUAL_2

[org 0x0100] num: db 0 factorial: dw 1 VUID: db 1,2,3,4,5,6,7,8 mov bx,0 jmp start fact: mov ax, byte[num] fact_loop: mul word[factorial] sub ax,1 cmp ax,0 jg fact_loop ret start: mov bx,0 mov cx,[VUID+bx] add bx,1 shr cx,1 jc start mov [num],cx call fact mov ax, 0x4c00 int 0x21

Member Avatar for rproffitt
0
296
Member Avatar for VIRTUAL_2

[org 0x0100] num: db 0 factorial: dw 1 VUID: db 1,2,3,4,5,6,7,8 mov bx,0 jmp start fact: mov ax, byte[num] fact_loop: mul word[factorial] sub ax,1 cmp ax,0 jg fact_loop ret start: mov bx,0 mov cx,[VUID+bx] add bx,1 shr cx,1 jc start mov [num],cx call fact mov ax, 0x4c00 int 0x21 when …

Member Avatar for rproffitt
0
230
Member Avatar for ss00ss00ss00

i'm really struggling with this pseudocode to convert it to MARIE Input a number Assign this number to x if(x <y) x = x + y; z=z+w; else y=y-w; Print the value of the accumulator. x, Dec 0 y, Dec 2 z, Dec 5 w, Dec 1

Member Avatar for ss00ss00ss00
0
3K
Member Avatar for DanyOcean

Hi, I apologize if my english is bad, I need some help printing the value of a variable in the code that I show below, I'm using emu8086 and I need that this works in this code example that is the same that comes in the examples of emu8086 (PrinterDemo.asm) …

Member Avatar for Thaumtrope
1
12K
Member Avatar for Tormod

Has been looking at different methods like using a look-up table or double-dabble, but have up to this moment not found any algoritm that do the work most effectively. The 64 bit value is delivered to the routine in two 32 bits registers (upper,lower). I am writing a larger project …

Member Avatar for rproffitt
0
402

The End.