Catch up on stories from the past week (and beyond) at the Slashdot story archive

 



Forgot your password?
typodupeerror
×
Programming

Journal RLiegh's Journal: I'm going to want to remember this:

Quoth the Net:

code such as:

#include int main()
        {
        cout << "Hello world!" << endl;
        }

        results in errors such as: incl.cc:5: error: 'cout' was not declared in this scope

        This is becuase C++ 1998 requires cout and endl be called 'std::cout' and 'std::endl', or that a proper using directives such as 'using namespace std;' be used.

Other than that, not much going on. I have found and played with gambas, which is sort of like visual basic; but missing a few important (eg: "mesgbox") functions. I've also tried my hand at using ProjectBuilder and Gorm from the GNUStep guys; both are pretty impressive for those who know what they are doing.

That would not happen to be me, however. I like to 'talk the talk', but in all honesty I have no clue what the fuck I'm doing.

On another front, I'm slowly succumbing to the siren song of gvim. To me, there's (usually) no reason to use vi except for those rare times when you're using a rescue floppy and it's all there is, period. It's saving grace is that it's small and fast - which means that tacking GTK2 and a slew of functions (syntax highlighting, multiple windows, etc) onto it rather defeats the point, in my mind. But today I actually was curious (having seen so many people advocate for it as an IDE here on /.) so I pulled up gvim to enter and run that snippet of code up there and it wasn't bad.

To me, however, it and emacs both fail in terms of being an IDE because neither one (to the best of my knowelge) provide any mechanisms for handling projects or even automatically creating your own makefiles.

On the other hand, though, for small one or two file projects, gvim might not be so bad. I do like the automatic syntax highlighting and how easy it is to make (^Wn) and delete(^Wc) new windows.

I want try out python, and gvim may end up being ideal for that.

Links for today:
Non-programmers tutorial for Python

flat assembler which has a great list of OS Development-related links in their forum.

That's about it for today.

This discussion has been archived. No new comments can be posted.

I'm going to want to remember this:

Comments Filter:

All great discoveries are made by mistake. -- Young

Working...