199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for mrjoli021

I cant get the program to compile I am getting 'system': identifier not found I have the following includes #include "stdafx.h" #include "Email.h" #include <iostream> #include <fstream> #include <String> #include <cstdio> #include <stdlib.h> [code] #pragma once using namespace System; namespace Email { public ref class Class1 { private: void telnet …

Member Avatar for Duoas
0
242
Member Avatar for adrive

i'm not sure if i'm getting this right, but i still remember java allowing me to cast an object to another type as long as their ancestors are the same? I can't seem to do this in delphi, the compiler doesn't seem to understand the methods and attributes of each …

Member Avatar for adrive
0
805
Member Avatar for mr.cool

hi, i need help with how to find the max number and min number from an array. there are 31 numbers, i know that i am suppose to use a for loop to do this and this is what i got so far array is inputed by user [code] #include …

Member Avatar for mr.cool
0
111
Member Avatar for magikman

Hello, I am trying to write something to edit a sendmail aliases file via the web. The script should have a drop down menu with the different pager numbers in it. When someone picks their number out of the list, the script should replace one entry in the aliases file. …

Member Avatar for KevinADC
0
201
Member Avatar for love19_foryou

I hv downloaded html to pdf convertor but i am not able to use css in pdf file. can anyone hrlp me.

Member Avatar for phper
0
92
Member Avatar for halifaxer

Hi there, Bit of a complicated query, for me anyway. lol Following code: [code]$url = 'http://www.cheapsmells.com/viewProduct.php?id=6590'; $html = file_get_contents($url); preg_match('/<div class='productOurPrice'?>(.+?)(\d+\.\d+)(.+?)?<\/div>/', $html, $match); $out = $match[2];[/code] Great, no problem! However, this next url I need to code to is a bit trickier as the tag data is, well see below... …

Member Avatar for phper
0
144
Member Avatar for lesalmin

