hi!im new in c++ i need help how to make a software that convert any number that the user will enter and convert it in any base that the user will enter. It will convert it and show the result.

Member Avatar
Member Avatar
+0 forum 6

Hello, this is my first post in this forum. I recently decided to try my hand at programming with python. I'm completely new to programming so I thought I should try some simple projects to reinforce what I've learned so far. I saw a post from 3 years ago on this forum about a unit converter that has to work with inches, feet, miles, millimeters, centimeters, meters, and kilometers, and thought it would be a good project to try. So far I've only written enough script to convert from inches to any of the units mentioned above. I've got the …

Member Avatar
Member Avatar
+0 forum 7

Alright, so I am building a Converter to convert ASCII to Binary and for some reason, the for each loop stops working when it hits a space, and I have no idea why. I'm probably just over thinking it. Extra: Can you tell me how to force the output binary to be 8 chars? So add 0's to the front until the length is 8. package com.github.geodox.asciitobinary.main; import java.util.Scanner; public class ASCIItoBinary { private static Scanner input = new Scanner(System.in); public static void main(String[] args) { getInput(); } private static void getInput() { String repChar; String inputString; log("Please Enter a …

Member Avatar
Member Avatar
+0 forum 14

Guys suggest me a good videos converter software which can convert any big sized videos to smaller size and without compromising quality Thank you

Member Avatar
Member Avatar
+0 forum 8

Hello all. I'm writing a program that converts from any cominbation of base 2, 8, 10, and 16. So far I have this code and I want to convert from hexadecimal to octal but it doesn't work. I would appreciate any help. Thank you! Here is the code: #include "stdafx.h" #include <iostream> #include <string> #include <cmath> #include <fstream> #include <iomanip> #include <bitset> #include <stdio.h> #include <conio.h> #include <stdlib.h> #include <limits> #include <sstream> #include <bitset> #define ULONG unsigned long #define FALSE 0 #define TRUE 1 #define BOOL int #define MAX 1000 using namespace std; void B2D(); void B2O(); void B2H(); void …

Member Avatar
Member Avatar
+0 forum 6

Hi! I want to make a CONVERTER. I designed it, so I just have to program some buttons. The problem that I have is weird. I programmed a button that says : CONVERT TO METER. After I build the program, I get ERROR C1075 : end of file found before the left brace '{', I don't know why. #pragma once #include "iostream" #include "cmath" using namespace System; using namespace System::ComponentModel; using namespace System::Collections; using namespace System::Windows::Forms; using namespace System::Data; using namespace System::Drawing; namespace My875346 { /// <summary> /// Summary for CMtoM /// /// WARNING: If you change the name of …

Member Avatar
Member Avatar
+0 forum 3

I am trying to write a program in Python that converts user input from English to Pig Latin ("Y" is not a vowel in this case, breaks off at first vowel and moves preceding consonants to the end). The end product of my program should be able to compute whole sentences, but right now im just trying to get it to do one word. This is what I currently have but whenever a string is inputted that does not begin with a vowel it goes through and performs the function for every instance of a vowel. For example: Enter a …

Member Avatar
Member Avatar
+0 forum 2

how to create a program about number system converter using c++

Member Avatar
Member Avatar
+0 forum 2

Hey guys! Ok, so my problem is that I'm trying to add something that says "num1 does not equal 'a number'" I want it to read any number I put it, but not anything that isn't a number. If I can figure this part out, it should loop where I want it to, and my code will be finally finished! Here is the specific part that I need help. Thanks so much! do { System.out.print ("Type the number of degrees.\nThen, press enter.\n->"); num1=Keyboard.readDouble(); } while(num1!=???????????????????????????????????????????????????????????);

Member Avatar
Member Avatar
+0 forum 20

I'm having problems with a Toshiba Satellite A305-S. The AC converter that is 19v/3.95A doesn't even bring the charging light on. I have tried a Toshiba 19v/3.42A converter. It brings on the charging light, momentarily tries to bring the hard drive on and runs the fan. The monitor stays black the whole time. Is it possible that this second converter doesn't have enough juice to bring the monitor on? I'm trying to decide whether to buy a replacement converter and battery for this computer or that's a waste of money. I've checked the hard drive by pulling it and attaching …

Member Avatar
Member Avatar
+0 forum 2

Why convert <a href="http://www.league-soft.com/how-to/convert-avi-to-mp4-mac.html"> AVI to MP4</a> on Mac?"I want to edit AVI in iMovie, but I found that iMovie dosen't work well with the AVI video, what should I do?" "I imported some AVI videos to my iPod and found that iPod dosen't support AVI video, which program can help me change AVI to MP4?" "Several converters I found online convert AVI videos to MP4 are in low quality. Is that any video converter that can convert with high quality?" AVI, short for Audio Video Interleave, can be get from downloaded online or shared by friends. AVI is a …

Member Avatar
Member Avatar
+0 forum 1

hi. so i need help in understanding this program. its a hindu arabic - roman numeral converter. i got it from some site. i cant seem to understand how the whole process goes. Const sMatrix As String = "I~V~X~L~C~D~M" Private Function toroman(ByVal sDecNum As String) As String Text1.Text = sDecNum If sDecNum <> "0" And sDecNum <> vbNullString Then If Len(sDecNum) > 3 Then text2.Text = String(Mid(sDecNum, 1, Len(sDecNum) - 3), "M") If Len(sDecNum) > 2 Then text2.Text = text2.Text & GiveLetters(Mid(sDecNum, Len(sDecNum) - 2, 1), 4) If Len(sDecNum) > 1 Then text2.Text = text2.Text & GiveLetters(Mid(sDecNum, Len(sDecNum) - 1, …

Member Avatar
Member Avatar
+0 forum 5

soooo. i saw a working code for a hindu arabic - roman numeral converter. the thing is. i need to fully understand the code. so i need someone who could explain the code clearly to me. line by line as for me to fully understand the program. newbie here. you can add comments or just post a reply. thaanks. Const sMatrix As String = "I~V~X~L~C~D~M" Private Function toroman(ByVal sDecNum As String) As String Text1.Text = sDecNum If sDecNum <> "0" And sDecNum <> vbNullString Then If Len(sDecNum) > 3 Then text2.Text = String(Mid(sDecNum, 1, Len(sDecNum) - 3), "M") If Len(sDecNum) …

Member Avatar
Member Avatar
+0 forum 2

I'm just an average joe trying to convert my DVD movies into a smaller single file to store and watch on my HTPC. I have Win 7 on it and like to use WMC to pull up and watch my movies. My delima is that I've tried several different converters and it seems the video quality is poor compared to leaving it in a vob file format. I've downloaded video on line that has been converted to other formats as well as greatly reduced in size that is still good quality. I don't expect great quality after a huge reduction …

Member Avatar
Member Avatar
+0 forum 3

Hi guys! I was wondering if there is any software that allows me to use multiple computers simultaneously to convert video files into other formats (like network rendering). So I install the server on 1 computer and a helper on the other computer, connect them to a wired or wireless network and hit convert and the two computers work together on converting the file, say from .avi to .mp4 . Thanks

Member Avatar
Member Avatar
+0 forum 5

Hello Dani Web Forum, I'm really new to C. I have an assignment, which I think it's very hard to solve. I have to create a Currency Converter Program that reads data from txt files. The program should also be able to read arguments (argv[]). I'm really confused since it's just a plain text. How can I read it as a database in C? The data, which on the "currency.txt" saved with: [CODE] typedef struct{ char date[11]; char curr[10]; double buying; double selling; }CURRENCY; [/CODE] contains: -------------------------------------------------- DATE | currency | buying rate | selling rate *not stated in "currency.txt" …

Member Avatar
Member Avatar
+0 forum 7

i'm a total beginner and don't know how to do this: MYBANK ATM MENU FORMAT: You will be submitting the C++ code as a CPP file. The source code file should use self documenting code and additional comments (as required) to improve code readability. The source code file must contain a file header. The completed Assignment must be submitted via Blackboard. No e-mails please. Document name must be : lastName_Assignment_4 Your code must be saved as C++ file. The source code file must contain a file header formatted as specified below. The header information must be complete and accurate. FILE …

Member Avatar
Member Avatar
+0 forum 1

please help me po..i'm searching over the internet t for a long time but i can't search how to convert pdf file into microsoft word... i just need it for my project...please save me to pass my project. any help is appreciated. thankyou very much :)

Member Avatar
Member Avatar
+0 forum 1

main.c [CODE]#include "stack.h" #include "stack_interface.h" #include "lex.h" #include <stdio.h> #include <stdlib.h> #define PUSH(s,c) if(push_char(s,c) == ERROR){ printf("Fatal error in pushing symbol on stack.\n") ; exit(1) ; } #define POP(s,c) if(pop_char(s,c) == ERROR){ printf("Fatal error in poping symbol off stack.\n") ; exit(1) ; } #define TOP(s,c) if(top_char(s,c) == ERROR){ printf("Fatal error in top operation.\n") ; exit(1) ; } int stackprec(stack *p_S) ; int inputprec(char c ) ; void skiptoeol() ; void clearstack(stack *p_S) ; main( int argc , char *argv[]){ stack S ; tokendata *p_token ; char stacksymbol ; bool eofreached = FALSE ; init_stack(&S) ; PUSH(&S , BOTTOMMARKER) ; do{ …

Member Avatar
Member Avatar
+0 forum 7

PLease can someone help? I need to create a program that reads a list of units and names "eg ounce,gram,28" then asks for a user input, and then converts and displays the result. So far all i have been able to do is get it to read the first line, but nothing else. using System; using System.Collections.Generic; using System.IO; using System.Text; namespace Soft140AssPt3V2 { class Program { static void Main(string[] args) { Main: string line, Start, Finish, j, l; double Factor, Output, Amount; string[] SplitData = new string [2]; StreamReader Units = new StreamReader("../../convert.txt"); while ((line = Units.ReadLine()) != null) …

Member Avatar
Member Avatar
+0 forum 12

source base = 2 value = 1001 (9 in base 10) target base = 10 new representation = 9 source base = 16 value = 1FA (4346 in base 10) target base = 8 new representation = 10372E

Member Avatar
Member Avatar
+0 forum 1

So i have a video that i want to convert, so my PS3 can read it. It is an mp4 that i wish to convert for the PS3, so a possible output would be to an avi or divx file. However some of the converters i have tried take up to an hour just to convert 20% of the video! So my question is what is the [B]fastest free[/B] video converter? Additional info - File size 151mb File Format - mp4 Preferred output - PS3 (avi?) The file may be HD, and i am looking to change the resolution to …

Member Avatar
Member Avatar
+0 forum 6

Hey guys, I've been lurking around these forums for a few weeks now, and this website is by far the most helpful of any site I've visited as far as honing my newfound Python skills, and I figured it's time I jump in and ask some of the more specific questions that have been plaguing me. So here goes. I'm working on my first non-school-assigned program, just a simple unit converter, and I'm having some trouble with the raw_input() method. If I code it like the following code block, everything works fine: [code=python] def distanceConverter(dfrom, funit, dto, tunit): print dfrom …

Member Avatar
Member Avatar
+0 forum 6

Hi, I am looking to find 3 and 5 digit characters convert into hex byte or word. For example 69 string represents 69 decimal and 45 hex. Then '6' = 36h and '9'= 39h. 43690 = AAAA example. I need done it in Freescale (motorola) assembly for my communication machine with human online.

Member Avatar
+0 forum 0

0 down vote favorite hi, I had a problem with adding reference in my C application. I am unable to add linker reference to "libiconv" in my data compresser project.I have download "libiconv" library but confuse in adding reference which show error in compiling.I'm using Dev C++ for developing my compression apps. here is the compile log: [CODE]Executing make... make.exe -f "C:\Dev-Cpp\Examples\eottest\Makefile.win" all gcc.exe eot.o libeot.o properties.o -o "Project1.exe" -L"C:/Dev-Cpp/lib" libeot.o(.text+0x19):libeot.c: undefined reference to `libiconv_open' libeot.o(.text+0x36):libeot.c: undefined reference to `libiconv_close' libeot.o(.text+0x67):libeot.c: undefined reference to `libiconv' collect2: ld returned 1 exit status`[/CODE] i have downloaded 'libiconv' library from ftp.gnu.org/gnu/libiconv/libiconv-1.13.1.tar.gz ......after extracting …

Member Avatar
Member Avatar
+0 forum 1

Hey, i want to convert my hd mkv file so it is compatible on my ps3, and i was wondering if there are any free software that can do this as well as make a custom 'dvd menu' of some sort, to which i can add a background and music. The file is quite large, about 2.7gb, and weirdly, some software i have tried dont accept the file! For example one software claimed i haid an '&' in the file name, or some unusable character, so i changed the name to 's' and it still didn't work! Can anyone suggest …

Member Avatar
+0 forum 0

I recently bought a new tv for my upstairs room and replaced my old projector/CRT TV. I still wish to use my old speakers on my new tv, but there are no ports on the back of my new tv that would allow me to connect the speakers. Below are some images which show what kind of connection the speakers use on my old TV, as i dont know the actual name for the port. My question is, are there any types of 'converters' that i can use to plug the speakers into my new hdtv? Anything similar to how …

Member Avatar
Member Avatar
+0 forum 4

Here is a free excel to tab file convertor. Feel free to use for whatever purpose you want. There is no need for excel to be installed on the host pc. Assumes the user is on a windows platform. Extract all three files into one folder and run the main exe run.exe. This will read the file 'test.xls' and create a tab file called 'three.txt.' Enjoy.

Member Avatar
Member Avatar
+0 forum 1

I got this to run but it will not display the final result. It ask for C or F then the temp degree but will not display the conversion. The process just completes. Any ideas? I am new here.... Thanks My project::-/ [CODE]import javax.swing.JOptionPane; public class Assign8_Cheshire { public static void main(String[] args) { double result; String degree; int input; degree = JOptionPane.showInputDialog("Enter: \n C - Fahrenheit to Celsius\n F - Celsius to Fahrenheit"); input = new Integer(JOptionPane.showInputDialog("Enter the degree: ")).intValue(); if(degree == "C" || degree == "c") { result = 5.0/9.0 * (input - 32); JOptionPane.showMessageDialog(null," Fahrenheit is " …

Member Avatar
Member Avatar
+0 forum 6

InMethod has come out with a utility that if properly handled, could be the future of personal media. Right now, there are still some things they could do better, but their current iPhone/iPad apps allow you to play any number of media formats on a device that would otherwise be limited to a very specific few. On top of that, it allows you to stream files from a centralized location, such as a media center PC, on to your mobile device. [ATTACH]15239[/ATTACH] [B]Validation[/B] In testing this software, we deployed the OS X, Windows 7 and Linux (which is still in …

Member Avatar
+0 forum 0

The End.