194 Topics
|
|
Okay, so I have created and array of a maximum degree, which the user defines, and then inputs their own coefficients according to the size of the polynomial. For example, I ask for degree, they type 2, and then input 1,3 and 5 to create a polynomial: 1 + 3x … |
|
Hello, i need help to convert any 1, 2, or 3 digit number into words using string/array method in C++. For example, 111 should read one hundred and eleven, 011 should read eleven, 001 should read one. I would much appreciate it if you could help me solve this problem. … |
|
I need help with converting standard time to military time through a button. Then being able to use another button to convert back. |
|
Hello. I was wondering if there was a way to use python to convert a video to flash and add controls online. Like youtube, a user uploads a video and it gets converted and controls get added. I have looked online and everyone says "Use this extension blah blah blah" … |
|
[CODE]/* Name: Copyright: Author: Date: 14/09/10 21:17 Description: */ #include<iostream> #include<istream> #include<ostream> #include<string> int c_f_fraction(); int c_f_decimal(); int c_f_percent(); int convert_to(); int convert(); int help(); std::string convert_code(""); float c_f_fraction_1(0); float c_f_fraction_2(0); float c_f_result(0); float c_f_decimal_1(0); float c_f_percent_1(0); int help_code(0); int main() { std::cout << "\nWhich would you like to convert, … |
|
Hi all, I'm having some problem with my codes. I have a output that is generated into a txt file. Now, I need to read the txt file and convert the output into something else. This is the output that is store in a txt file: VAL LEU SER PRO … |
|
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 … |
|
I am very new to development and have been sinking my teeth into C#. I have an application that was written in C++ which is out of my depth, and I was wondering if someone could explain how I would recreate this in c#. The application sends message to linux … |
|
Hi, I have a problem with my codes now. I've actually extracted the column of information that I need from a text file. However, now I need to convert the output of the file to something that I specify, but I don't know how to do it. It is actually … |
|
I have an assignment that requires me to not use an array with [] at all throughout my code, read a file in a certain way, and I need a better understanding with malloc as well with pointers. The code with the [] is pretty easy for me, but pointers … |
|
I have a Python command line program I am attempting to convert into a GUI. Before I bury myself in code does anyone have some advice on this process? Is there a method to simply make everything in the CLI program show up in a tkinter frame? For inputs I … |
|
Our teacher have asked us to make a program in C language to read the difference between two cities in km, m, cm, inches and feets... I have tried every hell to make this work... I am not able to combine it all together... please help!!! I am so confused. … |
|
Hi everybody! I'm a newbie to C++ and I need some help to improve my skills in c++. *When you make input data "cafe monde" into a string variable, the variable only accept "cafe" and not the white space and "monde". What should I do to retrieve white spacem "monde" … |
|
Hello! I would appreciate if someone could convert this code from VB6 to VB.net. [CODE]Option Explicit Private Declare Function GetWindowThreadProcessId Lib "user32" (ByVal hWnd As Long, lpdwProcessId As Long) As Long Private Declare Function OpenProcess Lib "kernel32" (ByVal dwDesiredAccess As Long, ByVal bInheritHandle As Long, ByVal dwProcessId As Long) As … |
|
|
A question has been knocking my mind today,is it possible to convert a executable file back to its source code in c++?? |
I'm trying to convert part of a string. Say I have a bunch of strings and I want to search through all of them, and whenever one of them have the string "34" contained within, I want to convert that part of the string to "XX". Imagine the following: [CODE] … |
|
Hello, I have downloaded several avi files which I want to convert to WMV, however the sound will only play in Windows Media Player. When I try to open them with Windows Movie Maker, or any other player or converter, no sound is played (but the video is fine). I … |
|
Okay, I'm trying to learn C# (coming from c++). I found this code on a tutorial. When I try to compile it I get this error "cannot implicitly convert from 'int' to 'string'" I thought it was supposed to convert it from string to int??? [CODE] int Number; Number = … |
|
Hi i'm new to using c++ and i would like to ask if you could help me out. I have to somehow get a working c++ program that will allow me to convert any one, two or three digit positive integer into words using string/array method. Say, 111 will be … |
|
[CODE] for (int i = 1; i <= numberofmatricesrequired; i++) { string number = Convert.ToString(i); Matrix (matrixnumber+number) = new Matrix(matrixsize, matrixsize); } [/CODE] Basically I have x amount of matrices I need to establish of y by y size. I was hoping to name the matrices: matrixnumber[B]1[/B] matrixnumber[B]2[/B]..matrixnumber[B]n[/B] I cannot … |
|
Hi guys, We have a custom-written online invoicing system, written in PHP. Right now, it generates an HTML invoice (with CSS etc) and sends that to the clients as an HTML mail, but since a lot of mail clients regard it as spam, disable functionality and images, or just completely … |
|
Hi I using C# to VB.NET code converter which gave me this: [CODE] Public Class PostCalendar Inherits Calendar [B]Implements [U]ICallbackEventHandler[/U][/B] //--Class 'PostCalendar' must implement 'Function GetCallbackResult() As String' for interface 'System.Web.UI.ICallbackEventHandler'. ¿¿?? //----------------------------------------------- Shared Sub New() [B][U]Post.Saved += Post_Saved[/U][/B] End Sub //----------------------------------------------- Public Class RecentComments Inherits Control Shared Sub New() … |
|
I'm trying to automatically convert a binary input in a textbox to a hex code in a second textbox. It does work the way I'm trying to, but the order it comes out is wrong, for instance, 1111 = 0F this is correct, but when i now make it : … |
|
the program I had looks like this: def wordToNumber(word): if word == "one": return 1 elif word == "two": return 2 elif word == "three": return 3 elif word == "four": return 4 elif word == "five": return 5 elif word == "six": return 6 elif word == "seven": return … |
|
Hello this is my first thread on the forum i tried to search everywhere for a solution but no result...:'( Im trying to figure out some easy pointer use but still get some stupid error... My fault. error C2440: '=' : cannot convert from 'char (*)[100]' to 'char' [CODE] void … |
|
Hi, I'm trying to take a date, add a day to it, and then convert it to a string. The date's format starts out like: '10/1/2009', and should end like: '2009-10-1'. I can do that part, but then I can't convert it to a date format and add a day. … |
|
Hello all, I'm really struggling to find a way or method to convert my TimeSpan data type into an Int so I can put the value into an Array. Now I know you can't actually convert the TimeSpan variable into Int, but is there some sort of work around? This … |
|
I'm looking for a package that can convert a phone number to its country code i know how to write it myself but beter to check the net first anybody ever heard of something like this? eg: 0032586987 > Belgium please give me a link it would save me enormous … |
|
I need help with trying to convert a String of number to a Integer Array. I will then be adding the to Arrays together like any addition problem, but I am having trouble with just getting the string in to the arrays without it outputting jargon. [CODE] public static int[] … |
|
Im trying to add up 100 grades and get the averge but it wont compile because it "cannot convert from 'int' to 'int [100]. Can anyone help me?? [CODE] #include "stdafx.h" #include <iostream> using namespace std; int main() { int total, j; double average; int grade[100]= (56,97,73,59,68,79,86,67,79,66, 95,64,98,56,79,83,75,89,73,91, 52,72,63,81,62,85,37,78,100,89, 56,89,75,76,99,66,84,98,68,59, … |
The End.