Posts
 
Reputation
Joined
Last Seen
Ranked #831
Strength to Increase Rep
+6
Strength to Decrease Rep
-1
82% Quality Score
Upvotes Received
5
Posts with Upvotes
5
Upvoting Members
4
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
2 Commented Posts
~32.9K People Reached
Favorite Tags
Member Avatar for lazylibran82

That is not even C a program. It's written in C++ using C header files. C doesn't support classes. it's not object oriented.

Member Avatar for Prad_1
0
692
Member Avatar for winky

Well if it's a recursive function, then why are you using two functions? it's just calling function. I don't know much in detail about this recursion, but from all th examples in my books, I know that you need to all the same function (one you declare) again and again …

Member Avatar for Joshua_3
0
1K
Member Avatar for FaridMasood

A simple way to print an XM data onto the Console window is by using an object of [inlinecode]XmlDocument[/inlinecode]. here is a sample code snippet: [code=csharp] XmlDocument doc = new XmlDocument(); doc.LoadXML(("<clientinfo><servicetype>korea</servicetype><servertype>sakray</servertype></clientinfo>")); doc.Save(Console.Out); [/code] This is one way to do it. Another way is pass an XmlTextReader object to the …

Member Avatar for dhairy1
0
3K
Member Avatar for Dani

WTF.. All she asked was the difference between ++i and i++, not such weird details. Can't you just say that, ++i will first increment the value of i and then assign it., while i++ will first assign the value and then increments (so the variable assigned before gets to keep …

Member Avatar for WaltP
0
648
Member Avatar for bpushia

out of the topic question: What does credit actually mean? In my country, we don't have those and I couldn't find much info about it on the web?

Member Avatar for Narue
0
6K
Member Avatar for san_fran_crisko

There is no problem with your code. You just need to call the [inlinecode]this.repaint();[/inlinecode] after removing the component.

Member Avatar for peter_budo
0
4K
Member Avatar for bl@ck_d3ath-v2

Wow! I don't know what to say to that. Are you sure you are a faculty? I'm sure your students are in the 'waiting queue of unemployment' for ever. I won't so much as tell anyone that I even glanced a code like that.

Member Avatar for NathanOliver
-2
1K
Member Avatar for karthiken07

> How to create Run as Administrator option of windows OS in c code.. Such a thing requires a direct call to the windows API. Refer to the MSDN documents in the Microsoft site. You'll also need a signed security certificate. Also the feature will differ from one OS version …

Member Avatar for ChaseVoid
-1
163
Member Avatar for fete

Do a google search you'll find lots of working code lying around.

Member Avatar for xavier666
-2
108
Member Avatar for macman101

Have you tried googling those errors? Most of the errors are simple enough to understand. If there is an error, most probably it's a syntactical error. Check your semi-colons, brackets, etc. After that you can try figuring out the logical errors you have.

Member Avatar for ChaseVoid
0
167
Member Avatar for saikeraku

For the first problem if you require to make a new meaningful word out of a set of characters, then you need to have a dictionary with a number of words. Pass in the two strings as an array of characters. Iterate through your dictionary of words for the first …

Member Avatar for katharnakh
0
108
Member Avatar for tototo
Member Avatar for jice
-4
141
Member Avatar for xponse

[QUOTE=xponse;252551]I w'd like tom Download Turbo C (window version). Can any one sugget any site, thank in advance :confused:[/QUOTE] Well I'm also learning C. I tried the Turbo thingy, but it doesn't work that well. At our institute thy use GPP compiler, but it's real troublesome. I would suggest Visual …

Member Avatar for ~s.o.s~
2
436
Member Avatar for foxypj

You don't need to feel down. It's just that people tend to get irritated and fed up with those who just come around here looking for ready answers. I'm sure you must have tried, but you didn't write anything about it. If you are stuck somewhere ask for help on …

Member Avatar for foxypj
0
145
Member Avatar for MJV

Well if you are using multiple connections, then you can try enabling pooling. MARS is also an option that uses a single connection to execute multiple queries, however is restricted to only DataReaders.

Member Avatar for JerryShaw
0
143
Member Avatar for sid.coco

