Flyingblu
Yep
Flyingblu
Thanks
Khan
#include <stdio.h> int main(){ int jmlsiswa,i,nilai,kesalahan; char namasiswa; printf("Masukkan Jumlah Siswa : "); scanf("%d",&jmlsiswa); for(i=1;i<=jmlsiswa;i++){ printf("Nama - Nama Siswa : "); scanf("%s",&namasiswa); fflush(stdin); } for(i=1;i<=jmlsiswa;i++){ printf("\nInputkan Nilai Masing-Masing Siswa : "); scanf("%d",&nilai); } printf("\nApakah Ada Kesalahan ? (y/n) "); scanf("%d",&kesalahan); if(kesalahan=='y'){ for(i=1;i<=jmlsiswa;i++){ printf("\nInputkan Nilai Masing-Masing Siswa : "); scanf("%d",&nilai); } } return 0; } i have problem here that the if can't run then what should i do sir?
Anonymous
please use wandbox https://wandbox.org/
Khan
please use wandbox https://wandbox.org/
https://pastebin.com/PigV5fvk
Anonymous
Is codeblocks a good IDE to create graphical interfaces?
Anonymous
🤔
Prasad
Hello
Prasad
Prasad
I am beginner at programming Why we always begin our C code with #include
Anonymous
Eclipse is Better than code blocks
Eclipse is as bad as CodeBlocks
Prasad
Eclipse is as bad as CodeBlocks
Then which is better IDE?
Anonymous
Then which is better IDE?
CLion, Qt Creator, Visual Studio
A.T
Eclipse is as bad as CodeBlocks
which one к г using
Dima
Lol
Anonymous
CLion, Qt Creator, Visual Studio
@ImmortaL070 ^ Three of them
Dima
turbo c what the fuck 😆
Anonymous
Delete this shit
Dima
I thought it was sarcasm at first
Prasad
Hell yeah😂
Anonymous
14•08
thanks bro
Iwanna learn c++
Anonymous
Iwanna learn c++
i gonna spend some time with C first
Anonymous
picking up c++ wont be so difficult with C knowledge
Ilya
Eclipse is Better than code blocks
Eclipse is another pice of shit
Khan
for scanf format %s the target variable must be string, not char. For char - %c
i have tried but it doesn't work,i can't use %c, perhaps my compailer is broken
Ilya
Eclipse is Better than code blocks
Eclipse is not for GUI development at all, not really to what I personally think about it
Khan
i used falcon c++
Ilya
I am beginner at programming Why we always begin our C code with #include
No, this is wrong, you can omit #include if you don't need it
Ilya
i used falcon c++
It does not matter
Anonymous
It will be maybe even harder
i dont think so , if you know the difference between the the paradigms
Anonymous
i am learning C for a certification
Anonymous
i have done cpp, just not much
Anonymous
if i am use valgrind and i get a warning warning: no debug symbols in executable (-arch x86_64)
Anonymous
what does this mean
Dima
I think you lost some keyboard keys
Ilya
i dont think so , if you know the difference between the the paradigms
C is very stupid and plain language, the difficult part is only pinnies and memory management. In c++ pointers are same, memory mngmnt is almost completely different, but there are many many comments things added on to of C, so it is just very voluminous task to learn, and you are just waiting you time now for plain C
Anonymous
the certification requires it but i am not looking for a C job
Ilya
what does this mean
This meant you don't compile with Debug information
Anonymous
Runit: Spies ./Spies Spies: main.o functions.o gcc -g main.o functions.o -o Spies main.o: main.c header.h gcc -c main.c functions.o: functions.c header.h gcc -c functions.c this is my makefile
Ilya
what did i do wrong?
You don't compile with Debug info
Ilya
yes
Then you must use -g -O0 while compiling and don't use -s while linking
Ilya
yes
I see you are wasting you time not only for C, but for Makefiles, too...
Ilya
yes
Good luck
Anonymous
I see you are wasting you time not only for C, but for Makefiles, too...
i told you already i am learning C for a certification
Anonymous
are you thick headed
Anonymous
or do you like to see your own thoughts via text
Anonymous
@Maestrowscki10 this exactly the type of person i am talking about
🐰🐾 سمیه
"The size of the array is the size of one entry times the number of entries." Can anyone please explain this to me?
Anonymous
each member is 4 bits, on 64 bit machine
Anonymous
4 bits for each member of the array
🐰🐾 سمیه
🐰🐾 سمیه
Ok thanks, I gotit
Anonymous
Anonymous
type this if you need to know printf(“%i”,sizeof(a));
Anonymous
😐
Anonymous
is this the trivia hour
Call me
Thank you
klimi
You're welcome
Anonymous