0
I have an error in my code can you help me to solve it !
21 Answers
0
#include<iostream>
#include<fstream>
#include<string>
#include<stdio.h>
#include<stdlib.h>
using namespace std;
int main(int argc, char *Argv[])
{
string a=Argv[1];
string op=Argv[2];
string key=Argv[3];
if(a="1"){
if(op="e")
.
.
.
0
there is an error in if(a="1")
0
thank you so much 😅
0
I have another error ,,
string namefile=file name + ".sh512";
ifstream infile;
strstream<<infile.rdbuf();
string str=strstream.str();
infile.open(namefile);
the error in the last line
0
infile.open(namefile);
0
no matching function for call to 'std::basic_ifstream<char>::open(std::string&)'
infile.open(namefile);
0
thank you
0
I have a problem in my code.
but here I can't post a picture 😭
0
here we can't post images !
0
do u want me to post the code ?
0
oohhh thank you so much ,, I appreciate that wallah
0
I need to write a program that implements encrypting/decrypting a small file using RSA to achieve confidentiality using openssl package !
and signing/verifying a file after hashing it using SHA-512 (using openssl package)
0
ok
0
Nooooo😭 it gives me errors
0
not errors , it gives me the screen that I captured to you!
when I compile it
I wrote Gcc sec.cpp -o sec2.cpp
0
I compile it on linux
0
gcc
0
hmm I don't know 😭
did u know how to solve it !
it didn't give me error it gives me the screen that I captured to you!