Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
6
Posts with Upvotes
6
Upvoting Members
4
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
1 Commented Post
0 Endorsements
Ranked #2K
~47.6K People Reached
Favorite Tags
Member Avatar for Idestruction

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 …

Member Avatar for John_310
0
22K
Member Avatar for can-mohan

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 …

Member Avatar for can-mohan
0
1K
Member Avatar for Dasun_1
Member Avatar for StuXYZ
0
175
Member Avatar for hninmaung.02

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++ …

Member Avatar for ipswitch
0
317
Member Avatar for choeychoco

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.

Member Avatar for skaa
0
65
Member Avatar for kikunha

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 == …

Member Avatar for skaa
0
186
Member Avatar for swekast

#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 …

Member Avatar for skaa
0
112
Member Avatar for sasikrishnasamy

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 …

Member Avatar for skaa
0
217
Member Avatar for skaa

I need to use Drools 6.2.0.Final. Is it possible to use Guvnor with it? Any example? Thank you.

Member Avatar for rproffitt
0
206
Member Avatar for msz900

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 …

Member Avatar for imti321
0
396
Member Avatar for hammy2013

The full structure of a C++ program to compare two strings and check whether they are equal

Member Avatar for ddanbe
-1
125
Member Avatar for jeff winger

I have to write a program to find the hypotenuse of a right triangle in 8086. and I'm suck. Please please help.

Member Avatar for skaa
0
85
Member Avatar for stompjrkz400

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 …

Member Avatar for sbesch
0
192
Member Avatar for psycho_

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 …

Member Avatar for skaa
0
98
Member Avatar for Zvjezdan23

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; …

Member Avatar for thines01
0
91
Member Avatar for kww228

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 …

Member Avatar for kww228
0
316
Member Avatar for Desi991
Member Avatar for pgcoder
0
1K
Member Avatar for txhornsfan

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 …

Member Avatar for txhornsfan
0
4K
Member Avatar for juce

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 …

Member Avatar for Hugo123007
0
2K
Member Avatar for accra

[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]

Member Avatar for accra
0
133
Member Avatar for kikic

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

Member Avatar for kikic
0
5K
Member Avatar for Salman Ahmed Q

#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.

Member Avatar for skaa
0
58
Member Avatar for lukesawyer

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 !

Member Avatar for skaa
0
56
Member Avatar for VengefulToast

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 …

Member Avatar for skaa
0
644
Member Avatar for reemhatim

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 …

Member Avatar for reemhatim
0
135
Member Avatar for YourGamerMom

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] …

Member Avatar for YourGamerMom
0
95
Member Avatar for kikiritce

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 …

Member Avatar for skaa
0
170
Member Avatar for philipghu

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". …

Member Avatar for philipghu
0
169
Member Avatar for kikiritce

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 …

Member Avatar for kikiritce
0
136
Member Avatar for jdm

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 …

Member Avatar for jdm
0
4K