Welcome to Software Development on Codidact!
Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.
Activity for General Sebast1anâ€
Type | On... | Excerpt | Status | Date |
---|---|---|---|---|
Comment | Post #286183 |
@#53305 I got the right combinator, but nothing happened.
```css
.detect:hover + .ani-square {
animation-play-state: running;
}
``` (more) |
— | about 2 years ago |
Comment | Post #286183 |
@#53305 I'm starting to give up on these combinators. Any advice? (more) |
— | about 2 years ago |
Comment | Post #286183 |
> closing the button element with `</div>`
Oh wait. OMEGALUL (more) |
— | about 2 years ago |
Comment | Post #286183 |
@#53305 I think I have something.
```html
<body>
<div class="ani-square"></div>
<button class="detect">Move</div>
</body>
```
```css
.detect {
background-color: red;
font-size: 25px;
position: relative;
top: 80px;
left: -5px;
}
.detect:hover ~ .ani-square {
a... (more) |
— | about 2 years ago |
Comment | Post #284964 |
Problem with removing `align="left"` is that the text doesn't go to the top, yup. Good answer though! (more) |
— | over 2 years ago |
Comment | Post #284355 |
@#53078 Oh no, object-oriented programming my interpreter has been discontinued a few times already. I don't want to go through the trouble of importing code from open-source interpreters then not knowing how to properly work with them. This is why I started making an interpreter from scratch, so as ... (more) |
— | over 2 years ago |
Comment | Post #284355 |
@#36356 Yep, and I don't see why you see it as a nightmare. :/ (more) |
— | over 2 years ago |
Comment | Post #284355 |
@#53305 That's a ton of text I have to decrypt then. Thanks for the advice, I'll see what I can do. (more) |
— | over 2 years ago |
Comment | Post #284092 |
Thanks. Was able to finally make an [answer](https://codegolf.codidact.com/posts/283966/284091#answer-284091). (more) |
— | over 2 years ago |
Comment | Post #283797 |
@#53305 How do I approach such tasks? I observe what's going on and try to represent it, and if I can't figure out how to properly make it, I look for some advice. The documentation's might help. (more) |
— | over 2 years ago |
Comment | Post #283001 |
@#8046 Don't know exactly, but it might have something to do with being `char[]` rather than `string`. You can read the TutorialsPoint link if it might help. (more) |
— | almost 3 years ago |
Comment | Post #282567 |
@#8176 Meh, that's how I'd code it, wherein `char` is different from `int` when I figure out how to properly create a compiler using C, or maybe Python if I know more about it. (more) |
— | almost 3 years ago |
Comment | Post #282567 |
This won't be a library for long. (more) |
— | almost 3 years ago |
Comment | Post #282567 |
When I'm thinking of making the language at first, if it actually exists, I thought of a program like this:
```
use gen-purp
func main() {
char c = 'A';
say(make_int(c));
}
```
This may look like recreating, I don't care. The point I'm trying to make here is that moving variables ... (more) |
— | almost 3 years ago |
Comment | Post #282567 |
Let's get to another big point, the encasing. I will need huge amounts of help trying to make functions without the help of other functions that already exist within the C libraries. That's why I assigned `all.h` in the repo for now as something I can rely on before I start with making functions that... (more) |
— | almost 3 years ago |
Comment | Post #282567 |
I'm also making sure that my functions will start to work properly soon so that when it's time I start making a compiler, all of my functions are ready to go. With all of these things about recreating, yes, I'm kind of doing it in the case of functions, but I need to settle on them first before I cou... (more) |
— | almost 3 years ago |
Comment | Post #282567 |
So after re-reading and fixing the repo, I realized you mentioned that I shouldn't be recreating C. Well, it actually looks like I am, not gonna lie, but for starting, I'm building most, if not all, of C's functions then soon, I can start creating original functions for my language, hell, even with t... (more) |
— | almost 3 years ago |
Comment | Post #282567 |
Can I add the now-existing headers (ones like `stdio.h`) onto `something.c`? (more) |
— | almost 3 years ago |
Comment | Post #282559 |
@#8176 You can access the header files via `#include "Library/something.h"`, something I learned when I was making the language. (more) |
— | almost 3 years ago |
Comment | Post #282567 |
This answer put me into a "wet blanket". Yep, I peed my pants reading what I should be fixing. I'll get to work on fixing these. (more) |
— | almost 3 years ago |
Comment | Post #282487 |
I use C99, a version of C. `char *` in itself isn't a string but somewhat acts like one when something is initialized in it and maybe even inputted. `string` is not a thing in C. (more) |
— | almost 3 years ago |
Comment | Post #282466 |
That strangely works. Thanks! (more) |
— | almost 3 years ago |
Comment | Post #282283 |
the best answer so far. it's sad that I can't accept it but thanks. (more) |
— | almost 3 years ago |