Author Topic: Coding and Scripting > Learning C++  (Read 11805 times)

Online Old-Polack

  • Administrator
  • Super Villain
  • *****
  • Posts: 11531
  • ----IOFLU----
Re: Coding and Scripting > Learning C++
« Reply #60 on: January 24, 2012, 09:27:31 AM »
as:

Hah! That will teach me not to assume that you had checked the system includes, before making that suggestion, and not checking myself, before posting.  ;D ;D ;D


I remember very well the lot of errors I have done myself while trying to learn C programming ... painful times  :D ;D
There was no google around ...  nor forum help.  :( But I have had the "bible" (first edition):
http://www.amazon.com/Programming-Language-2nd-Brian-Kernighan/dp/0131103628   ;)



No joke. I installed and learned Linux about 13 years ago, now, without an internet connection, no one around that knew anything about computers, yet alone Linux, and just one book, that was a few years old at the time. You own every error, and have to find the fix all on your own.

Your education is almost always it a "What now?" almost panic state, and frustration is high, but what you do learn under those conditions does seem to stay with you forever. ;D
Old-Polack

Of what use be there for joy, if not for the sharing thereof?



Lest we forget...

Offline dcwbis

  • Full Member
  • ***
  • Posts: 169
Re: Coding and Scripting > Learning C++
« Reply #61 on: January 24, 2012, 10:57:29 AM »

Meanwhile ---

Check out this list of online documentation and then review the Coding and Scripting topic and look for links to available docs.



I am glad that I stumbled across this topic.  I have been playing around with learning C++ for a few months now and there are some great references in that link.  Thanks Neal.

Being somewhat new to linux and PCLos, I hadn't looked at the Advanced Users Section.  Looks like I have been missing some good info in the Code Hackers area.
PCLos KDE & LXDE user.

Online wedgetail

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 2424
  • Any Bugs in site?
Re: Coding and Scripting > Learning C++
« Reply #62 on: January 24, 2012, 06:32:19 PM »
Well I am trying to figure some confusion with my konsoles after doing an edit changing colours and adding a root konsole as an option. Have tried to formulate the problem but not really successful yet.

Of course I was interested in trying to start the ParallelPortTest program again. Seemed to be working better this morning but a good break could not hurt me either. I will now re-read the article and see if I am getting everything it can.

So far I have visible data from 3 bytes of 8 bits and the parallel port is sitting at the standard address 0x378 and I know from looking in BIOS I can set two more standard addresses. I can Read/Write to the I/O byte, Some control over the Control Register and I can see the bits in the Status Register

Thanks for the descriptions of tf the perceived oddity with the "" and <> I was wondering if it was not one of those things that was normal for C/C++ I won't worry any further.

I am using a new partition and new KDE-mini setup which also has some teething problems despite I am using my logbook from the previous real install of KDE-mini.

dcwbis
To get down to do the first simple steps is mighty hard but having a real incentive that makes it easier. In this case when I started to focus on the parallellport a couple of things got my attention.  First there was some posts about using a PCIe card to get parallelport access on a pc that is something many CNC topics has to struggle with and the parallelport in general. Then when you have the problem it would be nice if you can hang LED lights on the port and also if you can control pins to ascertain full confidence of what you have here.  Not so comforting having something going wrong if you are manipulating even a smallish robot.

Well I stumbled on a couple of programs I thought looked interesting, I knew they were far above my head at the time but I really got keen. As you can see I have some knowledge of Linux and pcs in general but the corner here is what made it possible in just a few days to get much further than and faster than I expected.

Now it is payback time too, for this invaluable help I have received I will be on some other Forum sections pestering victims with my perceived knowledge and learning even more in the process. I think it may be printing problems.  ;D ;D

Assuming you know that to write then compile then do it all over again until all the errors gone. I use kwrite, nano, Konqueror and what else? I have in the back of my mind to try and find out what this talk about an IDE is, an integrated development environment. Sounds like it could be something making the task easier when you have it configured.  I seem to remember long ago playing with something having multiple windows and each time you breathed at a key things happened in another window shaking a finger at you if you got it wrong  :D
« Last Edit: January 24, 2012, 06:40:34 PM by wedgetail »
32 bit: KDE (older) & various KDE-mini, ASUSTek P5P41D Rev X.0x, BIOS AMI0207 07/21/2009, "Pentium(R) Dual-Core CPU E5300 @ 2.60GHz", nVidia GeForce 9600 GT, 2x1GB Seagate Technology 1000528AS HDD
TV CompuPro VideoMate Vista E700 (not working in Linux), Acer X243HD LCD Screen

Online wedgetail

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 2424
  • Any Bugs in site?
Re: Coding and Scripting > Learning C++
« Reply #63 on: January 23, 2013, 05:02:48 AM »
I am trying to compile wine from source, just to learn of course.

I am just following the README in the top level directory

1.. Downloaded tar-ball and unzipped it to a directory
2.. ./configure, needed to install "flex" and "bison" then it completed without errors
3.. make depend

make: *** No rule to make target `depend'.  Stop.

Any pointers?  Have googled but don't seem to make head or tails at the moment   :)
       
 
32 bit: KDE (older) & various KDE-mini, ASUSTek P5P41D Rev X.0x, BIOS AMI0207 07/21/2009, "Pentium(R) Dual-Core CPU E5300 @ 2.60GHz", nVidia GeForce 9600 GT, 2x1GB Seagate Technology 1000528AS HDD
TV CompuPro VideoMate Vista E700 (not working in Linux), Acer X243HD LCD Screen