Have you already tried "#include <iostream>" instead of "#include <iostream.h>"?Code such as "#include <iostream.h> ..." causes a compiler error.
I am a newcomer to Knoppix, which I found after an Internet search. I was a RedHat user in earlier days (v7 - 9) and more recently had been using Open SUSE, v10 -v13.
I learned about Knoppix as I was attempting to upgrade to SUSE 13 and kept crashing during the install. In hindsight, the cause was due to the hardware of the machine I was installing on: a repurposed HP with an AMD dual-core processor and on-board NVidia video.
I obtained a Knoppix .iso and was able to get the machine to load from that. After that success I obtained the DVD .iso and explored that as well. Noting that HD install was possible, I installed to the 500 GB SATA drive.
All was well until I opted to start the KDE desktop in lieu of the default. Once I selected KDE and rebooted the machine would crash repeatedly with the display garbled.
More research led me to discover the problem with NVidia drivers; I obtained an ATI Radeon video card and installed it in the PCI Express slot, disabling on-board video. The machine is stable although I may need to address cooling and power supply concerns in the future.
My reason for wanting a Linux / GNU OS machine was to avail myself of the use of the GCC compliler. I am a programmer and set myself the task to learn C++ and the X Window system.
So I am posting today to thank all those who contributed to Knoppix 7.2 and to ask where the C libraries are in this installation? Code such as "#include <iostream.h> ..." causes a compiler error. The compiler is installed, but apparently the libraries are in non-standard locations? That's my best guess anyway.
I did read the caution against installing Knoppix to the HD - belatedly. I suppose if I were to do it again I would start over from a Debian set of discs. My poor DSL connection from home makes that a very daunting download, however.
Thanks for any guidance on the compiler issue.
clh333
Have you already tried "#include <iostream>" instead of "#include <iostream.h>"?Code such as "#include <iostream.h> ..." causes a compiler error.
Dell PowerEdge R640 NVMe Server 2.10Ghz 8-Core 96GB 10x 1.6TB NVMe SSD HBA330
$3133.65
Apple iMac 24" (256GB SSD, M1, 8GB, 8-Core GPU) Yellow - MGPF3LL/A - LOCKED
$450.00
Intel - Core i7-13700K 13th Gen 16 cores 8 P-cores + 8 E-cores 30M Cache, 3.4...
$364.99
Intel - Core i9-13900K 13th Gen 24 cores 8 P-cores + 16 E-cores 36M Cache, 3 ...
$519.99
Intel - Core i7-12700K Desktop Processor 12 (8P+4E) Cores up to 5.0 GHz Unloc...
$242.99
AMD Ryzen™ 7 5700X 8-Core, 16-Thread Unlocked Desktop Processor
$163.00
Intel Xeon E5-2667 V2 LGA 2011 3.3GHz 8 Core 130W 25MB 8GT/s CPU Processor
$24.00
Intel - Core i7-13700 13th Gen 16 cores 8 P-cores + 8 E-cores 30MB Cache, 2.1...
$409.99
Dell Desktop Computer 16GB RAM 512GB SSD Intel Core i5 8th Gen. Windows 11 Pro
$250.00
8-Core (16-Thread) 16GB RAM, 756GB, W11 Desktop Computer, BlueTooth 5G-WiFi PC
$417.00