Vlad
2^31 - 1
Vlad
Vlad
Vlad
Because 8 is a power of two
Kanni
/get cppbookguide
Anonymous
Because 8 is a power of two
Thank you , after extensive searching , I finally understand ,
Why they say , integer is 4byte ..
And that 2^32-1 ..
Elifas
Excuse me , anybody knows how to make library managemnt using linked list?
Anonymous
Elifas
Library management program using linked list in C
Chandresh
#include<iostream>
using namespace std;
int main(){
int temp=0;
int arr[10]={5,2,3,15,12,11,10,6,20,1};
for(int i=1 ;i<10 ;i++){
for(int j=0;j<i;j++){
if(arr[i]<arr[j]){
temp=arr[j];
arr[j]=arr[i];
arr[i]=temp;
}
}
}
for(int i=0;i<10 ;i++){
cout << "\n";
cout << arr[i];
}
return 0;
}
Chandresh
Is This code is of insertion sort??
armandofsanchez
Buble sort
Mandarino
Date n stringhe di caratteri dispari, trovare la media dei caratteri e la parola più grande inserita
Mandarino
do i have to write it in english?
Vlad
Vlad
Otherwise it'll get you banned
Mandarino
Given n odd character strings, find the average of the characters and the largest word entered
Mandarino
you can solve it for me
Vlad
Please would you read the rules
Vlad
>
* Asking to solve an assignment/test/whatever without trying it first yourself will get you a warn or will get you BANNED. We won’t write a code for you, but we can push you forward and suggest something.
Gustavo
Hello, everyone
I've been trying to make a deep copy constructor for a linked list class, I really don't understand why it's not working, the logic seems fine
https://pastebin.com/7Hrd9tQz
If someone can give a look at the constructor, I'd be glad :)
Anonymous
Pavel
Fern
/get cppbookguide
Gustavo
Gustavo
Gustavo
I've used ASAN and got some memory leak but I did't really understand why
Abhishek
Anyone send a program for define student college time and add working time and overtime display collage time and actual working time .
Abhishek
Anyone send a program
Ammar
Anonymous
Sorry
Diego
Anyone send a program
My dude we can help you out with questions and such, but we're not going to do your work for you
Diego
If that's what you want chances are you'll have to pay someone to do your assignment lmao
Nisal
😂
MRT
hi
MRT
i have problem with qt 6, i get 0xbaadf00dbaadf065 error when use object
MRT
It is as if the memory allocated to the program is running out, and from that point on, accessing any object of the program gives an error 😡😡😡
MRT
I wrote the same program with vc and saw no problem
Nils
MRT
and when i use the object QString MessengerJsonApi::chatMessages(){
if(isApi){}
return "nothing";
}
MRT
my app crashing, even if i print isApi with qDebug 😐
H
MRT
Locals
this 0xbaadf00dbaadf065 MessengerJsonApi*
Inspector
Expressions
Return Value
Tooltip
MRT
MRT
i create a sample class
MRT
all codes work in vc fine ,but in qt ,app crashing with sigsegv segmentation fault trow
MRT
Nils
MRT
Nils
MRT
Mandelbröt
#cpp-vscode
Mandelbröt
"message": "#include errors detected. Please update your includePath. Squiggles are disabled for this translation unit
Mandelbröt
???? I have got a error
Mandelbröt
cannot open source file "crtdbg.h" (dependency of "iostream")
Mandelbröt
And this too
Mandelbröt
Mandelbröt
Mandelbröt
@MissRose_bot
How to setup the launch.json comfig in vs code for c++
Dima
Bruhhhh
Mandelbröt
Mandelbröt
⁉
Anonymous
Mandelbröt
Anonymous
麻了,tg没有实时翻译
Max
Anonymous
Vinay
gwaro english hi bol lo😂
Defarmer
Thanks
klimi
麻了,tg没有实时翻译
Yeah, it doesn't but please use only english here thank you
klimi
klimi
Vinay
👌