I_Interface
Prometheus
Anonymous
I_Interface
Prometheus
lol
But If the memory location ends up being used by something else you may not be able to read it. You really are better off just sending the data back instead of a pointer
Prometheus
Anonymous
Prometheus
I_Interface
Zel
Well if you are looking for Free and cross platform Codeblocks(older layout, broken on OSX) Codelite(kinda clunky in some aspects but seems to work on Win/OSX/Linux all three) and Eclipse.
Makgato
Thanks
neb
Jeez, Rose - why did my exclusive unboxing-video get purged?
mark
is there a telegram group for swift?
Anonymous
Girish Kumar
I finished push() and append() functions successfully. These two functions worked properly. But reversal of list is not worked, because of no back references. There is a way to work with reversal. I got implementation idea also... But it has complexity. So I did not admit it..
Anonymous
How to cout a vector of pairs?
Anonymous
Anyone?
Anonymous
Ohh nvm i got it
Anonymous
I don't know, i'm programming in C++
Girish Kumar
It is good. If someone is novice in C language they can't understand the code. Right now most of the people using C14 like version. So most of the code will not compile on today's IDEs.
Anonymous
Anonymous
There are:
C89, C99, C11, C18
C++98, C++03, C++11, C++14, C++17, C++20
𝐀𝐡𝐦𝐞𝐝 𝐄𝐡𝐚𝐛
𝐀𝐡𝐦𝐞𝐝 𝐄𝐡𝐚𝐛
𝐀𝐡𝐦𝐞𝐝 𝐄𝐡𝐚𝐛
any mistakes!
Anonymous
Wring
Anonymous
Answer is 11.5384615 miles per hour
Anonymous
Hours=minutes/60 + seconds/3600
Anonymous
Also what's a killometre?
Anonymous
Anonymous
Anonymous
Ye ur ryt
Anonymous
😂
HiCypher
👍🏻
Kobbina
Pls can any get me any beginners tutorial PDF in C++
Anonymous
Kobbina
At?
Anonymous
Kobbina
Thanks
Kobbina
?
It’s fine
Don’t worry Bro
itsmanjeet
any body with experience in lex
i need to extract the word between to specific words
example to be specific
use 'word' ;
i need to get that word
Dero
guys i was trying to compile for i386 with g++, i need an object file so i used the -m32 flag. actually when i try to link with ld the object file with an asm one in i386 ld tells that g++ compiled in i386:x86_64 and that's not compatible with i386
Dero
how can i compile my objectfile exactly in i386?
Anonymous
itsmanjeet
I know regex
regex patter not working in lex i am using
\buse\s+(.*);$
itsmanjeet
its not working
Anonymous
Im helpless then
Dima
regex is the evil
Anonymous
regex is the evil
We wanted to solve the problem with regex. Now we have two problems.
Dima
Anonymous
Anghelo
Ибраги́м
https://stuartwheaton.com/blog/2020-06-14-c++11-guide/#concurrency
Anonymous
i made an iterator_templ template class with a bool parameter. iterator_templ<true> generates an iterator while iterator_templ<false> generates a const_iterator. now i'm stuck trying to allow conversion from iterator to const_iterator
neb
it's old
Exactly. I prefer old as a beginner. Old means less features/bloat, more overviewable, better foundational knowledge, etc.
I have a couple of books on Unix from the early 90's and ed(1) is my standard editor.
Anonymous
any of you have links to books or video tutorials on you recommend on C/C++??
Rahul
Can anyone provide me the editorials for backtracking ?
Youssef
Why (b++)++ is incorrect and ++(++b) is corrent?
Youssef
What’s the difference?
Serenity
Write a function that prompts the user to input bin_num binary sequence of 0-s and 1-s and
outputs the following.
A) Decimal representation of bin_num
B) Hexadecimal representation of bin_num (base 16)
If the input is invalid (that is, if bin_num contains digits different from 0 and 1), the user should
receive an error message (detailed below).
Serenity
I can't handle big numbers.
Youssef
Use arrays to deal with big numbers or unsigned long long int
Serenity
My max number of bits is 32 . doesn't it have to work with regular int ?
Israel
Hi, anyone here are working as embedded engineer in California?
Youssef
Unsigned long long int is 8 bytes which means it can stores upto 2^64
From 0 to 18,446,744,073,709,551,615
Youssef
If you need more digits then you have to use arrays
Serenity
I'm working with long int , won't it be fine ?
Serenity
No matter which data type I'm using it still throws me the same max number
Serenity
char *ptr;
unsigned long long int num;
num = strtol(bin_num,&ptr,10);
printf("%llu", num);
Youssef
strtol() function return long int value so keep using long int
bin_num should be char * the same as char big_num[]
Now it should get result
Youssef
︎ ︎ ︎ ︎ ︎ ︎ ︎ ︎ ︎ ︎ ︎ ︎ ︎ ︎ ︎ ︎ ︎ ︎ ︎ ︎ ︎ ︎
Anonymous
What was your learning curve, which one concept drove your skills uppp???