艾丁森
what are you trying to achieve?
He said it's not normal that linking libstdc++ in a c project.
艾丁森
A c program on linux calls this lib,it will happen
J
well, it depends, again - what are your constraints? i said it's not reasonable to really have a C application linking in a C++ library (and hence then enabling the runtime), for a C interface, if you could just have that app in C++, as you're already providing a C++ runtime (for that dependency library) anyway
J
if we're talking an embedded system - i'd think twice. if it's a user facing application on a workstation - probably dont care that much
艾丁森
running on linux servers and users' web browsers
艾丁森
if we're talking an embedded system - i'd think twice. if it's a user facing application on a workstation - probably dont care that much
a huge c project will call it, but I should let the c programmer add 'link libstdc++' in the c build file, is that okay?
Anonymous
Hello, do you guys have a link for C#
J
a huge c project will call it, but I should let the c programmer add 'link libstdc++' in the c build file, is that okay?
again, the usefulness of this is dodgy. look into just speaking C++ over some javascript/node FFI and skip the C part altogether
J
you're basically doing the opposite of what programming languages did when evolving - you're taking an implementation in a higher abstraction, that supports more features, and covering it behind a very rudimentary interface, while the machinery to run those abstractions is still necessary
艾丁森
J
okay, so, you'll need to explain this application stack of yours more clearly, because previously you said it would be sent to the client, and that javascript in the browser would be calling this, and now you're saying this is gonna execute on the serving host
艾丁森
my english is not very well, let me explain
艾丁森
Anonymous
hi who html dev
Anonymous
js
Roxifλsz 🇱🇹
js
Haram
Anonymous
java
Nazarova Muslibar
Roxifλsz 🇱🇹
java
/warn
Roxifλsz 🇱🇹
Objective-C is cancer, avoid at all costs
Anonymous
java
Nazarova Muslibar
java
#offtopic
Roxifλsz 🇱🇹
:)
#offtopic
яхшимисиз
:)
?
Nazarova Muslibar
яхшимисиз
salom raxmat yaxshi
Dima
Lol
Anonymous
guys can someone help with how to implement a travelling matrix problem with obstacles in C++
Daniele
A shell script should be enough, but do you really need GUI? 🤔
in the end I opted out for windows forms C#, which is easy to make a gui out of it and not too difficult to make things in
Anonymous
Hi all I just started coding in c++. When I came across through 1 problem, the time limit is 2 seconds but my code took 2.01 seconds. What could be the possible optimisations to reduce that extra 0.01 second
Anonymous
This is my code Problem statement: for t number of test cases accept t inputs. After than subtract 2 from each Digit and then print. Approach: given in comments
Gerald
Using: Int main() { Int y; Scanf("%d", &y); Printf("charge"); ...... .... ..... returned 0; } Why is that when i input 7 the out put is: 7 charge And not 7 charge
Anonymous
How
Remove \n after 7 in printf statement. I guess it should work
Gerald
Remove \n after 7 in printf statement. I guess it should work
According to the above code , there is no \n
Anonymous
According to the above code , there is no \n
You didn't paste full code here. So I thought there must be a \n somewhere inside
Anonymous
Bruh your name 😐
What's wrong bruh?
Anunay
Just shitty indian meme trends 😂
Anonymous
That was my main point Otherwise code is fine
Didn't you write that code?
Anonymous
Try again, @GeraldAkankunda
.
Apa kabar nih om om c++?
Roxifλsz 🇱🇹
Apa kabar nih om om c++?
/warn angliška grupė blet
Rajbeer
C program to count frequency of digits in a given number
Rajbeer
#include <stdio.h> int frequency(number) { int count=0,r; for(int i=0;i<10;i++) { while(number!=0) { r=number%10; if (r==i) { count++; } if(count>0) { printf("The Frequency Of %d is %d",r,count); } number=number/10; count=0; } return 0; } } int main() { int number,call; printf("enter the number"); scanf("%d",&number); call=frequency(number); }
Rajbeer
why its not working can any one help
Rajbeer
Thanks for tip✔
Pavel
why its not working can any one help
What do you want this code to output?
Pavel
Amount of digits that are equal to their place?
Rajbeer
What do you want this code to output?
How many times a digit is repeated in a number Eg No is 556766 Output 5 -> 2 times 6 -> 3 times 7 ->1 times
Anonymous
Hey all, if anyone has any groups talking about HaxeFlixel like this one is bout C/Cpp, a link would be much appreciated
Anonymous
Hey all, if anyone has any groups talking about HaxeFlixel like this one is bout C/Cpp, a link would be much appreciated
Well pls don't ban me, I need this group as much as something to help earning HaxeFlixel too
Pavel
How many times a digit is repeated in a number Eg No is 556766 Output 5 -> 2 times 6 -> 3 times 7 ->1 times
You can just simply create an array of size 10, then iterate while number > 0, then increment the index number % 10 and divide the number by 10
Anonymous
HaxeFlixel?
Yeah it's an API built on Haxe for making 2D games that can be deployed on numerous platforms
Anonymous
It's my first time using it and I thought if anyone had any links for some useful info on it, it'd be a great help
😁😁
Anyone who clears me the concept of pointera
😁😁
Pointers*
Renan
Anyone who clears me the concept of pointera
How much are you willing to pay? 🤔
Roxifλsz 🇱🇹
/warn not your personal army
Renan
So voracious
Nothing is an acceptable value. Just be honest. 🙂
😁😁
Lol
Bojan_Krdemn
Hi! Can anybody help? I have a class - Boggle it has an instance variable gameboard. I have a class BogglePlay which is for input ouptut to screen. In BogglePlay i need to access an instance variable gameboard, which is public and of type Grid (or matrix, whatever). I don't really understand how to access the variable. What did i do. I initialised a constructor Boggle boo (parameter 1, parameter 2);then i wrote this cout << boo.gameboard.toString2D
𝔸𝕞𝕚𝕣
/get cbook
𝔸𝕞𝕚𝕣
/get ide
Merazi
https://youtu.be/QMYfkOtYYlg
Merazi
https://youtu.be/QMYfkOtYYlg
This is amazing 😳