Vitalii
For instance, I have size of array [4], but I want my function to take [0]-->[4] In my code that's [4]-->[0]
Alex
For instance, I have size of array [4], but I want my function to take [0]-->[4] In my code that's [4]-->[0]
add int i as argument to func calc. first call i = 0, second i = 1.. until i == len - 1.change arr[len] to arr[i], do not decrement len
Mad
I have c programming exam but there are 2 problems that I don't solve. Pleaaaseeeee please can you help me
Mad
Very important for me
Mad
I convert the text that teacher gave to code
Roshan
What code?
Mad
What code?
Very long
Mad
Media sharing is not allowed in this group
olli
Media sharing is not allowed in this group
you can use paste.ubuntu.com to share code
Anonymous
Have you idea 💡 The website which help me to solve the problem of C++ I’m a student 👨🏻‍🎓 i just copy the statement and program is solved. Have an idea
Qasim Helal
/notes
Qasim Helal
/get imhacker
Qasim Helal
What's that?
Roshan
What's that?
English overExaggeration is what I see...
Qasim Helal
/get cppbookguide
Roshan
You may get warned... Change your statement
Qasim Helal
That is not allowed here.
Roshan
😕...
Anonymous
/notes
/notes
Roshan
/get rose_as_my_girlfriend
Roshan
Lol what was it 😂
Xudoyberdi
/get rose_as_my_girlfriend
Thanks, I was waiting someone to show what pops up in this command
Wojak
Your first name in Russian means "bitch"..
In Hindi(India) it means "Dry"
Suka
In Hindi(India) it means "Dry"
ooo ic thanks. at least it better hehe. in indonesia it mean like. i like pizza hehe
Anonymous
also me, i like pizza
Suka
hehe
Anonymous
i'm italian
Wojak
i'm italian
Congratulations
Anonymous
thank youj
Wojak
Dima
Anything but not python
Wojak
Anything but not python
Because of execution speed or anything else?
Pavel
Anything but not python
That's off topic, but imo python is choice #1 for automation
Dima
¯\_(ツ)_/¯
Dima
It’s way too vanilla-taste
Suka
Anonymous
Wojak
It’s way too vanilla-taste
Agreed, People not knowing a dime about compiler and just working with an interpreter language like python calling themselves programmer. And in India(Atleast in my school) It's now taught in elementary school to kids of class 5th grade. I
Wojak
Once it used to be C as the first language
Wojak
Making many not take coding as a career and reducing the hacker mentality
Wojak
No but definitely python should not be the first language imo
klimi
I think python is fine for first language tho... whatever
Wojak
Python? You mean to say a C programming Application?
klimi
Python? You mean to say a C programming Application?
Don't make me say stuff i didn't say. I have meant what i have written.
Wojak
And since grammer shouldn't be taught by teaching how to write essay without teaching alphabets, Similarly Python and all those meta programming languages shouldn't be taught without the inception language
Wojak
In my opinion, You may have other opinion
klimi
i think further discussion should be moved to the offtopic group
Pavel
#ot <==
Roshan
Does anyone here knows batch?
klimi
if you mean windows batch files, those are offtopic here
Wisenky
I have a text file filled with random numbers like 1 23 45 4 line by line and I want to read them into two dim array but when printing array's values to debug console it shows Line : 0 0 0 0 every line I mean its empty. Where goes wrong sirs ? #include <iostream> #include <cstdio> int main() { FILE *file; file = fopen("value.txt","r"); int rl[321][4] = {}; for (int i = 0; i < 321; i++) { for (int j = 0; j < 4; j++) { fscanf(file, "%i %i %i %i", &rl[i][j], &rl[i][j], &rl[i][j], &rl[i][j]); } } fclose(file); for (int i = 0; i < 321; i++) { std::cout << "Line : "; std::cout << rl[i][0] << ", " << rl[i][1] << ", " << rl[i][2] << ", " << rl[i][3]; std::cout << "\n"; } std::cin.get(); }
Anonymous
/get C ide
Anonymous
/get cbook
Engineer
Anyone written a parser in pure C/C++ only (no yacc or lex) or (bison or flex) ?
Engineer
Probably GCC and Clang developers :)
They do *not* use yacc/lex/bison/flex... MY BAD😳
Anonymous
No they do not
Engineer
Hadaward 'Solly'
They do *not* use yacc/lex/bison/flex... MY BAD😳
who needs those anyway. Just code everything from scratch. 😤
$•|} ππ
/notes
Prince Of Persia
c++_isnt_c_with_classes why?
Wojak
c++_isnt_c_with_classes why?
Even the bot knows that, comeon
Prince Of Persia
Anyone written a parser in pure C/C++ only (no yacc or lex) or (bison or flex) ?
I trying to create parser I have lexer and some others
Wojak
c++_isnt_c_with_classes why?
It's like a bible long discussion on the internet on that
Anonymous
Nope
Wojak
I trying to create parser I have lexer and some others
I did similar lab practical in 4th year of my engineering
Prince Of Persia
I did similar lab practical in 4th year of my engineering
But my problem is operator and which one must come first