199,114 Archived Topics
Remove Filter ![]() | |
How many of you guys belive it is possible to program a server and create within it a simple environment in which people can write their own pieces of code and complie it without problems. This server should be capable of using multiple 'plugins'(the pieces to code which others write … | |
I am doing this in Microsoft Visual Studio.NET as an ASP.Net Web Application. I am new to .NET, and Am trying to learn, I just cant figure this out. <html> <head> <title>Shopping Cart</title> <script runat="server"> Dim objDT As System.Data.DataTable Dim objDR As System.Data.DataRow Private Sub Page_Load(s As Object, e As … | |
I am struggling with creating a function that is void. I can write the code inline without a function as follows : #include <iostream> #include <cmath> #include <string> #include <iomanip> using namespace std; int main() { string answer; answer = "Yes"; while ( answer[0] == 'Y' || answer[0] == 'y' … | |
Blackjack class is derived from card class ( see attached playingcard.h and blackjack.h) I have problem with: void blackjack::DealCards() function. I want to use function deal_hands from card class to set the value of pcard1 pcard2, dcard1 and dcard2. How could I do that??? | |
I am currently developing a Snake game with multiplayer support(Not Network based) with unlimited no of players(ok limited by the keys and RAM and processor speed but not restricted). I developed a nice concept of key maps to load all controller information into memory and handle it there.This works just … | |
Hi I am needing to store some data for a project I am working on, I am trying to figure out the fastest method to access the stored data, the data takes the form: keyword (std::string) - list of ints ie: yellow - 2342 2312 8478 3827 9773 4837 2893 … | |
Hi.I'm posting a little part of my code here and the errors... #include <iostream.h> intintboolfalsetrue enum CHOICE { DrawRect = 1 ,GetArea,GetPerim,ChangeDimensions,Quit}; // rectangle class declaration class Rectangle --------------------Configuration: Week1inReview - Win32 Debug-------------------- Compiling... review.cpp D:\Adobe\Vc++6projects\Week1inReview\review.cpp(5) : error C2143: syntax error : missing ';' before 'enum [tag]' D:\Adobe\Vc++6projects\Week1inReview\review.cpp(5) : error … | |
Hi guys, im new to this forum but congratulations, i looks great Im making a game for a TAFE class (which i will gladly send to any1). The game is a text based Role Playing Game. I am finished early so i am going to improve my current game. I … | |
[color=black][font=Times New Roman]If anyone still knows Qbasic could you take a look at this code for me?[/font][/color] CLS READ nam$, addr$ DO UNTIL nam$ = "END OF DATA" PRINT nam$, addr$ READ nam$, addr$ LOOP DATA ANNE DOE, 1234 BAKER ST., BRUCE LEE, 457 HIGH ST. DATA HOPE SEW, 222 … | |
bash: #!/bin/bash DOMAIN=mydomain.com for client in ServerA ServerB ServerC ServerD do xhost +$client.$DOMAIN done MS-DOS: @echo off for..... crap..... I can't seem to get the for loop to work properly. Has anyone had much experience with batch files in DOS? I realize that running xhost inside of a batch file … | |
[code]int gcd (int num1, int num2) { int remainder; if (num1 > num2) remainder = num1 % num2; else remainder = num2 % num1; if(remainder!=0) { return gcd(remainder, num1); } return num1; } int gcd2 (int num1, int num2) { int remainder; return ( remainder = ( num1 > num2 … | |
Hy, I have a PHP raport and I'm using a MySQL database. That raport have to show me information from database. These information from database I only can see them with Internet Explorer (I'm using it to show me the output from my PHP program). If I want to see … | |
Can anyone help? Could someone please explain to me what a p2p network is? | |
i need to write a programme where the customer has a list of products to choose from and to indicate their weight. Upon doing this the price of product per Kg is displayed in another box and once the weight is entered Command Button is pressed and the transaction is … | |
Hi All, I'm haveing some problems with my perl code. the script is for a mail filtering program called mimedefang, the code is the main filter. the fist bit of code is used to filter out mail based on the subject line. sub filter_begin () { my($msgSubject, $hfile) = @_; … | |
need help with basic program.trying to write a program in qbasic to take in a integer calculate and print out the factorial.been on this for a long time | |
[quote]<form method="POST" action="http://www.geocities.com/zerounixinc/cgi/FormMail.pl"> <P ALIGN="LEFT"><FONT SIZE="3">Name <input type="text" name="Name" size="20"> E-mail <input type="text" name="Email" size="20"> Address <textarea rows="3" name="Address" cols="29"></textarea> Subject <select size="1" name="Subject"> <option selected>Computer Repair</option> <option>Computer Setup</option> <option>Networking</option> <option>Building</option> <option>Other</option> </select>& Discription Of Job <textarea name="Description" cols="47" rows="4" wrap="true"></textarea></p> <p align="left"> <input type=hidden name="recipient" value="tyler@tc3net.com"> <span style="background-color: #008000"> … | |
Hi all :) I'm trying write an email program in java which can send an SMS when an email is recieved. However, I dont know much about this like for example, do I need to have any authorisation from a telecommunications company to do this? Also, I want it to … | |
Hi, I am trying to connect to a Microsoft Access DB using VB6, when I create a new connection I Dim DB as Connection, then Set db = New Connection. When the program is ran the complier doesn't recognize the word 'New'. Is there a link I can go to … | |
Ok I'm trying to create a program here and i have three buttons. Add Clear Exit when i enter the name/title and click add i get the name/title in the listbox but as soon as try to add a new name/title it just replaces the old one. could someone help … | |
Hi I am getting an error with some code, it compiles fine on linux but it is throwing an error on solaris, it is to do with strtok_r, the following is the error message: sku_cache.cpp:150: implicit declaration of function `int strtok_r(...)' sku_cache.cpp:150: assignment to `char *' from `int' lacks a … | |
I have got your site of interest and useful. Iam a student and besides learning programing in class, i take time to teach myself C++ from the internet. i have this exercise in which i got stuck and wish to solicit for help, do you offer help on such? if … | |
Guys, I am a newcomer in programming. Just beginning to learn C. Now my university text book is A Book On C- by Al kelley and Ira Pohl But i heard that C primer plus-by stephen prata is also a good one. I also heard that Expert C programming and … | |
I've tried to use a bunch of example programs that make use of "G2++.h" and "g2_X11++.h" but my compiler complains that I don't have those files! Furthermore I can't find any place where I can download such files. All I can find is the old g2 stuff. Does anyone know … | |
Hi I am trying to figure out how to do something for a program I am writing I am fairly new to C++ I have only been using it for about 3 months. Basically I want to launch a pthread which is easy enough but from within that thread I … | |
I want to know how to get started to make a program in C++. I have read up on the material and I just don't know where to go from there. i would like the program to work on a windows platform. | |
hi, i need to make a small program, which makes a connection to the sybase database running on unix machine. i'm new to this server client programming. pls help ! | |
Hi All I am creating an ASP page where I am trying to display controls on the page based on the roles of the user. I have a database wherein I have 5 tables to store the following: Table 1: Application details having the app id as the primary key. … | |
I want to create a new asp file with another asp file already made using VBScript. Is there anyway I can do that without concatenating every few chars to a writeline function? | |
hello all, i was wondering if there was a way to encrypt me visual basic source code so when people view it in a hex editor ore anything they will not see as much of it as when i dont encrypt it. yet i dunno how to encrypt things in … | |
Ok guys, here is what the problem is. I have a column "reference number", now I want to make a column for "email" and depending what value is in the ref. No cell, the email will change accordingly, here is an example. If the reference number is "THVP" then I … | |
Hey! I was just wondering if it was possible to make a type of "search engine" using VB. What I want to do is be able to type in something (song title), and find the matching song lyrics stored somewhere.. and have it display them? Is that possible? If so, … | |
Hi, I'm a newbiew in ASP, but find it very fun. I 'm now designing code for data validation using VBScript at server side, instaead of a javascript client side approach. I use an asp page (asp1) to verify the data validity, and do some additional reformating, meanwhile. ( for … | |
hello.. I am just testing a simple PHP password/verify form... and I don't know why its not working. I am new to PHP but I have looked at other sample codes and mine seems to be okay in my eyes... I have two files... password.html and password.php. password.html looks like … | |
Hi Friends , Theres a database name 'Trial' . Thro' Enterprise manager , I hv generated SQL Script for 'Trial' db. And I need to copy that 'Trial' db files ( all datas & tables etc ) into another Database 'Trial -1 ' db. which is in another remote Server … | |
Hello I am making a shopping cart where database I like to use is oracle but there are other projects which are already made with sqlserver2000 database & maybe I have to link from shopping cart to sqlserver2000 database where lots of contents are stored so what happens if I … | |
Hello, I have an essay for Friday. I would be very greatful if I can have some help with it. The task is: It has been argued that Software Engineering has become a matured discipline and should be recognised as a profession in its own right. Discuss with critical references … | |
I am (very) new to Java and am trying to convert a large VB 6 program to Java. My program does a lot of calculations and then outputs the information to screen, file or printer. My problem is outputting the data in a certain formate and viewing/printing the info. The … | |
I'm a novice programmer, I'm writing a program called GPA that reads characters and numbers from a file. The numbers from the file are the amount of credits for a course, the characters on the program represent the grade for the course. I'm supposed to find the amount of credit … | |
Hello all, At last i found a decent uk forum, hopefully someone here is prepared to help me and share there knowledge with me. I have recently installed php-nuke version 7, all working fine but really want to alter the way it looks. i have added my own temp logo, … | |
Hi there, I am currently converting a matlab file to C, and need some help writing the data calculated in 2D arrays to files. This is what i ahve done so far: <snip> File *U; File *V; File *X; File *Y; U = fopen("U.txt", "w"); V = fopen("V.txt", "w"); X … | |
hello evryone, I have created a script in php for reading information from mysql and then sending in to the subscribers. Everything works fine and when the subscriber opens an email in outlook exrpess or any other soft or webmail that doesnt format the html code of the email its … | |
As I've decided to learn how to program, and what language I want to learn (C), I'm now left with a BIG question. Do I need to learn computer theory? I've seen many posts on this forum by people who have taught themselves with books, tutorials, and much hard work. … | |
[size=4]A Programmer's Introduction to PHP 4.0[/size] [b]by W. J. Gilmore[/b] Not a bad book - Overall, this was not a bad book. I was breezing through the chapters since I already knew C++... and I have to say he did a good job on showing how to set up PHP … | |
Any good libraries out there for C++ cgi implementation? | |
I have the code(below) but I can't get the program to close data2.txt and opne it again. Is there a way to reset the starting read position? I want it read through the file for as many times as I want, without ever editing the file. [size=2]#include <fstream> #include <string> … | |
[font=Comic Sans MS][size=4]Hi Everyone,[/size][/font] [font=Comic Sans MS][size=4]I am a student and I have been asked to make a program to create business cards. At the moment I have made a fully working application with file IO. The program basicly takes any input into the text fields and displays them on … | |
[font=Times New Roman][size=3] [code] #include <iostream.h> #include <string.h> void menu_choice(); void char_count(char[], char); char* concatenating_function(char*, char*); int main() { char continue_input; char char_to_count=0; do { menu_choice(); cout<<"Do you want to continue?\n"; cin>>continue_input; }while (continue_input == 'y' || continue_input == 'Y'); return 0; } void menu_choice (void) { char word_to_use[30]; char … | |
im trying to make a program that can receive data from a port (ex. USB, Parallel) and then write back to it. i was wondering if anyone could help me out by point me in the right direction as of what to do. :-| thanks | |
Hi, I am currently creating a website for my company and I am new to VS .NET programming. I have been using it for about two or three months as a trainee but my supervisor has currently gone away for a project she must complete up there. Anyway, my problem … |
The End.