199,114 Archived Topics
Remove Filter ![]() | |
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 … | |
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 … | |
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 … | |
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. … | |
I hv downloaded html to pdf convertor but i am not able to use css in pdf file. can anyone hrlp me. | |
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... … | |
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 … | |
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. | |
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. … | |
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 = '*') { … | |
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 … | |
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 … | |
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 | |
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 … | |
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"); } }; } … | |
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, … | |
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 … | |
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? | |
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 … | |
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, | |
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, … | |
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 … | |
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! | |
how to generate alphanumeric autonumber in Aceess backend with VB6 coding | |
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?? | |
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 … | |
hi all, when i refresh the parent window then the child winodw should be closed using javascript and html. Thanks& Regards, swap. | |
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? | |
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. | |
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"; ?> … | |
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. … | |
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 … | |
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), … | |
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 … | |
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 … | |
[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 … | |
![]() | 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 … |
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 … | |
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. | |
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 … | |
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` … | |
[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 … | |
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" … | |
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 … | |
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 … | |
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. | |
i just want to know how to write a circular linked list destructor. anybody help? | |
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 … |
The End.