- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
12 Posted Topics
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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, … | |
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) | |
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 … |
The End.