Thanks for the reply.
It's a bit more complex then just searching for a given string within text. Before searching the text, I wouldn't actually know what the search string would be. I'm hoping to...
Type: Posts; User: Freem
Thanks for the reply.
It's a bit more complex then just searching for a given string within text. Before searching the text, I wouldn't actually know what the search string would be. I'm hoping to...
Hi there,
I'm not totally sure this is the best place to post this - I'm after a bit of assistance or be pointed in the right direction.
I'm looking to analyse text in the sense of identifying...
Aw, thanks. that makes heaps more sense.
I got this code from a tutorial online, which obviously wouldn't compile if it is trying to send an argument to a base class function if its not...
Below is a code snippet for an exception code, see below:
#include <iostream>
#define WIN32_MEAN_AND_LEAN
#include <winsock2.h>
#include <windows.h>
I'll give beej's another go. I'm ok with c++, there are just a few things that trouble me. Thanks guys.
Hi guys,
Does anybody know where I can find a simple Linux socket tutorial? I've been having a look at beejs tutorial i understand all concepts but as soon as he gets to the code, I start losing...
Yes, of course. This makes sense to me now.
Thankyou! Its funny how sometimes you just need another perspective
I'm just getting to grips with Object Orientation and am testing out my skills with a game of blackjack. and am a little stuck..
I've created a class for the DECK of cards which takes note of what...
Hi Guys,
I've just completed the above book - I'm confident that i understand all the principles that it has tought. I'm just not sure where to go next..
Can anybody recommend any books...
point taken and noted. Thanks guys,
Ignore my previous comment. But you are totally right, thanks mike.
I've used the namespace declaration in my .cpp file and not the header file, which is why I'm getting all the compile errors.
...
Ofcourse, thanks mike! Ive put using namespace std
sure. header file.
#include <iostream>
#include <cstdlib>
#include <cmath>
#include <cstring>
class Fraction
Hi All,
I'm creating a Fraction class, for study purposes and I'm struggling with a friend operator function in my class.
this, defined in my header file, within my class.
private:
int...
Yes, I'm aware of that - but i dont see any good book recommendations on using QT. This is what i'm after.
Hi All,
I'm learning C++ programming, working through C++ without fear. which i believe gives you a good grounding. I'm learning C++ for the interest in programming but also because i'll be doing...
Yeah, i much prefer std::string to c-string. But the book i'm following is being persistent with the old c style strings. So i'll stick with it for the moment, i think.
Grumpy, some good tips....
Hey All,
Can someone please have a look at my code below. its the while statement in particular that i'm a little confused about. i've used strcmp to compare the text retrieved from getline to...
Hi All,
I'm pretty new to programming and C++ and have been making my way through c++ without fear.
I'd like to know the best route to go to get into GUI or windows programming after I've got...
Thanks Elysia and Salem.
What would be best used for a path?
I cant understand why the following code wont work. When it gets to the getline stage, it doesn't wait for the prompt.
I'm running it in Microsoft visual c++ Express and the .h file includes...
Hey all, first post.
So, i'm a newbie and working my way through C++ without fear. I've noticed that through the book the author has been declaring and intializing string variables in this way
...