Ya deway
Ya deway
Thanks for help
klimi
klimi
But, in the end the user is one who runs it and therefore can alter it
Ya deway
Ya deway
Is online because Need a login from my server
Ya deway
Wow Is It possibile?
Ya deway
I will inform better, thanks for the help guys
Nomid Íkorni-Sciurus
Offline for a week
PS D:\SE\c++> cd "d:\SE\c++\" ; if ($?) { g++ tut4,cpp -o d:\SE\c++\tut4,cpp } ; if ($?) { .\d:\SE\c++\tut4,cpp }
At line:1 char:94
+ ... + tut4,cpp -o d:\SE\c++\tut4,cpp } ; if ($?) { .\d:\SE\c++\tut4,cpp }
+ ~
Missing argument in parameter list.
+ CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : MissingArgument
Offline for a week
can anybody help?
klimi
Seems like some powershell or somwthing
ʙʀʜᴏᴏᴍ ⑇
when I put a file in resource file ,does compiler use this file as a binary file??
Everytime I pick a project to do I fase the same problem that  I don't know where to start.
I Googling a lot and I found that a lot of website give me the source code directly... but I don't want to copy and past...
I want to write the project on my own
Any advice for situations like this!?
(Sorry about my google English)
a9ra ela rohek
a9ra ela rohek
:3
ʙʀʜᴏᴏᴍ ⑇
Do you mean to remake a easy project from web?!
Hussein
Hussein
Hussein
Hussein
Anonymous
can anybody help?
If only I could, I would help you to justify it, but your knowledge is too far for me to achieve.. you are great
Rajeev
Why we can't change any middle value of sets using pointers???
Error : assignment of read only allocation
_Rb_tree_constant
Rajeev
void testing_set(){
set <int> s={1,2,3,4,5};
auto my_iterator = s.begin();
*my_iterator = 8;
for (auto x: s){
cout <<x <<" ";
}
}
Rajeev
But how it worked for vector???
Rajeev
Just change set to vector and this code will run successfully
Rajeev
Vector uses continuous block of memory
But set Don't??
Is that a reason?
Rajeev
Nana
Hello
Nana
Pls how can I add logic to my google forms?
Pavel
Talula
Sina
Anyone can help me, I gotta send a picture to show my problem
Anonymous
send me
Sachin
#include <stdio.h>
int main()
{
char *a="abc";
a[0]='d';
printf("%s",a);
return 0;
}
Sachin
i think string literal cant be modified as they are store in read only
Sina
#include <iostream>
using namespace std;
void input(int[], int);
void bubble(int[], int);
void o(int[], int);
int main()
{
const int size = 5;
int arr[size];
input(arr, size);
bubble(arr, size);
o(arr, size);
return 0;
}
void input(int length, int arr[]) {
for (int i = 0; i < length; i++) {
cout << " adad shomare " << i + 1 << endl;
cin >> arr[i];
}
}
void bubble(int arr[], int length) {
int temp;
for (int i = length - 1; i > 0; i--) {
for (int j = 0; j < i; j++)
if (arr[j] > arr[j + 1]) {
temp = arr[j];
arr[j] = arr[j + 1];
arr[j + 1] = temp;
}
}
}
void o(int length, int arr[]) {
for (int i = 0; i < length; i++)
cout << arr[i] << "\t";
}
Sina
i wrote this and it says no issues found
Sina
but when i run it says unable to start program and the system cannot find the file specified
Sina
anyone know why?
klimi
Vikram
Hi
Sina
klimi
find *
well not sure about that, you are not opening any file
klimi
klimi
after i correct the argument position it compiles and runs just fine
Sina
Sina
klimi
with your code? you don't implement the
void input(int[], int);
void o(int[], int);
because you have in code
void input(int arr[], int length) {
and
void o(int arr[], int length) {
You are not doing any operations with file so I am not really sure where you are getting the error because you don't even specify any file
klimi
But I can’t run it
just fix the code, compile and run. There is no reason why it shouldn't work from what you have said.
Sina
Sajjad
Hi ✋
I have a solution for my answer, but this way I assume is worst practice :)
is there any way that I can create a class with variable size ? And enable or disable member variable of class ? Like in this code :
https://godbolt.org/z/csqdebc8s
/
Hi
/
#include <stdio.h>
int main()
{
int key = 43;
int len = 46;
char *s = "+Hogqi&fjbj![xcwrp1Cy{xo|ti[gCDRWMJHoIGNldp8-S";
int c = 0;
while ( c != len )
{
s[c++] ^= key;
}
printf( "%s", s );
}
/
why this doesnt output anything
Pavel
/
/
wait
/
i dont think it is the problem
/
Pavel
/
/
/
A.I.E
Hello friends, excuse me, I'm just a beginner trying to improve my level in programming and I'm trying to improve myself in the holidays Can someone tell me the order in which I should start improving myself Thank you
Pavel
after decrypting it
Ok, then something is off, maybe your initial not encoded string was empty and you encrypted some garbage in your buffer after that string?
Faramarz
Hello everyone. I have a confusion.
When we use double and float for the same number, Sometimes the results of calculations are different, for example:
float x = 91;
double y = 91;
printf("%f\n", x/5);//result = 18.200001
printf("%lf\n", y/5);//result = 18200000
Is it possible to tell me what the reason is?
Thank you so much
/
Дон
What is happening in code below?
enum Color : int { RED };
Color foo() {...}
I've never seen enum type in function name.