41 Topics

Member Avatar for
Member Avatar for CoopOwnz

hey all, I'm writing a C++ console app that converts all the letters of a string to an ALT+NUM equivalent. e.g. e might convert to é (or ALT+1154) My problem is only with those ALT+NUM combos that have to start with a 0 For example with letter 'd' the only …

Member Avatar for Banfa
0
131
Member Avatar for fire_

Hello. I'm writing codeing progam. It reads from file using fstream and then converts simbols to ascii, changes ascii, converts ascii to symbols and writes them to file. I tried to code .txt file with it. It worked perfect. But then i tried to convert .bmp file and then i …

Member Avatar for fire_
0
140
Member Avatar for dansnyderECE

I need to convert an ASCII string like... "hello2" into it's decimal and or hexadecimal representation (a numeric form, the specific kind is irrelevant). So, "hello" would be : 68 65 6c 6c 6f 32 in HEX. How do I do this in C++ without just using a giant if …

Member Avatar for vijayan121
0
218
Member Avatar for technocratic

Hello, I'm having a little trouble learning some python and I'd appreciate a little direction. One of the exercises in my books says to create a string list [CODE]list = ["a","b","c","d"][/CODE] Convert each character in the list to it's ascii equivalent and then populate that information into a new list. …

Member Avatar for TrustyTony
0
3K
Member Avatar for DelilahDemented

I'm working on a problem where I am trying to validate the user input to verify only digits have been used. I'm trying to use the ASCII code to do so, but I'm stuck. I would greatly appreciate any help that can be provided. Thank you in advance!!! *Delilah* [CODE]#include …

Member Avatar for Taywin
0
2K
Member Avatar for maryam ahmad

this is a program to change the case of all letters input by the user to small. im getting the right output with this coding. the problem is that its giving some staircase type structure as the output as well. HOW DO I GET RID OF THIS EXTRA STUFF? [code] …

Member Avatar for maryam ahmad
-1
141
Member Avatar for wish4129

Hi guys, i would like to ask is there anyway to read a txt file with UTF-8 encoding using streamreader or filestream. the txt file is contain some extended ASCII that makes me cannot read the characters properly. I hav tried Encoding.ASCII.GetString(Encoding.UTF8.GetBytes()) but still it return wrong character when it's …

Member Avatar for biopaul
0
112
Member Avatar for sana zafar

Hi all, I just started programming.Can anyone please help me how to remove the non-printable characters of ascii from my code..I will really appreciate it. [CODE] #include <iostream> using namespace std; int main() { int num; cout<<" ASCII CODES\n -----------"<<endl; num = 32; while(num<=252){ cout<<endl<<char(num)<<" : "<<int(num); num++; } cout<<endl; …

Member Avatar for biopaul
0
167
Member Avatar for pistol-pete

This is a conceptual question to help with a program I am developing. It takes two lists from a file and compares them in parallel to see if they are anagrams. My question is how do I store these strings in a one dimensional array mapped to ASCII codes. I …

Member Avatar for jonsca
0
192
Member Avatar for rahul8590

I got this silly problem and honestly dunno why it isnt working . The scenario is i got a text file with information and i got to print the ASCII equivalent of the text into the screen . While attempting to do so , i am getting the binary equivalent …

Member Avatar for nezachem
0
192
Member Avatar for hotmatrixx

Exactly as the title says. [URL="http://www.kammerl.de/ascii/AsciiStereoMovie.php"]ASCII 3D Magic Eye movie[/URL] You can customise the image, colours, and its' movement any way you like further down the page. Also, as an added bonus, Star Wars [URL="http://www.asciimation.co.nz/#"]HAND DRAWN STAR WARS: ASCII MOVIE.[/URL] This deserves credit purely because of the skill and time …

0
151

The End.