199,114 Archived Topics
Remove Filter ![]() | |
I am fairly new to cf but felt this wasn't really a "getting started" question. I was thrown into this project with tons of legacy and little doc, so any help would be greatly appreciated. the trouble I am having is getting information from form fields to display in the … | |
I wanted to know what do I have to change in the SAxparseryFactory code to make it work in an windows xp OS. It is not working and I think I have to modify something of this code to make it work....please HELP ME!!!! | |
Is it possible to create a variable within a program (while its running). The problem I am trying to Solve: In school I created a cashmachine emulator. The thought then dawned on me, what If I wanted different user abilities within my cash machine program (Ie. only the manager would … | |
I am doing this program that has a menu of 8 items The error is: --------------------Configuration: aaaaa - Win32 Debug-------------------- Compiling... aaaaa.cpp c:\temp\test\test1\aaaaa.cpp(125) : error C2374: 'x' : redefinition; multiple initialization c:\temp\test\test1\aaaaa.cpp(120) : see declaration of 'x' Error executing cl.exe. aaaaa.exe - 1 error(s), 0 warning(s) Does anyone know where … | |
Hi all, My first, but likely not my last post. I’m teaching myself C++ with basically no programming background. I’ve been using Borland, reading books (such as teach yourself in 21 days, etc.) and reading this website, but now I’ve run into a problem and after three days of trying … | |
Hello ladies and gents, Came across a program example in wich you are able to sort program-parameters in alphabetical order. The code is this:[code] #include <iostream> #include <string> using namespace std; void sort2(char* &p, char* &q) { if(strcmp(p, q)> 0) { char *h; h = p; p = q; q … | |
Here is one for you I am able to password protect an Access database. I have even been able to password protect forms and reports but I seem to be having a problem password protecting Access sub switchboard forms. I am setting up a database and I want to password … | |
i am writing a program.. in that i am needed to represent an array using pointers only..(its a constraint i ve to work with).. the prob i am facing can be shown by this small program.. pls help me rectify with [code]#include <stdio.h> #include <conio.h> void main() { char a[4],*b; … | |
Hey to everyone out there. I am new to this and seeking assistance with a java program assignment. if anyone can help let me know. The program is completed all I have left is to produce accurate output of a students grade. Here is the code: The code is supposed … | |
[COLOR=Blue]I have the following code to initilize struct booknode in a link list.[/COLOR] [code] // Here is how I defined booknode typedef struct booknode { char *title; // char[], holds book title char *author; // char[], holds book author char *isbn; // char[], holds book isbn float price; // float, … | |
i have this string SD125,SD478-SD478 SD147 i need to separate,but i need to know which delimeter i use becouse i did this StringTokenizer sd = new StringTokenizer(fileStringSD, ", -"); while (sd.hasMoreTokens()) { String cad = sd.nextToken(); system.out.printl (cad); } it separetes and i get SD125 SD478 SDSD147 THE TROUBLE COMES … | |
I have two classes. block and main public Block(Stage stage) { super(stage); //fill array where[t][s]=i; i++; system.out.println(where[t][s]); } and the main. the problem is I create an instance of the class block and I know it runs because I put a system.out there and the I a list of printed … | |
I have the following code snippet 1) Page1.aspx.cs protected void Page_Load(Object sender, EventArgs e) { if (!Page.IsPostBack) { //other code Session["scdid"] = null; //other code } } //Submit button handler for this page protected void submit_record(object sender, EventArgs e) { //other code string sschd = (string) Session["scdid"]; if (Session["scdid"] != … | |
I can load a image file from a fold if I did like this: Bitmap myBitmap3 = new Bitmap(@"C:\HEapp\images\logo.bmp"); however, this is not convenient if I move my program, so I was try to do this: Bitmap myBitmap3 = new Bitmap(@"\images\logo.bmp"); however, it doesn't work, could anyone tell me how … | |
Hello, I have just begun recoding my site and whenever i use PHP to put data on a page via an IF statement it overlaps any cells that are below it, and it also seems to be extending my left menu to the right. The left menu works when logged … | |
Help... I have just been presented with the responsibility of supporting a JSP application. The person who was handling EVERYTHING has left us (Rest his soul) and did not leave any documentation. The first thing I need to do is create a backup server and copy the application to it. … | |
-------------------------------------------------------------------------------- This is my table structrue Tbl1 -----Record1-----Record2----- Record3 Tbl1_id --------1------------2-------------3 Tbl2 -----Record1-----Record2----- Record3 Tbl2_id --------1------------2-------------3 Tbl1_id --------1------------1-------------1 Tbl3 -----Record1-----Record2----- Record3 Tbl3_id -------1-------------2-------------3 Tbl2_id -------1-------------2-------------3 Tbl3_Name ---Test1---------Test2--------Test3 Tbl3_Flag ----N-------------Y-------------Y Tbl4 -----Record1-----Record2----- Record3 Tbl4_id -------1-------------2-------------3 Tbl2_id -------1-------------2-------------3 Tbl4_Name ---Temp1--------Temp2--------Temp3 Tbl4_Flag ----N-------------Y-------------Y I wanted the result as Tbl3_Name--Tbl4_Name--Tbl3_Flag--Tbl4_Flag Test1 -----------Temp2--------Y-----------Y The rule … | |
Greetings. I encountered this little problem and am stuck. I don't know what should I google. I am developing a webpage with Coldfusion and I need to use some Javascript also. I have a component, and onclick of that component, I would like to call a Javascript function and pass … | |
Hi, im lost and i need help writing a function gcd that returns the greatest common divisor of two integers and has to allow five sets of numbers to be input by the user. this is what i have so far where i put /* is where i need help … | |
[B]To the following program I need to:[/B] Homework 2.b /* crypto.c. Program that encrypts a letter by shifting the value by k*/ #include <stdio.h> #define BASE 65 #define RANGE 26 main() { char originalLetter; char encryptedLetter; int k; printf("Input a Capital letter:\n"); scanf("%c", &originalLetter); printf("Input an integer that is less … | |
I'm building a tic tac toe game with a variable board size using class GameBoard and class GamePiece. The GamePieces have a char array, pName, for the player's name and a char pType for the piece (X or O). the board is set up using a pointer to an array … | |
This one isnt working! [code]function insertpath($num){ echo " <td colspan=\"3\" align=\"left\"> <br>\n"; echo " <b>Date Published</b>:",$Date_Added[$num] ,"<br>\n"; echo " <b>Sample</b>:",$Sample_Views[$num],"</td>\n"; } insertpath(0); [/code] But this one Works [code] echo " <td colspan=\"3\" align=\"left\"> <br>\n"; echo " <b>Date Published</b>:",$Date_Added[$num] ,"<br>\n"; echo " <b>Sample</b>:",$Sample_Views[$num],"</td>\n";[/code] Well not woking in the sense the values … | |
Can someone please help? My assignment is to display a chart using loops, not allowed to hard code any numeric values below the headings. The user is given three options if someone could help me get started with the first chart, I can get the rest. I have included my … | |
I'm in need of a PHP tutor/instructor. Does anyone have any recommendations? My background is in front end (HTML, JavaScript, CSS), and I'm having a change in my job at work and need to get up to speed quickly. I'm not even sure what book(s) to pick up. I do … | |
:rolleyes: Good Day all. I am new to This forum and VB Programming. I am trying to set up a database for use with my hobbies. Perfin collecting (stamps). I want just the perfin pattern stored in the database, so i can do searches by cat number OR the perfin … | |
i have jut started learning cpp need help : is their any way i can make a char statement conatining spaces too. if yes plz tell me. :rolleyes: | |
hi im kind of confused about how to change a for loop into a while loop and how to change a recursive into a for loop and for loop into a recursive, i read books and searched online but it all seems confusing could somebody please simplify it for me? … | |
Below is my code for a class car efficiency program but I have some errors with the get_gas function. if you can help would appreciate it. [code] #include <iostream> #include <cmath> #include <cstdlib> using namespace std; class Car { public: Car(); Car(double); ~Car(); void add_gas(double); double get_gas(double); void drive(double); private: … | |
Hello All, I posted this over in the Software Forum, but I realized that maybe it belongs over here. I have both VS 6.0 and VS .Net 2003 available to me. I am just starting to learn programming and wanted to know the difference and which one would be the … | |
I am slowly absorbing these python class concepts(kinda) this fails with an error [php] class Critter(object): def __init__(self): print "I am born" def talk(self,name): self.test = name print self.test crit = Critter('ralph') crit.talk()[/php] this one works [php] class Critter(object): def __init__(self,name): print "I am born" self.test = name print self.test … | |
Hi, I do a lot of VB programming on my own, and have gotten pretty decent at it. From time to time, a couple of people have asked me how much I would charge them for a specific program. Has anyone done this before, where they take "jobs" on their … | |
Hi, I need some help on a school project regarding visual basic. mind giving me some ideas on what mini project we can do ? Actually i got a ideas of making a pop3 portal because my school pop3 cilent looks sucky so our group intend to revamp them Cheers … | |
Hiya everyone. Just thought that maybe someone could help me out on this one. I'm making a client on perl using IO::Socket and it works for most of my apps. But i came upon a bit of a challenge here. Everything works fine. I'm sending the login packet to YCHT … | |
Hey all, Does anyone know if it is possible to send email through a java applet? Thanks in advance. Nick | |
Hello, I am newbie in perl. I am currently working on a project to access the parallel port of a pc in perl on a linux operating system. I really do not know where to start. Could anyone help me with useful links, books, resources..etc that could be of explicit … | |
this program contains everything even leap year: :idea: i am a beginner in cpp (we have this in school so i am learning this age 15 ) [code]# include<iostream.h> # include<conio.h> void main (void) { clrscr(); int years1, months1, days1; int monthdays1[12] = {31, 59, 90, 120, 151, 181, 212, … | |
Can anyone lead me in the right direction to get this to work??? my << overload compiles fine... ofstream& operator<<(ofstream& ofs, const GameBoard& b) //overloaded ofstream operator to save board & piece { for (int row=0; row < b.size; row++) { for (int col; col < b.size; col++) { ofs … | |
I've been coding php for about four years now on and off. I'm attempting to write a script that will replace links on a page with another link. I'm debating whether it's even worth it to try to code something with strpos. I was of the opinion that preg_match would … | |
Hey guys. I was told to do an assignment, to demonstrate how a high priority thread gives a low priority thread a chance to run using the sleep function. The assignment has already been submitted and already graded. The following code when compiled not only creates a ThreadSleep.class file, but … | |
basicly i have a vbulletin forum and i am trying to create a simple web page , now the thing that i do not now is how can i obtain the current Members that are registered in the forum and show it in my web page | |
Hey there all, i have a question about how to point my python install to my sql database. when i enter this:[CODE] db = MySQLdb.connect(user="user", passwd="pass", db="myDB")[/CODE] i get this: [CODE]Traceback (most recent call last): File "<pyshell#1>", line 1, in -toplevel- db = MySQLdb.connect(user="user", passwd="pass", db="MyDB") File "/usr/lib/python2.4/site-packages/MySQLdb/__init__.py", line 66, … | |
Is there a way to drop a PK from a table by selecting the name into a variable from all_constraints, I need to run this script on multi databases that the actual name of the PK could possibly be different. I can get the name in a variable but don't … | |
Hey, I've been trying to setup a search page for the last week with no luck. I've been reading books (maybe not the right ones) and searching the web for examples, also with no luck. I'm using Microsoft Access for my database and Coldfusion 6.1 for my server. What I've … | |
[B]PURPOSE [/B] I'm trying to adjust the styles of buttons,textbox ....(More like height,width,text size) so that it looks good for each and every resolution,window size.. [B]ISSUE [/B] Whenever I change the attributes like background and size,While using Internet Explorer its working fine but in Mozilla its not working at all … | |
Hey, I have to write a Java program that implements a sorted linked list to be able to count the number of chars and words in an input file. would any1 be able to help me please? Thanks | |
Hi, I have a project on peer-to-peer file transferring...Now I don't have any clue how I can use just the IP address of a computer to search for files in different drives...I have used socket object to create clients...now I have the info of only IP address and port number … | |
How can i display result of a single cell query? my query is [code]$author=$_POST["authorname"]; $q="Select authorid from authors where AuthorName=$author"; $resultauthor=mysql_query($q,$connect); $num=mysql_num_fields($resultauthor); [B]<<Error coming here![/B] :( mysql_num_fields(): supplied argument is not a valid MySQL result resource in[/code] | |
Hi All I need help and i am new to php so bare wih me :confused: what i m tryin 2 do is that add poduct shipping handeling togther to get an avraged rate so this is the part of code Troubling me: [CODE] $nrow = mysql_num_rows($result); if ($Vh4 == … | |
I've made a web-crawler in VB6. I'd like to port it to .NET so I can make it accesible to the public over the web. Basically my own version of Poodle. Porting most of the code will be very easy, BUT, I haven't found any way via .NET to read … | |
Example : [url]http://rpol.net[/url] I am trying to create a site of the same nature and trying to avoid "Cgi". A Few questions: The example above allows users to create threads in allowed areas only. Further in some areas user can only post.. In others they can Admin thier threads.. I … |
The End.