Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
0 Endorsements
~5K People Reached
Favorite Forums
Favorite Tags
c++ x 14
Member Avatar for isralruval

how would i write a function that parses a hex number as a string into a decimal integer. I have the following done i just need help finishing it. any help will be appreciated[code]#include <iostream> #include <string> using namespace std; int parseHex(const string &hexString) int main() { cout << "Enter …

Member Avatar for sheetal Phapale
0
4K
Member Avatar for isralruval

i have the following function which works, its encrypts a text file, well its suppose to shift the letters of a text file by whatever the user wants, lets say the text file says "zoo" if the user wants to shift the letters by 1 to the right the output …

Member Avatar for NathanOliver
0
82
Member Avatar for isralruval

i have the following function which works, its encrypts a text file, well its suppose to shift the letters of a text file by whatever the user wants, lets say the text file says "zoo" if the user wants to shift the letters by 1 to the right the output …

0
68
Member Avatar for isralruval

i have the following code which works, well its suppose to shift the letters of a text file by whatever the user wants, lets say the text file says "hi" if the user wants to shift the letters by 1 to the right it will become "ij" ok but the …

Member Avatar for Salem
0
125
Member Avatar for isralruval

i know the following function is not correct, but its suppose to read a text file(which containts the words "hello all") and pass it to a Vector called V1 and then encrypt it and pass the encryption to a second vector called V2 and finally output the result into a …

Member Avatar for VernonDozier
0
67
Member Avatar for isralruval

im having trouble with my program. it reads the student id, and both grades from a file and then a function its suppose to calculate the average of both grades and then pass the results to the main program using pass by reference. And for some reason my average its …

Member Avatar for jonsca
0
102
Member Avatar for isralruval

This code you are asked to input a number and it will tell u wheter or not the input you entered is in the array or not i am having issues with this code and its giving me some errors, if anyone wants to help me out it will be …

Member Avatar for jonsca
0
112
Member Avatar for isralruval

im having a difficult time figuring out my last two functions. first one which is the int divelement(int a[], int size); this function is suppose to find and print the elements of my array that are only divisible by 5, so the answer will be like 10,15,90, and 95. i …

Member Avatar for mrnutty
0
99
Member Avatar for isralruval

ok, so i have a simple code below but i need an array function that calculates which elements are divisible by 5 and then its passes the results to the main function and outputs them, any help with code on how to do it will be appreciated? basically the above …

Member Avatar for WaltP
0
85
Member Avatar for isralruval

File Edit Options Buffers Tools C++ Help [CODE]#include <iostream> #include <cmath> using namespace std; void printArray(const int a[], int size); void reverse(const int a[], int aReverse[], int size); int average(const int a[], int size); int main() { int size = 10; int a[] = {10, 15, 27, 89, 90, 95, …

Member Avatar for #define
-1
107
Member Avatar for isralruval

how would i write a function that parses a hex number as a string into a decimal integer? the following header should be: int parseHex(const string &hexString)

Member Avatar for donaldw
0
537
Member Avatar for isralruval

when i compile i get an error message saying the following "51: error: assignment of read-only location" line 51 reads: c[i][j] = a[i][j] + b[i][j]; any help to get rid of this problem???[code]#include <iostream> #include <iomanip> using namespace std; #define N 3 void addMatrix(const double a[][N], const double b[][N], const …

Member Avatar for Xasmus
0
180