anonymous
hi, someone can help me to coder a finance project ???
klimi
okay
klimi
whats the problem
anonymous
okay
you know zorro trader?
klimi
no
klimi
oh i do now
anonymous
😞😞😞
Anonymous
The first thing is using C standard library when C++ has good alternative
ok , any think you would you say to keep in mind while learning C , if you plan on moving toward c++
Anonymous
Just learn C++ already
i have no choice to learn C, i kind of enjoying it also , i have some c++ experience, but i think i would be better now because i have a deeper understanding on certain subjects like using pointers
olli
I don't really understand the reasons behind all this "don't learn C". In general you should use the language that's most suitable for the job. I feel doing something's in C first help understanding how c++ actually does it (eg. Function table vs c++ virtual)
Anonymous
I don't really understand the reasons behind all this "don't learn C". In general you should use the language that's most suitable for the job. I feel doing something's in C first help understanding how c++ actually does it (eg. Function table vs c++ virtual)
Never heard of "function table" in c. Do you have something to read about it? I'm talking about "don't learn C" when a person needs to do C++ C teaches bad practices in C++ I think learning C is ok to understand how C++ kinda works internally But not from the beginning
Nameful
Asm ftw
machine code ftw
klimi
machine code ftw
Haskell <3
Nameful
Haskell <3
haven't touched that
Nameful
seems scary
klimi
I want to learn it... But I have to learn physics first
Anonymous
Morning
Anonymous
No
Anonymous
Heyy
Anonymous
Thank u for welcoming me
Dima
Welcome
Anonymous
Really?
Anonymous
Japp 😂
Ilya
what sort of bad practices do you C developers bring to c++ when they learn c first ?
I don't, but what others do mainly is not having faith in the higher level constructions and abstractions but stocking to low level C- like style like passing out array to a function buy pointer for not to return it by value, avoiding exceptions, using C io and so on.
Ilya
i have no choice to learn C, i kind of enjoying it also , i have some c++ experience, but i think i would be better now because i have a deeper understanding on certain subjects like using pointers
This is also one of bad practice ... Pointers are just same in C and C++ and to understand them you just must learn them. Does not matter if it's c or c++. For ex. write (doubly) linked list yourself in c++ and that would be a big step towards understanding of pointers. You can do same thing in C, but it's just harder to do this in C, and the problems are not related to pointers at all. Same you can implement many different data structures like that one, both in C and C++, and that will be easier in c++ than in pure C, will have same semantics related to pointers but will require less efforts from you for doing many other things not related to pointers. There's only one big thing I observed that is harder in c++ then in c while doing this is exception safety but you can probably just ignore it for a while
Ilya
Really?
Really really
Ilya
/rules
Anonymous
😂😂
Anonymous
Omg..how fool i am
Ilya
Omg..how fool i am
It is ok, just funny
Anonymous
I want to ditching from school
Anonymous
My teachers are T-Rex
Jumjumi
How script c++ for this pictures below
Jumjumi
Jumjumi
Ex : 1 11 22 111 222 333 1111 2222 3333 4444 Please help me🤗
Spirit
O.o
Jumjumi
O.o
Help me
Spirit
Aren't you learning in class?
Jumjumi
not available
Spirit
You should show your attempt first
Spirit
Otherwise it looks like you're trying to get people to do your homework for you
Jumjumi
no bro, I tried, but I failed a little more
Jumjumi
Example
Anonymous
Hey
MᏫᎻᎯᎷᎷᎬᎠ
Hi
Spirit
Example
Post your code
m
Why is this happen?
Harsh
Why is this happen?
Write more records and then send the file contents
Harsh
Example
Use 2 loops which you ain't doing AFAIK, and as æsycos said, post your code in some pastebin and send here
Anonymous
Example
/warn screen photo
Pavel
Why is this happen?
You read characters from the console then write them to a file. So your text editors opens it with compatible encoding to represent the same characters as you've passed to the console. In other words you can open any binary file as text, and if there are bytes (or groups of bytes in case of multibyte encodings) that represent e.g. latin letters or numbers in some encoding, you will see these letters in place of these bytes.
Pavel
If you write ints or floats it'll be another story and you would need to open it with some hex editor, not text editor
Aira
Currently learning c language..will it help me in future
Aira
Iam civil engineering student though
klimi
yours
Anonymous
Do the civil engineers need to learn programming?
Aira
Ok tysm
Rudhranandhan
Currently learning c language..will it help me in future
Yes.. Definitely it will help you if u r interested in embedded domain
Gibson
Am writting a c program bt when i compile it and run it i get a segmentation fault(core dumped) ....need help.🙏🙏
数学の恋人
#ot
Gibson
I keep getting segmentation error when i run my c program
Gibson
Gibson
My code....
Roxifλsz 🇱🇹
You're referencing number in this line: struct info student[number];, before number is actually inputted
Roxifλsz 🇱🇹
Also I'd recommend to properly indent your code, and name your variables like classScore and not classscore
Roxifλsz 🇱🇹
That will be easier to read
Roxifλsz 🇱🇹