679 Posted Topics
Re: [Like this](https://code.google.com/p/flv4php/)? Are you looking for a standalone tool, or do you mind writing a little code? | |
Re: Are you able to post your current schema definition? Having that kind of specific information will help. Meanwhile... > 1) Does this mean I need to create a different table for every location (this doesn't seem wise as I don't know how many location will exist as the company grows … | |
Re: I've used it a little; post your script and what you want fixed, and maybe we can help. You also might post in "Legacy Languages" instead--IIRC, it used to be called "Legacy and Other Languages," and still seems to be a general bucket for languages that don't have their own … | |
Re: Nitpick: The [bisection method](http://en.wikipedia.org/wiki/Bisection_method) is something else. This looks like it wants to be a [binary search](http://en.wikipedia.org/wiki/Binary_search_algorithm), but then it does a [linear search](http://en.wikipedia.org/wiki/Linear_search) on half of the array... strange. Is this a home-grown search algorithm, or is it a specific assignment? Notice that the array is sorted, so repeated … | |
Re: [Android Developer Guide: OpenGL](http://developer.android.com/guide/topics/graphics/opengl.html) is a good place to start. If you're interested in a [high-level API](http://en.wikipedia.org/wiki/List_of_3D_graphics_libraries#High-level_3D_API), there are libraries out there like [Unity](http://unity3d.com/) and [jMonkeyEngine](http://jmonkeyengine.org/). | |
Re: > the best way to count the number of swaps Wouldn't you want to increment your counter inside of `swap`? > the tests that I have run seem to be correct however Quicksort is so complex I do not trust my data. One way to validate your counting is to … | |
Re: > What never was clearly explained is why we would need to use such related forms > What is the benefits of using such a related form? Are there negatives to using this? What situations would best warrant the use of a Parent/Child Form? The [Wikipedia article on MDI](http://en.wikipedia.org/wiki/Multiple_document_interface#Comparison_with_single_document_interface) is … | |
Re: Look at the desired output; count the number of extra spaces used to indent each line. Do you see a relationship between the number of spaces and the value of `x`? | |
Re: Are you using `Thread` directly because you have to (*e.g.*, it's an assignment or something), or is this just exploration? If you have the freedom to explore alternatives, you might be interested in [`BackgroundWorker`](http://msdn.microsoft.com/en-us/library/system.componentmodel.backgroundworker.aspx). | |
Re: SDL and Allegro aim to provide a more or less complete game programming library, but you might also consider combining several separate libraries that focus on smaller areas--especially if the general-purpose libraries don't quite do what you want. A loose assortment of links to get you thinking: [Chipmunk](http://chipmunk-physics.net/), [GLFW](http://www.glfw.org/), [OpenAL](http://connect.creativelabs.com/openal/default.aspx), … | |
Re: Also could be that nothing is listening at `192.168.1.7:1024` | |
Re: This is your problem: [QUOTE=awesome_cool;1677829] [CODE] void putvalue(X a) { a.x=30; // } [/CODE] [/QUOTE] You're passing [ICODE]a[/ICODE] by value, not by reference, so when you pass [ICODE]test[/ICODE] to [ICODE]putvalue[/ICODE], you're actually modifying a copy of [ICODE]test[/ICODE], not the original object itself, and your modified copy gets lost when [ICODE]putvalue[/ICODE] … | |
Re: [QUOTE=gerard4143;1032875]Like I said its probably the header or footer information that's added to the exe. This information. header/footer is used by the linker and operating system... If you really want to see what's in your file then open it in a hexeditor and check the result against the objdump. You'll … | |
Re: It looks like you need to use the [URL="http://msdn.microsoft.com/en-us/library/system.diagnostics.processstartinfo.aspx"]ProcessStartInfo[/URL] class. The [URL="http://msdn.microsoft.com/en-us/library/system.diagnostics.processstartinfo.createnowindow.aspx"]CreateNoWindow[/URL] property should be useful. | |
Re: [QUOTE=Clinton Portis;1678949]the program does what you want it to do so it can't be all that bad.[/QUOTE] I'm going to assume that was sarcastic--otherwise, you need to have a serious talk with anyone who has to actually maintain code. :) | |
Re: Before we talk about how to guess letters and replace the `*`s, there are a number of problems in the code that should be addressed first. I might seem to get a little pedantic here, but clearing up these issues will make the code shorter and easier to understand, as … | |
Re: > i think that it can be done by using nested class??? . > ... and then apply inheritance in your classes. No to both; you've already been told which classes to write, and there is no inheritance relationship involved: > the program is to print a bill using two … | |
Re: What have you tried so far? Show us whatever you've written to solve this problem, and we'll try to point you in the right direction. | |
Re: It looks like the problem is that you're testing every single user name in the table, and every one that is wrong will result in the "no access" dialog showing. The naive fix would be to hold off showing the dialog until you've checked all the users and then only … | |
Re: One problem is in `Core.h`: class Core { ... } core; Every time you include `Core.h`, it defines a variable `core`--that's where the 'multiple definition' errors are coming from. Assuming what you want is a single global instance of your `Core` class, you can do it the following way instead. … | |
Re: How are you running your normal database queries (or do you have any)? [SqlCommand.ExecuteNonQuery](http://msdn.microsoft.com/en-us/library/system.data.sqlclient.sqlcommand.executenonquery.aspx) and [SqlCommand.ExecuteScalar](http://msdn.microsoft.com/en-us/library/system.data.sqlclient.sqlcommand.executescalar.aspx) are simple enough if you're using plain ADO.NET. You can also wire up stored procedures to a [LINQ data context](http://msdn.microsoft.com/en-us/library/bb384574.aspx) or an [Entity Framework data model](http://msdn.microsoft.com/en-us/library/bb896231(v=vs.100).aspx). | |
Re: I don't think you use single quotes to delimit dates in FoxPro--IIRC, you need to use curly braces, _e.g._, `{8/1/2012}`. | |
Re: > If you were to throw return user; at the bottom of your function the error would go away. Correct, but... > This is because if for some reason it did not go into your using statements it would never see a return statement. No, the only thing that would … | |
Re: Do you mean after you decode the base-64 text it's still not an image? It looks like the start of a JPEG file, and you get "CREATOR: gd-jpeg v1.0 (using IJG JPEG v62), default quality" in the decoded text, but there's nothing after that. | |
Re: > Following is the code I have written and its not working. "Not working" isn't a very useful description of the problem. When posting questions about broken code, please provide some details, _e.g._, what you think should happen that isn't happening. Meanwhile, this is wrong: string ID = Convert.ToString(reader); If … | |
Re: Please don't write your methods like this: public void GetString(out String value) { value = stringValue; } A simple return statement is shorter and easier to read. I recommend you don't write methods with `out` parameters unless there is truly a need for them. For an example, see [`Int32.TryParse`](http://msdn.microsoft.com/en-us/library/f02979c7.aspx) or … | |
Re: If `Feed` is a method, it would look something like this: public void Feed(string FoodType) { if (Food != "Unknown") Console.WriteLine("{0} eats some {1}.", Name, Food); } public void Feed() { Feed("Unknown"); } | |
Re: Depending on the research topic, it may also be useful to model systems and run simulations. | |
Re: Please post the connection string you're using. Are you using [MySQL Connector/Net](http://dev.mysql.com/downloads/connector/net/)? | |
Re: Please post the code in which this error occurs. That will help us figure out what's going wrong. | |
Re: > Linking console executable: bin\Debug\intro1.exe Execution of 'mingw32-g++.exe -o bin\Debug\intro1.exe obj\Debug\main.o' in 'D:\Documents\intro1' failed. Nothing to be done. Is that the entire build output, or is there anything else, especially before this? It looks like maybe your source file hasn't been added to the project in C::B. | |
Re: Do you mean the radius of a circle? You can't get a radius from just its center point; that's not enough information. Or are you talking about something else? | |
Re: How do you want this general property to work? Will users of this class be providing the storage type name? | |
Re: Which line does the exception happen on? | |
Re: From what you gave us, it looks like `Settings.Load()` isn't assigning anything to the `Dirs` object. Are you using the standard Visual Studio settings object, or is this a custom object? Please post the entire exception, including the stack trace. That will help us figure this out. Also, try not … | |
Re: Have you seen [our "read me" thread about C++ books](http://www.daniweb.com/software-development/cpp/threads/70096/c-books)? | |
Re: > error: expected ';' before '::' token. You have to get the iterator from the class, not an instance. Try this: for (std::string::iterator it = (s.words_input).begin(); > error: 'it' was not declared in this scope. This one disappears once you fix the above problem. | |
Re: We need more information to be able to help. What does "won't work" mean? Also, please post whatever code you've written so far. | |
Re: All of the examples I've seen have ordinals separated from the function name by white space; your numbers appear to be part of the mangled names. I think `@28` indicates the total size of the function's arguments. | |
Re: Please post both the code and the error message; we can't help you if we don't know what's going on. | |
Re: > i going to make socket application in c# i dont know more about socket but i have tried but fail . Please post the code you have tried so far; this will help us identify what your problem is. > 1)my server is located in other city . That's … | |
Re: I occasionally work with .NET applications that connect to FoxPro databases; we use the [OLE DB drivers](http://www.microsoft.com/en-us/download/details.aspx?id=14839). As for the column names, that's a choice on the part of the database designer--though if I remember correctly, FoxPro column names can't be very long; that's why the cryptic abbreviations. | |
Re: > i get an error stating that " an object reference is required for the non static field, mehtod or property", i have changed the modifiers of my text box to pubic and this still has not worked Assuming the error is referring to the text box lines, it isn't … | |
Re: It looks like you're not linking to icclib. If you downloaded it from the link you provided, you only have source code, so you'll have to either build it as well, or find a lib file someone has already built. | |
Re: > you can get time from any server , or from any site . For example, the [NIST Internet Time Service](http://www.nist.gov/pml/div688/grp40/its.cfm). | |
Re: Is this a compilation error? It looks more like [a VB problem](http://msdn.microsoft.com/en-us/library/a5d709wt(v=vs.90).aspx) than a SQL problem. | |
Re: Consider using something like an [XmlDocument](http://msdn.microsoft.com/en-us/library/system.xml.xmldocument(v=vs.100).aspx) instead of using the writer directly. It'll be easier to do arbitrary things to your bookmark list with the [XML DOM](http://msdn.microsoft.com/en-us/library/hf9hbf87.aspx). | |
Re: What compiler are you using? I don't get a floating point error. In other news, you have an unmatched block comment end on line 104: > */ | |
The End.