† n06h
How much c/c++ should I learn to get an internship
I think Java and Python will get you an internship
† n06h
I mean that i don't think its good to learn c/c++ just to get something
😁you're somehow right like you may learn get everything right for fun or personal goals Buh in the end you need to be doing with it something out here
klimi
welcome
Tom
I think Java and Python will get you an internship
I am somewhat familiar with c/c++. I don't know java
🐾Harris 🐾🐶🐾
Thanks you. 😊
klimi
Thanks you. 😊
You're welcome
† n06h
I am somewhat familiar with c/c++. I don't know java
Just learn everything you never know where you will get an internship. Am only familiar with Python only😂
Tom
enough to create bjorn 2.0 for c+++
I tried googling bjorn 2.0 but the results that showed up weren't related to c++
Bader
I tried googling bjorn 2.0 but the results that showed up weren't related to c++
haha it was a joke sorry. For learning any language, you should always have an end goal in sight so you know what to learn. In this case, your end goal is wanting to get an internship... so you need to look at opportunities in your area and see what they use
klimi
welcome AS
A_S
Hi!
klimi
hello
HESK Tech
Hi everyone✌ need to know which course of C++ should i take to learn Arduino? Need a link to a book or to a course please
Anshika
can anyone plz give me some material related to recursion so tht i'll able to understnd it properly
Anonymous
Material wont help you to understand unless you practice.
Dexter
I was just trying to help a member regarding arduino
Anonymous
That your own cout<<"link";
klimi
I thought Arduino uses c
Talula
It’s more like C with added touch of C# for making objects and stuff.
Talula
But you can use Pure C++ with it too.
Talula
But for sure it’s not pure C.
klimi
It's not pute
klimi
But I think it's based in c
Talula
Like String is a class and you can create object of String which is not like C.
Talula
C++ is based on C
klimi
Can I program the Arduino board in C? In fact, you already are; the Arduino language is merely a set of C/C++ functions that can be called from your code. Your sketch undergoes minor changes (e.g. automatic generation of function prototypes) and then is passed directly to a C/C++ compiler (avr-g++). All standard C and C++ constructs supported by avr-g++ should work in Arduino. For more details, see the page on the Arduino build process
Talula
C# is based on C but Arduino is more like C# than C++ because it doesn’t go into complication of creating classes.
Daniele°
Arduino core use .c and .cpp(only for serial) and all sketch .ino is C++ All are build with gcc (c/c++ compiler)
klimi
Avr-g++
Daniele°
Avr-g++
Is gcc
klimi
It says g++
Daniele°
It says g++
g++ is gcc
klimi
No
Daniele°
yes
klimi
GCC is gcc
klimi
G++ is g++
Daniele°
g++ call gcc with flags
Daniele°
gcc is C/C++/GO/Etc compiler
Daniele°
g++ is simple way to call gcc
klimi
gcc: GNU C Compiler g++: GNU C++ Compiler
klimi
Ye
klimi
But it uses c++
Talula
It’s not pure C++, it’s more like Java or C#
Anonymous
gcc: GNU C Compiler g++: GNU C++ Compiler
It used to be only C, but supports more Lang now
Manuele
It’s not pure C++, it’s more like Java or C#
the compiler is c++, the ide is java
Talula
It's pure C/C++
Try writing a class in the sketch
Talula
You have to have extension cpp for that.
Daniele°
avr-g++ is a C++ dialect same other compiler in other mcu
Daniele°
.ino is build with g++
Talula
So?
Daniele°
You can rename with .c or .cpp
Daniele°
So?
If you use a C++ compiler you use C++ language
Daniele°
Remove setup() and loop() in your .ino Write int main(){ ... }
Daniele°
You code work
Daniele°
😊
Talula
https://forum.arduino.cc/index.php?topic=40922.0
Talula
Yeah exactly loop and setup isn’t part of C++
Manuele
iirc it uses a custom compiler
Manuele
arduino don't integrate all the stdlib
Manuele
it's a subset of the gcc
Daniele°
Yeah exactly loop and setup isn’t part of C++
Search in core directory and you find int main(){ setup(); while(1){ loop(); } }
Manuele
with custom controls
Daniele°
it's a subset of the gcc
You need to read avr-gcc
Daniele°
And avr-g++
Daniele°
Documentation
klimi
Oh
Daniele°
Oh
It's always gcc You can build, download gcc source code, and you can select target cpu/mcu
klimi
Just read whole documentation