Search:

Type: Posts; User: Freem

Search: Search took 0.01 seconds.

  1. Thanks for the reply. It's a bit more complex...

    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...
  2. Identify and count word sequences within a text file

    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...
  3. Replies
    6
    Views
    2,084

    Aw, thanks. that makes heaps more sense. I...

    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...
  4. Replies
    6
    Views
    2,084

    Class constructor question

    Below is a code snippet for an exception code, see below:



    #include <iostream>

    #define WIN32_MEAN_AND_LEAN
    #include <winsock2.h>
    #include <windows.h>
  5. Replies
    4
    Views
    6,490

    I'll give beej's another go. I'm ok with c++,...

    I'll give beej's another go. I'm ok with c++, there are just a few things that trouble me. Thanks guys.
  6. Replies
    4
    Views
    6,490

    Windows and Linux c++ networking tutorial

    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...
  7. Replies
    2
    Views
    1,822

    Yes, of course. This makes sense to me now. ...

    Yes, of course. This makes sense to me now.

    Thankyou! Its funny how sometimes you just need another perspective
  8. Replies
    2
    Views
    1,822

    Class Question - Object Orientation

    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...
  9. Replies
    5
    Views
    1,728

    C++ Without Fear, now where/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...
  10. Replies
    8
    Views
    11,554

    point taken and noted. Thanks guys,

    point taken and noted. Thanks guys,
  11. Replies
    8
    Views
    11,554

    Ignore my previous comment. But you are totally...

    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.
    ...
  12. Replies
    8
    Views
    11,554

    Ofcourse, thanks mike! Ive put using namespace std

    Ofcourse, thanks mike! Ive put using namespace std
  13. Replies
    8
    Views
    11,554

    sure. header file. #include ...

    sure. header file.



    #include <iostream>
    #include <cstdlib>
    #include <cmath>
    #include <cstring>

    class Fraction
  14. Replies
    8
    Views
    11,554

    Friend operator

    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...
  15. Replies
    4
    Views
    4,803

    Yes, I'm aware of that - but i dont see any good...

    Yes, I'm aware of that - but i dont see any good book recommendations on using QT. This is what i'm after.
  16. Replies
    4
    Views
    4,803

    Windows GUI book recommendations c++

    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...
  17. Yeah, i much prefer std::string to c-string. But...

    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....
  18. While statement with getline and strcmp to break

    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...
  19. Thread: GUI programming

    by Freem
    Replies
    27
    Views
    5,616

    GUI programming

    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...
  20. Replies
    5
    Views
    3,409

    Thanks Elysia and Salem. What would be best...

    Thanks Elysia and Salem.

    What would be best used for a path?
  21. Replies
    5
    Views
    3,409

    getline with File

    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...
  22. Replies
    13
    Views
    6,522

    C-strings Vs Strings in C++

    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
    ...
Results 1 to 22 of 23