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.

~40.0K People Reached
Favorite Tags

11 Posted Topics

Member Avatar for Daria Shmaria

I'm writing an AppleScript to export individual layers in Omnigraffle. It opens the file as it's supposed to, but then at line 4, I get an error: "OmniGraffle 5 got an error: Can’t get alias "[path of file chosen]". Any idea why? [code] set myDocument to (choose file with prompt …

Member Avatar for Daria Shmaria
0
75
Member Avatar for Daria Shmaria

Does anyone know how to export from Omnigraffle into Catalyst without condensing everything into a single object (as psd images do)?

Member Avatar for Daria Shmaria
0
62
Member Avatar for Daria Shmaria

I'm making a "Chicken and Eggs"-style game where the score and level should be constantly shown. While I can display the background of the MovieClips ("score_txt" and "level_txt") that hold them, I can't get it to output the text. I'm not sure if this is because of an error in …

Member Avatar for Daria Shmaria
0
72
Member Avatar for Daria Shmaria

I'm writing a "Chicken and Eggs"-style game. I get an error in Main.as, line 160, that says "1119: Access of possibly undefined property ENTER_FRAME through a reference with static type Class." Line 160 is: [code] basket_mc.removeEventListener(KeyboardEvent.ENTER_FRAME,moveBasket); [/code] basket_mc is a MovieClip of the basket used to collect falling eggs. moveBasket …

Member Avatar for Daria Shmaria
0
103
Member Avatar for Daria Shmaria

I'm trying to traverse to the end of a linked list, but I get a segmentation fault when my while loop checks to see if the "next" pointer is null. Any suggestions on how to perform this check without causing a segmentation fault would be greatly appreciated.

Member Avatar for ArkM
0
458
Member Avatar for Daria Shmaria

I am writing a program to compute the fastest/shortest path between locations (stored in a directed graph represented by an adjacency list). I am trying to create this adjacency list ("al") as an array of pointers to Vertex class objects, but I get the error " 'al' was not declared …

Member Avatar for Daria Shmaria
0
154
Member Avatar for Daria Shmaria

I'm writing a spellchecking program using a hash table. The hash table (a char * array) serves as the dictionary, storing words inputted from the file wordlist.txt. When I call the lookup function, a floating point exception occurs. Any suggestions you have on how to find what's causing the exception …

Member Avatar for Daria Shmaria
0
403
Member Avatar for Daria Shmaria

I'm writing a spellchecking program using a hash table. The hash table (a char * array) serves as the dictionary, storing words inputted from a file. However, a segmentation fault occurs before I can get through reading, hashing, and inserting all 60,389 words (the words are in alphabetical order, and …

Member Avatar for Daria Shmaria
0
163
Member Avatar for Daria Shmaria

Is there a way to convert from const char * to char * without casting away the const? I was warned that it could be dangerous and cause crashes (which I would agree with, since when I ran my program with const_cast, it caused a segmentation fault). Alternatively, is there …

Member Avatar for Daria Shmaria
0
30K
Member Avatar for Daria Shmaria

In an assignment involving cyclic shift hash codes, the instructions include the following code: [code] int hashCode(const char* p, int len) { unsigned int h = 0; for (int i = 0; i < len; i++) { h = (h << 5)|(h >> 27); h += (unsigned int)p[i]; } return …

Member Avatar for Daria Shmaria
0
717
Member Avatar for Daria Shmaria

Hi! I'm very new to C++ and have two questions whose answers are probably comically obvious. Any suggestions you have will be accepted gratefully. I'm writing a program that calculates the average of integers (grades) input by the user. Once the average is computed, the program should ask if the …

Member Avatar for Daria Shmaria
0
7K

The End.