PRAbHaT
How to install in linux GCC by terminal
Anonymous
What kind of Linux?
PRAbHaT
Ubuntu
Asdf
Ubuntu
sudo apt install build-essential
Anonymous
$ sudo apt-get update $ sudo apt-get upgrade $ sudo apt-get install build-essential
PRAbHaT
THANKS
Anonymous
can anybody help me with vectors ..like i dnt know for hw much time i should run my loop for taking the input
Anonymous
basically i dnt know the size of the vector initially
Isc
No one?
again, you dont need an expert
quique
Yes
quique
Expert or student
Anonymous
No one?
Pm me what exactly you want .. but you will have to wait till my exams are over
Anonymous
( I am a student )
Pete
If I have roughly a year of c++ from school, is that “enough” to start to try to contribute to things? Like any open source projects
Anonymous
Open GitHub, look for repositories based of C. Fork them, solve issues and try to improve code. Then make a PR. This will help both you and the owner of the repo.
quique
U can make
quique
?
Anonymous
Hi i have a question, im allowed to ask?
Roxifλsz 🇱🇹
Anonymous
I wanna learn programming a strategie game like age of empires or command and conquer cause I'm missing games like that. I know that I have to spend mutch time into it. But atm I dosnt really know what I should use to program a game like this.  Should I try to learn unity and c++ or only c++ and building it up from the scratch or even an totally other way to do it. I knowing the basic in coding and I'm not even advanced what I have to be for it and what I want to be. And what should I use to get the textures and units done. A little bit more about me. I already programmed little tools in autoit, batch and PowerShell, Java and c++. I study informatics and wanna learn! Thank you for your response
Anonymous
I mean it can be done but you will go crazy fixing stuff
Anonymous
There will be a lot of code, a lot
Anonymous
I know but first I have to set up the ground before I can build a house on it.
Anonymous
yes, anyway, you should learn the basics of game programming
Anonymous
And it is way more than code : https://youtu.be/VUlLcO5sKIk
Anonymous
and there is a lot of things to learn, maths, physics, OpenGL, language programming, ... a lot
Anonymous
Maybe 2-3 links to ebooks or something you can recommend?
Anonymous
The @anunaym14
Anonymous
Thx *
Anonymous
then, you should learn about 3D modeling, sculpting, ... and it's a long long way to run
Anonymous
Maybe 2-3 links to ebooks or something you can recommend?
Getting a team is what I would recommend
Anonymous
Just search for what you want, web is vast
Anonymous
Books only tell syntax
Anonymous
Okay thx guys anyways
Anonymous
👍
quique
good night
quique
i need guy for RSA implementation in C
quique
i pay for this job
Likai
i could give you RSA
quique
Hi
quique
Write me private for explain
Anonymous
/warn
Anonymous
What is it?
Anonymous
/warn
Anonymous
/warn
Сардорбек
Good morning
🧐
good morning
Anonymous
Good afternoon
Anonymous
Hi guys
Anonymous
Hi guys
Anonymous
I need help with C programming. I have a quick homework. I will pay for it.
harry
how much
Anonymous
What about.?
Present the user with a menu with the following options 1) Print author info 2) Print multiplication table 3) Print custom multiplication table 0)Exit If the user chooses option 1, then print your name and id If the user chooses 2 then you should print a multiplication table ranging from 276x276 to 286x286 If the user picks option 3 then print a multiplication table starting at 0x0 up to a maximum value as entered by the user. If the user chooses option 0 exit the program If the makes any other selection, printf "Invalid Selection". When the user prints out the multiplication table it should be in the following format: 0 1 2 3 4 0 0 0 0 0 0 1 0 1 2 3 4 2 0 2 4 6 8 3 0 3 6 9 12 4 0 4 8 12 16
Anonymous
C++
Mat
And how much?
Anonymous
10$
Mat
How?
Anonymous
By PayPal account
Anonymous
or by Western union
Onur
İs there any performance difference between creating a vector with n size then initializing value to it and creating an empty vector then using push_back n times?
mark
does anyone here uses VS code for editing codes?
harry
yes
Liam
İs there any performance difference between creating a vector with n size then initializing value to it and creating an empty vector then using push_back n times?
Yes. std::vector guess a length (starts from 1, usually) of memory to store elements, and when this memory area is no longer enough for push_back or emplace_back a new element, the vector will then request more memory (usually double the length), and then move/copy all elements from the old memory area to the new one, and finally release former allocated memory and push_back or emplace_back the new element. Hence, if the length of vector is predictable, reserve sufficient space for it would be more efficient.
Liam
Oh I got it but is it really noticeable if I don't work with huge amount of data
It's shouldn't be hard to image. The length std::vector stores elements in memory, however the vector library knows nothing about how many elements will be stored in a specific vector object, hance the library knows nothing about how many memory should be requested from the system. The only reasonable way to solve the "dynamic" problem is requesting memory dynamically.
Mat
@admin
mark
Yep
how bout python? haha
j@ke
how can i have my program start back at the beginning after asking if they'd like to play again?
Germán
It depends what language are you programming on Something like that The code finished "Variable" = False Do you want to restart? If yes -> "variable" = True And code it in order to execute the whole code in a while variable = True
Germán
Hope you understood me :v
Germán
While variable = true: [code] (Answers yes) Variable = True While not: Break
Germán
But this is cancer