:confused:
Hello i am a newbie in programming in c++ and in linux. I hav knoppix in cdrom and i want to start programming in c++ with
the help of knoppix. But I does not know anything about how to start. I don't know create a new c++ file in knoppix, how to compile it and how to run it. If anyone have the solution please reply me or anyone can give me the reference about my problem. :rolleyes:

Recommended Answers

All 4 Replies

Use some editor to create example x.cpp.
Then try to compile with g++ -o x x.cpp (without additional library) and run it with ./x command. Type this lines in console. If error occures then use google to check them. I think that knoppix has gcc and g++ included in it.

Member Avatar for iamthwee

I was able to find out C/C++, Python, Perl, TCL/TK, Java, language support in KNOPPIX, there may be more that I have missed. You also get KDevelop (a nice GUI program to do C/C++ programming and GDB.

And don't forget emacs.

thankx for your kind reply,
i will try to create file with .cpp extension and try to compile it with the given command i also want to know more about knoppix can you tell me more about programming in knoppix or can you give me reference website which can be useful for me to develope my skill.

thankx for your kind reply,
i will try to create file with .cpp extension and try to compile it with the given command i also want to know more about knoppix can you tell me more about programming in knoppix or can you give me reference website which can be useful for me to develope my skill.

On google I found many links (typed KNOPPIX). Use google and find links wich are interesanting to you. For example maybe this link is interesanting
http://www.shockfamily.net/cedric/knoppix/
http://distrowatch.com/table.php?distribution=knoppix.
For programming try to search linux programming on google. Here are some links for compilers
http://www.stat.uchicago.edu/~gosset/Compdocs/gcc.html
http://www.cs.wm.edu/cspages/computing/tutorial/gpp.html
Hope that this help

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.