Comment by user885074 on Access Violation Reading Location
So where in the code does the debugger stop?
View ArticleComment by user885074 on Rotating an image gradually from one degree to another
Not sure about the spinning, but I edited the code to make it shake less. Tweak 'fudge' to your liking.
View ArticleComment by user885074 on how to test simulation results for 256 point FFT...
Maybe run the sample values through an FFT in Matlab or some other known good implementation and compare the results?
View ArticleComment by user885074 on Mac OS X drawing program
I should add, there are lots of examples, so it should be pretty easy for you to find code that does what you want in terms of drawing straightaway.
View ArticleComment by user885074 on Make the move to c++ from java?
Which part do you not agree with?
View ArticleComment by user885074 on Collections of objects that are aware of each other
Regarding the people->objects/objects->people performance issue. Why not have a linked list of people for each object as well? So to see who has a specific object, just iterate over that object's...
View ArticleComment by user885074 on NSString search for substring/ csv File IO
Can you show the NSLog output?
View ArticleComment by user885074 on Are extensions ignored in makefile?
gnu.org/software/make/manual/html_node/…
View ArticleAnswer by user885074 for Multiple Copy and Paste
I don't know how to do this, but if I needed to implement it, I would start by looking at programs that access the X clipboard like xclip (http://sourceforge.net/projects/xclip/). From there, start...
View ArticleAnswer by user885074 for How to write array of float values to audio file in...
Yes, I'd put them in an AudioBuffer and that into an AudioBufferList. After that you can write them to a file using ExtAudioFileWrite() on a ExtAudioFileRef that was created using...
View ArticleAnswer by user885074 for Best Way To Get Started With Mac Development
Cocoa is definitely the way to go. If you don't want to pay for a book these websites will help you out:http://cocoadevcentral.com/http://cocoadev.com/http://oreilly.com/pub/ct/37
View ArticleAnswer by user885074 for C system header file descriptions
http://en.wikipedia.org/wiki/C_standard_library
View ArticleAnswer by user885074 for bsd sockets connect timeout iPhone
s = socket(AF_INET, SOCK_STREAM, 0); int x;x=fcntl(s,F_GETFL,0);fcntl(s,F_SETFL,x | O_NONBLOCK);From: http://rhoden.id.au/doc/sockets2.html
View ArticleAnswer by user885074 for What's the difference between iTerm2 and Terminal on...
http://www.iterm2.com/#/section/features
View ArticleAnswer by user885074 for need an example on easyzlib (how to compress and...
ezcompress and ezuncompress work on the file data directly which are represented as arrays of characters.for (int i = 1; i < argc; i++) { // open argument you want to compress FILE *inputFile =...
View ArticleAnswer by user885074 for Adding subview doesn't work
Why are you telling must to bring its parent to the front? Try this: [self.view bringSubviewToFront:must];
View ArticleAnswer by user885074 for What is the best way to learn board bringup and hw...
Learning embedded systems design with microcontrollers will teach you how to design a board and bring it up. Try http://www.avrfreaks.net/ for some projects with Atmel AVRs. There's also...
View ArticleAnswer by user885074 for Make a local copy of a remote git repository
Yes 'git clone' is the way to go. This will get you all the data and allow you to do commits. As long as the new repo is visible on the LAN, other computers should be able to clone from it as well.
View ArticleAnswer by user885074 for XCode equivalent for command window in Visual...
The console is not read-only if you're referring to the gdb session. You can use the 'set' command to set the values of variables in gdb. Try 'help set variable' for more info.
View ArticleAnswer by user885074 for Get the installed Safari version using AppleScript...
You can read the version out of /Applications/Safari.app/Contents/version.plist.
View ArticleAnswer by user885074 for Atomically read/write int value w/o additional...
Volatile, aligned, word sized reads/writes are atomic on most platforms. Checking your assembly would be the best way to find out if this is true on your platform. Atomic registers cannot produce...
View Article