Пожилой Христос
Пожилой Христос
How I can create textbox with SFML?
Eirik
Favorite IDE for C?
Пожилой Христос
Eirik
Пожилой Христос
Anonymous
👍
Eirik
Why?
VS is literally bigger than most of my entire operating systems, and for no discernible reason. I dont think it even works with C either, just their version of C++
Пожилой Христос
Anonymous
Please how do I install mingw for vscode.
J
My workflow(if I use android)
termux -> To access linux kernel and pkg in Linux
termux-api -> To access filesystem
ACode editor -> To write C/C++ code
'''''''
Google atleast once before asking questions 🤦♂
~°𝔼ℝ 𝕃𝕌ℂ𝕂𝕐
Anonymous
Anonymous
Yes qt creator
Anonymous
Multiplatform and powerful
Ludovic 'Archivist'
I didn't want to use CLion but one day I used it and have been using it ever since
Eirik
Ive been eyeing CodeLite
D
Hello everyone, i would appreciate if someone could help me. Im trying to make a simple calculator. 3 options first is when chosing (G) asks the user two numbers . the second is (A) addition , and third is (S) subtraction. How can i make that if i choose letter (A) for the first time without chosing the (G) option to not display 0 but a mesage of chosing first letter (G) ; im using a switch. I would appreciate any suggestion.
Anonymous
D
Thanks! I'll try it.
Anonymous
Hi guys, I am bad at loops and logical things how to improve
Ethan
100$ website
Hi guys, I am bad at loops and logical things how to improve
Same happened with me, first learn loop syntax 10 time untill and unless u can remember it
later start solving small problems, get a clear idea about how loop works and what happens when u run a loop, why you need them and move with another problems
give it more time, its not a topic of one two days for hard learners like us. also its an important topic
Anonymous
Apk
Ilia
Hi all. I want to understand.
We have int and long int.
I have a 64bit oc. I was expected that long int would be 64 bits but it is 32. In other words int and long int are same. What do I miss?
Amrith
Amrith
Apk
Ilia
Amrith
Ilia
Amrith
.....
Hello can somebody help me with c++ boolean?
klimi
Artur
Boolean is quite serious !
\Device\NUL
Harleen
I have a map of objects having maps. I want to iterate until the lowest part but I am doing somtehing wrong.
Can someone help me out?
Harleen
https://pastebin.com/h5miPt2R
Harleen
Here is pastebin of what I have done
Ilia
Artur
I am trying to compile gcc 11.2 for raspberry pi (building an image) using rocker. Received an error:
Checking wether we are crosscompiling... configure: error in ‘/arm-Linux-gnueabihf/libgomp’
Configure error: cannot run c compiled programms.
If you mean to cross compile, use ‘—host’
I did set up host — for configuring
—host=arm-linux-gnueabihf
And suggestions ?
Artur
Building an image using docker*
Artur
Any suggestions*
Artur
Full command looks as follows
Artur
I did try different —host setting but it doesn’t seem to change anything
Amrith
Amrith
Do you have cross compilation libraries required?
Artur
Yep I did install qemu locally on my machine
Artur
Regarding build I have no clue 😅 that’s why I am here but I did try it, the same error appeared
Hasem
Hello i need assit for my data &structres assigment in C . is there anybody whi want to help me ?
vlad
I installed Visual Studio for C ++ but I'm programming in C language, did I do it right?
\Device\NUL
\Device\NUL
C and C++ has different behaviour
vlad
thanks
Anonymous
Thanks .
Anonymous
Hello , good to see active group .
Anonymous
I'm learning C , who's fresh we can have pair programming .
Anonymous
Azhar
How can i convert this to friend function?
abc operator+(abc ob,abc o2)
{
abc t;
t.x = o2.x+ob.x;
t.y = o2.y+ob.y;
t.z = o2.z+ob.z;
return t;
}
Leovan
Why can't I use a class attribute as the default value for its method?
For example:
class A
{
....
void method(int a = x);
private:
int x;
};
Azhar
浩
Hello, I am writing a library, in this library, I have a header file which contains common used type alias and template constexpr, what is the proper name of this file? currently it is "common_toolkit", but I think it is not "toolkit" in fact.
Anonymous
Error in this code???
int i = 1,n,f;
cout<<"Enter a number ";
cin>>n;
f = n / 10;
while(i <= 2)
switch (f){
case 1;
cout<<"ten";
break;
case 0;
break;
case '1';
cout<<"one";
break;
}
f = char(n%10);
i++;
}
Anonymous
In switch we have f and at first we diclare it's value
Amrith
Anonymous
If n is 11 then it print ten one but it print ten ten
Anonymous
This is for sample
Artur