Search Results

Showing results 1 to 40 of 1000
Search took 0.11 seconds.
Search: Posts Made By: Comatose
Forum: Geeks' Lounge Apr 5th, 2009
Replies: 16
Views: 1,337
Posted By Comatose
Heavens Yes! Watch this thread get deleted... just like my tutorials.
Forum: Shell Scripting Apr 5th, 2009
Replies: 11
Views: 1,077
Posted By Comatose
Ah, ok... so in the new text file, you want it Tab delimited... so the upper case words <tab> definition. K.
Forum: C++ Apr 5th, 2009
Replies: 4
Views: 320
Posted By Comatose
What Platform?
Forum: Shell Scripting Apr 5th, 2009
Replies: 11
Views: 1,077
Posted By Comatose
I'm not sure what you mean by in a column... in a text file?
Forum: C++ Apr 5th, 2009
Replies: 14
Views: 1,022
Posted By Comatose
You could tokenize (strtok) by "<" and stick each piece into a vector or so... then get it's size().
Forum: C++ Apr 5th, 2009
Replies: 2
Views: 229
Posted By Comatose
Because you never increment "n" anywhere. In your do while, you need to stick an n++ some place.
Forum: Perl Apr 4th, 2009
Replies: 4
Views: 613
Posted By Comatose
You need to remove the 'mysql' parameter from connect. Should look something like this:
use DBI;

$dsn="DBI:mysql:database=mysql";
$dbh=DBI->connect($dsn, 'root', 'root', {RaiseError => 1});
Forum: Perl Apr 4th, 2009
Replies: 3
Views: 830
Posted By Comatose
FTP uses two ports (typically 20 and 21). One of those ports is meant to handle all of your commands. The other one, is meant to return data to you. If you receive an EOF on the command channel,...
Forum: Shell Scripting Apr 4th, 2009
Replies: 1
Views: 483
Posted By Comatose
You could look into using find: find / -name $1 or you could try doing it by piping it to grep: find / | grep "$1" , but in order for you to make it go from shallowest to deepest, you might have to...
Forum: *nix Software Apr 4th, 2009
Replies: 17
Views: 2,097
Posted By Comatose
In Samba, the dollar sign has special meaning (something to do with netbios and/or hidden shares). Try sharing the name on the 'doz box without a $, and try to connect to it. You MIGHT be able to...
Forum: Perl Apr 1st, 2009
Replies: 4
Views: 1,496
Posted By Comatose
ah, you are missing a slash of some kind it seems... you are escaping the first backslash with the second. You probably need to add something like this:
$map_drive =...
Forum: Perl Mar 31st, 2009
Replies: 4
Views: 1,496
Posted By Comatose
Wait What?

You're running a script on *nix, and want that script to map a drive on a windows machine?????
Forum: C++ Mar 30th, 2009
Replies: 9
Solved: C++ instanceof
Views: 1,082
Posted By Comatose
Nah, in the overridden virtual wage() method, simply put something like cout << "Manager" in the Manager's method, and cout << "Casual" in the Casual's method.

