Search:
Type: Posts; User: CornedBee
Search:
Search took 1.14 seconds.
-
Talk about the arrogance of spamming one ancient thread and then acting as if it was a worthwhile contribution that needs to be in the equally ancient follow-up thread.
-
Readily available is not the same as easily available. Anyone who knows a bit will find libraries for just about anything in C++. They'll still have to install them, though.
-
Really? Actually, it sounds pretty harmless to me, as it's only a tool. Now something that sneaks into other computers, calls a specific website there and fills something in, that's spyware. Very...
-
And if yes, you might want to make the enum and the variable that is of enum type static. Or create an instance of the class and put the switch in a non-static method.
Also, in switches on enums,...
-
-
That's why it's rude to wake zombies in the first place, I know. But now that it's been woken, the best thing for you would probably to just unsubscribe.
-
Yes, but there's no hope of actually getting a useful answer from me.
Of course, if he wants his mailbox full of notifications for posts that have no value for him ... :D
-
Let's see. You revived a 4-year-old thread about C# to ask a question about VB/VB.Net. Then you waited a full 4 minutes before bumping the thread. Hmm ...
-
Why do you want to execute it in a third-party app? What if they use Linux or MacOS? Your app won't even run!
-
Not really. You could use some platform-specific code, perhaps, to find the parent process of the current virtual machine and query what that is.
However, doing so would be a grave mistake, and...
-
The proper way to do this is to write a utility class that implements java.util.Comparator<Book> and compares according to the chosen attribute.
-
Haven't looked at the ZIP, but if, as the project name suggests, all you want is a CRC code, you'd better use one that is premade.
-
Slightly inaccurate answer to one point here:
Strictly speaking, none: in both cases it is completely up to the compiler where it searches for the files (if it does at all).
However, most...
-
I think Xerces has a HTML parser mode.
http://xml.apache.org/
-
Trust keda to take the most extreme view :D
Templates find most of their applications in libraries or library-like code, not in concrete applications. That's why, as long as you're writing...
-
Compactness in what sense?
-
It means, most likely, that the database driver is not installed correctly to be found by the webapp.
There should be a JAR containing the driver somewhere. Best method is to put it into the...
-
Well, of the mainstream compilers, it's currently the worst in terms of standards-compliance. That won't bite you for quite some time, though.
What's wrong with Visual Studio 2005 Express, anyway?...
-
The other thread is generally right.
If I were a teacher, I'd have my students not use Dev-C++. Sorry, I don't have a better answer than that. For a workaround, your code right now is fine. But...
-
The nightly builds of Code::Blocks are fine. The reason there's no new release is mainly that there's a lot of work in doing a proper release, and the developers don't want to go through it.
Now...
-
String uid="sa";
String pwd="ipnc0176";
I do hope you changed these before posting.
Except for the typo here:
}catch(java.sql.SQLExcetion sqle){
I see no reason why the code shouldn't work....
-
Of course it can be done.
The simplest way is by using the static methods of JOptionPane. They provide various standard dialog boxes.
Failing that, there are various methods.
1) The form...
-
Fetch the entire return value as a string and use a if...else if chain with equals() instead of a switch on a single character. Note that you can trigger an exception in your code simply by entering...
-
There isn't. Of course, the OP's code is simply incorrect. The correct code is
int currentday = new GregorianCalendar().get(Calendar.DAY_OF_WEEK);
-
The compiler tells you exactly what's wrong. You cannot have barr[] in a statement. It's simply illegal.
Just remove the line. It's an effective no-op anyway. But if you wanted to assign to barr...
-
const_cast should never (and, in most code, is never) be used that way. The purpose of const_cast is that some functions, especially in legacy C code, aren't const-correct, i.e. a function that...
-
Is the file in the same directory? Otherwise, you'll have to add the path, or add the directory of the other project to the searched include directories.
-
As far as I can see, you've solved the problem correctly, if a bit awkwardly. Does anything not work?
By the way, wrap the code you post in
tags.
-
It's int main, not void main.
getch() is just as unportable as system("pause") - and since the program is about to terminate, the performance argument is irrelevant too. What remains is the...
-
Content Negotiation is not the end-all. It's good for an initial choice of language (but even then, remember that the Accept-Language spec is complicated and few web apps properly follow it (MS's...
-
-
I have used this to make a button/input[type=button] look like a link:
input.postlink, button.postlink {
display: inline;
padding: 0;
margin: 0;
border: none;
background: transparent;...
-
Erm, how would you add to favourites without JavaScript?
RobDog: no, not better. The simple existence of the text "Add to Favorites" is nonsensical if that is not possible.
-
The inset style should make the individual colours unnecessary.
-
I'm afraid that, in my view of the web, there are only terrible solutions to the question.
The way I see it, the whole link should be created by JavaScript in the first place. Since it has no...
-
RobDog, your questions make me cry.
-
The way I use on a large, multi-lingual project is a rather complex system.
1) There are templates that define the structure of the pages.
2) A new page is created by choosing a template and...
-
How is Helloworld defined, then?
-
Typically, graphics programs use color negation for temporary lines. In classic Win32, they set the raster operation to NOT, which means the colors of the source are inverted. Not sure how to do that...
-
Or you can use a java-to-native compiler, which exists. Not sure if there is a good one for Windows, but they exist.
|
Click Here to Expand Forum to Full Width
|