Download your favorite Linux distribution at LQ ISO.
Go Back > Blogs
User Name



Object oriented programming - Objects and Classes [C++]

Posted 11-15-2011 at 04:02 AM by TheIndependentAquarius
Updated 06-12-2013 at 01:31 PM by TheIndependentAquarius

Object oriented programming is all about representing the parts of
the problem statements as `objects` and having them interact with
each other (by calling function(s) of the object in question).

Every object has a type. The type of an object is often called a
`class` in object oriented programming. The class contains the list
of characteristics of the object and the functions which the object
is capable of performing.
We can have many...
Senior Member
Posted in C++, The basics
Views 1538 Comments 1 TheIndependentAquarius is offline

Almost but not quite qbasic.

Posted 11-15-2011 at 12:41 AM by peonuser

Gosh I wrote so many programs in Quickbasic, I just hated to give them up. I looked around for a clone of Quickbasic and found Freebasic. I write a lot of my home automation routines in Freebasic now. So easy to control the parallel port compared to everything else and you do not have to have any special libraries other than the original libs to install the program. I have come up with at least on Debian a routine to install Freebasic. Tried it on Ubuntu 10.05 and Debian squeeze.

Posted in Uncategorized
Views 487 Comments 0 peonuser is offline

Challenges. Challenges and more Challenges...

Posted 11-14-2011 at 08:01 AM by m3rl1n
Updated 11-14-2011 at 11:35 AM by m3rl1n (Found some interesting answers.)

In my last blog I mentioned being proud of having closed that platinum plated Microsoft door (maintenance and updates became too much of an investment - with no impressive return), and I promissed myself to regulary update this blog - oops!

I have been cramming C++, MySQL, and recently I developed my first X-Window application using QT4. Now that I got a fair idea about the basics, it is time to jump into deep waters, and start programming like I used to in VB. I think that is the...
LQ Newbie
Posted in Uncategorized
Views 582 Comments 0 m3rl1n is offline

Merging two log files

Posted 11-14-2011 at 05:52 AM by zhjim

Today I needed to merge two log files in cronological together. Heres my way about.

copy the two files to one host. (scp file name@server:~userhome
get the hostname infront of each line. (sed -i s/^/hostname/g first_file; ...)
cat ./first_file ./second_file | sort -k 3 > ./new_log

-k in sort stands for key. In my turn the datetime was the third field.

Get some color into the diffrence hostsnames.
Senior Member
Posted in Uncategorized
Views 595 Comments 0 zhjim is offline

Kind of neat.

Posted 11-13-2011 at 08:07 PM by peonuser

Beginning to like gpxe more and more. So far we have it for setting up to install linux distros via the net. Now we have it to load clonezilla. There were no instructions for setting it up with clonezilla except for pxe usage. That information was enough to make adjustments to get clonezilla to load and run via gpxe. No more messing around with tftp except when needed.

Tried to upgrade the proms to gpxe on some 3com cards, but no luck. they might be locked. Have some 3com cards...
Posted in Uncategorized
Views 286 Comments 0 peonuser is offline


All times are GMT -5. The time now is 10:05 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration