199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for urufukiba

im trying to make a program that reads a text file in the format: 2 polygon 3 90 90 90 90 90 90 polyline 2 12 80 30 15 (not the real numbers obviously) and have the program read how many things, what type, how many points for that type, …

Member Avatar for urufukiba
0
94
Member Avatar for serkan sendur

i got compiler error stating that : Only static data members with const integral or const enumeration type can specify an initializer in the class definition what is the logic behind that? why is the compiler designed not to accept any non constant static initialization of types?

Member Avatar for Narue
0
113
Member Avatar for gsingh2011

Hi, what are the advantages of C# over C++? I have a little bit of knowledge in both of them, but I am going to choose which one to dedicate most of my time to.

Member Avatar for ddanbe
0
841
Member Avatar for bob on whidbey

I'd like to read/write xls files in Delphi. I think there's a way to do this using ADO. Can anyone provide an example or head me in the right direction. Thanks.

Member Avatar for LizR
0
301
Member Avatar for mtramnes

I downloaded active perl and go to the perl package manager but I cant figure out how to get my applications to run. Any suggestions?

Member Avatar for KevinADC
0
132
Member Avatar for mtramnes

Im taking a perl class not exactly sure if what Im doing is right. I was to take a written program that allowed the user to enter a number guessing what the target was. The original used elseif statements to let the user know if the guess was to high, …

Member Avatar for KevinADC
0
125
Member Avatar for floodemo

[code]#include<iostream.h> #include <string> using namespace std; struct sdata { char name[5]; int reg; }; struct sub { char subject[30]; sub * move; }; void instudent(sdata & ins ); void show(sdata * ins); class inf { sub * begin; sub * look(int limit) { sub *pointer=begin; for(int i=1; i<limit; i++) pointer=pointer->move; …

Member Avatar for Alibeg
0
150
Member Avatar for Dell XPS

i have windows mobile and i need to send an receive messages via my phone from my pc. can you help?

Member Avatar for Dell XPS
0
95
Member Avatar for CPPRULZ

Hi I have to do an assignment for a course that includes that I use new stream insertion and stream extraction techniques. On the lecture notes it briefly mentioned cin.get() and getline but not in a very descriptive way. Could anyone please summarize the use of get() when inputting more …

Member Avatar for mrnutty
0
115
Member Avatar for ttmt

Dynamically name array <input> checkbox ? Is it possible to generate dynamic array names for input checkbox forms ? I'm using this code to generate a form of text fields and checkboxs [code] <?php require_once("includes/connection.php"); require_once("includes/functions.php"); include("includes/header.php"); ?> <?php $query = "SELECT key_id, words FROM keywords"; $result = mysql_query($query); confirm_query($result); …

Member Avatar for diafol
0
172
Member Avatar for Medix

How can we Justify this thing that Dynamic memory allocation is more flexible and efficient than static memory allocation but slower than static?Pls explain

Member Avatar for Medix
0
91
Member Avatar for timos

Hello, this is my file format: MP,EX,1,1.081048e+10 MP,ALPX,1,9.600000e-06, 3, 2.3 MP,NUXY,1,3.000000e-01 CX,DENS,1,2.797598e-01 BT,KXX,1,6.752689e+02 MP,C,1,3.448000e+05 I want to extract first sring, then second, then I want to extract all numbers in to a float till I come newline, there could be up to 10 values. How do I extract if my …

Member Avatar for vmanes
0
89
Member Avatar for gsingh2011

Hi, what are the advantages of C++ over C#? I have a little bit of knowledge in both of them, but I am going to choose which one to dedicate most of my time to.

Member Avatar for d0pedup
0
298
Member Avatar for d0pedup

Firstly, this is my first "project" involving code written by others, on top of which no experience dealing with any framework. Given this information, how do i understand a framework. Also, Very little documentation is available ATM. I tried to use a top down approach i end up accomplishing very …

Member Avatar for d0pedup
0
86
Member Avatar for Unebrion

Hi everyone! I'm new here this is my first post and woe is me its a call to anyone willing to help me! I'm in an introduction course to java at school and I have programed a little in the past, but nothing to write home about. Today my instructor …

Member Avatar for quuba
0
141
Member Avatar for jake88

I've parsed an XML and now I'm trying to write into some elements that are text nodes. What is the best way to go about writing into these text nodes? Ex. <tag>insert texty text here </tag>

0
63
Member Avatar for seebharath

How do i read an xml file with unmanaged c++?? is there any built in classes with VS 6.0 i.e with unmanaged code.. Please help..

Member Avatar for jake88
0
114
Member Avatar for yuanza

I have this program that will ask user to put in the day, it compiles but every time i set the day to Saturday this program won't display Saturday, instead it shows Sunday. It also won't correctly generate the output for yesterday if the current day is Sunday and tomorrow …

Member Avatar for yuanza
0
127
Member Avatar for Lukezzz

I have a general question. I have a Form where I have some buttoncontrols and 3 textBoxes. What I do now is to add a "TabControl" and a panel1 on the Form and then I put all the other controls inside this panel on the "TabControl". When I now compile …

Member Avatar for vnevyhosteny
0
193
Member Avatar for niall_heavey

I am trying to make a database of images. The purpose of this is for Robocup soccer tournament. When the robot sees an image while playing it can then refer to its database of images and match its image with one in the database. The database image should have properties …

Member Avatar for Nick Evan
0
81
Member Avatar for nikola.rosic

I have a panel on form and i'm drawing a graph on it with a pen.When i open something on top of that form or i minimize the form and maximize it, the panel goes white until i draw something on it again.So i think i could call an event …

Member Avatar for nelis
0
222
Member Avatar for rajiva

any information regarding ruby on rails with php.iam working on oscommerce now.i want to learn ROR

Member Avatar for ruby50
0
89
Member Avatar for jo84

hello everybody I am new to this forum. i got a doubt. i working on a small project. the thing is my Hosp no should be in the format 123456R. Now there are old patient with the following the hospital number 12345R. In this case i want a 0 to …

Member Avatar for QVeen72
0
151
Member Avatar for Stefano Mtangoo

Hello all, I'm starting C++ and wan't to learn for loop. I want the Loop to count down the rotate and print its value until when it equals to value where it terminates. Here is code [CODE=C++] int value; int rotate = 4; for (value = 0; rotate>value; rotate--; ){ …

Member Avatar for Stefano Mtangoo
0
92
Member Avatar for thelamb

Hello all, I am coding a client/server in C++ - everything is working so far but I was wondering if my approach is correct or if there is a better way of handling this: In this version only 64 clients need to be able to connect, in a different application …

Member Avatar for thelamb
0
182
Member Avatar for ff4930

Hello, Im new in ASP.NET and have been reading about state management and have a couple of questions, it be great if someone could help me understand. Im having trouble understanding the use of ViewState. It is only limited to the current page, what kind of typical/common use would it …

Member Avatar for greeny_1984
0
372
Member Avatar for Stefano Mtangoo

I know of ww.portablepython.com/ Can anyone know how to do a combination of IDE and this python in stick. Also if anyone have ever tried to add other python modules to it like Vpython, wxpython, etc Thanks alot

Member Avatar for Stefano Mtangoo
0
393
Member Avatar for nicolemcgrgr50

Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() what to do ?

Member Avatar for cwarn23
0
125
Member Avatar for taichou

hi, it's me again, uhm i have this program for bantumi game, this program is running, but there are some problems i am encountering whenever i execute it.. hope you understand my program.. [code=c] //this is a two player bantumi game,the user will enter the position in the board game …

Member Avatar for geemicah
0
133
Member Avatar for smithss

Hi Guys... I have some basic doubts with references and pointers and need some understanding on the behavior of this code [code=c++] #include <iostream> using namespace std; class a { public: int getAmount(a&); private: int amount; }; int a::getAmount(a& p) { cout << this << endl; cout << p << …

Member Avatar for smithss
0
91
Member Avatar for babbi

hiii, plz help me in finding the history of online examinations.i browsed many sites but couldnt get the apt information like, 1)whats the 1st found web based tool for online examinations, 2)drawbacks of online examinations, 3)whats the reason behind the urge for web based online examinations. plzzz its urgent,thanks a …

Member Avatar for diafol
0
139
Member Avatar for TasostGreat

i've got this code it compiles but it when I try to run it it says segmenatation fault [CODE]/* #include <stdio.h> #include <iostream> using namespace std; int rite(); int a,b; char g,f; int main () { size_t count; FILE * pFile; pFile = fopen ("in.h","r"); count = fscanf (pFile, "%d%d",&a,&b); …

Member Avatar for TasostGreat
0
140
Member Avatar for surekhavk

am using custom pagination using the following [code]Case "Prev" If GridView1.PageIndex > 0 Then GridView1.PageIndex = Int32.Parse(GridView1.PageCount) - 1 End If Case "Next" If GridView1.PageIndex < (GridView1.PageCount - 1) Then GridView1.PageIndex = Int32.Parse(GridView1.PageCount) + 1 End If[/code] for first and last its wrking properly but in using this two pagination …

Member Avatar for surekhavk
0
101
Member Avatar for wolverinert68

This is my first attempt at coding. I am completely frustrated and need any help you can give me. I am supposed to take the values in the main method and in the next 2 (these are the ones i am trying to write from scratch) make the values in …

Member Avatar for mattwaab
0
120
Member Avatar for gsingh2011
Member Avatar for Blondeamon

Hello guys i am solving last years exams for practice when i stepped over this quiz. I have been fighting it for 2 hours but cant solve it. I must fill in the blanks so the program makes sense and i know its an interface , a class and a …

Member Avatar for darkagn
0
125
Member Avatar for sonakrish

hi all.... I'm trying mailing concept. After entering FROM address, TO address ,subject and body of the message and while clicking the send button am getting [COLOR="Green"] Mailbox unavailable. The server response was: 5.7.1 Unable to relay for "as@a.com" [/COLOR] what wrong i would have made? Plz guide me

Member Avatar for sonakrish
0
120
Member Avatar for agfras

I want it to skip any lines read that throw an exception so I store the lines with errors in an ArrayList. But when it goes through when it gets an error, it will not skip the line and give same error and keep repeating. [code=java]/** * */ /** * …

Member Avatar for agfras
0
81
Member Avatar for shers

Hi, I have done some code to display a form with a treeview. The initial folder in the treeview is given in the Project Properties Settings. I did this with the help of some brilliants here in this site like LizR. [URL="http://www.daniweb.com/forums/showthread.php?t=159402&highlight=file+path+in+xml"]http://www.daniweb.com/forums/showthread.php?t=159402&highlight=file+path+in+xml[/URL] My intention is to allow the client or …

Member Avatar for shers
0
211
Member Avatar for mtucker6784

Hi! First, I want to say that this is not any type of school assignment. I'm in the IT field and looking to work on learning C++. I've been following the book from: [url]http://msdn.microsoft.com/en-us/beginner/cc305129.aspx[/url] and I'm now trying things on my own. The program which the code below compiles will …

Member Avatar for Rashakil Fol
0
138
Member Avatar for mmxbass

Attempting to scroll a simple background using pygame. This is proving to be near-impossible. It seems that once a surface is blitted anywhere, it WILL NOT blit into a new location. My two problem functions: [CODE] def loadMap(self): vid = _video._Video() self._bg = self._map.get_background().get_pyImage() self._fg = self._map.get_foreground().get_pyImage() vid.paint(self._bg,0,0) vid.paint(self._fg,0,0) def …

Member Avatar for mmxbass
0
112
Member Avatar for serkan sendur

i wonder if i create an object from a class using new operator, and if i dont delete that object when i am finished using it, does it still remain in the memory after the program reaches the and of the main function? Thanks

Member Avatar for Free_Classified
0
470
Member Avatar for maddy05

this is a project made by me but its issue function is not working well instead of modifying and changing the value of issue to 2 it is adding another book with issue 2 in the file can some one correct it // **library management** // // **library members can …

Member Avatar for Murtan
0
246
Member Avatar for death_oclock

Visual C (2008) is acting as if I never included a header file (wave.h) that I am using, but the #include statement is definitely there. Here's my main (BPM analyze.c): [CODE=C]#include "stdafx.h" #include "common.h" #include "sound.h" #include "wave.h" int main(int argc, char* argv[]) { SAMPLE samples[2]; unsigned int i, j; …

Member Avatar for Aia
0
135
Member Avatar for tondeuse34

Hey guys, [CODE]import sgmllib class MyParser(sgmllib.SGMLParser): def parse(self, s): "Parse the given string 's'." self.feed(s) self.close() def __init__(self, verbose=0): sgmllib.SGMLParser.__init__(self, verbose) self.hyperlinks = [] def start_a(self, attributes): for name, value in attributes: if name == "href": self.hyperlinks.append(value) self.newhyperlinks.append(name) def get_hyperlinks(self): return self.hyperlinks import urllib, sgmllib f = urllib.urlopen("http://www.python.org") s = …

Member Avatar for scru
0
153
Member Avatar for stephen lowry

hi guys i have written a small program to receive data from a cash reg printer everything works fine but(yes theres always a but) the data from the till output is in compleat string ie bread 0.67 what i want to do is extract the last text on right and …

Member Avatar for Comatose
0
94
Member Avatar for zoner7

I'm currently taking a computer security class. The thing is, I haven't even taken an intro computer programming course. I taught myself a good deal of C++ back this summer, but I hardly know as much as the other students in the class. we were asked to manipulate the following …

Member Avatar for zoner7
0
803
Member Avatar for drastic

hi, i am using php version 4.1.3 and i was using php constants like _FILE_ and _LINE_ in echo statements but when i run these statements in browser they give error that constants are undefined but other php constants like one for php version and operating system work quite well.. …

Member Avatar for sjoscelyn
0
392
Member Avatar for rajeesh_rsn

Hi Please any one help me with a secure php image upload script... With out change the destination folder's chmod to 0777..... Please help me....... I am using php apache server... thx in advance

Member Avatar for almostbob
0
100
Member Avatar for gpittingale

[CODE]$result = mysql_query($sql_query,$conn) or die('Invalid query: ' . mysql_error()); $tip = $details['TotalHouseholds']; $perc = 21.33% $sumone= $tip*$perc;[/CODE]could anyone tell me if this is remotley correct i have tryed it in a browser but i get the page displayed normally with a nice line of code telling me [QUOTE]Warning: Division by …

Member Avatar for almostbob
0
94

The End.