B
Bart
Hello All,
I had a buddy looking to write a program to manipulate a
printer's movements. He said he was proficient in C and C++ but
didn't know where to begin. I suggested he go to some Linux sites
and look for printer programs/drivers, as the Linux sites often
include the C or C++ source code and maybe he could get some
ideas from them. He replied stating that was no good because he
didn't know the Linux OS at all and it would take him too long to
learn.
I argued that C was a language and Linux/Windows were operating
systems. A C-language program could be compiled to run in Linux
with a Linux compiler, or it could be compiled to run in Windows
with a Windows compiler. I think back to the infamous "Hello
World" program (everybodies first program) and can't help but
think it could be compiled to run in Linux with a Linux compiler
on a Linux machine, or it could be compiled to run in Windows
with a Windows compiler on a Windows machine. He disagrees.
Any input is appreciated, feel free to "flame" since I don't have
any C-language experience to justify posting in this forum.
Bart
I had a buddy looking to write a program to manipulate a
printer's movements. He said he was proficient in C and C++ but
didn't know where to begin. I suggested he go to some Linux sites
and look for printer programs/drivers, as the Linux sites often
include the C or C++ source code and maybe he could get some
ideas from them. He replied stating that was no good because he
didn't know the Linux OS at all and it would take him too long to
learn.
I argued that C was a language and Linux/Windows were operating
systems. A C-language program could be compiled to run in Linux
with a Linux compiler, or it could be compiled to run in Windows
with a Windows compiler. I think back to the infamous "Hello
World" program (everybodies first program) and can't help but
think it could be compiled to run in Linux with a Linux compiler
on a Linux machine, or it could be compiled to run in Windows
with a Windows compiler on a Windows machine. He disagrees.
Any input is appreciated, feel free to "flame" since I don't have
any C-language experience to justify posting in this forum.
Bart