199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for caps_lock

Using php mail function allows a user of a wesbite to send email without opening up ther mail client, information such as subject message reply-to email address can be included. With this could I also add fileds to send things such as booking time date, telephone number etc? Can this …

Member Avatar for ShawnCplus
0
108
Member Avatar for CppFTW

Hi, why isn't this code is copying the file a.txt correctly? [CODE]int main() { ifstream input("C://Users//Me//Desktop//a.txt"); input.seekg (0, ios::end); int length = input.tellg(); input.seekg (0, ios::beg); while(true) { char* buffer = new char[length]; input.read(buffer, length); ofstream output("C://Users//Me//Desktop//b.txt"); output.write(buffer, length); break; } return 0; }[/CODE] I attached a.txt and b.txt in …

Member Avatar for CppFTW
0
146
Member Avatar for Edel_

I'm just starting out with PHP so I thought I'd do something simple. I modified an existing bit of code but it doesn't seem to work: [code] <?php $url = $_GET['DLURL']; // Fetch page $string = FetchPage($url); // Regex that extracts the urls from links $links_regex = '/<a[^/>]*'. 'href=["|']([^javascript:].*)["|']/Ui'; preg_match_all($links_regex, …

Member Avatar for Edel_
0
111
Member Avatar for BigGJonsey

I've been able to get the iFrame to resize to the content - see this link - it's pretty simple. My only problem, is if the user clicks a link so that another page is displayed, the iFrame doesn't resize. It will only resize when the parent page is reloaded. …

Member Avatar for Airshow
0
209
Member Avatar for cooterbrown

Hi all, Although I have experience in other areas of IT and development, I'm very new to programming, so please excuse my obvious ignorance... I need to allow the user to send an active form (entire filled in form with fields, not just the data) the user will access from …

Member Avatar for Josh Connerty
0
141
Member Avatar for candidz

Hello, i want to start free lancing in PHP, please suggest me some platform(marketplac) except w w w . R e n t a c o d e r . c o m

Member Avatar for Josh Connerty
0
153
Member Avatar for lalafam

I am a student and am having trouble getting my for statement to work with an array. This is my first time here. Here is what have so far. Any tips would be greatly appreciated. [code=cpluslus] using namespace std; void main() {#include <iostream> // Emp is number of employees needed …

Member Avatar for lalafam
0
120
Member Avatar for KeepGoing

Hi I'm just starting out with OOPin JAVA and thought i was getting the hang of it but i've been given an assignment and it's got me stumped. here is the code i have been given [code=java] public class FrogCalculator { private Frog operand1Frog; private Frog operand2Frog; private Frog unitsFrog; …

Member Avatar for VernonDozier
0
155
Member Avatar for DevC++4.9.9.2

hello (im using c#, visual studio 2008) I am trying to get Input/Output from a command prompt like process "scrds.exe". If i try to start the process with standardInput = true, standardOutput = true, or standardError = true. The program cannot start. after research the "scrds.exe" cant start due to …

Member Avatar for streetfighter
0
369
Member Avatar for Horia.Muntean

Hello.I'm working on a d20 based game system and I'm pretty new to python.What I've done so far is: create 6 random rolls with values 3-18 rollOne rollTwo rollThree etc. There are 6 stats that need theese rolls assigned statOne statTwo etc. I've done the part on how to assign …

Member Avatar for Horia.Muntean
0
128
Member Avatar for wislean

hi i need help with my grading program i need to do something so the menu comes up and make it work property i have no idea on my switch statement and how to delete student from list please help me [code] #include <stdio.h> void main() { int ssn[1000]; int …

Member Avatar for csurfer
0
165
Member Avatar for DAWNIE

Hi, i have manage to add up the points from different checkboxes but load in form. but how do i make everything to work in tab instead of working in form? below is the codes but works in form. Public Class Trial Private GCS_Value As Integer = 0 Private Sub …

Member Avatar for Teme64
0
319
Member Avatar for kained

I am designing a website for someone at the moment and they want a preview of thier wordpress blog on thier home page(not blog home page) Is there a good way to do this automatically so that it updates itself whenever a new blog is posted or will it be …

Member Avatar for kained
0
92
Member Avatar for gplkrsna

Hi, Is there a possibility of creating fixed length file in C and when the file is filled up with the contents to the limit of it's size then it should wrap up to include the new contents? Thanks.

Member Avatar for csurfer
0
100
Member Avatar for caige

I can make you one heck of an HTML, I can even put a beautiful contact form and picture uploader in the file, but when it comes to the challenge of adding the php script to make this file upload the file to my server I am not very good. …

Member Avatar for OmniX
0
92
Member Avatar for Peyton

Hi there, I'm having a problem with the code below: [CODE]#include <iostream> #include <cstdlib> #include <ctime> using namespace std; void setArray( float [], const int Size ); void displayArray( const float * ); int main() { const int arraySize = 20; float array[ arraySize ]; // Initialise the array: setArray( …

Member Avatar for Peyton
0
105
Member Avatar for chedderslam

I don't use XSLT very much, but need to modify our current file. Right now, we have the following statement: [CODE] <business_use> <xsl:value-of select="if (*:PersDriverInfo/*:kait_BusinessUseInd = '1') ))then 'Y' else 'N'"/> </business_use> [/CODE] I am trying to modify it to look at an additional node like this: [CODE] <business_use> <xsl:value-of …

Member Avatar for cwlocke
0
102
Member Avatar for Aggresive_Mind

If You Want Something To Do, Try This Exercise... Define a human struct that has 3 fields: char name[50]; char gender[10]; int age; Try and use typedef in your program for your struct. Write a program that reads in a text file containing names, ages and gender of cartoon characters, …

Member Avatar for Salem
0
138
Member Avatar for Tank50
Member Avatar for kaio-ken

[code=cplusplus] #include<iostream.h> #include<stdlib.h> int main(void) { char a,q; cout<<"Enter a char\n"; cin>>a; q=a; cout<<atoi(&a)<<","; cout<<atoi(&q); return 0; } [/code] ************************************* output for this code for input of (2 ,3,5): 2,22 3,33 5,55 **************************************... I think answers should be: 2,2 3,3 5,5

Member Avatar for pwl
0
124
Member Avatar for Traicey

I am designing a Library website, and I have two table Libarian and Student table so when the Libarian login should have access to all the database(Adding new record, updating and all) but when the student login should only view the database without changing anything, so What I want to …

Member Avatar for Traicey
0
117
Member Avatar for jeremyg

Hi all, Sorry if its a newbie post, but I'm currently trying to finish a program that sorts a binary search tree using the quicksort method. It seems like it should work, but whenever I run it, the program stops at a certain part in the program and encounters a …

Member Avatar for jephthah
0
169
Member Avatar for bitki_1407

Hi All, I have created a program for calculating average of 4 numbers, however, Im getting an error as "Run Time Error 13 Type Mismatch" on the Click event of "Calculate Average" command button. The code written for the Click Event of "Calculate Average" command button goes as : Private …

Member Avatar for lordofhell
0
4K
Member Avatar for jineesh

Somebody please help me... I printed first report properly, while printing second report (for eg sales bill) compiler shows an error message, "The process cannot access the file because it is being used by another process". The code is given below where the IOException was shown. [code=csharp] // Routine to …

Member Avatar for serkan sendur
0
91
Member Avatar for daino

I'm rather uncertain as to how you go from making programs which churn values on the Dos screen to actual graphics. I'm not asking for a lesson on this, but I am confused as to how a c++ program creates/manipulates graphics. Is it all done through widgets or is there …

Member Avatar for Prabakar
0
275
Member Avatar for tehbrozor

Hello, The situation here is I have a file and each line has a 8 digit number in it (aorkey) the file is called target.lst In another file (file.lst) there are tons of paths in each path there is an aorkey (somewhere its not always in the same place and …

Member Avatar for tehbrozor
0
116
Member Avatar for adarshcu

[code=C] int main() { char *p = "hello all "; printf(p); } [/code] I thought the above code should ve showed a compile time error. but it din , any reason how it worked?

Member Avatar for adarshcu
0
71
Member Avatar for Arunjit

Hi everyone, i have been struggling with passing multiple url parameters for quite some time and would be extremely grateful to receive some advice and guidance! What i ultimately would like to achieve is to pass two parameters in the url, one being the name of a table from a …

Member Avatar for Arunjit
0
94
Member Avatar for exzibit23

hello, im a beginner programmer in java (J2ME), is there a way on how to unobfuscate a java? and how to obfuscate it?? (J2ME)

Member Avatar for masijade
0
340
Member Avatar for lebron

Hi, I am very new to Perl and have no knowledge to initiate this through programming view. I am in need of help with adding a new user in UNIX using Perl programming . If you know my problem could you please assist me and share your knowledge for doing …

Member Avatar for lebron
0
97
Member Avatar for wk123

Hi, im writting a remote host program for a school project and i keep getting Run-time error '40006': Wrong protocol or connection state for the requested transaction or request here's the code for the client: [code]Private Sub cmdConnect_Click() IpAddy = txtIP.Text Win.Close Win.RemotePort = 455 Win.RemoteHost = IpAddy Win.LocalPort = …

Member Avatar for wk123
0
144
Member Avatar for p2009_d

Hi Friends, I am writing a monte carlo program. I have made a structure which had different 20 objects like ALA[5], CYS[5], PRO[5], ARG[34] , MET[15]....and so on. [code=cplusplus] //this is defined in a global.cpp file// typedef struct libaa{ int num; char amino[4]; float chi1,chi2,chi3,chi4,phi,psi,omega; }; libaa ALA[1],CYS[4],ASP[8],GLU[15],GLN[15],PHE[5],GLY[2],HIS[8],HIE[8],ILE[7],LYS[27],LEU[5],MET[13],ASN[9],PRO[3],ARG[34],SER[3],THR[3],VAL[3],TRP[7],TYR[5]; //in my …

Member Avatar for tux4life
0
103
Member Avatar for Gman36

Hi all, I am having a problem with the synchronizing the threads in the classic produce consume thread example. Below is my code for it. [CODE]public class Magpie extends Thread { private TreeHole treehole; private int number; public Magpie(TreeHole t, int number) { treehole = t; this.number = number; } …

Member Avatar for kvprajapati
0
114
Member Avatar for OffbeatPatriot

I've tried several times now to write my own neural network class and I think this is the closest I've gotten, the network seems to run properly but it doesn't seem to learn correctly. I'm trying to make it approximate exclusive or but it seems to be only capable of …

Member Avatar for OffbeatPatriot
0
152
Member Avatar for elanorejoseph

as we go inside a category the link shoul apear on the view page any one help.... i have done this much so far [code=php]<?php include("connectivity.php"); $parentid=$_REQUEST['parentid']; if(!$parentid) { $parentid=0; } $a=$_REQUEST['a']; if(!$a) { $a=0; } $qry=mysql_query("select * from category where iparentid='$parentid' limit $a,4"); $qrynum=mysql_query("select * from category where iparentid='$parentid'"); …

Member Avatar for OmniX
0
109
Member Avatar for Swijr

I have a task where I'm transforming a response like this: [code] <Names> <Name> <First></First> <Last></Last> <Middle></Middle> </Name> <Name> <First></First> <Last></Last> <Middle></Middle> </Name> </Names> [/code] But I have to format it into nodes like this: [code] <name_first_1></name_first_1> <name_last_1></name_last_1> <name_middle_1></name_middle_1> <name_first_2></name_first_2> <name_last_2></name_last_2> <name_middle_2></name_middle_2> [/code] So I wanted to use position() to …

Member Avatar for Swijr
0
96
Member Avatar for Vandithar

Hi, I have a table like this: [code] name +------------------------------------+ | name | +------------------------------------+ | This is an rna-binding protein. The data which is useful is available from the desired location. | +------------------------------------+ 1 row in set (0.00 sec) [/code] I want to remove extra space i.e in between binding …

Member Avatar for verruckt24
0
167
Member Avatar for TheBattlizer

I'm trying to declare a structure definition in a header file so I can use the structure in other files, however I get the error: error C2011: 'Points' : 'struct' type redefinition from the file where the structure definition is declared. The structure is only defined in that header file. …

Member Avatar for ArkM
0
2K
Member Avatar for mshravs

hey, i created a menu bar containing three items in it. i just want the coding in vb in such a way that if i click the first one it should be directed to one form, second is directed to the other form and third in the same way................................................................................... i'm …

Member Avatar for aashishn86
0
126
Member Avatar for Bikram Singh

Hi All, I am having problem regarding recordset. I am working in MS Access and VBA. I want to display records from the table(specific fields) depending upon the condition. I am very new to this and never used recordset because i am a database programmer now i have to develop. …

Member Avatar for Bikram Singh
0
101
Member Avatar for serkan sendur

hi guys, i want to read windows mobile registry from windows application, the device is connected via activesync. any ideas?

Member Avatar for Ramy Mahrous
0
74
Member Avatar for OmniX

I assuming it is unefficent to upload and stream a video with php. So this is a 2 part question (1. using php to upload the contents, 2. using php? flash? etc? to convert and play the video file). 1. How would I upload a video file? - Like a …

Member Avatar for digital-ether
0
1K
Member Avatar for nain_tara

0AFE:02B0 00 00 00 00 00 2C 44 63-71 1F 71 1F 00 00 80 01 .....,Dcq.q..... 0AFE:02C0 01 00 07 FE FF FF 3F 00-00 00 EC ED E1 04 00 FE ......?......... 0AFE:02D0 FF FF 0F FE FF FF 2B EE-E1 04 96 9C BF 0D 00 00 …

Member Avatar for ithelp
0
85
Member Avatar for concept22

Hi, Im pulling out what little hair i have left, and am beginning to remember why i did not become a developer professionally. but you guys rock. I have a website i'm working on example: [url]http://www.example.com[/url], I have a go daddy turbo SSL certificate installed and it is working properly …

Member Avatar for concept22
0
142
Member Avatar for sid78669

Hey, I'm currently working on an ASP.net page using C#. I am looking forward to embedding videos in my .aspx pages using silverlight, but am totally illiterate towards Silverlight. Can anyone tell me how it would be possible for me to play videos using Silverlight? Also, the other possibility that …

Member Avatar for new
0
125
Member Avatar for grisha83

My method is not working for some reason, even though i have done in exactly the same way the books showed. Could you please take a look at it and let me know what went wrong? Thank you P.S. I tried to use DEBUG technique and it seems that the …

Member Avatar for grisha83
0
78
Member Avatar for nuliknol

Hi, how many 64 bit registers can I use inside intel i7 cpu for storage purposes to feed them later into XMM registers? I currently use XMM0-15, MM0-8, R8-15 only. I know i can use RAX,RBX,RCX, RDX and eight registers inside the FPU (ST0-ST8), but what others can I use? …

Member Avatar for Evenbit
0
345
Member Avatar for jaykom

I am importing three diff jsp files through foreach looping inside the parent jsp file. Three files are x.jsp, y.jsp, z.jsp for example. I want to extract the last file z.jsp from this loop and I need to put in to one seperate DIV element. How can I do this …

Member Avatar for kvprajapati
0
154
Member Avatar for rams_it02

Hi , I am using <logic:iterate> tag to iterate through a list of contents. When the List size is 1222, all the Contents in the List are displaying properly. When the size execdes 1223, the JSP is not displaying properly. I am not getting any exception also. I have added …

Member Avatar for shantechi
0
216
Member Avatar for mj85

Hi could someone tell me how to pass a dynamic matrix to a function? Or where I have gone wrong? Thanks for the help! for example: [CODE]void main() { int R,C; /* r=rows, c=columns/* double *A; /* A is the matrix/* /* I dynamically allocate my matrix (not too sure …

Member Avatar for jephthah
0
166

The End.