199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for FireNet

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 …

Member Avatar for FireNet
0
162
Member Avatar for dwhite02

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 …

Member Avatar for Paladine
0
304
Member Avatar for ElectroBoy

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' …

Member Avatar for ElectroBoy
0
251
Member Avatar for dirs

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???

Member Avatar for BlackDice
0
136
Member Avatar for FireNet

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 …

Member Avatar for FireNet
0
232
Member Avatar for liliafan

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 …

Member Avatar for liliafan
0
269
Member Avatar for camelNotation

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 …

Member Avatar for meabed
0
343
Member Avatar for marceta

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 …

Member Avatar for marceta
0
295
Member Avatar for Transworld

[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 …

Member Avatar for Transworld
0
682
Member Avatar for i686-linux

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 …

Member Avatar for liliafan
0
202
Member Avatar for AmericanD

[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 …

Member Avatar for AmericanD
0
159
Member Avatar for monicao

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 …

Member Avatar for monicao
0
180
Member Avatar for dina

Can anyone help? Could someone please explain to me what a p2p network is?

Member Avatar for kc0arf
0
143
Member Avatar for ALAN 007

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 …

Member Avatar for ALAN 007
0
123
Member Avatar for spikes

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) = @_; …

Member Avatar for spikes
0
296
Member Avatar for zeakman

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

Member Avatar for scisoft
0
251
Member Avatar for root

[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"> …

Member Avatar for liliafan
0
221
Member Avatar for parisa

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 …

Member Avatar for maxim_kh
0
234
Member Avatar for ZoilaResendiz

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 …

Member Avatar for BlackDice
0
239
Member Avatar for L3fty19

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 …

Member Avatar for BlackDice
0
108
Member Avatar for liliafan

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 …

Member Avatar for liliafan
0
254
Member Avatar for bil

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 …

Member Avatar for infamous
0
201
Member Avatar for Asif_NSU

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 …

Member Avatar for scisoft
0
147
Member Avatar for raybulba

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 …

Member Avatar for vesselin
0
200
Member Avatar for liliafan

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 …

Member Avatar for liliafan
0
261
Member Avatar for Dark_Omen

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.

Member Avatar for liliafan
0
176
Member Avatar for ScriptBoy

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 !

Member Avatar for liliafan
0
93
Member Avatar for Tellie

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. …

Member Avatar for Tellie
0
281
Member Avatar for ShizNiz

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?

Member Avatar for Slade
0
112
Member Avatar for Dreamcatcher

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 …

Member Avatar for scisoft
0
160
Member Avatar for Slade

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 …

Member Avatar for Slade
0
125
Member Avatar for DearEphesus

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, …

Member Avatar for DearEphesus
0
138
Member Avatar for mengDaniWeb

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 …

Member Avatar for DVHost
0
187
Member Avatar for Impassible

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 …

Member Avatar for Roberdin
0
880
Member Avatar for shishi

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 …

Member Avatar for Paladine
0
231
Member Avatar for paresh72

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 …

Member Avatar for Paladine
0
249
Member Avatar for cecilieuk

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 …

Member Avatar for Dani
0
228
Member Avatar for Ronnie

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 …

Member Avatar for Ronnie
0
124
Member Avatar for frosticex

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 …

Member Avatar for frosticex
0
189
Member Avatar for mike_j_d

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, …

Member Avatar for mike_j_d
0
203
Member Avatar for MrCool

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 …

Member Avatar for BountyX
0
223
Member Avatar for nicpon

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 …

Member Avatar for Dani
0
181
Member Avatar for DanteInHell

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. …

Member Avatar for Dani
0
159
Member Avatar for samaru

[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 …

Member Avatar for webmorpheus
0
232
Member Avatar for BountyX
Member Avatar for Gnome_101

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> …

Member Avatar for Gnome_101
0
484
Member Avatar for clobbasaurus

[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 …

Member Avatar for BountyX
0
1K
Member Avatar for Marcela

[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 …

Member Avatar for BountyX
0
117
Member Avatar for Cplusstudent1

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

Member Avatar for Cplusstudent1
0
83
Member Avatar for Slade

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 …

Member Avatar for Slade
0
186

The End.