Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

~2K People Reached
Favorite Forums
Favorite Tags
Member Avatar for Gagless

I'm working on a bunch of stuff with arrays. At the moment I'm trying to come up with with an insert function that allows me to put as many elements as I want into an array, only keeping the five recent most elements. So I guess what I want to …

Member Avatar for WaltP
0
155
Member Avatar for Gagless

I have to write a program that outputs the length and width of a rectangle and then calculates and outputs the area, using a class called rectangle... I thought I was about done, but when I run the program it says width, length and area are being used without being …

Member Avatar for Gagless
0
128
Member Avatar for Gagless

My program needs to print the mirror image of a letter that's input. All the letters will be input in uppercase. And the mirror image will be printed in uppercase. So if I input A it's mirror image would be Z if B, then Y if C then X if …

Member Avatar for Freaky_Chris
0
248
Member Avatar for Gagless

All I want to do with the program here is display a name and address. However, I'm getting this error when I run the exe. "C:\MASM611\BIN\P1.EXE The NTVDM CPU has encountered an illegal intruction. CS:000 IP:0077 OP: fo 37 05 0a 02 Choose 'Close' to terminate the application." What's going …

Member Avatar for Gagless
0
130
Member Avatar for Gagless

I was trying to see if my code for copying an array worked when I got this scary looking error message: Debug Assertion failed! Program: ...dio 2008\Projects\Test_Prep\Test_prep.exe File: f:\dd\vctools\crt_bld\self_x86\srt\dbgdel.cpp Line: 52 Expression _BLOCK_TYPE_IS_VALID(pHead->nBlockUse) Here's my testing code and the function I wrote: [CODE]int main() { const int MAX_SIZE = 5; …

Member Avatar for faust_g
0
127
Member Avatar for Gagless

Having trouble understanding how this recursive function works. [CODE]int F( int X ) { return (X<=0) ? 3 : F(X/2)+F(X-3); }[/CODE] I understand the first part, give it a value 0 or less, get back 3, fine. But greater values I don't understand 2 returns 9, 3 returns 9, 4 …

Member Avatar for Gagless
0
116
Member Avatar for Gagless

I want to recursively check if two strings are equal, not in size, but character by character. I am unallowed to use loops and the == operator. I tried to use two parallel arrays, but when testing my function I got undesired results. Here's what I came up with: [CODE]int …

Member Avatar for William Hemsworth
0
1K
Member Avatar for Gagless

I am working on a recursive function that does multiplication so I don't have to use the * operator or loops. What I'm stuck on right now is how to get it to produce negative products. I thought the code for positive products subtracted from 0 would work, but I …

Member Avatar for Gagless
0
146