LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Old

this pointer - C++

Posted 03-13-2012 at 11:10 AM by Aquarius_Girl
Updated 03-13-2012 at 10:25 PM by Aquarius_Girl

Quote:
The this pointer is a hidden pointer inside every class's non-static function which points to the class's particular object through which the concerned function is called.
Example:
Code:
class A
{
    private:
        int rollNumber;

    public:
	A (int rollNum)
	{
	    rollNumber = rollNum;
	}

	void setRollNumber (int rollNum)
	{
	    rollNumber = rollNum;
	}
};
...
Senior Member
Posted in Pointers, C++
Views 1791 Comments 0 Aquarius_Girl is offline
Old

Synergy. Control multiple computers with one keyboard and mouse

Posted 03-13-2012 at 01:37 AM by stretchedthin
Updated 04-21-2012 at 04:39 PM by stretchedthin

It's inevitable. Eventually you will end up with more than one computer. If you were smart enough to hold on to the old one, here is a way you can now use both, or 3 or 4, with one keyboard and mouse. This tutorial is done on Vectorlinux using the Quicksynergy front end, but Synergy itself will run on Mac, Windows as well as all Linux flavors. As usual, I've captured it all on video and put it up on Youtube.


Check out the Video here.

Plus, you can check out...
Member
Posted in Uncategorized
Views 668 Comments 0 stretchedthin is offline
Old

gFifteen puzzle game

Posted 03-12-2012 at 06:01 PM by hydraMax (Bits and Pixels)

I wrote a small graphical implementation of the puzzle game Fifteen, using GTK+. The source code is available here:

https://frigidcode.com/code/gfifteen/
Member
Posted in Uncategorized
Views 624 Comments 0 hydraMax is offline
Old

Vectorlinux and the Arch Build System ??…

Posted 03-10-2012 at 11:56 PM by stretchedthin
Updated 04-21-2012 at 04:39 PM by stretchedthin

There is a bit of an easter-egg hidden within the latest release of Vectorlinux 7.0, and it is certainly something you never would expect in a Slackware based system. What is it? The Arch Build System. It's a big chunk of that huge selection of packages that Arch is famous for. This can be a big deal if you learn how to use it as it can give you access to thousands of additional software titles.

Check out the screencast here...Vectorlinux and the Arch Build System ??…

...
Member
Posted in Uncategorized
Views 579 Comments 0 stretchedthin is offline
Old

Ipv6 readiness

Posted 03-10-2012 at 10:03 PM by Skaperen

Ipv6 is coming. Are you ready for it?

I have no idea when IPv4 exhaustion will reach the point where you have to use IPv6. You have IPv4 now, and no doubt virtually all ISPs will keep people on IPv4 in some way (even if they have to use NAT) much like cable TV companies are providing at least some means for analog TVs to work (with boxes as the convert their TV systems over to all digital). So YOU may think you won't need access to IPv6 for a while.

But I suspect...
Senior Member
Posted in Uncategorized
Views 5882 Comments 1 Skaperen is offline

  



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

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
Open Source Consulting | Domain Registration