Luiserebii
Loading Heatmap…

Luiserebii synced commits to master at Luiserebii/The-C--Standard-Library from mirror

2 days ago

Luiserebii synced commits to master at Luiserebii/Mint from mirror

3 days ago

Luiserebii synced commits to master at Luiserebii/The-C--Standard-Library from mirror

3 days ago

Luiserebii synced commits to master at Luiserebii/The-C--Standard-Library from mirror

4 days ago

Luiserebii created repository Luiserebii/The-C--Standard-Library

5 days ago

Luiserebii synced commits to master at Luiserebii/Mint from mirror

  • 61769757bf Important note to docs regarding ensuring custom types/classes have == overloaded if passing into equal()

2 weeks ago

Luiserebii synced new reference v0.2.0-alpha to Luiserebii/Mint from mirror

2 weeks ago

Luiserebii synced commits to master at Luiserebii/Mint from mirror

2 weeks ago

Luiserebii synced commits to master at Luiserebii/Accelerated-C--Exercises from mirror

  • c8cd9790ab Great, updating README.md; completed Ch. 12! Leaving some of the problems as future exercises in implementing the standard library (seperate repo)
  • a62dca6358 12-15 completed!
  • 56d5b2f07d Funnily enough, we actually did 12_14 this earlier without meaning to
  • 86398f9638 I forgot we implemented this already... of course, this was simple
  • 8b28b02558 Attempting implementation of iterator constructor in Vec and Str
  • Compare 27 commits »

2 weeks ago

Luiserebii synced commits to master at Luiserebii/Accelerated-C--Exercises from mirror

  • 6273ef9d21 Awesome, ok, can finally confirm this as working haha
  • 521ea1e681 Ahhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh I just realized what it was I was destroying it too early, making the size() 0. darn!
  • 0eecb06765 Fixed the code right up, and what do you know, we avoided the segfault! Just a small error on my part, but seems like += not quite working?
  • bca4833798 Uh oh, looks like we hit a segfault
  • 10a5f62d42 Nice, is compiling! added compilation script and all, fixed a few issues, testing now
  • Compare 9 commits »

3 weeks ago

Luiserebii synced commits to master at Luiserebii/Mint from mirror

  • 08261ed66e Minor styling cleanup, no need for paranthesis with dereferencing and writing to out
  • 14c212f231 Tests passing! Reviewing the solution found below, which is a guess. Reviewing the errors, what I got from it is that: What I suspect is that I'm probably approaching this the wrong way, and that ostream doesn't have a copy constructor, or really any way to be declared, because even just declaring via std::ostream os; will break, meaning that I'm probably supposed to set the pointer of the variable to std::cout, something like that, but I'm not sure. To be even more specific: what I understand is that ios_base is a type unintended for being assigned, and basic_ostream is a type unintended for being intialized, given the protected/private nature of those functons. The only way I know how to declare without some sort of auto-initialization stuff happening is through memory memes, and that is probably not the appropriate solution. Therefore, I decided to just hold a pointer to the stream, which seems to have worked. Only thing is I need to dereference it every time I write, which I would have preferred to avoid; oh well!
  • f5f61b206b Do we have to make this a pointer then...? Doesn't seem possible to keep an object of it around
  • e238190be2 Working through compilation errors
  • e76c938762 Refactoring cout out into ostream
  • Compare 6 commits »

3 weeks ago

Luiserebii synced commits to master at Luiserebii/C--Memes from mirror

  • d135a531d8 Cleanup commit
  • f2f7d94ba6 Interestingly enough, mixed-type expression with this kind of operator overload we had can cause an ambiguous overload error: main.cpp: In function ‘int main()’: main.cpp:35:15: error: ambiguous overload for ‘operator+’ (operand types are ‘Integer’ and ‘int’) cout << b + 10 + Integer(500) << endl; ^ main.cpp:35:15: note: candidate: operator+(int, int) <built-in> In file included from main.cpp:2:0: integer.h:28:9: note: candidate: Integer operator+(const Integer&, const Integer&) Integer operator+(const Integer& a, const Integer& b); ^
  • 74750c27de Neat, got the += working! I think that most of it is really finished due to auto-conversions
  • ae1f886a52 Ahhh, neat, looks like we can override the conversion! I'm guessing it checks first to see if operators are defined explicitly for the class, before performing any auto-conversion to get it to work
  • 9916570873 Ohhh, wow, it seems it is actually working! I wonder, if we can override this somehow... let's try printing a meme when + is called
  • Compare 8 commits »

3 weeks ago

Luiserebii synced commits to master at Luiserebii/Accelerated-C--Exercises from mirror

3 weeks ago

Luiserebii synced commits to master at Luiserebii/Mint from mirror

  • 3ca6137e56 Removing unnecessary <iostream> from examples

3 weeks ago

Luiserebii synced commits to master at Luiserebii/Mint from mirror

3 weeks ago

Luiserebii synced commits to master at Luiserebii/Mint from mirror

3 weeks ago

Luiserebii synced commits to master at Luiserebii/Mint from mirror

  • ecc010045b Updating README.md with badges
  • 34d625aab1 Trying... this escape character, present in: https://ideas.circleci.com/ideas/CCI-I-955
  • cf8beada47 After some research, deciding to wrap command in bash script and see if CircleCI passes it. We already see that a non-zero exit code will indeed break it, so let's just get this going
  • 40dc85a8ef Attempting without the whole refactor alias thing
  • a7671e2dfc Trying something else
  • Compare 9 commits »

3 weeks ago

Luiserebii created repository Luiserebii/Mint

3 weeks ago