stupid computer programming question only for C/C++ gearheads

Message Bookmarked
Bookmark Removed
Not all messages are displayed: show all messages (217 of them)

You’re using Eclipse to write JavaScript? Why? It sounds like a PITA.

Allen (etaeoe), Monday, 14 October 2013 19:41 (ten years ago) link

four months pass...

oh, i get it now, ruby on rails is why every website looks and works like shit and why (because website) everyone wants ruby on rails 'developers'

web whatever point 0 is the worst

j., Sunday, 2 March 2014 03:59 (ten years ago) link

one year passes...

fed up now

After installing Windows 10 I seem to have automatically been given Visual Studio Community 2015, because I like to mess about in c++. Previously I was usuing VS express 2013 I think

First things first, I'm a very casual coder - I only write small dumb little games for myself or whatever, I'm not a pro.

So for some reason now nothing compiles, literally trying to compile a simple c++ file which has an #include "iostream" and a basic main function (for now) but nothing else, so it should just compile really easily yeah?

But consistantly being hit with "186 errors", sometimes more. They read along the lines :

variable "errno_t" is not a type name
explicit type is missing ('int' assumed)
(in crtdb.h file which I've not even mentioned in my code)
...and so on, none of the errors make sense in relation to the small code I've written

Internet can only suggest that
This looks like you are compiling against a mix of header files, with some from one compiler version and some from the other.

But I've uninstalled all other Visual Studio versions so I can't see how that's happening.

Any ideas ilx?

Drop soap, not bombs (Ste), Friday, 27 November 2015 14:24 (eight years ago) link

don't know about the windows compiler but gcc has flags that'll show you the compilation steps and / or save the files after going through the pre-processor, maybe that'll help.

(i've just re-installed VS 2010 on my vista laptop but haven't compiled anything with it yet)

koogs, Friday, 27 November 2015 14:42 (eight years ago) link

Finally, I deinstalled every little thing that had anything to do with VS, including registry entries. Seems to be working now

Drop soap, not bombs (Ste), Friday, 27 November 2015 18:35 (eight years ago) link

one year passes...

i've been making an effort to bring myself up to date with the new c++ specifications by reading a few books (meyers, alexandrescu). kind of blown away by how useful some of the new features are ('auto' has already saved me hours of my time) but also how complex the language has become.

tpp, Wednesday, 19 July 2017 05:29 (six years ago) link

eight months pass...

I've been reading/learning c# lately, from what I have gleamed so far it is extremely similar to Java but tailored obviously for Windows.Net

It's also losing me quite often, the maze of interfaces mixed with generics and delegates and whatnot other ways of designing object orientated code makes me think that I'm never going to fully conquer this one.

In space, pizza sends out for YOU (Ste), Wednesday, 18 April 2018 18:59 (six years ago) link

oh god don't confuse me, just about starting to get my head around some of the common java patterns

thomasintrouble, Wednesday, 18 April 2018 19:54 (six years ago) link

is Java still something worth pursueing these days, from a career perspective? I kinda bailed just before getting to know the advanced stuff, but it was useful for some modding programming.

Feel like cowering back into BASIC retro computer programming right now, for a procedural one last hit.

In space, pizza sends out for YOU (Ste), Wednesday, 18 April 2018 21:34 (six years ago) link

Android uses Java, so yes.

Meme Imfurst (Leee), Wednesday, 18 April 2018 21:35 (six years ago) link

C# syntax has improved quite a bit over the last few years and I think it's nicer to use than Java but tbh I don't have much Java experience

Colonel Poo, Wednesday, 18 April 2018 21:39 (six years ago) link

Java and C# are virtually interchangeable to me at this point. I say focus on whichever one you need for your current job and make up some silly side project to keep your toes in the water with the other one.

Embalming is a flirty business (DJP), Thursday, 19 April 2018 00:57 (six years ago) link


You must be logged in to post. Please either login here, or if you are not registered, you may register here.