I'm compiling a C program for a MIPS embedded system.
GCC keeps sticking in stuff like __do_global_dtors_aux, frame_dummy, __do_global_ctors_aux.
How can I avoid that?
So I just got a C# program from someone that compiles and gives me a
fully functional application. However, when I want to see the .cs{Design] file it gives me the following error:
.ErrorStyle { font-family: tahoma; font-size: 11 pt;
....
How can I convert this to an actual Design file? I am working on Visual Studio C#. Thank you very much.
I am working in flex and I am just setting a variable to false. It doesnt do anything in the program but everything breaks when I put this line of code in:
somevar = false;
Does anyone know why?
HI all. I am trying to make little program that reads data from file which has name of user and some data for that user. I am new on C , and how can i calculate this data for its user?line by line reading and adding each char in array? And how can I read line? is there any function?
I have hashtable, my program want to record the valuse of hashtable to process later!
But i have a quesiton . Can web write oject hastable in to file ? if can,how to load that file ?
Is there a CLI command or program that will list available wireless access points? I'm running Ubuntu 9.04 on a laptop and sometimes I boot straight into the CLI instead of a GUI. I know iwconfig can configure a connection but will not list available AP's.
What characters are allowed in linux environment variable names? My cursory search of man pages and the web did only produce information about how to work with variables, but not which names are allowed.
I have a Java program that requires an defined environment variable containing a dot, like com.example.fancyproperty. With Windows I can set that variable, but I had no luck setting it in linux (tried in SuSE and Ubuntu). Is that variable name even allowed?
On Windows, it's possible to program an LSP service on top of Winsock which provides the ability to do a lot of manipulation/etc. with networked applications. For instance, some anti virus applications register an LSP and analyse network traffic that way. Is there a friendly way to accomplish the same sort of thing on OSX?
I'd like to prove that a GUID is not unique in a simple test program.
I expected this to run for hours but it's not working. How can I make it work?
BigInteger begin = new BigInteger((long)0);
BigInteger end = new BigInteger("340282366920938463463374607431768211456",10); //2^128
for(begin; begin<end; begin++)
Console.WriteLine(System.Guid.NewGuid().ToString());
I'm using C#
Hi,
while debugging a C++ program with GDB, is it possible somehow to add comments to the original souce code whitout affecting to the debugging process?
I started to debug with GDB, but if I modify (just adding comments at the end of each C++ code line wiht //) the code, when I display the code in GDB I get weird display.
Thanks
By what i understand String and StringBuilder objects both allocate contiguous memory underneath.
My program runs for days buffering several output in a String object. This sometimes cause outofmemoryexception which i think is because of non availability of contiguous memory. my string size can go upto 100MBs and i m concatenating new string frequently this causes new string object being allocated. i can reduce new string object creation by using Stringbuilder but that would not solve my problem entirely
Is there an alternative to a contiguous string object?
Hello everyone,
I'm trying to draw objects using Bezier surfaces with openGL's evaluators. I am struggling with defining the control points for my objects. Can anyone please suggest ways to get the control points for an object? Is there some program that I can use to design my object then import the control points into a file that I can use in my application?
Hi all,
I need to redirect any results in command prompt to richtext box. Can any one provide me the necessary steps. This is how i start my command prompt.
ProcessStartInfo psi = new ProcessStartInfo
{
FileName = "cmd",
Arguments = @"/k ""C:\Program Files\Microsoft Visual Studio 9.0\VC\bin\vcvars32.bat""",
};
Process.Start(psi);
I am getting the message:
* _NSAutoreleaseNoPool(): Object 0x3f43660 of class UICFFont
autoreleased with no pool in place -
just leaking
I have placed a break point using the symbol _NSAutoreleaseNoPool and the program does break, however, the stack trace does not show me any of my code only some UIView and Core Animation layer code.
Is there a better way to get to the bottom of the issue? There is apparently a thread that does not have an auto release pool, but I can't figure out where.
Thanks.
Hi,
I wrote an application which will be able to open files of particular extension and show it to users. Now I want the users to be able to just double click the file and have it open with my application. I tried to set the "Always use the selected program..." option in the windows "Open With" dialog box, but do not know how to receive the file name that Windows sends to my application. How to do this?
Thanks...
Ok, first off, I didn't program this page with frames! I'll be getting rid of them later. For now I need to solve this problem.
There's a link within a frame. Instead of that link just changing the contents of the frame, I need it to change the URL of the entire window. How can I do this?
Thanks for any help
Hi, i made a flash application that loads image and sound from given url.But in my application whenever i run a program , first it loads or download all music and than it plays but i want to play a sound without loading all file.
Thank you
Should I create my own End-User Software License (with a lawyer), or are there some good examples of one on the Internet?
I'm getting close to rolling out my first Windows-based program for my side-business. I would like to have the end-users to agree not to: resell the software, change/modify it, use it in another application, etc.
Any and all help appreciated!
Thanks!
JFV
As per subject.
I have some constants hash defined like so:
#define CONST 40
I've set a break point in my program. How do I print the value of that constant? (I know I can just look at the source code, but I want to be sure of it)
I just got a bug report from someone running an app I wrote under Windows XP. He says it won't start up.
The application failed to initialize
properly (0xc0150002). Click on OK to
terminate the application.
It works fine at my end, (under Windows 7,) and I don't have any Win7- or Vista-specific stuff in the program, so it should work on XP too. How do I go about tracking this down and debugging it?
My iPhone app started logging this error:
lo-hi recycling invariant violated!
followed by:
Program received signal: “EXC_BAD_ACCESS”
whenever I launched it on my iPod (3.1.3) and sometimes when I launch it in the simulator.
What does this error mean, and how can I fix it?
I am using cover-flow in my app. I think this might be the problem.
Thanks in advance.
Example: I want to do this:
METHODNAME(5) {
// do something
}
which results in:
- (void)animationStep5 {
// do something
}
Is there any way to do this? Basically, what I need is a way to generate a real source code string before the program is compiled, so the compiler does see - (void)animationStep5...
Or maybe there's something different than a macro, which can help here to auto-generate method names (not at run-time)?
I have used JSON::Any in my program to transfer the hash between client and server.
I faced one problem, I want to find whether the text (sent by client) is normal text or JSON encoded text.
Can anyone please tell me how to find,
without checking, I got some error in server side and it is closed.
Currently, I am testing every integer element against each other to find which ones match. The arrays do not contain duplicates within their own set. Also, the arrays are not always equal lengths. Are there any tricks to speed this up? I am doing this thousands of times, so it starting to become a bottle neck in my program, which is in C#.
I have seen the tutorial provided to display google maps here...
http://developer.android.com/resources/tutorials/views/hello-mapview.html.
But sadly when i try to extend MapActivity instead of Activity the whole program is getting ruined and showing errors starting from onCreate... Whats the solution and how could i get google maps working in my application???