Posts
 
Reputation
Joined
Last Seen
Ranked #303
Strength to Increase Rep
+10
Strength to Decrease Rep
-2
88% Quality Score
Upvotes Received
75
Posts with Upvotes
64
Upvoting Members
54
Downvotes Received
10
Posts with Downvotes
10
Downvoting Members
7
19 Commented Posts
10 Endorsements
Ranked #180
Ranked #197
~179.28K People Reached
Interests
Programming, 3D Modeling, Paintball (Woodsball, never Speedball), Video Games
PC Specs
Intel i5 3.30 GHz, 4GB DDR3, GeForce 9800 GTX+
Favorite Tags
c++ x 79
java x 66
c# x 53
c x 33

407 Posted Topics

Member Avatar for MasterHacker110

You can give [CG Textures](http://www.cgtextures.com/) a try. Their textures are free to use, with a few restrictions (see the license/FAQ). As for "free" professional game engines, there are a few: * Unity: Free for the basic license, and $1500 for the Pro version. From what I here, it is one …

Member Avatar for Tarık Can
0
202
Member Avatar for skatamatic

If `sock` is null, it would throw an `InvalidOperationException`. If there's no curly braces, it only executes the following statement.

Member Avatar for Alejandro_8
6
9K
Member Avatar for naik.pranjal

You should show some effort in attempting this problem before asking for help. There's a good C++ tutorial at this site: [http://www.cplusplus.com/doc/tutorial/](http://www.cplusplus.com/doc/tutorial/).

Member Avatar for Varun_8
-1
880
Member Avatar for 47pirates

If you compare the syntax of the [GRANT](http://dev.mysql.com/doc/refman/5.6/en/grant.html) and [REVOKE](http://dev.mysql.com/doc/refman/5.6/en/revoke.html) statements, GRANT requires **user_specification** and REVOKE only requires a **user**. The difference is that **user_sepcification** requires **user** plus the IDENTIFIED BY, while **user** is just that, a user. Try changing the REVOKE query to: String query ="REVOKE INSERT,SELECT,UPDATE,DELETE on hms.* …

Member Avatar for stultuske
0
1K
Member Avatar for revertedlogic

You're initializing `visits[]` and `percentages[]` to have 39 elements. This means they will have indices of 0 through 38. Each of your for-loops iterate over the indices 0 through 39. So, 39 is going to cause an issue. Remember, the last index of a zero-based array, is the size minus …

Member Avatar for JamesCherrill
0
337
Member Avatar for pittdaniweb

Seriously, take some courses (or better yet, get a degree). For and while loops are used in so many common languages. You are not ready for any kind of software development career.

Member Avatar for rajii93
0
814
Member Avatar for c1ockwerk

[icode]dir[/icode] isn't actually an executable; it is a command that Command Prompt understands. You could replace line 4 with: [code=C#]p.StartInfo.FileName = "cmd"; p.StartInfo.Arguments = "/c dir";[/code] That should work for you.

Member Avatar for newdev
0
4K
Member Avatar for Sh4dowz

I might take some grief for this, but I would recommend you start out with RPG Maker (if it's still in existance) or GameMaker. RPG Maker does not specifically allow coding (atleast back in 2000) but does have procedural algorithms, and does somewhat introduce OO design. I would recommend GameMaker …

Member Avatar for tuto.narahenpitiya
0
690
Member Avatar for Swapnil Palande

efficacious, You could just add a static List to a class. For example: [code=C#] public class Global { //instance variables static List<Global> CLASSES = new List<Global>(); public static Global this[int n] { get { return CLASSES[n]; } } public Global() { CLASSES.Add(this); } } [/code]

Member Avatar for Quezo
0
9K
Member Avatar for schroaus

It is common for applications to prevent the user from interacting with other parts of the application, as **Reverend Jim** describes; however, I haven't really seen any applications that do this, aside from system processes. There are quite a few things that can get in the way of this, besides …

Member Avatar for tinstaafl
0
231
Member Avatar for laguardian

You should be using the indexer (i) to set the appropriate element of the string array, like so: `strArray[i] = str;`, but before that, you need to initialize the String array to be able to hold the number of elements you will need to store.

Member Avatar for stultuske
0
526
Member Avatar for harinath_2007

It's possible, although I have yet to see one that works well. A quick Google search turned up these: * http://www.backerstreet.com/rec/rec.htm * http://boomerang.sourceforge.net/ It wouldn't happen to be .NET by chance? It would be quite simple then, with a tool like ILSpy.

Member Avatar for deceptikon
0
140
Member Avatar for Arjun_Sarankulu
Member Avatar for new_developer

In C++, an unimplemented default constructor does nothing. If you declare and implement the default constructor, you can: class CheckGarbage { private: int rollNo; float cgpa; char* name; public: CheckGarbage() { rollNo = 0; cgpa = 0; name = NULL; } void checkValue() { cout<<"Roll no : " <<rollNo <<endl; …

Member Avatar for new_developer
0
272
Member Avatar for NyQii

You can use the `Debug` class to determine which is empty, like so: Debug.WriteLine("outter count: " + GetPageAccess.Count); foreach (CRMDocLib2012Model.GetPageAccess_Result lst in GetPageAccess) { Debug.WriteLine("inner count: " + gvPageAccess.Rows.Count); foreach (GridViewRow Item in gvPageAccess.Rows) { ... } }

Member Avatar for tinstaafl
0
165
Member Avatar for anumash

It's for portability. The last paragraph of the link you posted explains it quite well. Given their example (the "I16LP32 processor"), let's assume we want to get the length of a C-string: unsigned int length; length = strlen(str); That's fine until the length of the string is greater than 65536 …

Member Avatar for deceptikon
0
185
Member Avatar for nardoclya

> best host there is out there. That's a very bold statement. Do you have anything to back it up?

Member Avatar for santanfordfleet
0
298
Member Avatar for <M/>

[MonoDevelop](http://monodevelop.com/) is a free cross-platform IDE for .NET langauges. It can build applications for Mono, which is a cross-platform implementation of the .NET Framework (I believe it can also target .NET, which would support Windows only). I haven't used it in years, but it seemed pretty good then.

Member Avatar for nmaillet
0
632
Member Avatar for venus87

You can use the [double.ToString(string format)](http://msdn.microsoft.com/en-ca/library/kfsatb94.aspx) to specify the way a double is formatted. See [Standard Numeric Format Strings](http://msdn.microsoft.com/en-ca/library/dwhawy9k.aspx) and [Custom Numeric Format Strings](http://msdn.microsoft.com/en-ca/library/0c899ak8.aspx). For example, `1e64` with the "custom" format string `0` returns the string `10000000000000000000000000000000000000000000000000000000000000000`. This example doesn't account for decimal digits, but you could use the standard …

Member Avatar for ddanbe
0
237
Member Avatar for Fredszky

When you call `send()` in your client code, you're using the return value of `strlen()` as the number of bytes to send. Remember that `strlen()` does not include the terminating `\0` in its count. So you'll have to add 1 to compensate for the terminating character. Make sure you're doing …

Member Avatar for nmaillet
0
235
Member Avatar for Kareem Klas

I'm using VS2010, so it may be different. But your subsystem is probably set to Windows. So open the project properties (right click on the project in Solution Explorer and click Properties). Then under Configuration Properties -> Linker -> System make sure it's set to Console. Basically, when Console is …

Member Avatar for Kareem Klas
0
178
Member Avatar for shaguftakhan
Member Avatar for NathanOliver
-1
120
Member Avatar for mradzinski006

Using **Add Service Reference...** in the project's context menu, allows you to add a local WSDL file. Visual Studio can then generate the necessary classes, and you can specifiy the URL to use like so: new MyServiceClient("config", "remoteAddress"); Where you would replace "config" and "remoteAddress" with the appropriate config and …

Member Avatar for mradzinski006
0
182
Member Avatar for harishbansal90

A very simple service to use is [http://checkip.dyndns.org/](http://checkip.dyndns.org/). It returns a very basic HTML page that is easy to parse, like (fake IP address): <html><head><title>Current IP Check</title></head><body>Current IP Address: 127.0.0.1</body></html> Then you could use the [HttpWebRequest](http://msdn.microsoft.com/en-us/library/system.net.httpwebrequest.aspx) and [HttpWebResponse](http://msdn.microsoft.com/en-us/library/system.net.httpwebresponse.aspx) classes to get the HTML file.

Member Avatar for nmaillet
0
654
Member Avatar for mayankjain05

It sure is possible, since C/C++ offers no built-in bounds checking. The 11th and 12th elements will refer to the memory location of the array (a) + 10 and + 11 respectively. What is in those memory locations would be difficult to say, and would be implementation specific. You could …

Member Avatar for mayankjain05
0
108
Member Avatar for tashiDuks

Might I recommond a read-through of: [User Input Validation in Windows Forms](http://msdn.microsoft.com/en-us/library/ms229603(v=vs.100).aspx). Also, Google "winforms validation"; you'll find some decent tutorials. There are a few issues I have with **Begginnerdev**'s suggestion: 1. Not focusing on the textbox, bypasses the validation (eg. click an OK button before clicking the textbox). There …

Member Avatar for azareth
0
2K
Member Avatar for poojavb

You're calling `Exit Sub` in each iteration when the current item isn't a CD-Rom. You can use a boolean variable instead: Dim failed As Boolean failed = True For Each drive In DriveInfo.GetDrives() If drive.DriveType = DriveType.CDRom Then MessageBox.Show(drive.ToString()) CD_Targetpath = drive.ToString failed = False End If Next If failed …

Member Avatar for nmaillet
0
510
Member Avatar for AquaNut

`Elements()` only retrieves direct child nodes. `XDocument` will only have child node, the root node (`main` in this case). You would have to use the `XDocument.Root` property to access the root node (you should **not** be loading that from the file as well; get rid of line 2 of your …

Member Avatar for nmaillet
0
358
Member Avatar for neo.mn

I don't see anything "missing", I also don't see where an exception would be thrown (other than not having a `Main()` method defined; which would be a compile-time exception anyways). Could you post the exception you are getting? Also, your execution order won't work... You're attempting to raise the event …

Member Avatar for nmaillet
0
161
Member Avatar for Arjun_Sarankulu

One option is to let the database (assuming you use one) handle the ID generation. Basically, you let the user enter all of the information, then let the database assign an ID when it is inserted into the table. This can be utilized by many database engines with a simple …

Member Avatar for nmaillet
0
146
Member Avatar for Doogledude123

Try [this](http://www.cplusplus.com/doc/tutorial/files/), and post if you have any issues.

Member Avatar for Doogledude123
0
386
Member Avatar for rotten69

If you're cursious, the implementation for that `StringBuilder` constructor is (in Microsoft's .NET 4.0 implementation): public StringBuilder(string value) : this(value, 16) { } Which basically means, that if you don't specify a capacity it will be 16 or the length of the string, whichever is greater (I should also note …

Member Avatar for rotten69
0
261
Member Avatar for thammalatha

This should answer your question: [http://social.msdn.microsoft.com/Forums/en-US/vcmfcatl/thread/6ed7677c-5cc3-486d-88b9-9f8472d1e94b/](http://social.msdn.microsoft.com/Forums/en-US/vcmfcatl/thread/6ed7677c-5cc3-486d-88b9-9f8472d1e94b/).

Member Avatar for nmaillet
0
96
Member Avatar for exception

Are you able to run it on your local computer, and do you have the 64-bit runtime package installed on the deployed computer? If not, the MSIs should be located at: `C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bootstrapper\Packages\CrystalReports10_5\CRRedist2008_x64.msi`

Member Avatar for nmaillet
0
48
Member Avatar for Mac071008

The order that the processes are "waiting" may cause some issues. Look into [deadlocks](http://en.wikipedia.org/wiki/Deadlock).

Member Avatar for rubberman
0
127
Member Avatar for rubalins
Member Avatar for joedavis23
Member Avatar for arohideep13

Many many hair-pulling hours of Dark Souls. I got away from it for a bit, with the recent baby and another one on the way, but some new DLC is coming out today, so I'll have to make some time for it. And Battlefield 3 is a tough one to …

Member Avatar for Bob Hensley
0
296
Member Avatar for Darth Vader

**caKus** is on the right track, although not a complete enough answer. First, let me try and explain what can go wrong with your code. Let's assume `AnyWorkerIsInCriticalCode` is false. So `a1_DoWork()` skips the while-loop. If `a2_DoWork()` checks the while-loop condition before `a1_DoWork()` sets the variable to true, it will …

Member Avatar for Darth Vader
0
253
Member Avatar for SCass2010

It's not a stupid question; asking questions is a great way to learn. A BackgroundWorker creates and manages a Thread for you, and provides a few convenient features. So I'll try and give a quick explanation of how a BackgroundWorker works. First the BackgoundWorker creates a Thread and executes the …

Member Avatar for nmaillet
0
259
Member Avatar for thechetantalwar

Are you talking about a graphics.h header? As far as I know, most people have stopped using these in favour of some more advanced/modern OS libraries. Take a look at [this](http://programmers.stackexchange.com/questions/134651/how-can-i-get-into-c-graphics-library). As for making it bootable, I would get a Linux distro and modify it to boot your program.

Member Avatar for thechetantalwar
0
354
Member Avatar for Programmer629

Giving explicit directions to completing a project is not something you're going to get on this forum. If you want some help, show some initiative (and some code) and explain where you are having issues. If you don't know the language, then starting Googling for some C# tutotials.

Member Avatar for Programmer629
0
459
Member Avatar for semicolon

You could use the [Tooltip](http://msdn.microsoft.com/en-us/library/system.windows.forms.tooltip(v=vs.100)) class. To customize its appearance, you'll have to set `OwnerDraw` to true and `IsBalloon` to false. Then you would handle the `Popup` and `Draw` events. The `Popup` event gives you a chance to specify the bounds (size) of the `Tooltip`, and the `Draw` event supplies …

Member Avatar for gtsiga
0
826
Member Avatar for Mike Askew

The order might have something to do with it. Setting the `SelectionBackColor` applies the color to the currently selected text. So the text you select after it won't be affected. If that works for you, great. If not though, could you post some more code (ie Is it a handler/called …

Member Avatar for Mike Askew
0
113
Member Avatar for andrew mendonca

Your `getTopTwoScores()` method simply picks the array elements 1 and 2 for the highest two scores (which are 76 and 87). You'll need to use a loop to find the highest scores, like you did to get the scores from input.

Member Avatar for andrew mendonca
0
365
Member Avatar for kaizen202

You can use the [DataGridView.ColumnStateChanged](http://msdn.microsoft.com/en-us/library/system.windows.forms.datagridview.columnstatechanged(v=vs.100).aspx) event, and the [DataGridViewColumnStateChangedEventArgs.StateChanged](http://msdn.microsoft.com/en-us/library/system.windows.forms.datagridviewcolumnstatechangedeventargs.statechanged(v=vs.100).aspx) property to determine if it was a visibility change.

Member Avatar for kaizen202
0
473
Member Avatar for VasquezPL

Ok, so you start be creating, starting and joining a thread. This is fine, the UI thread will **not** execute until "Thread1" finishes. However, in "Thread1" you are updating the `LogBox` with `BeginInvoke()`. This is of course correct(ish), since you cannot update controls on anything other then the UI thread. …

Member Avatar for VasquezPL
0
315
Member Avatar for prahesh

Start by picking a [sorting algorithm](http://en.wikipedia.org/wiki/Sorting_algorithm), then implement it. If you have any trouble with the coding, post your code and explain what isn't working how you'd expect.

Member Avatar for mike_2000_17
0
230
Member Avatar for umerm04

It should be 2. Generally. you get the remainder from (for positive number at least): a % b = a - b * floor(a / b) So: 2 % 5 = 2 - 5 * floor(2 / 5) = 2 - 5 * floor(0) = 2 In other words, 2 …

Member Avatar for nmaillet
0
138
Member Avatar for vindom

The column you are retrieving from the "users" table is the entire column of your result (not pertaining to a single row). You'll need to use the [DataTable.Rows](http://msdn.microsoft.com/en-us/library/system.data.datatable.rows.aspx) property instead. Then, use the [DataRow.Item](http://msdn.microsoft.com/en-us/library/146h6tk5.aspx) property to access the appropriate column. FYI, I would think it's better practice to use the …

Member Avatar for vindom
0
330

The End.