Search:

Type: Posts; User: karb0noxyde

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    910

    thats what im triying to make :)

    thats what im triying to make :)
  2. Replies
    3
    Views
    910

    Decimal representations

    If you have a really big binary number that is bigger than the maximum size of the built-in types of c++, how can you represent it in binary?
  3. Replies
    3
    Views
    1,296

    dont worry i solved it

    dont worry i solved it
  4. Replies
    3
    Views
    1,296

    Operator overloading

    How exacly do i overload the + operator for my class, i try to overload it but it says that couldnt find the function. By the way the class is templated.

    thanks
  5. Thread: Sums...

    by karb0noxyde
    Replies
    3
    Views
    1,245

    is that standard?

    is that standard?
  6. Thread: Sums...

    by karb0noxyde
    Replies
    3
    Views
    1,245

    oh ok thanks :)

    oh ok thanks :)
  7. Thread: Sums...

    by karb0noxyde
    Replies
    3
    Views
    1,245

    Sums...

    Say i have a variable myvar that is of type unsigned char,
    what happens if the variable = 200 and then i sum it 200,
    will it be 256 or 200?
  8. Replies
    7
    Views
    3,671

    for the first thing, yes, thats why I said that...

    for the first thing, yes, thats why I said that you could use it at very low level, and i already fixed the second thing
  9. Replies
    7
    Views
    3,671

    true . . . . and . . . .

    true
    .
    .
    .
    .
    and
    .
    .
    .
    .
  10. Replies
    7
    Views
    3,671

    its just a tutorial, i wrote is so it could go to...

    its just a tutorial, i wrote is so it could go to the FAQ... what is wrong?
  11. Replies
    18
    Views
    1,821

    oh sorry =P

    oh sorry =P
  12. Replies
    18
    Views
    1,821

    what post?

    what post?
  13. Replies
    18
    Views
    1,821

    my compiler is Visual c++ .NET. I think the...

    my compiler is Visual c++ .NET. I think the problem is that Im running the debug configuration because with the release configuration works fine also :)
  14. Replies
    18
    Views
    1,821

    Ok, ill post the files: main.cpp: ...

    Ok, ill post the files:
    main.cpp:


    #include <iostream>
    #include "bigint.h"
    #include "binary_funcs.h"

    using namespace std;
    using namespace bigint_ns;
  15. Replies
    7
    Views
    3,671

    Variable Storing in memory

    In C++ you have three places where you can store variables:

    * Register
    * Stack
    * Heap

    Each of them have their own advantages and disadvantages which I'll cover here.
    Nowadays the...
  16. Replies
    18
    Views
    1,821

    the type is int

    the type is int
  17. Replies
    18
    Views
    1,821

    thanks anyways

    thanks anyways
  18. Replies
    18
    Views
    1,821

    ¬¬ you feel stressed today?

    ¬¬
    you feel stressed today?
  19. Replies
    15
    Views
    2,708

    It's quite good anyways :cool:

    It's quite good anyways :cool:
  20. Replies
    15
    Views
    2,708

    Cool game; Constructive critique: sometimes the...

    Cool game;
    Constructive critique: sometimes the "eaters" are a bit dumb and don't eat you
  21. Replies
    18
    Views
    1,821

    same thing happens with: template< typename...

    same thing happens with:


    template< typename T >
    T to_dec( const std::vector< bool > & binary_number )
    {
    T a;
    a++;
    return a;
    }
  22. Replies
    18
    Views
    1,821

    but i get an error: Run-Time Check Failure #3 -...

    but i get an error:
    Run-Time Check Failure #3 - The variable 'a' is being used without being defined.

    for this code:


    template< typename T >
    T to_dec( const std::vector< bool > &...
  23. Replies
    4
    Views
    820

    Yup, thats the place i mean, and also, im working...

    Yup, thats the place i mean, and also, im working with templates on VC++ .NET
  24. Replies
    4
    Views
    820

    Problem with VC++ .NET

    If i make a header file (.h) with some functions and then implement them in a .hpp , the functions won't appear at the place where all functions are, what am i doing wrong?
  25. Replies
    18
    Views
    1,821

    templated return functions

    How can I make a function which's return type is given by the user?
Results 1 to 25 of 25