General statistics
List of Youtube channels
Youtube commenter search
Distinguished comments
About
Toby
freeCodeCamp.org
comments
Comments by "Toby" (@toby9999) on "freeCodeCamp.org" channel.
Previous
1
Next
...
All
Instead of criticising a free beginners course for having too much detail, why not just skip the parts you don't want?
2
Not sure whether you're referring to C2[i]? He says that a lot... remember that indexes are zero based, so... C2[0] == 'H' C2[1] == 'e' C2[2] == 'i'
2
It might work by pure luck if the byte following already happens to be NULL. But you should always null terminate string literals else major bug looming.
1
printf can also output hex. Just saying. And no, d - 4 = 9
1
What do you mean by "online compilers"? If I'm understanding you correctly, that sounds like a dreadful idea?
1
Not really. Some beginners need to take it slowly like this.
1
C++ code cannot run until it is compiled. It is not an interpreted language. You need the executable. No way around that. Most languages and scripts work differently. I use MS Visual Studio. To run , I just hit F5. This compiles and runs in one step. VS Code should make that possible? Whether it does, I don't use it because I don't like it. All that said, I installed MS Visual Studio in only a few minutes. I don't encountered any kind of time wasting.
1
Anyone who wants to learn C++, which happens to be one of the most powerful high performance languages available. I've been a C++ deveopler for 25 years, and C many years before that. It us not torture at all. As for Python... it's useless for anything requiring a high performance executable (as was noted). Good for hacking around and prototyping. Also good for creating bloatware.
1
Addresses in memory are typically byte offsets. So 32 bits equals 4 bytes, so 4 is correct. You don't address bits that way as far as I know, and I've coded in other assembly languages... but I'm new to ARM.
1
It's for learning the C++ programming language.
1
Too.long for you, but many new to this will prefer it.
1
That's what it does. You're missing the linker step.
1
The character is 1 byte. The pointer is 4 bytes. In a 64 bit app, a pointer is typcally 8 bytes.
1
Why not? They're both usefull, though I prefer MS Visual Studio.
1
The minimax algorthm should be the same in C++. Yeah, the syntax will be different but the algorthm should be the same.
1
And your problem is...
1
I believe that is correct
1
The cpu runs the compiler. The cpu is doing the work.
1
You're referring to the 2nd byte of a 4 byte value.... so it's actually this... 00000100 00000001 2^10 + 1
1
Just started looking into it as a C++ alternative on Windows but so far I'm not impressed. Compling to native code is a prerequisite but I don't see much else to get exited about. Execution speed as slow as java? Not good.
1
Not really.
1
I have not encountered float = 8 bytes in 30 years of coding. I only see float=4 bytes, double=8 bytes.
1
I have read somewhere in a spec that a word on ARM is 4 bytes.
1
Using the terminal is so 80s. This is ridiculous. I though we’d moved on from such archaic processes? I was told GIT is better than SVN. LOL. That said, I appreciate you providing this tutorial.
1
In the simple case, it doesn't matter which way you write it, but you have it backward... the * belongs to the P (conceptually). The * is not the type. It is saying P is a pointer to the type. Think about this example... int X, *Y;
1
In 64bit code, pointers are 64bits. Be careful with casts.
1
I have no idea. I only use MS Visual Studio, but for what it's worth, I think VS Code sucks. It confuses the hell out of me and I've been a C++ developer for 25 years.
1
Previous
1
Next
...
All