General C++ Programming - June 2011

which is best container to use for this problem?
 
I'm trying to set up a container of classes that each contain a point A and a point B, and this cont...
[7 replies] Last: Thanks so much for the well thought out answer and good advice as to w... (by whitmcrae)
by Ez0n3
Static lib linking - similar functions
 
Hello, I just have a fairly quick question. The program I'm working on has a DLL that I would like ...
[4 replies] Last: Ok, I'm going to try that and see what happens. I don't suppose there... (by Ez0n3)
by shahj
GUI in C++
 
Hi, I have created many console based programs in C++. But, I have not created any GUI or windows ap...
[10 replies] Last: this question must be asked here more then 1000 times.. is google such... (by writetonsharma)
by xDavid
clean terminal
 
I want to add something like system(cls) to ubuntu, but can not find anything that works for me :s
[2 replies] Last: Thanks! (by xDavid)
by ramako
while (cin >> NumData >0)
 
As written in the title, this won't work. If I try writing a 0 it DOES goes into the loop. Can't it...
[7 replies] Last: True, input validation can't be done with that method. I just meant to... (by closed account D80DSL3A)
strings not working
 
Hello, as you may know already I am new to the C++ environment. Recently I have been trying to wrigh...
[3 replies] Last: just fixed it thanks for the help! (by GeckoLink)
by xDavid
Sleep(int)
 
I need use sleep(int), but im programing in Ubuntu, then I have not this library, how can I use this...
[3 replies] Last: always use man pages when you dont know how to use any function. man ... (by writetonsharma)
Casting to string
 
I'm running into something I've never seen before and would very much like to understand what is goi...
[1 reply] : I realize the issue is coming from the fact that std::precision does... (by ricomoss)
by moi134
Pattern Recognition and C++
 
Which pattern recognition/ machine learning library is better to use with C++, OpenCV, CImage or som...
[no replies]
warning in dynamic_cast while casting from base class to derived class
 
HI, test1.cpp ---------------------------- #include <iostream> using namespace std; clas...
[8 replies] Last: Hi, @writetonsharma, @webjose and @Disch thanks for your comments. Y... (by anandnilkal)
Connecting to Database using C++
 
I want to write an application using pure C++ code. I have to use MS Access as Database because tha...
[1 reply] : The below code is the one I designed using MFC (ODBC connection), the ... (by NewDev)
help with iterators?
 
im having a problem understanding what they do and how to use them. can anybody help?
[5 replies] Last: this helped me too thanks for taking the time to post the examples (by acorn)
by oz1cz
(C++0x) Use of the function<> template
 
Consider this piece of code: #include <iostream> #include <functional> std::function<void (int...
[2 replies] Last: It is safe because val is captured by value so a copy of val exists in... (by aquaz)
How to convert octal to decimal
 
I am trying to write a program in Visual C++ 6.0 using MFC where I take an octal number and convert ...
[5 replies] Last: Thanks Buffbill, I have one more question, how to store 62 into a var... (by tipjones19)
by kamari
NULL parameter in ADOCommand::CreateParameter
 
Hi all I've got a stored procedure which gets called from the code with set of parameters. One o...
[no replies]
by NewDev
Need help with the code using Xerces Parser for C++
 
Hello There, I have written the below code to parse the XML file and display some of its content...
[3 replies] Last: Thanks writetonsharma,but Xerces Parser has a built in API getAttribut... (by NewDev)
Converting an integer array to a string array
 
Hi, I am trying to convert an integer array (with six entries) to a string array. My code is the ...
[2 replies] Last: is run defined as char or int? (by writetonsharma)
Taking a percentage
 
My code is computing taxes. The user inputs how they are filing and their taxable income. If the use...
[4 replies] Last: #include <iostream> using namespace std; int main() { //prompt... (by jkretzer)
"Storage class specified" for C++ code
 
Hi all I am running an image processing algorithm using OpenCV library and C++ in Eclipse SDE. here...
[5 replies] Last: thanks coder777 I have solved it with what you said. I passed the addr... (by greenlife55)
Experience with Ethanon Engine?
 
Hi, does someone of you have experience with this engine? If yes, then please send me PM or reply...
[no replies]
June 2011 Pages: 123... 28
  Archived months: [may2011] [jul2011]

This is an archived page. To post a new message, go to the current page.