- Upvotes Received
- 3
- Posts with Upvotes
- 3
- Upvoting Members
- 3
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
31 Posted Topics
I'm not sure how crazy this sounds, but bear with me. I have a long list of links that are people's names. Inside each link is a set of information, where an email address is located after other information. I need to make (or just find in general) something that … | |
Everytime I link a `webview` into my OS X project, it always brings up `Use of undeclared type 'WebView'`. How am I supposed to fix this? I've tried linking the WebKit framework and things like that, but they never worked. | |
I'm making a program that takes the last letter and second to last letter of a name and displays a formatted version in front of the name. I'm passing an array to hold all the names and it seems to work properly, but it displays null before each output. Why … | |
I need to fill an image created using a ton of QuadCurves, but they don't fill it all the way using the traditional fill method. Any suggestions? public class MonstercatComponent extends JComponent{ public void paintComponent(Graphics g){ Graphics2D g2 = (Graphics2D) g; drawGrid(g2); g2.setStroke(new BasicStroke(5)); QuadCurve2D earLeft1 = new QuadCurve2D.Double(145, 155, … | |
I have to draw an image using Graphics and Graphics2D. The image is Monstercat How would you guys suggest I do the parts that have several curves to them? Do I use multiple QuadCurve2D or is there a way to do it in one method?  On a side … | |
I expected there to be one, especially on a site as popular as this one. | |
I'm getting a two year old computer (from a trusted seller) and was looking to upgrade the hardware. I went to a mediocre computer store and asked to see some of the parts I was looking for and the guy asked me some questions. When I told him the computer … | |
I keep running this code and it works until I press the button, `findShapeCalc()`, and then I get EXC_BAD_INSTRUCTION in the main.swift at the line `NSApplicationMain(C_ARGC, C_ARGV)`. Why does this keep happening? Code in question: import Cocoa class ViewController: NSViewController { @IBOutlet var dropDown : NSPopUpButton @IBOutlet var length : … | |
So, I was doing some doing some research for a program I'm working on and I stumbled upon the information that clang++ is a better alternative to g++ on Mac. I've been trying to use it because I can define that I want to use C++11, yet, the file output … | |
I made a footer for a site I'm working on but I can't make it stick to the bottom of the page on any screen. any ideas how to do that? Thanks. | |
Whenever I create a prompt, I see this at the top: "The page at [the URL] says:". Am I able to change this or do I, as I was told to use for something else, have to use jQuery dialogs? | |
This may seem pretty basic, but a classmate of mine is learning Javascript and they keep asking me the same thing: Can I change the two buttons on Alert and Confirm methods so that they don't say "cancel" and "okay"? I guess the same would go with Prompt. Is there … | |
So, I see pointers defined in many different ways but I never quite understood what the difference was. Could someone explain it to me? Examples: `int * a; int* a; int *a` That second one may or may not be actual C++ but I've seen it done in all those … | |
I was wondering how to access the /private/var/mobile/library folder(s) on my iMac. This is (obviously) for my iPhone. I'm currently using an iPhone 5 on iOS 7. I've been trying to use iExplorer but if I can't I'll try it on my laptop, too. Thank you in advance. P.S: I … | |
I've been reading a lot of books on neuroscience and things of that nature and I was wondering if I could integrate a medical dictionary into my Kindle just like the regular dictionary it already has. I know this sounds like an odd question but I have been looking for … | |
How can I get the value of an input field in Javascript? For example, someone types somehing into an input field and I want them to press a button to in turn, store the data in a JS variable. I believe there is such a thing as .value, but it … | |
I need to compare two numbers in a cocoa application, but it doesn't allow me to use the regular signs (>=, <=, <, >) nor will it let me use isGreaterThanOrEqualTo:[] (Which, I undestand only takes an object, but I thought I would try it). So can someone please tell … | |
I have been playing around with C++ for awhile now and was wondering: what's the differnce between the [instance].[function] and [instance]->[function]? Does the dot notation just run the value and the arrow notation store value inside the instance? | |
Are you able to have multi-character switch statement cases? So if this is my code: #include <iostream> using namespace std; int main(){ char choice; cout << "Enter a word >" << endl; cin >> choice; switch (choice) { case 'ball': cout << "You entered ball" << endl; break; case 'bike': … | |
I have always had this question, but I couldn't quite find anything that answered it. I was hoping someone could shed some light on the question... Thank you in advance. | |
What is the Windows equivalent of Cocoa from Objective-C? I'm thinking C++, but is there anything that includes an easier way to create a UI? (If there is an IDE that features a UI builder for C++, please mention) ((Sorry if you don't think I should've posted this here. Since … | |
Re: If it's for iOS, then you have to use the AVFoundation framework. If it's for OS X, you can drag music/sounds into the supporting files and set it up in the interface editor. Sound is located here -> http://imgur.com/OPZk2XM | |
Can someone please explain what the <atomic> library does? Or what it's for? | |
I want to set a text field to look through a switch statement to find the corresponding case. Can I just do that like this? switch(textField){ case 'someCase': // do something break; default: // do something else break; } Considering I already created an outlet for it in the @interface … | |
Everytime I press the button, it's supposed to change the label, but it doesn't. It also doesn't see that I have made any connections. Please help. Thank you in advance. AppController.m: #import "AppController.h" @implementation AppController -(IBAction)sayHello:(id)sender{ [label setStringValue:@"Hello World!"]; } @end AppController.h: #import <Foundation/Foundation.h> @interface AppController : NSObject{ IBOutlet NSTextField … | |
I need to switch it off but I'm having trouble finding how. If any of you have Xcode 5, please be a dear and help me out. Thank you! | |
The HTML: <!DOCTYPE HTML> <head> <link rel="stylesheet" type="text/css" href="/Users/Alireza/Desktop/Index.css" /> <script src="http://www.ajax.googleapis.com/ajax/libs/jqueryui/1.9.1/jquery-ui.min.js"></script> <script type="text/javascript" src="/Users/Alireza/Desktop/Index.js"></script> </head> <body> <div></div> </body> The CSS: div{ height: 100px; width: 100px; background-color: red; border: 4px dashed #00FF00; } The jQuery: $(document).ready(function(){ $('div').click(function(){ $('div').effect('explode'); }) }) Please help me. I really don't know why it isn't … | |
Me and my friend are aspiring Indie Game devs. and we're hoping to get some help. As the developer of the duo (him being artwork and music), I need to create a physics engine for the game. I am sure there are some out there, but I think building one … | |
I have been making an Adventure Game and when I try to test it, it always comes up with Hello! Welcome to the adventure game! What is your name? Parsia Parsia? Well hello there! Let us begin... You are at a trail with two paths. Left or right? left Traceback … | |
Is it possible to have a piece of C++ code display a picture and how? I want to display something for my Uncle's employees at a conference were holding with them and I don't know how to display pictures, if there is a way. | |
Can you please help me and tell me what I am doing wrong? I have been looking at the program for two hours and need help. I keep getting this error: 'triangle' was not declared in this scope. Also, that is the only error, so I don't have anymore. Thank … |
The End.