Dima
Oh no /baп furry:)
Dima
klimi
how did i miss that
Anonymous
Bloatrace:)
you offend my huge TMP compiler error messages
Amrit
i have to start fro,m beginning as i dont know anything about c so where do i start from can anyone guide me
lgat
Someone explain me why pointer is important in c language??
klimi
Someone explain me why pointer is important in c language??
Because it allows you to point into memory
lgat
How??
Anonymous
What should I do if i want to learn about stream oriented input output deeply?
klimi
How??
*pointer = 5;
klimi
it points to the 5
Asdew
Someone explain me why pointer is important in c language??
Do you know any other programming language?
klimi
but if you had a array
klimi
you could browse neighbours
Asdew
Well, then this is hard.
Anonymous
Hi everyone I am managing director at RI Technology Pvt Ltd
Anonymous
hi
Anonymous
No
maybe it has something to do with the hardware. cause it holds the memory(ram) address of a variable.
Anonymous
/note
Anonymous
/ntoes
Anonymous
/notes
Anonymous
/purge
Anonymous
/rules
Anonymous
/reference-the-standard
Anonymous
/reference
Anonymous
/c++_isnt_c_with_classes
Anonymous
/get c++_isnt_c_with_classes
Anonymous
Any know how to hack website
Yoh
Hello, I have a 2D array that is filled with asterisks ("*"), I want to change it to an "x" depending on which position the user enters. When I print the array the first time it prints correctly, but after I change the value of the element it doesn't change when I print it a second time, what would cause such a problem?
Artöm
You didnt change it then
Ashish Bhushan
You mean you have initialized the array full of "*" and you want users to enter some number x and the print it?
Ashish Bhushan
It will be a bit easier to help...if you can send your code
Yoh
You didnt change it then
I tried doing a cout of the position that was chosen and it does come out as an "x" but not when I print the whole thing
Yoh
It will be a bit easier to help...if you can send your code
Sure thing, I couldn't tell which website to use from the rules
Artöm
Show the code
Yoh
https://pastebin.com/jXwVW3US
Yoh
It's supposed to be an airline service or whatever
Yoh
The array is supposed to show which seats are available and which aren't
Yoh
"*" meaning available and "x" meaning it's not
Yoh
So when the user enters one of the seats the program should replace the seat with an "x" since it was taken
Anonymous
Okay... Hello
Anonymous
You got a newbie on board
Anonymous
It's my first time going into C programming... Are there any books or materials that you can recommend for me?
Artöm
/get
Artöm
Show them damn
Artöm
/notes
Artöm
#cbook
Artöm
@ikhalil22 ^
Anonymous
@ikhalil22 ^
Okay Artom... Thanks
Anonymous
#best-book
Luk
Anyone speak french here I dont speak english very well , i have a problem with my code
Artöm
Try to translate
Luk
my problem is that I make a dynamic allocation for a 2 dimensional board, I would like to know how to pass it into an argument in a function
Luk
Try to translate
i try google translation
01000001011011010100000101101110
Top coder dp contest, codeforces blogs and questions
Luk
Top coder dp contest, codeforces blogs and questions
Thanks ,but it is the same way in C and. C++
01000001011011010100000101101110
Anonymous
https://stackoverflow.com/a/8767247
simply use variable length arrays: void myFunction(const int n2, double myArray[][n2]){ myArray[x][y] = 5; etc... } double a[10][11]; myFunction(11, a);
Maria33
I’m programming in C, I’m working with vectors and I have to set them equal to 0 to initialize them. What does it mean to inicialize a vector? Why is this useful? Thanks!
Maria33
To set them to 0
Why do we have to set them equal to 0?
klimi
You have been told so
Maria33
You have been told so
My teacher says that we always have to initialize them but I don’t know why is this useful
Francisco
My teacher says that we always have to initialize them but I don’t know why is this useful
To prevent you from accessing an uninitialized variable. Otherwise is undefined behaviour
Maria33
Ok, thank you!!
Navjot
#cpp
Navjot
/notes
Navjot
#cppbookguide
Navjot
#imhacker
Navjot
#freeprogrammingbooks
Asdew
Could someone explain this?
Dima
Could someone explain this?
just a lot of idiots calling themselves “hackers"
Dima
and it is funny
Asdew
If I say that I'm a hacker, how do you react?