I don't know how to make an if-else statement within an IBAction! I can only make them in the button clicks... what I want it to do is check for which # the int question is at and make the appropriate changes. please help!
MainView.h
#import <UIKit/UIKit.h>
#import <Foundation/Foundation.h>
@interface MainView : UIView{
IBOutlet U...
Does anyone have a link or document on how to write a screensaver for Linux?
...
Is it possible to have different GCC installations working with one MinGW installation?
By MinGW I mean the common base which is always needed regardless which version of GCC compiler we're going to install and use;
MinGW runtime
binutils
make
MinGW API for MS-Windows
and many other components which are part of MinGW but are not ...
Hi,
I have two independent console applications developed in C++. I was asked to develop a GUI for both of them. In this GUI I collect some parameters that are needed to launch any of these applications. Anyone can give some orientation on integrating the console applications with this GUI? Could it be possible to launch the application...
Hi,
I am exploring the idea of using professionally designed vector images as the ControlTemplates in my WPF application. The idea is to make several types of controls, each with a different visual design, which can then be dragged and dropped. This is exactly the same use-case as a visual designer (a'la visio)
I have the following XAM...
I'm trying to understand how to get my iPhone application working with RegexKitLite, I tried searching Google for how to install it but couldn't find anything that explains it clearly. Hopefully this will become a step-by-step guide for anyone searching for it in the future.
Alright so according to the documentation it says:
The two...
I am using Visual Studio for editing source code and once a while I switch to Windows Explorer to commit changes with TortoiseSVN. This procedure works well for me and I am quite happy with it. However recently I started to rename classes and reorganize namespaces a lot. I like to rename and move files in Visual Studio because it automat...
I want to setup a x86 Linux Box such that:
It uses minimal system resources.
Runs SDL, without XWindows
Includes sufficient functionality to
run QEmu.
Basically I simply want it to ONLY be a host for Virtulization and be as "thin" as possible leaving nearly all resources available for the "client" OS.
Is there anything like that ava...
Hi,
I'm new to perforce and have created a few workspaces as exercises for getting familiar with it. Now I would like to delete some of the workspaces. I just want to get rid of the workspaces so that they do not appear on the drop-down in the workspaces view (DO NOT want to do anything with actual depot files).
Googling up an answer ...
My problem is that every time I hear about an interresting programming language (Python, Ruby, Processing) I'm very excited, I read some tutorials (maybe even a book), I understand the basics, but I can't go beyond that. I think I never really wrote a full program (a useful one, not the basic fibonacci, sorting ... stuff). I have a lot o...
I'm currently doing a full rewrite of an old library, and I'm not sure how to handle this situation (for the sake of being understood, all hail the bike analogy):
I have the following classes:
TBike - the bike itself
TBikeWheel - one of the bike's wheel
TBikeWheelFront and TBikeWheelBack, both inherits from TBikeWheel and then implemen...
I want my strongly typed data sets to be database agnostic. Is it possible to use Enterprise Library Data Access Application Block with strongly typed data sets?
...
As the title says, how does it work? Looking through the source is a nightmare because it's all using complicated arrays, but I don't really see code which does anything.
Any ideas?
...
I want to write a very small Django application in a single file, requiring all the appropriate modules and stuff, and then be able to run that as a normal Python script, like this:
$ python myapp.py
You can assume I won't render HTML, so I don't need templates (I'll return JSON or some other auto-generated string).
...
I'm attempting to write some tests using the Silverlight Unit Test Framework (the unsupported, unofficial MS library Microsoft.Silverlight.Testing). I need to impersonate three different users when testing some functionality of our application.
Our application is for internal use at our company, so the authenticated user may get differe...
I'm trying to create a generic class in PHP that will provide a way to call a web service, parse the returning XML and return a JSON object.
I ran into fatal errors on servers that do not support CURL and/or JSON and looked for a way to gracefully returning the error in a JSON object back to the client, rather than crashing.After some se...
I have a base class, say Base which specifies the abstract method deepCopy, and a myriad of subclasses, say A, B, C, ... Z. How can I define deepCopy so that its signature is public X deepCopy() for each class X?
Right, now, I have:
abstract class Base {
public abstract Base deepCopy();
}
Unfortunately, that means that if if I have...
I'm recollecting info for build a render farm manager. I have almost everything except the info about how actually render the image, in the best possible way.
The project will be for use inside a gov agency and need, at least, support for 3D Max, maya, Blender. Will manage several dozens of 8 Cores/8 GIb of render nodes.
This will be u...
Currently i have this:
$(".splitCol").click(function () {
$.cookie('whichColumn', 'split');
$(".threeCol .active").removeClass("active");
$(".leftCol .active").removeClass("active");
$(".splitCol span").addClass("active");
$(".threeColumns li:eq(3)").removeClass("first");
$(".threeColumns li:eq(6)").remo...
I would like to start developing a simple Workflow application in Sharepoint. What files should I download?
SharePoint Server 2007 SDK?
SharePoint Server?
SQL Server?
Visual Studio?
other?
Are they all required for workflow development?
I do not have SharePoint anywhere, please include its components in your answer.
...