Or make a virtual overridden method...
Forum: C++ Mar 30th, 2009
Replies: 9
Solved: C++ instanceof
Views: 1,082
Posted By Comatose
Here Here!
Forum: DaniWeb Community Feedback Mar 28th, 2009
Replies: 2
Views: 641
Posted By Comatose
To give yourself a pat on the back? Another Interesting Fact: you can also post your own arbitrary snippets... but can't post tutorials.
Forum: Visual Basic 4 / 5 / 6 Mar 23rd, 2009
Replies: 4
Solved: Bookmarks
Views: 314
Posted By Comatose
mkay. Have you done a msgbox on rs.RecordCount, to ensure it has the right number of elements? Like, just before the first if?
Forum: Visual Basic 4 / 5 / 6 Mar 23rd, 2009
Replies: 4
Solved: Bookmarks
Views: 314
Posted By Comatose
How 'Bout using code tags, and reading the office tutorial?
http://www.daniweb.com/tutorials/tutorial51307.html
Forum: Visual Basic 4 / 5 / 6 Mar 23rd, 2009
Replies: 3
Views: 483
Posted By Comatose
How 'Bout Reading The Sticky Post: http://www.daniweb.com/forums/thread41057.html ?
Forum: DaniWeb Community Feedback Mar 23rd, 2009
Replies: 14
Views: 1,587
Posted By Comatose
Sir, I beg to differ. When a question is posted to a thread that is old or solved or heck, when they are not the OP.... a moderator is supposed to "split" that into a new thread. I mean, I did when...
Forum: C++ Mar 22nd, 2009
Replies: 8
Views: 1,356
Posted By Comatose
I hate suggesting things like this but you can use system:
system("word.exe");
Forum: *nix Software Mar 22nd, 2009
Replies: 4
Views: 837
Posted By Comatose
what does your xorg.conf look like? (can be found I think in /etc/X11/xorg.conf, not 100% sure about where it is in BSD)
Forum: DaniWeb Community Feedback Mar 22nd, 2009
Replies: 4
Solved: IRC
Views: 698
Posted By Comatose
Yes. I'm not sure about if it exists through a web page... but you could connect to it with a program like Mirc (http://www.mirc.com/), IceChat...
Forum: C++ Mar 21st, 2009
Replies: 3
Views: 357
Posted By Comatose
Hmmmm isn't TotalSold supposed to be static?
Forum: Shell Scripting Mar 19th, 2009
Replies: 11
Solved: turn mb to gb!
Views: 1,566
Posted By Comatose
One of the biggest problems here, is getting the shell to handle floating point numbers. I'm not using / have access to a solaris machine, so I'm going strictly of bash in slackware.... but the...
Forum: Shell Scripting Mar 19th, 2009
Replies: 3
Views: 1,696
Posted By Comatose
You could probably get away with using expect. Basically, you could have your script call the expect script in a loop (or figure out how to make expect do a loop) which will be for each machine you...
Forum: Linux Servers and Apache Mar 18th, 2009
Replies: 5
Views: 4,065
Posted By Comatose
A universal distro might as well be as monolithic as the proprietary alternatives. When you start trying to tame a lion, you get bit in the ass...
Forum: DaniWeb Community Feedback Mar 17th, 2009
Replies: 14
Views: 1,587
Posted By Comatose
Well, the moderators who are supposed to strip those posts out would need to keep saging off..... posting new questions in old threads isn't supposed to happen (or receive any kind of answer other...
Forum: DaniWeb Community Feedback Mar 17th, 2009
Replies: 4
Views: 922
Posted By Comatose
Forum: Shell Scripting Mar 17th, 2009
Replies: 3
Views: 437
Posted By Comatose
I usually just do it at the command line when I want it. Not that you could tell with *nix, but it might help to conserve resources... it's fairly easy:
X :1 &
export DISPLAY=:1
startkde & #...
Forum: Game Development Mar 17th, 2009
Replies: 12
Views: 1,017
Posted By Comatose
Forum: DaniWeb Community Feedback Mar 17th, 2009
Replies: 14
Views: 1,587
Posted By Comatose
Exactly...... but you could still have chronological view. Basically it would be the viewer's choice if they see "bumped" threads or not...
Forum: DaniWeb Community Feedback Mar 16th, 2009
Replies: 14
Views: 1,587
Posted By Comatose
I second the motion.
Forum: *nix Software Mar 16th, 2009
Replies: 17
Views: 2,097
Posted By Comatose
You need to setup and configure "samba"
Forum: DaniWeb Community Feedback Mar 16th, 2009
Replies: 1
Views: 834
Posted By Comatose
Good luck. I had a tutorial up once that was taken down, and then administration refused to put it back up when I inquired about it.... Furthermore, all tutorials now go through a rigorous...
Forum: Game Development Mar 15th, 2009
Replies: 12
Views: 1,017
Posted By Comatose
I do it in Gvim and paste it in.... I think you'll find that it's a web-browser issue much more than the page/site. Firefox natively makes Tab move from field to field. You could consider pressing...
Forum: C++ Mar 15th, 2009
Replies: 11
Views: 1,123
Posted By Comatose
Forum: *nix Software Mar 15th, 2009
Replies: 7
Views: 1,138
Posted By Comatose
Sounds like it was saved in a different format.... is this the same machine you made the file on?
Forum: Game Development Mar 15th, 2009
Replies: 12
Views: 1,017
Posted By Comatose
Personally, I like the approach of having things as self-contained and self-aware as possible. This gives you greater flexibility because you are then essentially dealing with plug and play objects,...
Forum: Visual Basic 4 / 5 / 6 Mar 15th, 2009
Replies: 3
Views: 740
Posted By Comatose
Don't confuse the difference between a machine initiating a connection, and having one initiated with it. If 192.168.1.3 tries to make a connection to a server on the internet, it will do so no...
Forum: C++ Mar 15th, 2009
Replies: 11
Views: 1,123
Posted By Comatose
you can't put variables inside double quotes. That means it's a literal string then. You want the value of the variable, so you must take it out of the quotes..... You can't just take it out of...
Showing results 1 to 40 of 1000

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC