- Upvotes Received
- 6
- Posts with Upvotes
- 6
- Upvoting Members
- 4
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
Re:
Hello all! I am trying to complete a lab assignment for my computer systems class and we have to use the printf function to print changing register values (increment eax from 1 to 10, decrement ebx from 10 to 1). Here is my code: [CODE]; Purpose: To print data to … |
|
Re:
Hi All, in below code snippet, I have been facing memory leak issue while free memory for string.Could you let me know thereason for the same.I believe if we are allocating memory then it needs to be freedbut what i observed if i don't free the memory it works fine … |
|
Re:
Is there any method for comparing two points of 3d space? |
|
Re:
I am a computer hardware technician. And I want to create some programs to use in job. I think it would be more efficient in time. I can use C++ programming language but not perfectly. So I need some helps from you. I want to write some programs with C++ … |
|
Re:
Good day to all. I have a database in MS access and i need to access it using HTML. Can anyone help me to do this. Thanks. |
|
Re:
the employees must be registered in alphabetical order, but i don't know how........... struct EMP { int empno; char empName[MAX]; char designation[MAX]; struct EMP *next; }; struct EMP* insert(struct EMP *front, int id, char name[], char desg[]) { struct EMP *newnode; newnode = (struct EMP*) malloc(sizeof(struct EMP)); if (newnode == … |
|
Re:
#include<stdio.h> int sum(int,int); int main() { int a=5; int b=6; int res; res=sum(a,b); printf("\n%d\n%d\n",a,b); printf("%d",res); } int sum(int x,int y) { x=x+1; y=y+3; return y; } This is a sample program where my a and b values didint change and the result of modified y (ie)9 is returned back to … |
|
Re:
Hello All, I want to know how to sort ascending or descending varchar values. This is my field and values Filling_s_no varchar2; Table: Id Filling_s_no name 1 1.1.1 X 1 1.1.10 X 1 1.1.5 X 1 1.1.2 X 1 1.2.1 X 1 1.2.0 X Now I want to sort my … |
|
I need to use Drools 6.2.0.Final. Is it possible to use Guvnor with it? Any example? Thank you. |
|
Re:
Dear user I write a file upload code in php, the code work's fine but it will upload the file 50kb to 60kb, when i try to upload more then 50kb to 60 kb file then the page stuck on loading. The problem is why it is not uploading more … |
|
Re:
The full structure of a C++ program to compare two strings and check whether they are equal |
|
Re:
I have to write a program to find the hypotenuse of a right triangle in 8086. and I'm suck. Please please help. |
|
Re:
hey everyone, im in my first semester of assembly, i had a quick quesiton, im working with the coproccessor now for the first time and i would like to know if The coprocessor stack holds all values as 80-bit reals then what is the largest integer data type that can … |
|
Re:
Does any one know if I can find these problemes here ? 3. Problem #3 a. What will be the result of the following code if executed? Comment the assembler instructions MOV BX, 20A MOV AX, [BX+1] MOV CX, [BX - 2] CMP AX, CX JB cxismax SUB AX, CX … |
|
Re:
I don't understand what I am doing wrong. Can anyone help me please??? Code blocks are created by indenting at least 4 spaces ... and can span multiple lines using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace chapter_5_c_sharp_array { class Program { static void Main(string[] args) { int x; … |
|
Re:
Hi all, I am at a lost and do not know where to start from. Here is what I have to do "Given the data below, you are to design an IA-32 assembly language program to sort array X by the number of binary 0's in each member and save … |
|
Re:
I know how to get to the user input and such, but I do not know what to do after that. |
|
Re:
I am having some problems with my "sum of numbers program," and cannot figure out why I am not getting the correct answers. This is my first Assembly programming class, so take it easy on me, please. The assignment is: Prompt a user for an integer n, compute the sum … |
|
Re:
Matrix given in memory to print the spiral in opposite direction from clockwise (left column down the right lower range, right up column, a series of upper left, etc. until you get to the middle) I'm new here, I have to write code for the task above in assembly,could someone … |
|
Re:
[ICODE]Can any one help with a simple php code to get time difference this is what i did, don't be mad at my effort, i tryed other ways and failed.[/ICODE] [CODE]$tf_con =time(st$_POST['time_out'] - $_POST['time_in']);[/CODE] |
|
Re:
Hello, I need help for my task.. This is the matrix 1 2 3 4 5 6 7 8 9 the result is 1,4,7,8,9,6,3,2,5 I have to solve this task in assembler 8086 in emu... I need help, it is very important for me. Please help me |
|
Re:
#include<stdio.h> void main(void) { int n,j, fact; printf("\nENTER A NUMBER:"); scanf("%d",&n); fact=1; for(j=1;j<=n;j++1) fact=fact*j; printf("\nThe factorial of %d is %d",n,fact); } I have problem in for(j=1;j<=n;j++1).Please help me. |
|
Re:
I made my console application up in Visual C++ 2010,have a icon for it,but don't know how to place it.I know it's not important and that i can use additional software for that, so answer directly, i just want to know. Thanks ! |
|
Re:
Hi forum, I just need help on my code. I am trying to find all the Armstrong numbers from 100-999(i.e. when the cubes of three digits added together equal the number - 1^3 + 5^3 + 3^3 = 153.) My code works until it gets to line 93, then it … |
|
Re:
I'm writing a program as a beginner in assembly my program is about summing up all integers in array and then getting their average . I'm stuck with the average is that i need to divide the sum of numbers by my array size and i don't know according to … |
|
Re:
I used a multi dimensional array: [CODE]int grid[3][3];[/CODE] then I assigned all the variables in the array to the number 2 like this:[CODE] grid[0][0] = 2; grid[0][1] = 2; grid[0][2] = 2; grid[1][0] = 2; grid[1][1] = 2; grid[1][2] = 2; grid[2][0] = 2; grid[2][1] = 2; grid[2][2] = 2;[/CODE] … |
|
Re:
Write a program which for a square matrix to calculate the sum of the elements. Assume that the amount can be placed in 16-bit register Example: 1 [COLOR="Red"]1 1[/COLOR] 2 2 [COLOR="Red"]2[/COLOR] 3 3 3 Elements are: 1,1, 2, which are with red color. I had calculate sum of this … |
|
|
Re:
Hi everyone, I just switched from Java to C++ and not so familiar with memory management in C++. I dynamically allocated an array which holds F_HeapNode objects. Whenever I assigned a value to the element of this array, I got an error message saying" no operator = matched these operands". … |
Re:
I have a problem with assembly task. Write a program that will write the numbers 7-15 in the data segment, starting from offset 200h, and then using a loop and compare them to read data from memory and the DX will insert the sum of numbers divisible by four Here … |
|
Re:
I'm working on a program that will find the prime factors to an unsigned integer that is entered by the user. I just have to make sure the program can handle a number up to 1000. I'm writing assembly in x86. I have already got a prompt for the user … |