Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I have developed an application which is used to parse user utterances for the extraction of relevant information stored in the database.
The developed application has been purely developed using C# and consists of few functions, procedures etc.
I have been asked to produce Pseudo Code and Pseudo diagram for it to be used in the report for others to understand the flow of the developed application.
I am currently looking for a tool or software, which can help in producing above (especially Pseudo Code), as at the minute it seems a huge exploration of the code.
The type of code I am having to create of developed is as follow:
Many thanks for your help.
If you can afford to buy it, I recommend AthTek's flowchart to code. Its got a nice UI and its easy to use and it will generate pseudo code for a variety of languages, including C#, based on the flowchart.
Another good one, especially if you would like to have Visual Studio integration is Code Rocket. It integrates directly within Visual Studio and you can edit your flowchart or your pseudocode and both views stay in sync. It is great and its a little cheaper then AthTek!
If you need something free, try out DRAKON Editor. It's interface is not as intuitive as AthTek's software and it has a little more of a steeper learning curve and it does require ActiveTcl to use, but it is free! Here is a PDF Tutorial to get you up and going with C# using DRAKON Editor.
I would recommend NClass for generating diagrams. It is a free tool that generates UML diagrams. I do not know of any programs for automatically generating pseudocode though.
Its possible you could reverse engineer this project to get the pseudo code generator that you are looking for.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
For my diploma thesis I need to implement certain static C code analysis and I am desperately looking for a framework/library that would allow me to parse C source code, split it up into single functions, for every function determine what variables are changed in the function body and derive certain annotations for the code automatically.
Is there any good framework written in C# or generally as .Net class for this purpose?
What about googling for "C Parser written in C#"?
I got this as first link: http://code.google.com/p/cpp-ripper/
Also, I think the C grammar can be found in quite a lot of places, so you might just want to open up your .NET variant of lex/yacc and go from there?
You might like to check ANTLR. It comes with versions of several versions, included C and C#. There are some free grammars on ANTLR web site, including C.
I had a similiar problem and having done a research about YACC tools for C# I have chosen Gold Parsing System with Semantic Engine. My project was parsing SQL queries and generating logical query plans (from T-SQL grammar subset).
I really recommend it. Those 2 libraries make parsing stuff painless and allow to map grammar to the object model in your code. It feels very intuitive and made my project successful :) However, it may lack some advanced ANTLR features, so recognize your needs carefully.
Gold Project http://www.devincook.com/goldparser/
Semantic Engine Lib http://code.google.com/p/bsn-goldparser
If you're ok with using GPL'd code, you might want to take a look at the GCC source code. If you need to do it within .Net, you can always use p/invoke to call code from the GCC libraries.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
I only have a vague hint of spec so far, but I'm just testing the waters. I need to create a designer that will be used for creating CBT tasks and workflows. It must cater for custom objects (controls) as well as standard .NET WinForms controls.
I very lightly scanned some papers long ago on using the Visual Studio SDK and deployable design framework, but I can't remember anything meaningful.
I need some resources on building designers in general, with drag and drop, resizing, connectors, and events.
I need some resources on the capabilities of the Visual Studio SDK in regards to my first point.
I would appreciate any recommendations regarding alternative (hopefully open source) technologies and patterns.
I would lurve to write this from scratch, but I can't do that at my client's expense, so I would much prefer to leverage existing artifacts as much as possible.
EDIT: When I first posted, I could not recall that one tool I had in mind was the Visual Studio Shell, which allows me to create a "VS clone", with VS features, but my own branding and DSL type projects.
I have implemented the VS designer in one of my applications, and I'll tell you now - there is not much documentation. Although I achieved a result I am happy with, documentation is slim. Here are some links:
Create And Host Custom Designers With The .NET Framework 2.0
System.ComponentModel.Design Namespace
DesignSurfaceManager Class
There's also the MSDN article called "Extending Design-Time Support".
The only book written on the subject seems to be "Developing .NET Custom Controls and Designers Using C#", which dates back to 2005.
I also find it odd that there's so little information on this subject. Is writing .NET designers unpopular for some reason? It took a while for my exploration of C# to get to the point where learning this subject made sense, and I wonder if I should make the effort.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
Firstly, I realise that this is a very similar question to this one: Which are the good open source libraries for Collective Intelligence in .net/java?
... but all the answers to that one were Java centric so I am asking again, this time looking more for .Net (idealy C#) ideas.
A little background; I recently read Toby Segran's excellent book on CI, and I just got hold of Satnam Alag's book (which I am sure is also excellent, but I have only just opened it). These are Python and Java centric, I don't have any trouble reading the code samples, but as I am a C# developer it would be fun to play with some of these ideas in my native language. I've had a search of the web and SO and not come up with too much. In a way this is great news, maybe I could port something to .Net (suggestions welcome), but I'd also really like to take a look at any existing projects before I do this.
So, are there an CI fans out there working in .Net with OS projects, have I missed some glaringly obvious and interesting books/sites/blogs?
I realise CI is a pretty broad field, so to narrow it down a little I am primarily interested in the clustering / prediction /recommendations areas, but am open to other ideas.
Edit: Just spotted this book about to be published by Manning which may interest CI fans: Algorithms of the Intelligent Web.
Edit Clarification in response to comment by Moose; what I am looking for really is libraries, frameworks or larger-scale projects (idealy OS) that use CI techniques with .Net. Code samples are great, but as Moose said in his comment it is easy enough to take Java examples and port them. For example, there is an interesting looking project written in Java called WEKA, there is no reason I can't use this and experiment with it, I was just curious to know if there were similar things going on in .Net. I have just been browsing info on Lucene and I see that there is a C# port of that, so that's a start... are there any more out there?
Edit This is not C#, but it is .Net; Robert Pickering has started collection F# CI resources here. Looks interesting, but I'm still looking for C# info too.
Here's a link for a slope one predictor for rating-based collaborative filtering:
C# Implementation of Slope One
Microsoft Research ( full disclosure: I work at Microsoft, though not in the group that released this tool ) has just released a machine learning library in .NET called Infer.NET.
link text
You might want to check it out.
This library has:
Supervised
Perceptron
Kernel Perceptron
KNN
Decision Trees
Unsupervised
Hierarchical Clustering
KMeans
It is called Machine Learning for .NET.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
Can anyone direct me to a smallish C# application that would be symbolic of the "right way" to design a program? I'm looking for a relatively simple (potentially trivial) program from which to analyze and learn.
The application should have a relatively trivial problem to solve and should solve it in a rather straight-forward way while showing off best practices/good object oriented design.
I've been studying C# rather a lot of late, and while I'm becoming confident in my understanding of parts of the .Net framework and the C# syntax, I'm having difficulties with the general concept of design and how a project fits together.
Thanks for any sources you can provide!
There are plenty of projects on this site:
http://www.codeplex.com/
First, take a look at the previous question on this topic. It's at https://stackoverflow.com/questions/143088/open-source-c-projects-that-have-very-high-code-quality-to-learn-from.
To that list I would add:
ASP.NET MVC Storefront (MVC
reference)
SubSonic
Rawr (good Windows Forms app)
All of these are on Codeplex.
A great project that is object oriented and uses best practices is SharpDevelop. You can download the source here: http://www.icsharpcode.net/OpenSource/SD/Download/. It's actually an IDE, so you can use it to write your code too.
I downloaded the source, loaded it up in Visual Studio, compiled it, and ran it in Debug mode... all in about 5 minutes without doing any special setup!
The only catch is that the solution itself is not very small, but is broken into a lot of small projects, so that is why I am recommending it.
You can download something like BlogEngine. If you download the full source version you can set break points and walk thru the code and see how they implement things.
Otherwise there are a ton of projects on codeplex.
Microsoft has a great library of this stuff:
ASP.NET Quick Start Tutorials
ASP.NET Starter Kits and Community Projects
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I am trying to write a Windows Form and ASP.NET C# front-end and MSAccess backend for a pretty small database concept I have.
I have written this application once before in just MSAccess but I now need the app and database to be in different places. I have now figured out (thanks to a StackOverflow user) that ADO will be a bad choice because it has to have a connection open all of the time.
I bought Microsoft ADO.Net 2.0 Step-by-Step and I have read through some of it and understand (I think) the basic concepts at play in ADO.NET. (Datasets and the like)
Where I get confused is the actual implementation. What I want to know is do any of you know of a C# project that has a database backend which is open source that I can go look at the code and see how they did it. I find I learn better that way. The book has a CD with code examples that I may turn to, but I would rather see real code in a real app.
I haven't used this but it looks like it might be a good fit:
http://www.codeproject.com/KB/database/DBaseFactGenerics.aspx
Take a look at the MySQL .net connector. It is the nuts and bolts of how the ADO.net classes talk to the DB engine. ADO.net as a whole does not keep connections open. Certain higher level classes do. Technically the lower level objects such as the connection and command objects are part of ADO.net, but you have a high degree of control over them.
Check CodePlex, they have a ton of .NET projects. I can't think of specific ones that fit your requirements, but you should be able to find something.
www.codeplex.com
I found this post http://www.codeproject.com/KB/database/DatabaseAcessWithAdoNet1.aspx by searching for ADO.NET on the codeproject so I am going to give Chris Porter the answer points. Thanks everyone for the help.