Anonymous
i want to make graph from adjacency list can u help me
Alex
there are two usual meanings for stack: 1. stack as data structure FIFO 2. stack as as area for program. is callstack is the synonym for stack in the second definition?
Anonymous
Hello everybody, What is the difference between using get and getline functions to extract data into C-strings?
Anonymous
Pls recomad best complier for c++
Anonymous
Hello everybody, What is the difference between using get and getline functions to extract data into C-strings?
And do I need to discard newline characters in case of multiple extraction into multiple C-strings using the getline function?
Anonymous
Hi guys, can anyone suggest an easy text based game to do in C? Something that uses loops and maybe arrays.. its for our finals 🤭
A programming prompt? Fair question, what about 15-Puzzle. BTW the 15-Puzzle can't be solved unless the count of unorderings is even... Don't worry about that! Create starting positions by randomly moving away from goal position. Wait, this is for a test...?
Manit
A program of c 1 2 3 4 2 4 6 8 3 6 9 12 Any one tell me logic please
mov $22, %rax
is this even a question?
#
Make array containing values 1 to 4
Then firstly multiply each element by 2
#
Print it on the screen
#
And do same once more ...... multiply by three
#
Get the output
Anonymous
pls, somebody help me git gud 😰
Ahmed
Guys i like c++ But i have a question about another topic can i ask it?
Ahmed
👌Got it
Bruno
/get dontasktoask
g3rm4n
Hey, how do I get all words that begin with a capital letter and end with a lowercase with a given size of the word. for example: the function gets a size 3 and return 2 Apple BeAr up Ron NooN Bob down
ая
Anyone know away to download lectures from Microsoft teams?
PaAaAria
https://pastebin.com/gsiNuxSK hi every body, in this code x0 should change from 0 to 1 but it doesn't. could anybody help me to solve this problem?
z
It is undefined behavior, so anything can happen. This part n = n + 1; n firstly was not initialized, so it contained a garbage value. You probably want to initialize it like this uint64_t n = 0;
Suka
i bet its differ every time he run it hehe
Praveen Kumar
What's the use of this channel
Anonymous
Hi
ninja
Anyone know how to use Google's firebase in c++ application
Andrew
i think there are instruction on firebase website
Kaan
Hi guys. I want to implement a code that splits strings according to two token. For example : 1 + 2 + 3 //It should split it as 1,2,3. I know I can use strtok but I want it to be able with - sign also. Such as 1 + 2 - 3 //1,2,3.
Kaan
I searched for it but I couldnt find
Kaan
In java it is possible
CΞMİL
hi
Kaan
And I thouth that it should be possible in C also
Kaan
hi
hi
CΞMİL
hi
sende mi yenisin
Kaan
evet
CΞMİL
evet
bende yazılımcı olmak istiyorum
Kaan
bende yazılımcı olmak istiyorum
Bu grupta ingilizce yazmıyınca sıkıntı çıkartıyolar. Sorun olursa özelden türkçe yazabilirsin
ninja
i think there are instruction on firebase website
Yes but that was for c++ in android
ninja
I want for windows or linux
Ali
✋Hi there, Im hoping that someone would guide me to learning CPP cz I only know JAVA and a little bit Python
KAMRUL
Hello
Ali
I could be searching online for some courses but i need to find something useful and not for beginners
KAMRUL
I need to solve my one project(c++) Is there anyone available who can help me
KAMRUL
@all people
ɴꙩᴍᴀᴅ
Ali
/get
Ali
Thanks
y
/get
Oleg
/get
KAMRUL
KAMRUL HASAN: I need to solve my one project(c++) Is there anyone available who can help me @all people
Anonymous
Use a C-string and a loop having a nested condition to change every occurrence of operators into comma's
And if you prefer having the numbers contained in int or double variables. Write a code that targets just the numbers in the C-string and assigns them to some integer array. But that will mean you having the collating sequence/ indices of the numerical characters assigned to the array. So you get the ASCII chat and find the difference to return those collating sequence/ indices to become the former numbers. Then, using a loop, write a program that modifies the elements of the array by subtracting the found difference from each element
あおい ハート
When int a=010,b=0100; The cout<<a b; Is 8 64 why? What this 010 and 0100 is?
Артём
When int a=010,b=0100; The cout<<a b; Is 8 64 why? What this 010 and 0100 is?
Read about octal numbers in c++. More generally — en.cppreference.com/w/cpp/language/integer_literal
あおい ハート
Can you be a bit clearer?
When a =010 cout of a is 8 instead of 10, Same when a=0100 cout of a is 64 instead of 100 why?
Артём
So i was assigning octal numbers to int am i right?
Yeah. Because of '0' in the beginning.
WHITE
/get
WHITE
/get cbooks
Anonymous
When a =010 cout of a is 8 instead of 10, Same when a=0100 cout of a is 64 instead of 100 why?
Well, this is strange but here is my observation. I realized that every occurrence of 0 before a number led to some return of a bit amount. I think this means that the number is no longer being seen as a number but rather a byte representation. The compiler thinks you are calling for some bit amount. Like 01 = 1 bit, 02 = 2 bit, 010 = 8 bit, 020= 16 bit, 021 = 17 bit, 0100= 64 bit and so on. This might not be the explanation but it is just my observation.
Mohannad
بخ
WHITE
When int a=010,b=0100; The cout<<a b; Is 8 64 why? What this 010 and 0100 is?
To get the octal value during printing include the header file iomanip and type cout << oct << a << b;