LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices

Old

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

Posted 11-15-2011 at 03:02 AM by TheIndependentAquarius
Updated 06-12-2013 at 12: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 1436 Comments 1 TheIndependentAquarius is offline
Old

Almost but not quite qbasic.

Posted 11-14-2011 at 11:41 PM 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.

...
Member
Posted in Uncategorized
Views 418 Comments 0 peonuser is offline
Old

Challenges. Challenges and more Challenges...

Posted 11-14-2011 at 07:01 AM by m3rl1n
Updated 11-14-2011 at 10: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 514 Comments 0 m3rl1n is offline
Old

Merging two log files

Posted 11-14-2011 at 04: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.

Improvements:
Get some color into the diffrence hostsnames.
Senior Member
Posted in Uncategorized
Views 546 Comments 0 zhjim is offline
Old

Kind of neat.

Posted 11-13-2011 at 07: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...
Member
Posted in Uncategorized
Views 248 Comments 0 peonuser is offline

  



All times are GMT -5. The time now is 03:15 AM.

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