MᏫᎻᎯᎷᎷᎬᎠ
I still don't exactly know what's ptr and * , that must be the problem...
Okay You need a headstart to implement linked list, and that is by knowing both of these You won't have it all grasped from the start, so don't push yourself
MᏫᎻᎯᎷᎷᎬᎠ
Just know what a pointer is and the * operator Make a couple of functions with it like swap function for example or anything else that change the state of the variable or a memory Anything would be appropriate, just wrap your head with it
Anonymous
Yeah, the staff in my clge is screening just a pdf with the program and just saying what's written there in every online classes, I have to learn everything myself these days...
Anonymous
Yeah
then even in normal times you will have to learn everything by yourself. exactly 0 lines from an indian curriculum is going to help you in real life (exceptions are the exceptional institutions)
Anonymous
try not to learn the i++ + ++i bullshit they teach you
Anonymous
try not to learn the i++ + ++i bullshit they teach you
Kek, I can relate that 😂 , exactly what they teach...
Anonymous
C Primer Plus by Stephen Prata is excellent
oh and the book has some DS implementations (including linked lists) in the last chapter. but try to learn the initial chapters first.
MᏫᎻᎯᎷᎷᎬᎠ
Леонид Юрьев
Suppose I need a type similar to unsigned char, but non-aliasing (an optimizer can do better optimize). Why should I use (or not use) char8_t?
Alex
what is the connection between type and aliasing?
Alex
probably char8_t is guaranteed to have 8 bits width
Леонид Юрьев
what is the connection between type and aliasing?
Oh, it's a long story. Please dig it (out) before you ask.
Леонид Юрьев
To @admins, please show the msg-per-utc-offset chart, to show how US's C++ developers are (not) here. (sggestss R wlkmd)
Dima
lol
Леонид Юрьев
ojh, thx )))
Anonymous
try not to learn the i++ + ++i bullshit they teach you
You have some proper book ya website which is really good for beginner .
Top G - Orca-FX21F3325AM
C programming A Modern Approach. K N King...Good book!
Top G - Orca-FX21F3325AM
Best C book !
Anonymous
Any Indian here..?
Anunay
Anonymous
Any Indian here..?
Indians seem to be present everywhere. They are omnipresent😀
Vlad
Any Indian here..?
10k of 'em
Anonymous
## Rules #pinned * You are not entitled to an answer, getting angry about not answered questions will get you warned. * Not checking your problem in google (or any other search engine) first will get you a warn. * Asking to solve an assignment/test/whatever without trying it first yourself will get you a warn or will get you BANNED. We won’t write a code for you, but we can push you forward and suggest something. * Before posting a long code snippet think twice and read the Resources section below. * No “best book” or “best youtube channel” requests, use /get cbook and /get cppbookguide chat commands. * No “best ide” requests, use /get ide chat command to see the suggestions. * Asking for something that is in the pinned message right after joining WILL GET YOU BANNED. * C/C++ discussion preffered (assembly also allowed), asking about other languages (or groups for other languages) right after joining will get you BANNED. * Reverse enginnering, hacking and related topics are allowed, but asking to hack facebook, instagram, etc. is NOT allowed. Also if you ask "how to become a hacker" and obviously have zero knowledge on anything related to that you may get warned or banned. * Legitimate requests for help on code and programming questions are welcome. A request is considered legitimate if it describes your problem, what you've done so far and what went wrong. Requests such as "write my program" or "do my homework" are never considered legitimate. Asking not legitimate questions will result in a warn or ban. See https://stackoverflow.com/help/mcve on how to write good questions. * Asking for book recommendations is ok, but "pls give pdf book" is not allowed, find books by yourself. Posting illegally copied books (or links to those books) is also not allowed and will get you BANNED. * Only English language is allowed, if you speak shitty English or don't understand anything in English YOU WILL BE BANNED. * A little bit of programming related memes, jokes, shitposting are allowed. * NSFW content (porn, nudity, etc.) is not allowed. * Spamming/advertising (job posts are also ads, so ask an admin before posting) will grant you a warning or an immediate ban if you do it right after joining. * Religion, politics and ideological topics are forbidden. * Long code snippets must be posted via a snippet website(links below), posting pictures of code and posting long snippets in the group is not allowed. * If you encounter a problem, while using dev C++ or turbo C/C++, you will not be helped, use another more modern IDE. * Don't post compiled executables, that is obviously a security risk. * Personal messages without asking beforehand are not allowed. * If you want to post a link or some article in this chat you will need an admin approval first ## Resources C/C++ group India: http://t.me/c_cpp_india About asking good questions: * [English](http://www.catb.org/esr/faqs/smart-questions.html) * [Translations](http://www.catb.org/esr/faqs/smart-questions.html#translations) For posting long code snippets: * [GitHub Gist](https://gist.github.com) * [Ubuntu Paste](https://paste.ubuntu.com/) * [Pastebin](https://pastebin.com) ## Reports If you notice any forbidden content, please use the /report command while responding to the offending post to report it to the admins.
acepted. Mrs.Dima
Anonymous
Anonymous
You have some proper book ya website which is really good for beginner .
https://stackoverflow.com/questions/562303/the-definitive-c-book-guide-and-list https://stackoverflow.com/questions/388242/the-definitive-c-book-guide-and-list
V01D
Which is better security wise (and better in general)? a) char* str = "str"; b) char str[100] = "str"; -- Need to use strings safely inside a kernel
Vlad
Or else it's too error-prone
Vlad
Also in kernel space you're a bit limited to the size of a stack, afaik.
V01D
Or else it's too error-prone
As in something could overwrite that memory?
Vlad
As in something could overwrite that memory?
You can overwrite that memory by mistake :P
V01D
Okay, thanks
Anonymous
What's a good IDE for C?
V01D
I tend to use VSCODIUM, Atom or Visual studio
MᏫᎻᎯᎷᎷᎬᎠ
What's a good IDE for C?
Try Qt creator if you have big projects
V01D
Visual studio works with .c file since c and cpp are similar
Ravi Prakash
/getcbook
V01D
VS CODIUM with the microsoft C plugin btw
MᏫᎻᎯᎷᎷᎬᎠ
For univeristy
Try code blocks
V01D
Np
Victoria
/getcbook
Anonymous
华为荣耀平板6、10.4寸、6+128G这个平板电脑怎么样
Renan
Best C book !
But not free, and digital version is not available as far as I know.
Renan
What's a good IDE for C?
Which operating system? 🤔
Anonymous
Which operating system? 🤔
obviously Linux if Ur master programmer
Anonymous
+
Means😕
V01D
Agree, one up, yes..
Renan
obviously Linux if Ur master programmer
You can be a master programmer in any OS. But without knowing GNU/Linux you will be missing a lot of the fun.
V01D
gcc / clang, ld, objdump, nasm, it is all just there
V01D
And if not, just a command away
V01D
Heck, even the terminal looks nicer in linux - cmd is just an ugly rectangle, blob, thing.
V01D
And the bash scripting language is much cleaner than windows batch script.
Anonymous
Which operating system? 🤔
I know I'm against the flow of this group, but windows
Anonymous
But I think I'll use a linux vm for C course
Renan
I know I'm against the flow of this group, but windows
I do not think so. It seems most folks here are Windows. 😅 👍
V01D
But I think I'll use a linux vm for C course
May I suggest a debian distro for that
Renan
And the bash scripting language is much cleaner than windows batch script.
Windows have powershell too, a more modern bash-like utility.
V01D
Sure
Parrot OS Home
V01D
My bad
V01D
Either way, windows biggest issue is that it bloats your drive
V01D
Windows is way to big. Ik it is because of compatability, but like come on. Make a customizable release or something.