Search:

Type: Posts; User: Cobras2

Page 1 of 5 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    5
    Views
    1,028

    You're right, of course.. thanks muchly for...

    You're right, of course.. thanks muchly for pointing that out :)

    I may have known that at some point but I've only ever used templates twice before, and I haven't actually been doing much coding...
  2. I got mine from www.thinkgeek.com ... I wanna get...

    I got mine from www.thinkgeek.com ... I wanna get another one, or maybe one of the other techie shirts, once I have some money :)

    See also the Jargon File entry on "Geek":...
  3. Replies
    5
    Views
    1,028

    Why? I always thought putting all your code in...

    Why? I always thought putting all your code in header files was bad form (and still do). What's the point of ever using cpp files if you can just put it all in a header file?

    (note to anyone who...
  4. Replies
    16
    Views
    1,459

    You might wanna look into SDL ( http://libsdl.org...

    You might wanna look into SDL ( http://libsdl.org )



    This is true to a certain extent. However, there are sometimes concerns that go beyond the current usability of a language - and whether or...
  5. hmm.. I thought .NET had at least as good support...

    hmm.. I thought .NET had at least as good support for C++ as it does for C#.

    However, I know little about it. I do know though, that anything that looks simple just has a whole lot of complexity...
  6. Replies
    53
    Views
    3,531

    Poll: I'm a CS student too, and here's what I know from...

    I'm a CS student too, and here's what I know from knowledge gained in my algorithms course (using "A Practical Introduction to Data Structures and Algorithm Analysis" by Shaffer) + common sense...
  7. Replies
    5
    Views
    1,028

    simple template question

    thetemplate.h:


    template<typename X>
    class temp {
    public:
    temp();
    };
  8. Replies
    5
    Views
    3,834

    drat, I should have checked back here more...

    drat, I should have checked back here more recently and then I wouldn't have gone and made my own function instead.. it looks like Octave may actually have what I am looking for, but in the meantime,...
  9. Thread: Is this safe?

    by Cobras2
    Replies
    55
    Views
    4,536

    So, basically, you are saying, do your own...

    So, basically, you are saying, do your own conversions if the data isn't in a good format, rather than trying to use a typecast?
  10. Replies
    5
    Views
    3,834

    woohoo! excellent, this looks like just what I...

    woohoo! excellent, this looks like just what I need. I checked the GNU site for a library like this, but I didn't find it. Thanks :)
  11. Replies
    8
    Views
    1,399

    one way to do it would be to create a new string,...

    one way to do it would be to create a new string, copy everything you want to keep into the new string, and then either get rid of the old string, or replace the old one with the new one.

    String...
  12. Replies
    10
    Views
    1,955

    try...

    try
    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/sysinfo/base/regcreatekeyex.asp
    or...
  13. Replies
    5
    Views
    1,630

    do you mean SDL ? http://www.libsdl.org/index.php

    do you mean SDL ?
    http://www.libsdl.org/index.php
  14. Thread: Unions?

    by Cobras2
    Replies
    8
    Views
    1,602

    I think you're supposed to be passing the *union*...

    I think you're supposed to be passing the *union* to the function, not each of the contents of the union. so like Quzah said, instead of the way you have it above, do this:


    void...
  15. Thread: Is this safe?

    by Cobras2
    Replies
    55
    Views
    4,536

    Well, Athabasca University still uses void main()...

    Well, Athabasca University still uses void main() in their assignments, as of 2005 :-/

    I was a little surprised to see that was the case, but there you go. I guess the teachers don't know...
  16. Replies
    5
    Views
    792

    try http://www.cprogramming.com/tutorial.html ...

    try
    http://www.cprogramming.com/tutorial.html

    or the links on the left hand side when you go to
    http://www.cprogramming.com
  17. Replies
    5
    Views
    3,834

    advanced math library for linux?

    Is there an advanced math library for linux, something that would include functions for working with a standard normal distribution?

    The reason I ask is that I want to make a function something...
  18. www.anjuta.org it's actually mainly designed for...

    www.anjuta.org
    it's actually mainly designed for use with GNOME rather than KDE, but is fairly similar to KDevelop - i'd suggest trying it and seeing for yourself if you like it any better/worse :)
  19. Replies
    2
    Views
    905

    Try looking around at Cygwin, or DJGPP, or just...

    Try looking around at Cygwin, or DJGPP, or just go to the GNU main site (www.gnu.org) - they have some of what you would probably need there (remember GNU stuff doesn't only run on *nix - they have...
  20. Replies
    18
    Views
    2,770

    as a side note totally unrelated to this current...

    as a side note totally unrelated to this current post, I still think someone ought to make it so smilies are disabled inside code brackets
  21. Replies
    13
    Views
    977

    Ok, I can see how that would be usefull - of...

    Ok, I can see how that would be usefull - of course the only question remaining in my mind is, why anyone would be naming things in their own libraries the same as the standard functions.. (don't...
  22. Replies
    13
    Views
    977

    Well, it all still seems a little pointless to me...

    Well, it all still seems a little pointless to me (after all, if it's standard, why have it locked inside a namepsace wherein you have to unlock each piece before you can use it?) but I suppose I'll...
  23. Replies
    13
    Views
    977

    About syntax and std::everything

    Ok so I got a question. Why do a bunch of the very strict advocates of standard everything (among which I agree, by the way - standard makes things easier) always put std:: in front of everything??
    ...
  24. Replies
    5
    Views
    1,223

    once you are "using namespace std" you don't have...

    once you are "using namespace std" you don't have to put it at the start of each cout etc, it's redundant - and afaik u don't need the (void) after main either - just make it "int main()"
    but...
  25. Replies
    9
    Views
    2,007

    no, records[int] should still work just fine...

    no, records[int] should still work just fine
    just remember to delete it when you're done and you should be fine.

    see also:...
Results 1 to 25 of 114
Page 1 of 5 1 2 3 4