Anonymous
Diypa
error: ‘string’ does not name a type; did you mean ‘stdin’?
string getText()
Diypa
Char is working, but I want to use it for a string long text
Diypa
Have included, #include <string>
Anonymous
Namespace as well?
klimi
https://stackoverflow.com/questions/16621084/how-to-return-a-string-from-a-c-function
seems like it should be possible
Diypa
Yes, namespace is included
Diypa
Thank you Klimi. I try it...
Anonymous
Yes, namespace is included
actually you know , instead of guessing one by one , why not share the whole code ? if too long , pls use online pasting services
Diypa
Thank you
Diypa
It works now. 👍👍 Thank you
Emrehan
i need to scan array number from user in main funtion and i need to send my another function this number with structure pointer how can i do that
HaiNahi
Anonymous
int g(vector<int> vi);
void f(vector<int>&& vi) {
g(move(vi));
}
Why the destructor of vector is called after "g" call? Thank you.
Anonymous
Proof
https://godbolt.org/z/6z1Px5s1a
Anonymous
Alberto
Can someone tell me why this C code gives me the error: "Redefinition of 'fpin' with a different type: 'int' vs 'FILE *' (aka 'struct _iobuf *')"?
Code:
#include <stdio.h>
#define INPUT "Input.txt"
int k=0, x0;
FILE *fpin;
fpin = fopen(INPUT, "r");
Anonymous
Anonymous
Anonymous
Nice
Does the construction and destruction of the arguments happen in the caller function? I thought it is destructed in the called function.
Sandeep
Anonymous
Sandeep
Yes
Sandeep
But when there is a mismatch..why Len =LPS[len-1]
Anonymous
That is exactly the reason why that line is used.
Sandeep
کیا
سلام
کیا
دوتا تمرین دارم دوستان میخاستم انجام بدم کسی هست کمکم کنه
کیا
🙏🙏🙏🙏😢
کیا
خواهشا
کیا
PLEASE
artemetra 🇺🇦
کیا
کیا
I have two exercises, friends, I wanted to do it, is there anyone to help me?
Carel
is it C or C++?
کیا
C++
HaiNahi
Any artists here
Carel
yes
HaiNahi
I am a programmer, want to make a video game
کیا
Write a program that displays a menu similar to the one below
1- Record the score
2- Delete the score
3- Sum of total scores
4- The lowest score
5- The highest score
6- Exit
Use an array for this program so that the user can enter student grades. By scoring, a score will be received from the user and stored in the last empty cell of the array. Click the delete button to get a number from the user, and if that number from the array contains a score, that score will be removed from the presentation. By tapping option 3, the menu will display the total scores that the user has entered so far. By tapping option number 4, the lowest score ever entered and by tapping option 5, the highest score entered so far will be displayed. Also exit the program by pressing option 6.
Carel
C++
nah, I didn't reach that
Carel
کیا
کیا
MR SANCHEZ
artemetra 🇺🇦
HaiNahi
Dont use gui frameworks, go for SDL
HaiNahi
:)
Carel
HaiNahi
Carel
yep
Carel
check my insta: carel_dfx
HaiNahi
yep
You know to make 3d mesh in blender?
کیا
کیا
1- Record the score
2- Delete the score
3- Sum of total scores
4- The lowest score
5- The highest score
6- Exit
HaiNahi
artemetra 🇺🇦
artemetra 🇺🇦
because, from the description there are buttons and clicking so it's probably a gui
کیا
artemetra 🇺🇦
کیا
Use an array so that the user can enter student grades. By registering a score, a score is received from the user and stored in the last empty cell of the array. Click on the delete button to get a number from the user and if that number from the array contains a score, that score will be deleted from the presentation.
کیا
🤨🤨🤨
class Person(Skills): name = str("Ankush Bhagat")
#india
HaiNahi
Any artists here
HaiNahi
I am a programmer, want to make a video game
class Person(Skills): name = str("Ankush Bhagat")
Android or What ?
Anonymous
Hello guys pls help me out
Anonymous
Pls I'm having a problem, I created an app with kivy using python when I run it on my pc it works but when I run it on my android phone it force stop then I checked the problem on Android studio it show me I was having an error "NoModuleFound 'request' " then I fixed the error but when I opened the app again on my android phone it still force closed again then I checked the problem on my android studio it wasn't showing me any error.
Pls help me, what can I do?
Anonymous
Pls help me I've been on this for 3 days now
Anonymous
Pls help
Anonymous
.
klimi
i don't see how is this related to c nor c++... could you clarify?
klimi
Anonymous
.
klimi
syazwanie suhaini
is there any octave group