snoopy11's Profile User Rating: *****

Reputation: 762 Master
Group:
Mentors
Active Posts:
2,220 (1.4 per day)
Joined:
20-March 10
Profile Views:
29,181
Last Active:
User is offline Today, 03:24 PM
Currently:
Offline

Previous Fields

Country:
GB
OS Preference:
Windows
Favorite Browser:
FireFox
Favorite Processor:
Intel
Favorite Gaming Platform:
Nintendo
Your Car:
Nissan
Dream Kudos:
1100
Expert In:
C/C++
Icon   snoopy11 has not set their status

Posts I've Made

  1. In Topic: Pseudo random number generator. Help pls.

    Posted 24 Jul 2014

    Well if you understand functions you have a function PRNG

    unsigned int PRNG(unsigned int nSeed)
    {
        nSeed = (8253729 * nSeed + 2396403);
    
        return nSeed  % 32767;
    }
    
    


    rewrite it for int, double and float.

    call it like


    int main()
    {
        for (int nCount=0; nCount < 100; ++nCount)
        {
            unsigned int seed = 523;
    
            cout << PRNG(seed) << "\t";
            if ((nCount+1) % 5 == 0)
                cout << endl;
    
        }
    
    }
    
    


    Regards

    Snoopy.
  2. In Topic: Pseudo random number generator. Help pls.

    Posted 24 Jul 2014

    Do you understand functions ?
  3. In Topic: Choosing the correct path

    Posted 24 Jul 2014

    Web designers in Scotland typically make about 11-16 an hour depending on experience.
    The market is flooded here with competition very fierce keeping wages low.
    Don't know what its like in the US but my guess would be pretty similar.

    On the flip side C++ developers can be paid anywhere between 45,000 to 120,000 for a senior developer in Scotland.

    Java Developers can earn anywhere between 30k to 65k for a senior developer in Scotland.

    I have a friend who has a Doctorate in CS and he flies out to CA quite a bit and he earns about 75 an hour but he is qualified to the max and has put in the years both academically and professionally.

    Bottom line its hard to get jobs that pay to those amounts not impossible but employers are going to want to see some serious qualifications.
  4. In Topic: Pseudo random number generator. Help pls.

    Posted 24 Jul 2014

    You would need to let

    PRNG accept an unsigned int, int, and double for nSeed

    ie

    unsigned int PRNG(unsigned int nSeed)
    
    int PRNG(int nSeed)
    
    double PRNG( double nSeed)
    


    Regards

    Snoopy.
  5. In Topic: Moving from Console to GUI

    Posted 18 Jul 2014

    It really depends on a lot of
    Factors writing a GUI would take time
    And that is if you know what you are doing. Which clearly you dont

    There are several libs to consider

    FLTK
    Qt

    Are the two I would consider
    For your application Qt would
    Be a better option because of
    Database support.

    However Qt employs a pointer system
    That can be difficult for novices
    To negotiate. It would be like learning
    Another language.

    I have to agree with modi
    If you are asking such basic
    questions you may be trying to swallow
    too much too soon.

    Also if you know vb then why not do this in vb.

    Why pick C++ ?

    Snoopy.

My Information

Member Title:
Engineering ● Software
Age:
Age Unknown
Birthday:
Birthday Unknown
Gender:
Years Programming:
6
Programming Languages:
C/C++, Java, Python, J2ME, Android, Liberty Basic, Basic.
learning VB.net and C#

Contact Information

E-mail:
Private

Comments

  • (2 Pages)
  • +
  • 1
  • 2
  1. Photo

    da1 Icon

    16 Jun 2014 - 22:25
    can you help me not sure what this other guy is telling me
  2. Photo

    David W Icon

    15 Jun 2014 - 04:54
    Hey snoop's ... good to see you're still breathing :)
    Shalom my friend ... and best regards David
  3. Photo

    tarmizi_adam2005 Icon

    27 Nov 2013 - 18:59
    Just wanted to stop by and say thanks for giving some nice advice in my post (reading wave file c/c++) the other day. Thank you so much snoopy11 !
  4. Photo

    yowzz28 Icon

    07 Oct 2013 - 23:44
    hello sir can you please help me to my project in turbo c++ IDE We will do a simple payroll system just a simple only sir . Please help me :((
  5. Photo

    ankush.dev2 Icon

    02 Aug 2013 - 11:27
    sir what can i do to enhance my knowledge of c/c++ programming..??
    i am the one you helped me last day regarding that audio library proect...
  6. Photo

    cpp_help Icon

    31 Jul 2013 - 20:18
    Hello Snoopy11. I often use this site to learn more about c++ and I have seen many of your comments in helping other people. You seem quite knowledgeable in c++. I needed some help. Can you email me at dx6007@wayne.edu please. I would really appreciate it. Thanks.
  7. Photo

    lana ana Icon

    29 Apr 2013 - 00:25
    https://www.facebook.com/lena.ana.904
    this is my page on fb ,, please if u can help me
  8. Photo

    lana ana Icon

    29 Apr 2013 - 00:24
    hello ... i am lana from jordan can u help me in problem please i must send it to my Dr today please i need ur help ,,, ??
    my problem about multithread
  9. Photo

    mamelove25 Icon

    19 Feb 2013 - 11:02
    Hello My Dear, My Name is Mame. i saw your profile today and became interested in you,i will also like to know you more,and if you can send an email to my email address,i will give you my pictures here is my email address (mame25live@yahoo.co.uk) I believe we can move from here! Am waiting for your mail to my email address above because i have much to tell you,
    love Miss Mame.
  10. Photo

    raghav.naganathan Icon

    16 Nov 2012 - 02:21
    Dude...before your rep(343) changes, I would like to tell you that it is a perfect cube :)
  11. Photo

    SaranyaNair Icon

    02 Oct 2012 - 22:51
    hi snoopy..i'm new to programming,,can u guide me some step how to more explore in programming?
  12. Photo

    Joshuwa Icon

    07 Jun 2012 - 17:42
    I am new to programming and I really want to learn. What would you suggest learning first? Whats the best approach?
  13. Photo

    Joshuwa Icon

    07 Jun 2012 - 17:42
    I am new to programming and I really want to learn. What would you suggest learning first? Whats the best approach?
  14. Photo

    v0rtex Icon

    05 Jun 2012 - 15:01
    Your win32 tutorials are really good! Just thought I'd say thanks.
  15. Photo

    David W Icon

    05 Jun 2012 - 11:23
    Win 32 eh ? Very cool ... well maybe some day :)
  • (2 Pages)
  • +
  • 1
  • 2