Tominator2011
A fellow student programmer from Sheffield,UK.Finished studying HND Computing in 2005.
Loading User Information from Channel 9
Something went wrong getting user information from Channel 9
Loading User Information from MSDN
Something went wrong getting user information from MSDN
Loading Visual Studio Achievements
Something went wrong getting the Visual Studio Achievements
Day 1 Keynote - Bjarne Stroustrup: C++11 Style
Feb 18, 2012 at 1:06 PMWow, i must be honoured to get a reply from the man himself.
Thanks for the heads up Bjarne, C++ is really moving up.
So I can just pass a object by value by using rvalue references.
That is soo cool.
Tom
Day 1 Keynote - Bjarne Stroustrup: C++11 Style
Feb 18, 2012 at 10:28 AMI've just run a test, and you can scope a variable like in Java now ^_^
it would be like this
void f(int n, int x){ Gadget g(n); // ... if (x < 100) throw std::run_time_error("Weird!!"); if (x < 200) return; /... }Its amazing to see how C++ is catching up with .NET.
I've always been a C++ guy.
Thanks again.
Day 1 Keynote - Bjarne Stroustrup: C++11 Style
Feb 18, 2012 at 10:26 AMI'm confused at one thing.
I can understand where he says, shared_ptr and unique_ptr,
but where he says why use a pointer, and then shows this code:
void f(int n, int x){ Gadget g{n}; // ... if (x < 100) throw std::run_time_error("Weird!!"); if (x < 200) return; /... }I'm pretty sure C++ wouldn't except that?
SPLASH 2011: Andrew Black and James Noble - The Grace Programming Language Project
Nov 30, 2011 at 8:09 AMHi, I was thinking about Grace today, and I came up with an idea for it, its a concept for pointers.
I'll demonstrate the idea using a table
Feature Name | Visual Basic/VBA | C/C++ | Grace
__________________________________________________________
String Var | Dim str$ | char* | char$
| | |CharPtr
Integer Var | Dim num% | int* | int%
| IntPtr
Pointer to type | Dim var as T | var<T> |Ptr<T>
which is the same as saying Dim name as String.okay I'll explain my thoughts now.
In visual basic or vba, if can define a variable like so :
and In C/C++ you can create a pointer by putting a * after a variable name.
My Idea is to put the variable type in superscript like the asterisk, thereby creating a typed pointer,
you can also create a pointer by saying IntPtr or CharPtr for creating an pointer when you need to.
The superscripted pointer would be of use in function declarations.
You could for example say:
CharPtr cPtr = nullptr; // States the obvious
But in a function "CharPtr" wouldnt be very effective, so you would do something along the lines of,
Function func(ByVal name$) instead of Function func(ByVal name CharPtr) although you could say
Function func(ByVal name as CharPtr).
Just an idea/concept.
Tom
P.S The dollar sign and percent sign are supposed to be subscript after char and int in the table under the grace header, also in the above function names.
Announcing Python Tools for Visual Studio 1.1 Alpha
Nov 08, 2011 at 4:53 AMMy background is a HND in Computing, and I only did a small amount of programming in that, which I regret. Is there anyway, I can contact you via email or messenger. This is gonna be tough job and I'll need occasional help.
Announcing Python Tools for Visual Studio 1.1 Alpha
Nov 05, 2011 at 3:27 PMSean, what you are doing is amazing. As I have said in my post, I'd love to get involved in this, even though I live in the UK. If you have ever used WxWidgets or PyGTK, a resource editor in Visual Studio for that type of stuff would be awesome. Give me plenty of time, and I can try working on a resource editor for WxWidgets at least, although I have no idea where to start in making toolbox like items for a windows editor.
Announcing Python Tools for Visual Studio 1.1 Alpha
Nov 04, 2011 at 8:02 AMThis.....is.....awesome
Been a programmer and a scripter, this really makes sense.
I used to create tools for a charity I did Work Experience for, and WxPython was my primary GUI toolkit. Python is brill for admin scripting.
Having Python for Visual Studio is brilliant, what would be great is if
Visual Studio Express came with something like that.
Tom
Checking In: Stephan T. Lavavej - Inside STL (the person, not the library)
Oct 12, 2011 at 1:38 PM@schroedl:ditto
Using the Windows Runtime from C++
Sep 18, 2011 at 4:23 PMI hate to be a killjoy, but thats not C++ herbs other talk covers the 'real' C++,
this is what I call "C++/CLI" or more precisely C++.NET.
Still C++0x is pretty cool, got to give it to the developers.
Keep up the good work.
C9 Lectures: Stephan T Lavavej - Advanced STL, 6 of n
Jul 12, 2011 at 10:22 AM@STL An ascii art tree would be good. That way you can see the way the tree set up,
but one with Parentheses would be good too.
See more comments…