Posts
 
Reputation
Joined
Last Seen
Ranked #838
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
~33.8K People Reached
Favorite Tags
c++ x 37
c x 29
java x 16
xml x 6

60 Posted Topics

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
704
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
4K
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
661
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
5K
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
165
Member Avatar for fete

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

Member Avatar for xavier666
-2
110
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
180
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
111
Member Avatar for tototo
Member Avatar for jice
-4
143
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
458
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
150
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
146
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
166
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
140
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
126
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
237
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
94
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
198
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
110
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
371
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
870
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
94
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
209
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
341
Member Avatar for tactfulsaint

hymm, it should be present. Either way which version of JDK are you using? I think you need the J2EE verson. Servelets are related to jsp pages and applets, right.

Member Avatar for ChaseVoid
0
149
Member Avatar for blacklocist

First of all, there is no possible way for a function to use the [inlinecode]return[/inlinecode] keyword to return more than one value. remember, the return keyword, not only returns a value out to another variable (if mentioned) but also returns the whole control back to the function that called the …

Member Avatar for ChaseVoid
0
383
Member Avatar for ChaseVoid

I want to implement that using C#'s Generic LinkedList and the new features of C# 3.0. But I'm stuck now. the code add's the polynomials with matching exponents but doesn't add the rest of the nodes to the new LinkedList. [code=csharp] using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace …

Member Avatar for ChaseVoid
0
548
Member Avatar for sidharthrshah

If you want you can change the size of the char to 1 byte too. I don't really know how, but some detail might be in the specification or MSDN this might help [url]http://msdn.microsoft.com/en-us/library/system.char(VS.80).aspx[/url]

Member Avatar for alc6379
0
262
Member Avatar for mrkcse

I agree with the above poster. However it'll be easier if you implement LINQ. You can also retrieve few questions from the Database and display them, or you can use the Random Class to generate a random number, and use that number within the query to retrieve a question. This …

Member Avatar for ChaseVoid
0
108
Member Avatar for ChaseVoid

I would like to know how to apply Constraints after creating a table. I was just practicing and creating a database HomeInventory by reading the free e-book from Microsoft. But I'm trying to implement the functions using T-SQL. So How can I do so? [code] CREATE DATABASE HomeInventory USE HomeInventory …

Member Avatar for Ramy Mahrous
0
167
Member Avatar for ChaseVoid

Has anyone installed it? I've downloaded both express and full developer edition but I can't get past the user account stage. Can someone give me valid userID's and passowords for it? I don't have a password on my user account though..

Member Avatar for ChaseVoid
0
89
Member Avatar for ChaseVoid

I just recently came across Shift Operators and it interests me. Though I'm beginning to learn more about it, I'm still a bit confused as where to implement them. However, the problem I'm facing is because of an example I found on [URL="http://msdn2.microsoft.com/en-us/library/336xbhcz(VS.71).aspx"]MSDN[/URL] [CODE]// expre_Shift_Operators.cpp // compile with: /EHsc // …

Member Avatar for Duoas
0
303
Member Avatar for jacknight

>[inlinecode]#include <iostream.h>[/inlinecode] You should not use iostream.h, IOSTREAM is the standard header file for C++ I/O operations. and also de-comment your [inlinecode]using namespace std;[/inlinecode] becasue it's necessary. Also, the std::cout statement should be inside the function F(int) rather than main() because it is supposed to display the result recursively. This …

Member Avatar for jacknight
0
84
Member Avatar for simon_wagstaff

Well I don't know the whole program, but for sure it's certain that '=' is an assignment operator. you need to use a comparison operator with if statement. If you are using = then you assigning the character '*' to the function operatorStack.Peek(). Try declaring a variable and assign the …

Member Avatar for simon_wagstaff
0
90
Member Avatar for ChaseVoid

I've just looked up my homework and found that that I had to do a Project/Presentation on Microsoft .NET Development Tools and my sub-topic happens to be Visual C++. While doing research about it, I found out about Managed C++ and the recent advanced version C++/CLI by Microsoft. I know …

Member Avatar for Ptolemy
0
221
Member Avatar for cwarn23

Well if you want a simple command line compiler then you can go for [URL="http://www.delorie.com/djgpp/"]DJGPP[/URL] It'll work good too.

Member Avatar for Kocmotex
0
512
Member Avatar for shantuli

Are you trying to find the INDEX of any one of the value in the integer array? Since you have declared only a single dimensional array, there is only one Index for it.

Member Avatar for ChaseVoid
0
195
Member Avatar for tito_mbo

Well Since you are using SQL Server Express, if you have registered it, then download the free book. It'll help you with the basics. Make sure you select Server Type as Database Engine, Server name as <Your-Computer_Name>\SQLEXPRESS, and Authentication as Windows Authentication. To create a new database, connect into the …

Member Avatar for ChaseVoid
0
153
Member Avatar for restrooms

>Do you think I'm a chibi anime girl with a chainsaw? It doesn't matter, I just want that chain saw.. *runs away with it*

Member Avatar for hopalongcassidy
0
100
Member Avatar for jenymaru08

Well, I guess you haven't done pointers or functions yet. Today, I also got the same question for my homework. It's actually simple, if you know/understand string Length and string Reverse (without using the library) then you'll get it quickly. I just finished with it -_-' and found myself, being …

Member Avatar for ChaseVoid
-1
139
Member Avatar for abhi07

OMG! you really must be a weirdo. Haven't you gone through the rest of the threads or something. And the questions above are the simplest in C, it's just common sense, if you don't hav that, come back here, and we'll make sure to laugh at ypu properly. ROFL Tsh.. …

Member Avatar for ChaseVoid
0
266
Member Avatar for poogles

First of all decide what your question is. I cant understand, in the title you have something, and then something else. Properly describe, your question, and the answer you have come up with till now. Two weeks is enough for you to grasp the basic. If you are here looking …

Member Avatar for Ramy Mahrous
0
84
Member Avatar for frozenflame2

Your program is wrong. iostream.h is not a valid c++ header file, IOSTREAM is. There is no such thing in C++ as "cim". "cin" is used to input data. Here I'll give you a code that can change the case of character (assuming that only Alphabets are the input). It'll …

Member Avatar for Narue
0
116
Member Avatar for krizz

The quest here is not to get the result, but to get that scenario. If you just wanted to get the sum then this is suffice : [code] #include<iostream> using namespace std; int Sum(int s) { int result; if( s == 1 ) return 1; else { result = Sum(s-1) …

Member Avatar for anirudhbsg
0
992

The End.