194 Topics

Member Avatar for
Member Avatar for ro7_ad

i want to convert this program to read it in c-free (C++) plllllllzzzz i need this now !! thanx all #include<stdio.h> #include<math.> using namespace std; float x[20], y[20]; void get_corners(int n, float x[], float y[]){ int tempx,tempy; for(int i=0; i<n; i++) { cout<<"Enter (x, y) for point "<<i<<endl; cin>>tempx; x[i]=tempx; …

Member Avatar for NathanOliver
0
447
Member Avatar for mjbor1

i have problem in convert infix to postfix some expression evaluate it correctly and other no ex: c\*(a+b) evaluate it correctly but A\*(B\*C+D)+E doesn't evaluate correctly and there is another problem in finding result my code // convert.h const char SIZE=100; class stack { public: stack(); bool isempty()const; bool isfull()const; …

Member Avatar for mjbor1
0
370
Member Avatar for efe.ozyer

BYTE GetByte(char* sBuf, int& index) { int t_index = index; index++; return (BYTE)(*(sBuf+t_index)); } int GetShort(char* sBuf, int& index) { index += 2; return *(short*)(sBuf+index-2); } and i cannot convert this

Member Avatar for tinstaafl
0
471
Member Avatar for cussel
Member Avatar for cussel
0
165
Member Avatar for Beginerman

I need a little help with the below code. I am basically reading text from a .txt file and need to be able to convert the text into an array(fam6) that i can then search for a value that is typed into a text box. If said text box search …

Member Avatar for Beginerman
0
316
Member Avatar for tinstaafl

In a recent discussion these code snippets were developed to replace Convert.ToInt32 and Convert.ToDouble. The person I was helping had a very large number of conversions to do. In our tests, using these 2 routines we were able to do over 1 million conversions in less than half the time. …

1
143
Member Avatar for xikhari.some1behindu

I am trying to convert a listbox to an array so i got this line var modarray = listBox1.Items.Cast<String>().ToArray(); but then i also need to use an int array so i tried the following int[] arr = modarray.Cast<int>().ToArray(); but i get an error that suggests that is not possible to …

Member Avatar for Momerath
0
225
Member Avatar for sania khan

Can we convert the record displayed on the web page to pdf doc ? if possible then how we can achieve this?

Member Avatar for SautinSoft
0
970
Member Avatar for missy_mi

HI, i am new at this programming stuff. so, i really dont know much about programming especially when it come to converting pages to pdf. so, i need to understand one thing, this..fpdf,mpdf,wkhtmltopdf and others..do they convert php page..because they said "convert HTML to PDF"..so i am confuse..i did try …

Member Avatar for missy_mi
0
372
Member Avatar for AutoPython

I've been at a loss as how to convert the std::string to char (Line 40). I've tried c_str() and a few other things, but it's really confusing when the pointers are thrown in there. I know I'm kind of asking you guys to do it but I don't know what …

Member Avatar for rubberman
0
430
Member Avatar for opspl_programme

Hi I need to take one or more files(**.txt** or **.csv** format only), convert them, one at a time and sent them to the printer in **PostScript** format. The paper will be pre-printed and of A4 size. It is perforated in the middle(Portrait orientation). For example, taking a file, A.txt, …

Member Avatar for NanaYee
0
1K
Member Avatar for kogia

I'am trying to undestand how I can use the csv module in python to open a csv file in the same folder as the python script - and then create a .shp (shape file) using the shapefile module pyshp. The csv file looks like this, but can have a couple …

Member Avatar for kogia
0
249
Member Avatar for meda.gharib

Hi everyone I'm stuck on a school project. The Following is the prompt: > Write an assembly language program that prompts the user to enter a string to be interpreted as an 8-digit hexadecimal number. Your program must convert the ASCII string representation of this hexadecimal number into a 32-bit …

0
487
Member Avatar for samohtvii

I was just wondering if anyone can give me some info on converting C++ to C. I don't really care about finding a program to do it for me, I would just like to know what is different between the two. My program is 'fairly' simple. uses file IO, prints, …

Member Avatar for deceptikon
0
303
Member Avatar for PhilEaton

I have looked into Cast and Convert, but I cannot find a way to do this. I need to convert four digits into an hour format. For instance, 0800 would become 8:00 or 1530 would become 15:30. I cannot use functions, I'm using a special form of SQL. Any suggestions? …

Member Avatar for iamthwee
0
174
Member Avatar for hfxdkhrxtr

. hi, i want know how can i convert a java desktop application to java supported mobile application. i have created a java desktop calculator application in **"Net-beans 6.8"**, Now what i need to do to use this application in java supported mobile screen resolution 320x240 can i convert my …

Member Avatar for rithish
0
123
Member Avatar for miramiey

Hi, I try to open vb6 file to visual basic 2008 but have a problem during a converting. here's the error that appear, ![26-7-2012_11-44-11_AM](/attachments/large/3/26-7-2012_11-44-11_AM.jpg "26-7-2012_11-44-11_AM") Can anyone please help me to fix this error. Thank you in advance.

