convertion from utf8 to u32 and vice versa. Programming Software Development by arunkumars … c++ code, i did find ,there was utf8 and unicode convertion happening while writing on to file, then now i could… Constructor and Convertion operator are the same,how to avoid memory leak? Programming Software Development by the_one2003a …Function int & cCat::GetAge() const{ return *itsAge;} //Convertion operator cCat(int); // cCat object =int x private: int … { itsAge = new int; *itsAge= 20; } cCat::~cCat() { } //Convertion Operator cCat::cCat(int Age) { itsAge= new int; *itsAge=Age… give sample of formula convertion in c++ Programming Software Development by marvz [B] plz give me more sample of formula convertion in c++ ex. x=ab3 sqerut of c a <<<<like dis......how to convert in C++ plzz give me more exmple.... im a first yr.....I.T student and i want 2 learn more......more power 2 dis site[/B][ICODE][TEX][/TEX][/ICODE] Re: give sample of formula convertion in c++ Programming Software Development by marvz [B]bro can you give me example of convertion formula.........[/B] how da code......convert in c++ dis is my ym id >> <snip> <<<<can you pm me....plz bro [url=http://img518.imageshack.us/my.php?image=wwwwwwku8.png][img=http://img518.imageshack.us/img518/3046/wwwwwwku8.th.png][/url] Re: give sample of formula convertion in c++ Programming Software Development by marvz sorry my english is bad................... bro zandiago.........this is my example of convertion ...... 3 __ x=ab \lc ____________ .......... 2 ........ d ans: x=(a*pow(b,3)+SQRT(c)) / POW (d,2) bro that my sample.....convert in c++ can you give me more example of this EAN13 convertion project Programming Software Development by Dilbert137 Dear All, I'm starting a new project on the convertion of client code to ean13 code. Could you please help me to find some documentations on java langage programming on this conversion. Best Regards Dilbert137 Re: convertion from utf8 to u32 and vice versa. Programming Software Development by gusano79 You can use the [URL="http://msdn.microsoft.com/en-us/library/system.text.utf8encoding.aspx"]UTF8Encoding[/URL] and [URL="http://msdn.microsoft.com/en-us/library/system.text.utf32encoding.aspx"]UTF32Encoding[/URL] classes to encode and decode text. Re: convertion from utf8 to u32 and vice versa. Programming Software Development by mcriscolo You're almost there... [CODE]byte[] fileStream = File.ReadAllBytes(Path); string first = Encoding.UTF8.GetString(fileStream, 0, 70);[/CODE] convertion.. Programming Databases by spongebabelhyne is it possible to convert system made from php with a database of mysql to ms sql database..? how? thaks Re: convertion.. Programming Databases by dickersonka not necessarily like you are wanting i doubt you can create a linked server from mssql and do it [url]http://www.microsoft.com/technet/prodtechnol/sql/2000/deploy/mysql.mspx[/url] its a link for 2000, but should still work Re: convertion.. Programming Databases by canonzone Why do you change the database ? Re: convertion.. Programming Databases by dickersonka a lot of times you would change the database type if you are moving to a windows system for hosting among many other reasons Convertion Programming Software Development by Shenilcar Please give me the codes or format of conversion in visual basic 1.) inches - centimeter - kilometers 2.) Fahrenheit - Celsius - kelvin 3.) currency Pls mail me at [email]Sheena_etianne10@yahoo.com.ph[/email] tnx a lot Re: Convertion Programming Software Development by vb5prgrmr There is no format unless you want to enforce one... Conversion function or formulas can be looked up with your frinds (yahoo/google), after all it is just simple math. If you have a colledge dictionary, you might be able to find the formulas in one of the appendixes. As for currency, you will need to find a web site that has the values based… Re: Convertion Programming Software Development by abu taher I made a unit converter. there I input all value by code and then it works. as like vb5prgrmr said. Re: Convertion Programming Software Development by omoridi you can ScaleX or ScaleY [code=vb6] me.ScaleX(11,vbInches,vbCentimeters ) [/code] Convertion Programming Software Development by jr.sayre3 Please help me my teacher gave me a program and I don't know how to do it. So this the program the she gave me. "Conversion from any Base to Base 10". Please help me :( Re: Convertion Programming Software Development by Moschops Do you know how to do this on paper? Do you understand what is meant by a number being in a base other than base 10? Re: Convertion Programming Software Development by jr.sayre3 Yeah I know this on paper. But making a program with it I can't. And my teacher said it should be in array. Re: Convertion Programming Software Development by jwenting learning to do it in code is what you're taking those classes for. So go ahead and try... If you just wait for others to do it for you and hand in what they have done as your own you've learned nothing except how to be a dishonest, cheating, lazy, profiteering, liar. Re: Convertion Programming Software Development by jr.sayre3 Heres's my program and I don't if this right or wrong. And plus I need this to be in array. #include<iostream.h> #include<conio.h> int convert(int a,int base) { int sum=a%10; for(int i=base;(a/=10)!=0;i*=base) sum+=a*i; return sum; } int main() { int a,base,ans;… Re: Convertion Programming Software Development by Lucaci Andrew Here, this should pretty much clear everything uncertain about converting any number to base 10: [Click Here](http://mathbits.com/MathBits/CompSci/Introduction/tobase10.htm) Also, your function is wrong, don't rush through steps, it will get you confused: #include <cmath> int ToBase10(int number, int base){ int ret = 0;… Convertion Programming Software Development by john.kane.100483 Hi really need help. I'm new to programming and my teacher just gave a problem program "Conversion from any base to base 10" . So search in google and find this source code. I just combined the source code. This will run if it not combines. But I want this to be combined properly and I need this to be in character array and in for loop. … Re: Convertion Programming Software Development by phorce You have just copied the code from somewhere in a hope that it will work? This is a very bad way to solve a problem, and, this has obviously been shown here. From what I can see, skim reading of the code, you seem to have a mixture of C and C++ in here. Not great, but, also not the end of the world, providing you handle this correctly.. What I … Re: Convertion Programming Software Development by David W > Conversion from any base to base 10 Is that what your example tries to do? No! You may glean some ideas there ... though? If you are to code it in C++ ... best to start to do that. Get a working shell that takes (some) input and gives the expected output. Then work in steps from there. Perhaps ... code a decimal to binary… Re: Convertion Programming Software Development by john.kane.100483 I already did that. And it did not work. Re: Convertion Programming Software Development by David W Please show your working C++ code shell ... that takes in a valid C++ string and ... Below is some working C++ demo code that inputs a C++ string and outouts each char ... this is just to demo a 'working shell' ... to get you started coding with C++ string. // stringsCppTest2.cpp // // http://developers-heaven.net/forum/index… Re: Convertion Programming Software Development by john.kane.100483 What is C++ code shell? Re: Convertion Programming Software Development by john.kane.100483 Ok this is the first conversion I did and it is not functioning. #include<stdio.h> #include<math.h> #include<string.h> int main() { int n; char c; printf("Instruction:\n"); printf("1. Enter alphabet 'd' to convert binary to decimal. \n"); printf("2. Enter alphabet '… Re: Convertion Programming Software Development by David W A working code 'shell' is just a starting sequence of code that compiles and gives the exact expected output for all accepted input ... You are still coding in C ... What does 'not functioning' mean? Does your code compile? Does your code give any output? If so, what part(s) of output are problematic? I thought you wanted to code in C++ …