April 26th, 2012 01:59 PM
Please zip up your project and attach the file. Are you using Code::Blocks with wxSmith? What version of Code::Blocks and which OS?
April 24th, 2012 01:22 PM
The find() and substr() will also work for the second option. Use find the locate the periods (".") that constitue the boundries of the field you are testing. So in your example you would look for...
April 24th, 2012 01:12 PM
If you search the articles on codeGuru you will find several that explain/implement bubble searches.
April 24th, 2012 01:04 PM
BTW - that's not really a Visual C++ question.
April 24th, 2012 01:04 PM
That depends on a number of factors, among them:
1. What kind of applicaiton is it (e.g. Conslole app, MFC, Windows Forms, WPF)?
2. Did you statically link the MS libraries?
3. Are you linking...
April 24th, 2012 12:38 PM
Please make sure you code compiles and links before posting it, unless your question is about compiler/linker errors.
The code would not compile because of spurious text on lines 54 and 59.
A...
April 23rd, 2012 10:01 AM
If you don't know either C or C++, why not just atart with C++? Do you have a spcific requriement for C?
And C is very widely used, escpecially in embedded programming.
April 23rd, 2012 09:57 AM
Visual Studio will not produce a binary that can be used by a Philips lpc2194 microprocessor.
You can use it to develop the code as long as you make sure that you don't use any Microsoft specific...
April 19th, 2012 07:40 AM
It is impossble to judge the difficulty of switching between paradigms, because that is much more dependent upon how the individual thinks and their ability to internalize the different concepts.
April 17th, 2012 09:36 AM
If xX is horizontal and Y is vertical, then 10, 0 is 10 units to the right of 0,0 alnong the X axis. A 270 degree heading would be due West. And point straight to 0,0.
Absoulely!
April 17th, 2012 09:28 AM
You need to post the actual project code that has the issue.
#include <iostream>
#include <stdio.h>
#include <stdlib.h>
using namespace std;
int main() {
int x1, x2;
April 17th, 2012 09:18 AM
This is probably what you are looking for.
http://www.codeproject.com/Articles/23061/MathParser-Math-Formula-Parser
April 17th, 2012 09:06 AM
So what is your question?
April 17th, 2012 08:42 AM
Paul captured my sentiment/intent.
I can write efficient relaiable apps in several languages. I'm especially good at real-time back-end processing apps and diagnostic tool. I know MFC very...
April 16th, 2012 10:46 AM
Ditto for me. Most of my "C++" experience is in embeded avionoics, which is really "C with classes". After 12 years, I still don't consider myself a master, but I can code just about any type of...
March 30th, 2012 08:03 AM
a semaphore is not going to pass a message. It's only going to let you know the availability of a resource.
I usually use shared memory. It may be overkill in your instance (I don't know but you...
March 30th, 2012 07:45 AM
You should have told us this to begin with. Code::Blocks isn't going to work with the MFC.
You can get Visual C++ Express to work with the MFC (without the Forms Wizard) by downloading and...
March 28th, 2012 03:14 PM
The STL is not compatible with the Win API. At least not the way you are indicating that you want to use it.
If your primary motivation is to write Windows apps, I agree with GCDE, concentrating...
March 28th, 2012 07:42 AM
Let's try this again. If you don't post the entire project, it makes it much harder for us to help you.
#include "Resources.h"
#include "WinMenuFile.h"
#include "OpenFile.h"
#include...
March 26th, 2012 09:04 AM
http://www.codeproject.com/Articles/66625/A-Fully-Featured-Windows-HTTP-Wrapper-in-C