User forums > Using Code::Blocks

Best Choice for Connecting to PHP/MySQL from a .cpp?

<< < (3/4) > >>

LinuxOwner:
Ty for the answer (other than the inference of being lazy and the SHOUTING in caps) as I did not in any way disrespect ANYONE here.

My lazy linux using self will now take the TIME to thank you for clarifying that C::B is NOT a compiler.
I will make also make TIME to offer guidance to the next user when He/She is unclear about whether or not Code:Blocks is a Compiler or not.
See? Your assistance did not go in vain. It's the least I can do.

Thanks 'gain, Tim.

I don't see that I am the one who can mark this as [RESOLVED], but I do believe this thread can be closed.

Alpha:

--- Quote from: LinuxOwner on January 26, 2012, 01:54:45 pm ---3.Concern: Should I use my app to connect to a PHP file first, (security reasons?) or am I safe to go straight from C++ app to the MySQL DB?

--- End quote ---
For a good answer to this, you will probably need to seek out an SQL forum.  (Although, as a general rule, I would take the shortest path - go directly - as it is in general less work and more efficient.)


--- Quote from: LinuxOwner on January 26, 2012, 01:54:45 pm ---4.Does the Code::Blocks have all the features needed for this mission, right out of the box?

--- End quote ---
Yes and no.
Yes: it comes with every thing it is meant to/should have.
No: Batteries not included.  You will either need to link directly with the development libraries of your SQL engine (which will need to be installed if they are not already); or use a wrapper interface (generally these are nicer to work with than the base library) like MySQL++.  If you need an example of how to setup search paths and link libs, examine a project produced by one of Code::Blocks' wizards (for example, wxWidgets).

LinuxOwner: be aware that the rather heated responses are a result of being asked nearly the same question very many times (hence the multiple links to the FAQ).

LinuxOwner:
Alpha,

Thank you so much. This is exactly what I have been looking for.  I cannot emphasize how much of an assistance this is. I understand they (whomever) may have heated responses for being asked a question numerous times. I will gladly excuse the rudeness as long as I am shown the same latitude for having to ask the same question over and over in Google and other places. It can be frustrating trying to ask questions about something when one is not really sure what in fact is the correct way to ask. Additionally, I was not forcing anyone to ANSWER my post, it was just simply there if some fine person like yourself were to accommodate my request. I guess that is how I thought forums worked.

Honestly, I had pretty much written this thread off as closed, but with the addition of your info, this will probably help someone else (me too) with some valuable info. Again Ty.

Cordially,

LinOwn

stahta01:
FYI: Learn how to ask a smart question in the right forum!!
This web-site DOES NOT teach programming or how to use your compiler!!

http://catb.org/esr/faqs/smart-questions.html#forum

--- Quote ---Be sensitive in choosing where you ask your question. You are likely to be ignored, or written off as a loser, if you:

    post your question to a forum where it's off topic

--- End quote ---

Tim S.

stahta01:

--- Quote from: Alpha on January 26, 2012, 09:31:10 pm ---LinuxOwner: be aware that the rather heated responses are a result of being asked nearly the same question very many times (hence the multiple links to the FAQ).

--- End quote ---

This is the result of the OP not being able to understand that his question IS NOT related to Code::Blocks!

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version