How should I implement "interactive refresh" (I don't even know how I should call it) where one visitor's action (klicking a link, submit button etc. - everything will do) activates page refreshing of other visitors on the same page? I know how to implement an automatic, periodic refresh but I …

Member Avatar for phper
0
177
Member Avatar for crazygray

I read somewhere that in order for the OS to take control away from a task that you would set up an int to fire every time a certain time passes. How would you set one up.

Member Avatar for crazygray
0
67
Member Avatar for HLA91

Hi all I was looking for a port scanner to see what was open on my laptop and I thought as I was learning C++ why not search for a C++ port scanner. I came across this code I can make sense of most of it but it wont compile. …

Member Avatar for Duoas
0
1K
Member Avatar for csteverun

In PHP I can use the pack function to format a integer value to a 16 bit wav channel chunk. It gets the endianness right and it works. How would one go about creating raw wav data in c? [code] function cram ($integer, $type = 's', $length = '*') { …

Member Avatar for csteverun
0
153
Member Avatar for pci16f628freak

i have couple of months trying to learn how to compile programs in assembly and it's very interesting. by now i'm working on 2 projects. i have to say that i'm a newbie in assembly but i'm trying :) the 1st is a hex counter which counts from 00-0F and …

Member Avatar for Colin Mac
0
163
Member Avatar for dv1r

i have no idea whats wrong with this function =\ [code] void throw_cards(card h_cards[]) { char f; cleardevice(); while(f!='f') { printf("from 0 to 6 pick the cards you want to thorw\n"); printf("to finish hit 'f'"); f=getch(); printf("trowing card %c",f); } } [/code] i get the error: Type mismatch in redecleration …

Member Avatar for dv1r
0
187
Member Avatar for Mr.popo

Ive got my own python modules which I need to place somewhere so python can read them. Ive got two questions. 1. Wheres the best place to put modules? 2. It wont let me add modules to /usr/lib/python2.5? Thanks Mr.popo

Member Avatar for Mr.popo
0
1K
Member Avatar for mamanbeti

want to know what u thing??? name: sara name:miky name:ducky code:1345X code:2238Y code:7569Z IF THE USER ENTERS WRONG NAME THE SYSTEM ASKS TO RE-ENTER. THE SYSTEM ONLY ALLOWS THREE CONSECTIVE ATTEMPTS.AFTER CORRECT NAME ENTERED THE SYSTEM ASKS FOR ALPHANUMERIC CODE WHICH AGAIN SYSTEM ALLOWS ONLY THREE CONSECTIVE ATTEMPTS. IF THE …

0
79
Member Avatar for mrjoli021

I am having some isues adding std as a namespace. I am using vs2008. don't know if that has something to do with it. [code] #pragma once //using namespace System; using namespace std; namespace Email { public ref class Class1 { private: void telnet () { system("dir"); } }; } …

Member Avatar for Duoas
0
587
Member Avatar for usc87bb

Hi there...I'm pretty new at the PHP game, I've basically taught myself everything from looking at examples scripts and Google, and I've only been tinkering with scripts for about a week. Therefore, I'm confused about the error I'm getting when I try and run this part of the script. Basically, …

Member Avatar for usc87bb
0
92
Member Avatar for uthnim

helllo everyone, i am writing a C++ program using ifstream. There will be two text file_ one with balance of the customer's account, and the other with the customer's purchase. Just like this. 100 1000.00 101 2000.00 102 3000.00 103 4000.00 the above is the balance.txt with customer nos (100 …

Member Avatar for Duoas
0
140
Member Avatar for reggyrolls04

I have written a VB6 application to query an industrial MSSQL database and installed it locally to run on one network machine, Is it possible to install it on the server to allow all users to run it? Is the compile/build any different?

Member Avatar for reggyrolls04
0
82
Member Avatar for mrjoli021

I am new to c++ classes. I am trying to write a simple e-mail class. below is my .h file. In the cpp all I have is the main which is empty right now since it wont even compile. I am getting cout and endl as an undelclared identifier. I …

Member Avatar for mrjoli021
0
197
Member Avatar for shimul_13

Hi I am new in java. It is quite hard to code cpu scheduling algorithm SJF(preemtive and nonpreemtive) with a class pcb, ready queue.Thanks all.

Member Avatar for jwenting
0
103
Member Avatar for TankMontna

Im trying to move an object, but I want the object to move every couple of seconds. I heared of the java script "time" or "timer" But im not sure how it goes.. Thanks,

Member Avatar for Ezzaral
0
301
Member Avatar for saranya_arun

I have 4 radio buttons and 4 text boxes, say for eg: r1, r2, r3 and r4 and t1, t2, t3 and t4 respectively. On load of the page all 4 text boxes will be disabled, when i click on r1, t1 must get enabled. When i click on r2, …

Member Avatar for ~s.o.s~
0
266
Member Avatar for tehprince

I have the following program I need to write: I need to read in a line of text and then output a list of all the letters that occur along with the number of times each letter occurs. An array with a struct type as its base must be used …

Member Avatar for VernonDozier
0
150
Member Avatar for goroogee

i m a student of BS(CS), How can I call Crystal 9 Report from VB 6.0 , usin MSAccess as database.. ther is no Crystal Report Control Component as in Crystal Report 7.. plzz give some solution... i have very shot time to submit my project....thanks in ADvance!

Member Avatar for zahirjaved
0
160
Member Avatar for pranavdv
Member Avatar for choudhuryshouvi
0
417
Member Avatar for mrjoli021

I am writing a program that requires me to call certain dos commands. I am using the system function like: system("attrib -h"); when I try to compile it I get error C3861: 'system': identifier not found I am using vs2008 any ideas did the command change??

Member Avatar for mrjoli021
0
109
Member Avatar for silentdragoon

Hi folks. I'm trying to do something I hope is very simple -- taking an argument placed after the program's name and storing it. So, if I type whatnumber 4 it will store the value 4, whatnumber 100 will store 100, etc. I've tried using int argc, char *argv[] instead …

Member Avatar for silentdragoon
0
108
Member Avatar for mark0420
Member Avatar for smilyswapna10

hi all, when i refresh the parent window then the child winodw should be closed using javascript and html. Thanks& Regards, swap.

Member Avatar for nav33n
0
90
Member Avatar for atiti.m001

Hii guys, Here v can discuss about Problems in database design. If u know the answers , plese post ur answers here. How do u get the distinct rows in a table/resultset? How do u get the distinct rows without using the keyword DISTINCT?

Member Avatar for subnet0
0
748
Member Avatar for wijitha

hi all.. Can any one explain, when i have class Pet, what is the difference of declaring variables like each of following. Pet mypet; Pet mypet = new pet(); Pet* mypet = new Pet(); thanks.

Member Avatar for invisal
0
91
Member Avatar for dorcas

I installed Wampserver on my machine and everything else seems to be working well except that scripts on html pages are not being executed by the server. I previously had Apache 2.0.59 and still experienced the same problem. E.g on the code below: [code] <html> <body><?php echo "Hello World"; ?> …

Member Avatar for ezb
0
108
Member Avatar for Rob_ledo

Hi, I'm new to Visual Basic and this forum and I would like to ask if anyone could tell me if there is away of linking option buttons with text boxes. I have to do a mulitple choice program where the questions and answers are stored in an access database. …

Member Avatar for Rob_ledo
0
149
Member Avatar for Bro

I have about 100 sub web sites under my domain, example: domain.com/England, domain.com/Denver and I adding more, I need my main web site to recognize where the customer came from (which sub domain) and send the form information via email to that office. Let's say someone goes to my England …

Member Avatar for rudevils
0
77
Member Avatar for laspal

Hi I wanted to know how can I make sure that table exist in my database. [code] class Record: def __init__(self): self.conn = MySQLdb.connect( host = 'localhost', user = 'root', passwd = 'abcd', db = 'justfun') self.cursor = self.conn.cursor() self.cursor.execute("DROP TABLE IF EXISTS book") self.cursor.execute( """CREATE TABLE book (name char(40), …

Member Avatar for katharnakh
0
3K
Member Avatar for eranga262154

Hi all, I've use a CStringArray to store some CStrings in my application. Now I want to use another CStringArray on the same application. So I add another CStringArray instance on the class view, VC++ .Net 2003. When I add and compile it don't give any error message. But when …

Member Avatar for eranga262154
0
930
Member Avatar for janvanderpeet

I have examined and tried several software products for protecting software against illegal copying, reverse engineering etc., but they are all time-consuming and often poor. So I think about making the protection myself, but have no idea how to do that. Does anyone know a tutorial for this or a …

Member Avatar for choudhuryshouvi
0
90
Member Avatar for kartik07

[B]Import all XML files from directory to ACCESS[/B] hi , I am new to VB6 and as part of my project,I need to create a module which imports XML files from a directory and stores in a singleDB(I am using ACCESS 2007). All the XML files wil be stored in …

Member Avatar for choudhuryshouvi
0
155
Member Avatar for tie372

How would I make it so when I select something from a mysql database, that information isn't stored in the array twice? Here is my code [code]<?php include "header.html"; include "db.php"; if($_GET[by]==genre) { $sort = mysql_query("SELECT genre FROM bands ORDER BY genre"); while($sort2 = mysql_fetch_array($sort)) { $sql=mysql_query("SELECT * FROM bands …

Member Avatar for digital-ether
0
70
Member Avatar for mamanbeti

hi thankyou very much to the person who replied me. you have asked for the combination the combinations are: name: sara name:miky name:ducky code:1345X code:2238Y code:7569Z IF THE USER ENTERS WRONG NAME THE SYSTEM ASKS TO RE-ENTER. THE SYSTEM ONLY ALLOWS THREE CONSECTIVE ATTEMPTS.AFTER CORRECT NAME ENTERED THE SYSTEM ASKS …

Member Avatar for mamanbeti
0
98
Member Avatar for Chepas

I have managed to read a file name and two strings. Now I need to search the file for a lines that maches string1 and replace them with string2. And I have no idea how to do that. Can anyone help me please.

Member Avatar for Chepas
0
118
Member Avatar for SergioQ

Ok, ran into some problems in one of the newsgroups so thought here would be an excellent place to turn. Actually have only posted once or twice here and was real surprised at the pleasantness of the answers. So. You have [B]bOrders [/B]and [B]bUser [/B]listed respectivly below. In the simplest …

Member Avatar for vssp
0
124
Member Avatar for kings

i have three table 1st viewleave 2nd applyleave 3rd personal based on the leaveid in viewleavetable i wnt to fetch the spid in the second table,based on the spid i want to select spid email address........please tell how to do tat.. CREATE TABLE `viewleave` ( `leaveid` varchar(25) NOT NULL, `message` …

Member Avatar for vssp
0
94
Member Avatar for killer007

[B]Hello Guys Can anybody here answer my this question. How we can show Latest Categories from this Sql table. Here is the Table [code] -- -- Table structure for table `jos_afm_cats` -- CREATE TABLE `jos_afm_cats` ( `cat_id` int(11) NOT NULL auto_increment, `parent_id` text NOT NULL, `file_id` int(11) NOT NULL default …

Member Avatar for nav33n
0
130
Member Avatar for kv79

I have this problem with my ( .rc) file i do not know why [code] #include "digitron_h.h" MENU_ID MENU BEGIN POPUP "&File" { MENUITEM "E&xit", EXIT_ID } POPUP "&Help" { MENUITEM "H&elp About", HELP_ID } END ID_DIALOGEX DIALOG 0, 0, 98, 52 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION CAPTION "calc" …

Member Avatar for Comrade Ogilvy
0
163
Member Avatar for jsully1

I am currently going to school for a CS degree and I was wondering what people would recommend doing to keep my programming skills up to date. I can only take about 2 classes a term and some of programming classes are really spread out making it hard to remember …

Member Avatar for jsully1
0
191
Member Avatar for deicer

I have a program that needs to replace all occurrences of the words "Giants" with "New York Giants". So the following line: The Giants won a big game today, it was the first playoff win for the Giants in 7 years Would convert to The New York Giants won a …

Member Avatar for Ancient Dragon
0
129
Member Avatar for hanes84

Hi, thx to jax_man that i converted my code to vb.net but the problem now is that the program don't seem to work. The button when i clicked on don't work. sorry i'm new to programming.

Member Avatar for hanes84
0
123
Member Avatar for omeralper
Member Avatar for twomers
0
150
Member Avatar for FoX_

Hi all; I have to create a Binary Tree(not a Binary Search Tree) whose node values are produced randomly... If I had to create a Binary Search Tree , I could determine where the current node has to be inserted but in a Binary Tree I can't determine where the …

Member Avatar for VernonDozier
0
156

The End.