Is that the one what tells you all namespaces and so on or is that a different one because I need the one with all the name spaces and other coding stuff.
Cheers mate, needed is because I have the Microsoft C Sharp(C#) for Absolute beginners and it says to install it but I couldn't find it.
Can anyone refer me to some good sites where they have C# code samples and tutorials?
I know, you can read the book over and over but you wont learn it unless you code a program with something new you have read so then it stays in your head. I will obviously need books to tell me what one thing does and what something else will do, because its obvious a novice just cant go on to visual studio and code a very complicated program, hopefully all this learning will have a good result when I can finally code my telementy app for lfs.
Can anyone recommand me some other good C# programming books because there are £15 books and they go all the way up to £60, what would the difference be in the two because the basically seem to cover the same thing, but just has a higher price.
Don't worry about the .NET SDK and such, if you want to learn C# then you can just download Visual C# 2008 Express Edition, which will install all the tools you need.
If you are looking for C# tutorials, then a quick search of Google provides many thousands of resources, and once C# Express has been installed you can find a huge amount of documentation in the help files.
There is also Microsoft's Learn C# page on MSDN as well, which has information on everything you need to get going.
In terms of books, you can search Amazon for C# books and then read the reviews to find out which one would be the best for you. Amazon has tools to sort books by price as well, so it's easy to find something in your price range. You can also find many books in your local library, and if they do not have the book you want in stock they will be happy to order it for you.
Isn't it a bit pointless, well it is pointless, installing c# express edition when I have Visual Studio 2005, I was just asking what book would you recommend, well what c# book would anyone recommend, and is there much difference between a £20 C# book and a £60 C# book, does it just give you more freebies?
Would this be any good? http://www.amazon.co.uk/C-Prog ... qid=1199896573&sr=1-2 I have the video professor html disc and that has taught me quicker then reading it, I think it will proberly be better for me as I learn quicker being shown visualy, loss concentration to quick when reading. Is that disc a rip off or a good deal for the price and what it teaches you?
No longer going to learn C#, I am going to learn C++, because it is the most known one and used the most.I am going to splash out on £100 on the training resources, A C++ Video Training CD from Apex and two C++ Books a reference guide and a beginners book. I have splashed out so much on a disc is because, I learn better visually, as it is being shown to be right in front of my eyes, so hopefully I will have learn't alot about C++ in the next few days, then I can get on with my insim project, telemetry.
If your goal is just average programs, why not just use C#?, C++ is a hard language and is mostly used for gaming. That said, it can still be used for normal programs. Imo id stick with C#
Yes I know, but there is more C++ training resources around, this is only untill I go to college so I can get my qualifications to become a software and web developer, so in a few years time, I will know a lot more languages.
All the tools I code are done in C++.. never considered writing a game
C# gives me the shits just thinking about having to get people to install a 200Mb+ framework before they can even consider running it and is yet just another example of m$ bloat (I still don't even have .NOT framework 2 installed)
yea, i begin to see that acutally, check my post up top. the .Net 3.x wont install for me on windows server 2003. Id like to learn another language, not sure what to pick tho.
There are so many languages to choose from, it can be hard to pick one. I guess it depends what road you want to go down... If you want to go further into the C family of languages, then it's probably an idea to learn C/C++. However if you want to change the way you think about programming, then there are languages like Scheme and Ruby, which will introduce you to a different, more abstract way of coding. Then there's Java, Python, VB, etc.. etc..
I think coming from C#, once you get your head around the way you work with the memory in C++ (pointers, references, the stack and the heap etc..), then it's a pretty easy to get up and running. Some things can seem like a lot of unnecessary hassle after working with .NET, but it does allow you to be much more expressive.
In terms of learning C++ as a first language, well I'd say there are probably easier paths into programming, but that's not to discourage anyone from trying it. I would however say that I would put off buying a lot of expensive reference material until you've tried the language basics, as you may find C++ doesn't fit in your head. There are like a zillon beginners tutorials for C++ on the interweb, I'd try some of those first. I'd also try learning a little C# as well, before discounting it, and maybe look at something like Python too, to get an idea of what's out there.
And in reference to Ian H, the .NET Framework is closer to 20Mb than 200Mb and anyone who has XP SP2 or better already has it installed anyway. I know I keep saying this on this forum, but all these languages are just tools and you should pick the best one for the job. You shouldn't limit yourself to one, you shouldn't discount others through prejudice.
I used to code in VB(4 / 5 / 6) until a friend kicked my virtual arse and told me to "learn a real language!". He's an ANSI C "freak" and a damn good one at that.. so I started concentrating more in C / C++ and ultimately dropped VB completely (glad I did now.. I've achieved far more in the short time I've been using C++ (in comparison to VB) than I ever did previously). I opted for Borland's C++.. the VCL is very VB-like in its "drag-drop-click-to-add-code" methods (although this can obviously lead to some bad habits, especially for larger projects) but it enables me to rapidly create GUIs leaving the slogging out left to writing the events / core code. There's also a lot of great 3rd party components making life even easier
I tried using wxWidgets for the UI at one point, but as I really only code C++ stuff for windoze, didn't need the portability or the (seemingly) bloated binaries it produced.
Other than that, the other 2 languages I use frequently are PHP for web development and Perl for system scripting (windoze and Unix.. saves having to think about SH and BAT files depending on platform) although have written a few GUIs with Perl and (G)Tk
I guess all 3 of these languages are similar in some respects, making it not such a difficult task to switch between them.. other than prepending vars in C++ with $ and forgetting it in PHP / Perl
Hmm.. IIRC, the download was ~20Mb.. installation unpacked to nearer 200Mb. I maybe wrong though, a while since I looked at it.
I agree 100% though with the "right tool for the right job". I have done, and won't again.. written C code for web servers (Perl / PHP is far far far easier in this area) and Perl is a chore for coding GUIs.. but I've tried many languages over the years from ASM (Motorolla 680x0 / x86 16bit) to VB(A / S).. the only ones I can really say I don't like are ASP and Java
One language I haven't tried, but think it'd be cool to get your head around, is brainf*ck.. it's just crazy
Ah OK, I didn't realise you meant unpacked. Yeah, it's about 200Mb, probably bigger now with .NET 3.5 and all the extra stuff that supports, like WPF.
Out of interest when you're making your apps do you use MFC or just access the Win32 API directly? I've been learning the Win32 API recently and find it quite straight-forward, but I've heard some horror stories about MFC.
I was thinking of having a look at wxWidgets too, but I can see that it would add some unnecessary overhead unless you're specifically looking to target multiple platforms.
hm... I like the sound of C To be honest. Its a good practical language and is fairly powerfull too. I know some good resource's for C programming and if not, i always have good ole google . I liked C# as a language and i always will like it, but its the .Net framework that just puts me off. It has its use's yes, but for what i need, no. As for C++ ill leave that. As i said before, imo its mainly for gamming. C is something i will look into from now on
You are way off track by thinking that C++ is mainly used by games, it's really not.
C was created back in the 1970's for programming the Unix operating system. The developers main worry at that time was how to interface with the hardware and how to ship all bits and bytes around the system easily, they were not concerned with providing high-level abstractions to aid application developers. As Unix took off the C language became quite popular, but it was difficult to develop large-scale programs with it as it was too low level.
So some smart guy called Bjarne Stroustrup came along and decided to extend the C language, adding object-orientated programming, generics and many other useful ideas he found in other (high-level) languages. He called this new extension of the language C++ (++ being the C increment operator, so meaning C + 1. Apparently there's also a 1984 reference in there too).
So basically C++ is an extension of the C language to add all those shiny things like objects, templates and generics that you will be extremely familiar with having worked with OOP languages like C#. Very few significant software projects are undertaken in C any more, it makes far better sense to use the extended version of the language, so as to gain access to its many advanced features.
I use Borland's equivalent; the VCL (Visual Component Library) for the majority of things, but not everything's catered for or sometimes just easier (in a more flexibility way of thinking) to directly use the API. I like the idea of easily creating new components though (done through a wizard initially to either start from scratch or to extend an existing component.. then or you to fill out the guts).. for example, I created one that retrieves the dir names / paths of the windoze "shell folders".. now I just drop the component on a form and instantly access it via 'DsShellFolders->UserAppData' for example.
A lot is already covered though making tasks much easier (especially as I'm still teaching myself as I go) and haven't encountered any real problems using it. I've never used VS though or any m$ compiler, so not experienced their MFC.
If I was looking to write x-platform code, I'd certainly plod on with it.. but my personal gains were outweighed by losses.