baavgai's Profile User Rating: *****

Reputation: 6129 Overlord
Active Posts:
13,266 (4.77 per day)
16-October 07
Profile Views:
Last Active:
User is offline Today, 03:31 PM

Previous Fields

OS Preference:
Favorite Browser:
Favorite Processor:
Who Cares
Favorite Gaming Platform:
Your Car:
Who Cares
Dream Kudos:
Expert In:
C, C++, Java, C#, ASP.NET, PHP, Perl, Python, Oracle, SQL Server, MySql, HTML, JavaScript, Lua, Cheese

Latest Visitors

Icon   baavgai has not set their status

Posts I've Made

  1. In Topic: GUI programming

    Posted 27 May 2015

    View Postmaceysoftware, on 27 May 2015 - 08:56 AM, said:

    Drop a button from the tool box on the form double click to go into the handler and type the following code:
    this->Text = "Hello World";

    ... That is NOT C++. It is C++/CLI, a hideous, non standard, .NET only mutant thing that uses a lot of non C++ syntax. It does not compile to a binary executable but .NET p-code. If you wish to use .NET, this should be your last choice of language. Try C# then ( or, shudder, VB .)

    Neither C or C++ specify a graphic environment; but there are tons written for them. If you want to do MS Windows programming in C++, you want a Win32 project. For C++, the Qt library is fun, though it's more a complete environment thing. Anything that runs on Linux will have C bindings, actually.

    First, you must choose your poison. What kind of graphic program do you want? If you're looking to games, then other libraries make sense, like SDL.
  2. In Topic: How do I use local storage for a text rpg?

    Posted 27 May 2015

    View PostJohn822, on 26 May 2015 - 09:38 PM, said:

    where it saves to the local storage

    Hmm, this is slightly different than the first question. In modern HTML5 you actually have a good amount of space for saving something like a game state. A quick google of "html5 local storage games" gives some nice results.

    Most apropos:

    Classic, general, resource:
  3. In Topic: tic tac toe-single user vs computer

    Posted 27 May 2015

    The bad news, this code has innumerable problems and is a horrid example to work from. The good news, sort of, you clearly didn't write it:

    Start from scratch, do your own work, don't use globals. When you have something that YOU did compiling but giving you problems, then post it and ask specific questions about it.

    Good luck.
  4. In Topic: How do I use local storage for a text rpg?

    Posted 26 May 2015

    Ultimately, your browser based Javascript has to talk to something that can store data for when the browser is closed. The browser can store a limited amount on the client, but this is generally not helpful for most things. So, you talk to a server.

    Javascript in the browser talks to servers via HTTP. So, ultimately, your data store will offer some kind of web service that the browser can talk to. The web service will generally talk to a database and can be written in anything that can talk to a database and offer up server content.

    There are lots of frameworks out there to talk to web services. Most like some kind of RESTful service and JSON payloads.

    I'm not sure if this will help or just scare the hell out of you, but take a look at something like!/ . This covers pretty much everything you'd need for a modern application, top to bottom:

    That's a ton of info, btw. Don't expect to digest it all at once. Start small. Figure out how to call a web service in Javascript. In the above case that's AngularJS, which is pretty neat. However, you can use all kinds of JS libraries down to jQuery and just raw ajax.
  5. In Topic: Have issues with the code of creating Multiple choice quiz

    Posted 25 May 2015

    Your program has changed rather significantly since last you posted... And I see it echoed around various forums. I hope you're not trying to have the internet write this for you.

    View Postjaddy789, on 25 May 2015 - 08:52 AM, said:

    not sure how to append the answers to the button.

    You'd be replacing rather than appending. Look at this line:
    self.buttonList[0].configure(text='Button 1')

    Now, how do you think you change the text of a button?

    View Postjaddy789, on 25 May 2015 - 08:52 AM, said:

    And have trouble to with the random shuffle like don't know how am I supposed to shuffle questions in the label

    Your steps are:
    • Load all possible answers into a list.
    • Shuffle the list. ( This is where you actually get to call random.shuffle. )
    • Populate the buttons based on the list.
    • Change the command in button ( these are your rules ) to reflect which is correct.
    • When user clicks, either correct or incorrect, record if correct.
    • Repeat for each question you have.

My Information

Member Title:
Dreaming Coder
Age Unknown
Birthday Unknown
Jersey, be afraid.
Years Programming:
Programming Languages:

Contact Information

Click here to e-mail me
Website URL:
Website URL  http://


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

    mireille4U Icon

    30 Apr 2015 - 05:26
    Greeting from mireille i saw your profile today and i became interested in you and i will like to know more about you and if you can mail an email to my mail address ( i will give you my is my mail address i hope we can move from here.above. Mireille
  2. Photo

    ImChicago Icon

    17 Mar 2015 - 17:34
    Hey, im new to coding, how do you recommend starting? What should I master first? Should I use a website to help me?
  3. Photo

    8byte Icon

    10 Jan 2014 - 11:08
    Awesome, thanks for all the help!
  4. Photo

    codiddle Icon

    07 Mar 2013 - 18:59
    GENIUS GUY HERE MAN. Write a book!
  5. Photo

    mamelove25 Icon

    19 Feb 2013 - 10:53
    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 ( 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.
  6. Photo

    bilbil0629 Icon

    24 Oct 2012 - 05:39
    hey! you mongolian?
  7. Photo

    Ticon Icon

    20 Aug 2012 - 13:23
    I just noticed your an expert in cheese. I lol'd
  8. Photo

    mostyfriedman Icon

    18 Aug 2012 - 23:13
    Hello there Brett
  9. Photo

    MehrdadSecret Icon

    26 Jul 2012 - 05:51
    hello, can i have a contact email or Yahoo or something? Need ur help badly
  10. Photo Icon

    18 Apr 2012 - 23:17
    Thanks ! Solved My problem !
  11. Photo

    RetardedGenius Icon

    25 Oct 2011 - 14:29
    I agree so much with your opinion of incompetent CS teachers. So true!
  12. Photo

    WabiSabi Icon

    21 Oct 2011 - 11:00
    I agree with assert(C). However, I'd rather not specify what you are "the best" at.
  13. Photo

    assert(C) Icon

    20 Oct 2011 - 08:38
    You are the best
  14. Photo

    macosxnerd101 Icon

    30 Sep 2011 - 09:33
    Congrats on hitting the big 3k!
  15. Photo

    sjin Icon

    16 Aug 2011 - 18:41
    This guy is AWESOME! Cheers bro!
  • (3 Pages)
  • +
  • 1
  • 2
  • 3