Member Avatar for AndreRet
0
309
Member Avatar for ashish karna

hi i want to convert the prefix form to postfix,prefix and infix form but when i input +5*62 it retuns only 2 what is wrong with my code can anybody help to solve this #include<stdio.h> #include<conio.h> #include<stdlib.h> #define Operator 1 #define notOperator 0 #define empty -1 struct node{ char item; …

Member Avatar for deceptikon
0
209
Member Avatar for SoftEngGroupE

I need to load a BMP into C++ and code a program to convert it into a JPEG. I have very little programming experience and am wondering what libraries should be used to efficiently convert an image in this way. Is there a library that will convert the BMP straight …

Member Avatar for palanethra.ag
0
619
Member Avatar for mr3army

Hey guys I manged to get some code what works fine but it uses console application I have tried to convert it by hand and change things around to get it to work but with no avail! Im certain it should be simple but I may be wrong :( Code …

Member Avatar for mr3army
-1
963
Member Avatar for valestrom

I can't figure out how to convert my int value back to a string for use in a textbox. I already pulled it out converted it to int, did the equation now I just want to flip it back to display in a textbox. private: System::Void button1_Click(System::Object^ sender, System::EventArgs^ e) …

Member Avatar for valestrom
0
3K
Member Avatar for sandz24

Can anyone discuss how to convert a jpeg color image into binary using OpenCv and C++. I find it hard understanding it on my own. I found sample programs but that really doesn't help much if I don't understand the meaning of every line of code. At least a step …

0
105
Member Avatar for kjeu_kach

[admin.php](https://github.com/apps-vn/admin.php/commit/f2e3c157d42750c39e1778a58abf271f8ddb5f82) <tr> <td><?php echo MOD_DS_PRODFILE;?>: <?php echo required();?></td> <td><input name="filename" type="file" size="40" class="fileinput mask" /> <span style="margin-left:80px"><?php echo tooltip(MOD_DS_PRODFILE_T);?></span></td> </tr> <tr> <td><?php echo MOD_DS_PRODFILE;?>: <?php echo required();?></td> <td><input name="filename" type="file" size="40" class="fileinput mask" /> <span style="margin-left:80px"><?php echo tooltip(MOD_DS_PRODFILE_T);?></span></td> </tr> [admin_class.php](https://github.com/apps-vn/admin_class.php/blob/9fc485be7667cd0d559e74b3e99c71941044bbd6/.gitignore) */ public function getPaidDownload($token) { global $db, $core; $id = …

Member Avatar for kjeu_kach
0
245
Member Avatar for iPanda

I got this simple code: #include "stdio.h" #include "stdlib.h" #include "windows.h" int main(int argc, CHAR* argv[]) { HANDLE hFile = NULL; HANDLE hMapFile = NULL; LPBYTE fileView; hFile = CreateFile(argv[1],GENERIC_READ,FILE_SHARE_READ,NULL,OPEN_EXISTING,FILE_ATTRIBUTE_NORMAL,NULL); if(hFile == INVALID_HANDLE_VALUE) { printf("CreateFile function failed\n"); goto clean; } ***** hMapFile = (LPBYTE)CreateFileMapping(hFile,NULL,PAGE_READONLY,0,256,NULL);***** if(hMapFile == NULL) { printf("CreateFileMapping function …

Member Avatar for BobS0327
0
1K
Member Avatar for Anonymous123

I have an assignment to write a program in Java to implement the Natural Correspondence Algorithm for converting a linear list into a binary tree. The program should process its inputs in two steps: (a) It first builds a tree for a given input list (b) It then traverses the …

Member Avatar for Anonymous123
0
273
Member Avatar for Jason666

I have been going through the motions and still cannot seem to get this right. I have textboxes in a gridview that are populated from an access database. They are all datetime values. In the backend code, I am trying to loop through all those values and then apply conditional …

0
106
Member Avatar for Enjaz

Assalam Alaikum Could any one help pleeeeeeas This is a JAVA code written using Array data structure ! I have to convert it using a binary tree data structure ! I really face difficulty in doing that !!! I mean, I don't know where to start in the process :""(( …

Member Avatar for Enjaz
0
134
Member Avatar for nickg21

Hey everyone, I know that there are hundreds of articles online about this same error, but I have been going at this for almost 2 days and it's time I just started a thread of my own. In my application, I have a textbox that has a CalendarExtender hooked up …

Member Avatar for mikev2
0
334
Member Avatar for SgtMe

Hi all. I'm using DragonFireSDK to make an iPhone app, which means that I can't use any external libraries other than the SDK one. I am trying to get an integer variable for score to a function which will display text on the screen. However, that function takes a char* …

Member Avatar for Ancient Dragon
0
399
Member Avatar for MichaelCJ10

I need my overall data to all be output as double, but my counter is an int, and i imagine you cant use a double as a counter, so when it goes to compute my data, theres a mismatch between my counter and the rest . i need a way …

Member Avatar for stultuske
0
295

The End.