Hi! I have just started on c++ and have encountered Expression: (unsigned)(c+1) <=256 Error when I am trying to run the program. The program is suppose to generate an array of letters (lowercase and uppercase) of size from 15 to 25. After the generation, using ONLY one while-loop, try to move all lowercase letters to the left of the array and all the uppercase letters to the right of the array. It have to contain the following criterias (a) A function to construct the array (b) A function to print out the array elements (c) A function to swap two …

Member Avatar
Member Avatar
+0 forum 4

I seem to be having difficulty with my code, I have tried many different ways but I can't seem to figure out how to implement some things. I'm also not sure how to setup my menu so only certain functions are called. 1. Adding a if statement under ShowMenu to check to see if the string word is lowercase or uppercase. Also Is there a better method that allows spacing different string method? 2. Couning Uppercase and Lowercase 3. Converting from Uppercase to Lowercase and vice versa I just can't seem to find out how to check to see my …

Member Avatar
Member Avatar
+0 forum 6

hello everyone I really need help so I have to make functions that find vowels, digits and uppercase and lowercase letters from a sentence inputted. So i was able to do it all in main but i cant seem to make the new program work with the functions properly, it says on the compiler that it has no errors but ones i debug it, it shoes the wrong answers. would really appreciate the help. this is what i have so far with the functions #include <iostream> #include <cctype> #include <string> #include <iomanip> #include <algorithm> using namespace std; int findUpper(char ch); …

Member Avatar
Member Avatar
+0 forum 2

this is a little bit confusing, but can I know what does each part of this codes means.. especially those ptr, something. i understand those mov.. but the others aren't. i have googled a lot, but still can't understand.. what i know: the basic structure of tasm(.stack, .data, .code, and the start thingy, end thingy) what i don't know, ptr, ja, byte et. all. can you atleast explain me what these things does... thank you very much.. [CODE].model small .stack 100h .data string db '123 test TEsting$' .code start: mov ax, @data mov ds, ax upper_case: cmp byte ptr [BX], …

Member Avatar
Member Avatar
+0 forum 5

Hello i want to the textbox that when I start to type in names it should be like this [B]Camille Aisha Cordova[/B] How do I do this?

Member Avatar
Member Avatar
+0 forum 16

just asking for assistance with the menu items as they are set to uppercase M, R, C, X in the case statements how can this be modified to accept 'm' or 'M' as valid input. [CODE] using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; namespace PracticalTest5 { class Program { public static void Main(string[] args) { { const int MIN_YEAR = 1888; const int MAX_YEAR = 2011; const int MIN_RATING = 0; const int MAX_RATING = 5; const float ACTING_PERCENTAGE = 0.25F; const float MUSIC_PERCENTAGE = 0.15F; const float CINEMATOGRAPHY_PERCENTAGE = 0.20F; const float PLOT_PERCENTAGE = 0.30F; const …

Member Avatar
Member Avatar
+0 forum 11

It counts upper lower and digits in a file ..

Member Avatar
Member Avatar
+0 forum 5

The End.