It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I am java developer. I always wanted to write my own kernel and develop an small os, I don't know what this kernel or os will look like or what they will do but I have a passion develop something useful to contribute to this vast and beautiful open source world. I want to do this but my problem is that I don't know how to start. I had studied c/c++ in my college days, now I don't remember much of these programming languages but I can brush that up to get started. I know this journey would be difficult and long but each long journey starts with a single step.
To make sure I take correct step in right direction I need help of experts on this forum to guide me to correct direction. I am not expecting spoon feeding but your thoughts on this and references to the good books and links that could help a newbie like me to get started with such programming.
Thanks
To be honest:
I don't know what this kernel or os will look like or what they will do but I have a passion develop something useful to contribute to this vast and beautiful open source world.
If your aim is to contribute to the Open Source software pool, do not attempt to write an operating system, but pick a different thing to do. There are literally hundreds of OS projects, some of them several years in the making, and the general consensus of the OS development community over at OSDev.org is that it is interesting and fun, but not necessarily productive.
If you insist, follow that link I gave; you will find information and further links there.
Edit: If you are looking for an interesting project to learn a new language with, pick something that you would want to use. There's a reason why so many people have programmed a calculator or an address management in their early days. But seriously, C++ in kernel space is so very much different from C++ in application development that they could just as well be different languages.
Related
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
i just covered The C++ Language by B. Stroustrup and looking for some application development.
How to start for it. Means GUI, networking databases and other related stuffs.
Should i use individual libraries or use some big ones like .net or something..
please recommend me the books and other resources to begin.
Thanks.
SO is not the best place to ask such questions (try some resources for newbies), but here are some tips from my experience:
Do not start practising C++ by doing GUI, networking, databases and other enterprise stuff. Try to start with something simple and try to avoid using much frameworks (or try to understand what is happening under the hood).
If you need to learn how to make enterprise applications (forms + database), do not do it C++, as there are more suitable languages for this, e.g. Java or C#.
But it you want to master your C++ skills, try to make, for example, a simple game. And try to do as much things as possible manually. C++ is a hard language which offers infinite ways of writing bad code and you need to understand how does it work before going deep into frameworks. This will teach you how to (and how not to) design and write C++ code.
If you decide to make a game, I would suggest www.libsdl.org and www.gamedev.net (there are a lot of tutorials and other learning materials).
As for a big framework, have a look at Qt (qt-project.org).
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I'm making a program to setup a server, but I can't find out how to download a file from the internet in the c++ program. Preferably downloading a library or something.
Also, I am still a beginning programmer.
I'm using:
Microsoft Windows 7 Professional 64x
Notepad ++
Borland's C++ compiler v5.1
There are many ways of doing that. The best for you way to go about this, in my opinion, is by using cURL library (aka libcurl). Start from reading some documentation. This example can also be helpful as it does exactly that. And of course you can always go other (less popular?) ways:
Use Qt Network library (example).
Use Poco C++ Libraries (here is some introductory PDF).
Find some other libraries and try them out.
Do it yourself.
Hope it helps.
Well, based on the choice of compiler, I see you want the hard way. WinInet will work. If you feel very adventurous, try windows sockets.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I'm a smartphone app developer.
I want to make a app running in iOS,android,winphone.
I use cocos2d-x platform tool to make this app. it base of c/c++ language.
So,
Dose anyone can tell me How to read and write excel with c/c++
For what purpose? Just reading the file can be done by treating it as an opaque stream of bytes, just like any other file.
I doubt that's what you really mean, though.
If you want to interpret the file's contents, and present/update the calculations, then surely you must realize that the answer to "how" that is done must be gigantic? Excel is a huge, huge, and very old application, probably the result of many millions of lines of code.
Nobody can tell you "how" to interpret that in a simple answer here.
The closest thing you can probably get here is a recommendation on a library to use. I had a quick look, and LibXL was the first one I found for C++. It is a commercial library, and I have no experience with it.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I am looking to make an interactive forum in Python/Django. I googled up things, looked up on your site ( there is a question where a person wants to implement a Digg like system ) but nothing definite has come up for what I want an answer to.
Is it possible to write a basic interactive forum in Python which allows say login system for one with defined roles for users, different categories say Literature and Science for now. Upload and download feature in each of the category. Also, I would like to have some good GUI.
So, is it possible? ( my search uptil now says it is ) but it would then require for me to go through PHP or something else.
What I really want to know is that is it possible to do it entirely in Django/Python ( includes everything for managing database and stuff )? If not, how much PHP and other stuff do I need?
And how much work am I looking at it in Python/Django? ( Like is it a good thing to have over PHP and/or any other system already in place)
Any help is much appreciated!
Yes. Python is a general purpose programming language, thus, it is completely capable of creating just about any kind of interactive forum you can imagine. You would not have to use any PHP... this could be done completely in Python. There are many forums already created in Django.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I would like to download some code samples (or even full projects) to learn from. The only place I know of is Sourceforge, but I want top-notch, flawless* code. Not to say there is anything wrong with SF but it's a toss up, and I don't want to learn from someones bad habits.
I've been through gametutorials.com and nehe.gamedev.net, but I would prefer to find something that's been done recently with best practices in mind.
*Obviously nothing is going to be perfect
Boost.
You could look at the source of web browsers like Chrome or Firefox.
Use an open source search engine like Koders
Qt is written pretty well.
Everyone's got different ideas of what's top-notch, as there are fundamental design trade-offs with no correct answer (e.g. performance, memory usage, maintainability, reusability/generality, simplicity, clarity, concision, portability...), and one programmer's idea of elegance is another's pompous over-engineering, and yet another's over-simplistic amateurism... :-/.
Boost code is good, but complicated by a different balance of concerns than most application code: generally portability, performance & memory usage, generality, elegance of usage, and minimising misusage are prioritised massively above simplicity, clarity or concision of implementation.
I think you're better off picking some code that does something you're interested in, then in your passion to change it you'll learn see the implications of the design compromises, good and bad. A smaller project where you can rearchitect the solution and experiment with alternatives is great. No substitute for experience.