Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
80% Quality Score
Upvotes Received
3
Posts with Upvotes
3
Upvoting Members
3
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
~10.6K People Reached

31 Posted Topics

Member Avatar for pars99

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 …

Member Avatar for pars99
0
372
Member Avatar for pars99

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.

Member Avatar for vegaseat
0
354
Member Avatar for pars99

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 …

Member Avatar for stultuske
0
137
Member Avatar for pars99

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

Member Avatar for mKorbel
0
387
Member Avatar for pars99

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? ![monstercat_logo_vector_by_lmw_ybc-d63hlvv.png](/attachments/large/4/d4b5cb7925e7eff4a402233b59be737f.png "align-center") On a side …

Member Avatar for JamesCherrill
0
231
Member Avatar for pars99
Member Avatar for pars99
0
223
Member Avatar for pars99

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 …

Member Avatar for pars99
0
186
Member Avatar for pars99

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

0
186
Member Avatar for pars99

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 …

Member Avatar for pars99
0
161
Member Avatar for pars99

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.

Member Avatar for JorgeM
0
157
Member Avatar for pars99

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?

Member Avatar for Troy III
0
137
Member Avatar for pars99

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 …

Member Avatar for Troy III
0
334
Member Avatar for pars99

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 …

Member Avatar for pars99
0
139
Member Avatar for pars99

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 …

Member Avatar for pars99
0
379
Member Avatar for pars99

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 …

Member Avatar for Kelly Burby
0
259
Member Avatar for pars99

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 …

Member Avatar for Bachu
0
227
Member Avatar for pars99

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 …

Member Avatar for Szabi Zsoldos
0
181
Member Avatar for pars99

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?

Member Avatar for deceptikon
0
156
Member Avatar for pars99

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': …

Member Avatar for pars99
1
216
Member Avatar for pars99

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.

Member Avatar for mike_2000_17
0
2K
Member Avatar for pars99

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 …

Member Avatar for ddanbe
0
200
Member Avatar for shan4248

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

Member Avatar for pars99
0
147
Member Avatar for pars99
Member Avatar for rubberman
0
251
Member Avatar for pars99

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 …

Member Avatar for pars99
0
124
Member Avatar for pars99

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 …

Member Avatar for pars99
0
249
Member Avatar for pars99

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!

Member Avatar for rubberman
0
194
Member Avatar for pars99

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 …

Member Avatar for pars99
0
372
Member Avatar for pars99

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 …

Member Avatar for Tumlee
0
838
Member Avatar for pars99

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 …

Member Avatar for vegaseat
0
279
Member Avatar for pars99

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.

Member Avatar for deceptikon
0
201
Member Avatar for pars99

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 …

Member Avatar for pars99
0
2K

The End.