ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have been learning c++ but my problem is i don't know what to do next. I know how to use pointers, classes etc... in C++ but i haven't written a real program, only assigments from the university(calculating arithmetic means, mean deviation etc)...
Bit of a strange question, but if you want to write a C++ program then go and do it. Write whatever you want. If you're really out of any inspriation, you could look at joining a project on sourceforge.net or similar.
Learning the syntax of C or C++ is only part of the problem. Have you studied the actual science of programming? For example, tell us which of thes topics you have studied---either in class or on your own:
data structures and algorithms
program organization, including the use of subroutines
system design techniques, including functional block diagrams and state diagrams
development environments and version control
interface design
Another common response would be: "What do you want to do?" For example, why are you studying C and C++?
Many of us learned programming because we had something else we needed to do. Maybe we had some unusual renaming task, or had to do complicated edits on files, or needed to reformat data so that some other program could use it. Maybe we didn't like the way our accounting program worked - whatever it was, we needed to learn programming to get the task done.
You seemed to have just "learned programming". I guess that's not so unusual, but it seems odd to me that you don't immediately see things where you could use those skills. Are you happy with everything in your life - is there no boring, repetitive or difficult thing that could be done with your computer? Are you happy with the way everything works - do you love your web browser, your shell? Have you never typed a command and have it not quite give you what you wanted?
Hardly a day passes where I don't do some programming. Sure it's often just a little hack script for some ad hoc reason, but still - why are you so satisfied with your world as it is now ? Don't you want to improve, to fix, to dabble?
Sooner or later you'll realize that your life becomes more and more dominated by computers and enclosed spaces, so get out and do things if you don't need to be on the computer.
Kevin Barry
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.