- Strength to Increase Rep
- +7
- Strength to Decrease Rep
- -1
- Upvotes Received
- 5
- Posts with Upvotes
- 4
- Upvoting Members
- 4
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
Self Employed - Freelance Coder - Sys admin - Network admin
- Interests
- programming, unix operating systems, reading, skateboarding, wife, kids
- PC Specs
- 2400XP + 512mb 2700DDR + Windows XP, Suse 800 Duron + 256 133, Gentoo 500 PIII + 256 133 + OpenBSD 400…
Hi I am attempting to pass a reference to an object from one function to another, is this even possible, if so what is the syntax this is an example of what I want: [code] class SomeClass { public: int a = 100; }; void second_function(SomeClass & ref_to_classobj) { std::cout … | |
Re: [QUOTE=paresh72]Hello Is it java(JSP, Javabean, Servlets), j2ee(EJB-3tier) & which best database is suited? If plan in advance than time is saved. [/QUOTE] Actually the best ecommerce software I have ever used (I have used dozens over the years) is Intershop, written in 90% perl (fast_cgi) 10% C, the database is … | |
Re: I would personally recommend gentoo, I know asking any question along the lines of which distro is best is almost like starting a religious discussion. The pros for using gentoo are: 1) If set up correctly it can be a little faster than any other distro out there 2) It … | |
Re: You can also use style sheets: [code] <html> <head> <style> body { background: colour name or hex value; } for tables: table { background: colour name; } </style> </head> [/code] You can also link to external style sheets. | |
Re: [QUOTE=FireNet]Dump the fox-whatever.There are alot of such stuff which have no future. Get rid of Bloodshed also.I have used it and some standards are not supported.Borland Command line complier (they give that for free) is much better. [/QUOTE] What don't you like about bloodshed? I have used it a bit … | |
Re: Within top try P or M to sort by cpu and memory respectively | |
Re: What shows when you type route -n after running your script? I have used the following before #!/bin/bash $IP="192.168.1.12" $ROUTE="192.168.1.1" ifconfig eth0 inet $IP netmask 255.255.255.0 route add default gw $ROUTE | |
Re: [QUOTE=FireNet]Use string.h [CODE] strcmp(str1,str2); [/CODE] returns 0 if they are equal[/QUOTE] Note this will only work with c strings, if you want to use this function with string you will need to treat them as c style strings ie: [CODE] if ((int a = strcmp(stringa.c_str(), stringb.c_str())) == 0) { cout … | |
Re: If you do decide you want to store the image in a database (there are circumstances) then use a blob datatype. | |
Does anyone know of a good way to sort an stl map? I have something like the following example: [code] #include <iostream> #include <map> #include <algorithm> int main() { map<int, float> map_to_sort; // Populate the map with between 20 - 2000 elements map_to_sort.sort(); } [/code] Obviously I am aware that … | |
Re: Hi there Perhaps this thread may give you pointers on what you are trying to do, it includes code examples for a similar question a few weeks ago: [URL=http://www.daniweb.com/techtalkforums/showthread.php?p=28366]Thread on bash searching[/URL] From what you have shown wouldn't the find command be more appropriate for you though? ie: [code] find … | |
Re: [QUOTE=dina]Also would you call MS Access and MySQL an application or a software[/QUOTE] What do you mean by application or software, all applications are software. Access isn't a database, it is a frontend for an external database server, and it deals with database type files, it isn't a true database … | |
Re: classic rock, alternative rock, modern rock, and pretty much anything else except pop, hip hop and harcore. collective soul the who matchbox twenty creed genesis eric clapton silverchair are some of my favourites. | |
Re: [QUOTE=far_lion]Can anybody help me... I was task to get version of the linux that we are using, but I dont know what command to use to show version of our linux...[/QUOTE] uname -a CSGAL: UNIX isn't always open source, there is still a few versions of true UNIX operating systems … | |
Re: Windows - Firefox Linux - Firefox FreeBSD - Firefox IE is too insecure, I recently installed firefox on wifeys computer too. Mozilla too much for what I need Opera too pretty and if I want mouse gestures I will download the XPI thank you very much. Firefox rocks for my … | |
Re: Well I am a perl programmer primarily, but I also really like ksh, both of which are pretty good with cgi | |
Re: [QUOTE=Specdro]I have been tring for a month now to figure out why I can't program my site to open field information from a link that looks like [url]http://www.blablabla.com/test.php3?ID=2[/url] I can't seem to figure out how to open just the field thats ID is = to 2. If anyone can help … | |
I am writing an application to interact with a Faircom c-tree database, there will be thousands of entries in the database I am trying to decide if I should impliment in perl or C++ Has anyone used Perl to interact with c-tree databases? What kind of perform have people got … | |
Hi All I am writing an application for work that will be distributed across about 200 servers, installing is going to be a big enough pain but what I am looking to do is ensure that after the application is installed it can doing a daily check against a master … | |
Re: wc -l <file> counts the number of lines in a file wc -w <file> counts the numbers of words in a file wc -c <file> counts the number of bytes in a file wc -m <file> counts the number of characters in file You can combine with other commands ie: … | |
Re: All these messages and no one mentioned old reliable xv :op | |
Hi everyone Out of interest what windows managers are people running and why? I use fvwm2 because it is so light and fast but with powerful configuration options that let me set my desktop up to look and act in a way that allows me to work faster and more … | |
Hi All I am hoping someone can help me out since this is driving me nuts. On my site I have 3 columns: [code] |sidebar| content |sidebar| [/code] What I want to do is have the height of the 2 sidebars controlled by the height of the content. So instead … | |
| Re: [QUOTE=cscgal]blud, that's what I am confused about. Suppose one installs an old release. And then keeps up to date with all packages, including recompiling the kernel. What is the difference between that and upgrading to a newer release as a package?[/QUOTE] Some of the core software isn't up to date, … |
Re: Gentoo is a great distribution for a programmer, of course everyone will say that about their personal favourite distro, however, my "opinion" is that gentoo is put together in a way that appeals to the logic of a programmer, it is the easiest distro I have used because most of … | |
Re: I don't think C++ is a great language to begin with, I think most people should start with a procedural language and then move to object orientated. I begin with: pascal delphi c perl visual basic (ack) c++ Of course everyone thinks that their route to learning was the best … | |
Re: Reiserfs is fastest, ext3 is a little more safe, ext2 is fastest, different filesystems for different jobs, oh and UFS on solaris with logging on. / - ext3 /boot - ext3 /var - ext2 /home - reiserfs /tmp - ext2 /usr - reiserfs | |
Hi guys It has been quite a long time since my last post, but I am having some very weird behaviour on a program I am writing and I was hoping to get a little community feedback ;) I am writing a class that basically opens a pipe to ksh … | |
Re: [QUOTE=freesoft_2000]Hi everyone, why don't you have a look at my other response in the c++ section entitled c++ dying a slow death. On the most common languages i would recommend you to learn basic, C# and java(very good alternative to c++) Yours Sincerely Richard West[/QUOTE] I would disagree with this, … | |
Re: Another alternative is to take the source for Mozilla Firebird (open source) make a few customisations to the source (graphics logos) and compile it for internal use. I don't think there would be licensing issues since it is open sourced anyway. |