- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 4
- Posts with Upvotes
- 4
- Upvoting Members
- 3
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
hyperion male enhancement The difference between organic enlargement and all the methods is that whenever you use organic growth, you are upping your penis size by restarting the organic process that's lying inactive within your body. Why would you try…
- Interests
- Anything comic :)
30 Posted Topics
Re: Hello Sneha, Doing some quick google search, I couldn't find any more conditions. So I guess that's it :) | |
Re: Please stop giving links to source code! It totally fails the use of a discussion forum. I do not think prayag would be so stupid not have google-d stuff already >.> | |
Hello all, Info: I am using Pelles C compiler. Some code first: Following is the linked list structure I am using. [CODE]typedef struct _NODESTRUCT { void* data; struct _NODESTRUCT* next; } NODESTRUCT, *PNODESTRUCT;[/CODE] Method to add a new node to linked list: [CODE]PNODESTRUCT AppendNode(PNODESTRUCT rootNode, void *data) { PNODESTRUCT tempNode; … | |
Re: You should take a look at [URL="http://msdn.microsoft.com/en-us/library/microsoft.build.buildengine.engine.aspx"]Microsoft.Build.BuildEngine[/URL]. Please don't ask for some code piece. I had a tough time trying to get this thing work :) | |
Re: Please take a look at [URL="http://msdn.microsoft.com/en-us/library/system.io.filesystemwatcher.aspx"]FileSystemWatcher[/URL] class. It should take care of your requirement. | |
Re: With so many ways to implement "calculate method on a web site". Which one are you alluding to? 1. Method just hosted as a plain response that can be consumed using AJAX. 2. Method exposed as part of a web service. Following options you have to use these: 1. use … | |
Re: That's indeed a good question, but I would like to ask you the same when you use @DatabaseName? Does this prevent injection attacks? If it does, how; and can you use the same method to prevent attacks on code suggested by darkagn? | |
Re: [CODE] public class VillageAndDragonProgram { public static void Main() { System.IO.StreamReader inFile = new System.IO.StreamReader("villagers-in.txt"); //Create generic stacks (That's the <T> kind!) // ... Stack<string> myStack = new Stack<string>(); Stack<string> pplEaten = new Stack<string>(); String s; while (true) { s = inFile.ReadLine(); foreach (string name in myStack) { myStack.Push(s); } … | |
Re: Problem lies in the select statment: [ICODE]SELECT b.Book_ID, a.Author_ID FROM Book AS b INNER JOIN Book_Author AS ba ON ba.Book_ID = b.Book_ID -- HERE IS THE ERROR [1] INNER JOIN Author AS a ON a.Author_ID = ba.Author_ID WHERE b.Book_Title = 'little' AND a.Author_Name = 'Mark'[/ICODE] [1] Here we expect some … | |
Re: I am completely unable to understand what "new" you are looking for here? As I see, you already have all your code in place. Book Id is the only thing that you might want to take care of, if it is a unique key. For that, you can normalise the … | |
Re: Please read this for help on [URL="http://www.cplusplus.com/reference/clibrary/cstdio/getchar/"]getchar()[/URL] Also check one of our posts on DaniWeb, [URL="http://www.daniweb.com/forums/thread67463.html"]keypress detection[/URL] | |
Re: This is not how you test for null values [CODE]if (da.Tables["stocks"].Rows[i].ItemArray.GetValue(0) == "null")[/CODE] That tested for a string "null" Rather try and use: [CODE]if (da.Tables["stocks"].Rows[i].ItemArray.GetValue(0) == null)[/CODE] Also, please use more descriptive headings for you posts, I don't expect to "C#" titled post in a C# forum :D | |
Re: 1. Whenever you post a question please make sure you add as much information as possible. I did not know what on earth are PRC files. 2. Try googling you query on PRC file format. 3. I googled it myself and found that PRC files stand for more than 1 … | |
Re: I hope the following code piece help: [CODE] void some_function1(); void some_function2(int); void main() { printf("in main.\r\n"); some_function1(); some_function2(10); } void some_function1() { printf("in some_function1.\r\n"); } void some_function2(int i) { printf("in some_function2; parameter was %d .\r\n", i); } [/CODE] Output returned is [ICODE] in main. in some_function1. in some_function2; parameter … | |
Re: Please take a look at [URL="http://www.cplusplus.com/reference/clibrary/cstring/strcat/"]strcat[/URL]. First parameter of strcat is the destination string, second one is the source string that will be appended to destination string. e.g. Consider the code piece below: [ICODE] dest = "Destination," src = "Source," call strcat (dest, src) // this method call will assign … | |
Re: Check following link for help on [URL="http://www.cplusplus.com/reference/clibrary/cstdio/printf/"]printf[/URL]. On success, the total number of characters written is returned. | |
Re: Check [URL="http://msdn.microsoft.com/en-us/library/system.io.streamreader.aspx"]StreamReader[/URL] class please. Following code piece is taken exactly from above page :P, I am too lazy to type of my own nor do I have my VM up :( [CODE]using System; using System.IO; class Test { public static void Main() { try { // Create an instance of … | |
Re: 1. I am unable to understand why you have used a declaration like [CODE]void tic_tac_toe_init (char *ttt[3][3])[/CODE] It should only be [CODE]void tic_tac_toe_init (char ttt[3][3])[/CODE] and assignments further below should only be [CODE]ttt[i][j]=' ';[/CODE] 2. It's a 2x2 array with capacity to hold maximum of 4 elements. [CODE]char a[2][2]={{' ', … | |
Re: Using an event handler is a good approach, primarily because it lets you keep your business logic away from MainForm code, but then again, requirement rules! | |
Re: As Momerath says, void is void. It is not a value that can ever be returned, unless we confusing it with C/C++ (void *) which can be mapped onto any other pointer type. | |
![]() | Re: [CODE]else{ /*else search for correct location*/ unsigned long front = 0; unsigned long back = pDict->count; /*input it there*/ pDict->wordList[binarysearch (pDict, word, front, back)] = word; }[/CODE] Should be [CODE]else{ /*else search for correct location*/ unsigned long front = 0; unsigned long back = pDict->count - 1; //HERE is the … |
Re: If its a well formed HTML you can use XML classes to read it and store the data in DataStore. Otherwise you can perform customized text handling. As for reading HTML from the web, you should take a look at [URL="http://msdn.microsoft.com/en-us/library/system.net.webrequest.aspx"]WebRequest[/URL] and [URL="http://msdn.microsoft.com/en-us/library/system.net.httpwebrequest%28v=VS.80%29.aspx"]HttpWebRequest[/URL] Classes. | |
Re: I am not sure if I got your question. 1. Error is in the way XML is written i.e. the generated XML is invalid? 2. XML is valid but the values stored on XML nodes is invalid? for 1. AFAIK, XML classes wont be of much help but to help … | |
Re: 1. You should be using [URL="http://msdn.microsoft.com/en-us/library/system.io.filesystemwatcher.aspx"]FileSystemWatcher[/URL] to wait for files. 2. Since your requirement is to read a text file line by line, you can use [URL="http://msdn.microsoft.com/en-us/library/system.io.stringreader.aspx"]StringReader[/URL], using which you can read a file line by line. | |
Re: Hello, If you are worried about unmanaged resources, then rest assured its just as Momerath said :). Though you can use the following for closing the connection cleanly. [CODE]System.Data.SqlClient.SqlConnection sqlConn = null; try { sqlConn = new System.Data.SqlClient.SqlConnection("connection string"); sqlConn.Open(); // Some other code goes here using sqlConn //... } … | |
Re: I guess the order should be [CODE] protected void Button1_Click(object sender, EventArgs e) { var query = from e2 in po.Employees select e2; GridView1.DataSource = query; // this should come first. GridView1.DataBind(); }[/CODE] I would like to know if that worked, I am kinda rough around edges when it comes … | |
Re: Where are you calling [CODE]AddLabelControlsToPanel()[/CODE] method from? I do not see it being called here, or am I missing something? | |
Re: @jay1648 [CODE]typedef struct tagPerson { char firstName[50]; char lastName[50]; Person firstPerson; Person secondPerson; }Person;[/CODE] won't compile because Person struct cannot have a variable of type Person in it, rather it should be a pointer to Person like: [CODE]typedef struct tagPerson { char firstName[50]; char lastName[50]; tagPerson* firstPerson; tagPerson* secondPerson; }Person;[/CODE] … | |
Re: Please take a look at this link for solution [URL="http://www.dotnetspider.com/resources/17124-BInding-Data-GridView.aspx"]http://www.dotnetspider.com/resources/17124-BInding-Data-GridView.aspx[/URL] This code snippet is not mine, so do not forget to thank the original author. | |
Re: first, help me understand why do you need so many buttons for that? considering the grid size as 30x30, it will be 900 buttons to handle and an overkill. you should rather be doing something like this: [URL="http://social.msdn.microsoft.com/Forums/en-US/vbgeneral/thread/f253be10-7a1b-43c4-aa25-4590b6aa15b9"]http://social.msdn.microsoft.com/Forums/en-US/vbgeneral/thread/f253be10-7a1b-43c4-aa25-4590b6aa15b9[/URL] Code snippet is in VB but can easily be ported to C#. |
The End.