Setup type program, how can i download something from the web in a c++ program? [closed] - c++

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.

Related

My first project: Editing an .img file, guidance wanted [closed]

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.
Note: The only programming experience i have can be found here(cs50.tv).
I know some deal about c, and i have visual studio express 2012 running. I want to dive into making stuff and currently i am aiming to create a mod install for a game (Gta San, in case anybody cares).
Essentially the file just need to open a .img file(gta3.img to be exact) and remove/replace/append files to it.
I am thinking that the best way to learn programming is to program, and i am hoping that i can get some help about it.
Please tell me what kind of concepts should i research so as to get started? (Excluding c++ syntax, OOP or using visual studio. I know about em already and working my butt off on em. Havent slept for over 36 hours..).
I do not know to help you at this specific question. However you have right that you have to do something in order to learn how to code. At this part i would sugest visit http://www.code.org/ . This is a great website, and it is really helpful at helping you learn how to code, but also to create mobile application, or a website.
Sorry I do not know how to guide you at this problem

How to read and write "Excel" with c/c++ (in smartphone app develop) [closed]

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.

I'm a noob, but Can i write a c++ program with a gui and have it run on both visual studio 2010 express and the terminal in ubuntu? [closed]

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 pretty new to c++ and am not quite sure what i am doing. I want to implement a supermarket , with a gui, and have it work on both ubuntu and windows. I read about downloading tool kits for it, but I dont know how involved that is or if there is a simpler way to do it. I've never done a project like this in c++ (java is my strong suit) and want to make sure i am not going over my head. If tool kits are the way to go, which one? how do i do it? and do i have to download it on both OS's. Thanks for the help, its really appreciated.
c++ doesn't include any facilities for a gui so you'll either have to use what comes with the platform or a 3rd party library that exists for both platforms. CLearly if you want to write code that will work on both you own't want to use the windows / ubuntu native api's so I'd suggest looking into something like Qt which seems to be a widely used cross platform gui toolkit for c++
You can download Qt. It comes with a lot of sample code and documentation.
You should write your gui using some cross platform library, such as QT. Qmake will make for you a makefile suitable for the different platforms you want to use.

Need a recommendation for a C++ GUI library [closed]

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 11 years ago.
I want to make remote administration tool. I want to take the first step by implementing the GUI or part of it (since it will be fun while being my first real experience with C++).
I need the following features in the GUI library:-
1) Modern easy-to-work-with paradigm
2) Modern kool features.
3) OS-independent. i.e. works on Mac OSx, Linux Ubuntu, and Win 7. And if could be, Android also.
Sounds to me you're looking for Qt.
Use Qt ... it offers pretty much everything you need.
Although there are already similar answers, it cannot be said often enough: Qt definitely offers everything you're looking for. I highly recommend it!
Have you looked at http://www.wxwidgets.org/ ? I've never used it in C++, but I have used the python bindings for it and found it pretty easy and very powerful. Believe they have a nice demo/sample code application for most of the features in the library too.

What C/C++ libraries do you find yourself using for iOS development? [closed]

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 11 years ago.
There are a bunch of libraries available in C/C++ that can complement iOS development. If you use them, what do you find yourself using?
Examples, off the top of my head include STL, OpenSSL and GSOAP.
Please comment on your experience with them.
Thanks
Scott
Boost is one that I've found to be handy
EDIT:
If you're not familiar with Boost, check out http://www.boost.org
It has a ton of libraries, though admittedly I haven't used the majority of them before.
Could you elaborate what type of applications you're building, and maybe I could point you towards specific Boost libraries or other external libraries?
#jglouie mentioned Boost in general, but I wanted to mention Boost.Spirit in particular. I've used it for parsing crontab-like config files I downloaded from a website to control when events are triggered in a couple of my apps.
CoreFoundation and CoreGraphics get used
(you're probably looking for public 3rd party libraries, but a lot of people overlook these)