Have you tried to use the Update method of the Adapter Class? [code=csharp] ... DataSet sqlDS = new DataSet("StudentDetails); adapter.Fill(sqlDS, "StudentDetails"); foreach(DataRow dr in excelDS.Tables["StudentDetails"].Rows) { sqlDS.Tables["StudentDetails"].Rows.Add(dr); } adapter.Update(sqlDS, "StudentDetails"); ... [/code] This will copy all data from excel to sql, if the structure of the data is the same. …

Member Avatar for ChaseVoid
0
162
Member Avatar for Dan301978

Microsoft has books specifically for preparing those exams. You can search for them and read through those. However, I find the content there quite tough for a beginner. So I suggest you finish "Head First into C#" and get the basic done. Do some practice by taking small projects and …

Member Avatar for ChaseVoid
0
138
Member Avatar for tactfulsaint
Member Avatar for sciwizeh

The problem is that there is no server running in your system. Install the IIS7 server in Vista. Look [URL="http://www.howtogeek.com/howto/windows-vista/how-to-install-iis-on-windows-vista/"]here [/URL]for directions. Also always use a port greater than 5000. And Do you have a ServerSocket running? I think you need it communicate with the Socket.

Member Avatar for sciwizeh
0
3K
Member Avatar for IT_Techno

The following websites might help your need. [url]http://blog.stevex.net/index.php/string-formatting-in-csharp/[/url] This MSDN article about [URL="http://msdn.microsoft.com/en-us/library/0c899ak8.aspx"]Custom Numeric Strings[/URL] has good examples

Member Avatar for vckicks
0
122
Member Avatar for bondo

Bondo, I'm sorry but there is no way to read not well-formed XML data in .NET. Since you want to use this XML Data into a SQL Server, it's more important for it to be well formed. You can create you own class so that it can ignore the "" …

Member Avatar for bondo
0
234
Member Avatar for vietnamese

You can use the ComboBox class SelectedIndexChanged or SelectedValueChanged Events. Once the event is generated, you can update the DataSet and then display the data in the DataGrid.

Member Avatar for ChaseVoid
0
92
Member Avatar for FaridMasood

Didn't you post the same question in the C# forum? Have you tried searching the web? Just go into the [URL="http://msdn.microsoft.com/en-us/library/default.aspx?s=6"]MSDN [/URL]documentation, you'll find all your answers there. To print XML form a dataset, you can use the [inlinecode]WriteXml()[/inlinecode] function of the [inlinecode]DataSet[/inlinecode] class.

Member Avatar for ChaseVoid
0
195
Member Avatar for Alex Edwards

You can have a class that just controls the movements. It can check the piece and move it. The board class will have the information about the pieces that are on it. If the region is free, then the piece can move also it'll check the rules defined for that …

Member Avatar for Ezzaral
0
2K
Member Avatar for d4n0wnz

Can't you just store the values on a String and then accept a value for the count of recursion. Call the method passing the String and Integer. If you must use a char data type, then is a simple typecasting.

Member Avatar for Vilice
0
97
Member Avatar for Bill Purkins

The problem is your connection string. To connect to a SQL server Compact edition database you use the following: [code] Data Source=MyData.sdf;Persist Security Info=False; [/code] [QUOTE]How to specify the location of the SDF file Often times the .SDF database is not running in the current directory so it becomes necessary …

Member Avatar for Bill Purkins
0
266
Member Avatar for bornok15

In a disconnected artitechture provided by the ADO.Net will allow you connect to the database for all the DML,DDL and DQL statements. Once the results are acheved you can close the connection. The updated data will be stored in a local DataSet (DataSet follows the same artitechture as that of …

Member Avatar for ChaseVoid
0
867
Member Avatar for Gaurav arora

Having different namespaces doesn't matter. Just while referencing to the form that you added, provide the full qualified path. Include the whole namespace path till your reach your desired Form Class. That should do the trick.

Member Avatar for ChaseVoid
0
90
Member Avatar for Jaulm

Umm, Have you thought about creating separate PrintWriter objects? Define a rule collection and use switch case to check which rules match. Accordingly call the PrintWriter object's print method associated with the respective log files.

Member Avatar for Jaulm
0
206
Member Avatar for hidash_in

What `masijade` is trying to say is that, JSP is a server - side scripting language. You can't only affect the server with it, to control the client side, you need to use a client-side scripts such as JavaScript, etc.

Member Avatar for ChaseVoid
-1
336