64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for elva.tanaem

Hey Guys, I'd like to try using function and procedures on my project, I tried to write them on different unit say unit2 to be used in unit1. I find a difficulties using them in unit1. thanks in advance! Elva

Member Avatar for elva.tanaem
0
327
Member Avatar for Lothia

I apologize I posted one before finding this area and this is where I should have origonally posted. I have become quite interested in three areas for an eventual masters degree, however with out a large amount of information it would be stupid for me to make any decision. Any …

Member Avatar for Rich_121
0
194
Member Avatar for chenzhp

Why static data member 'int' could initialize in class body? but 'double' can't? eg: [code=cplusplus] class Example { public: static double rate = 6.5; //wrong... static int versize = 20; //right } double Example::rate = 6.5; //yes [/code] What reason by design that syntax ?

Member Avatar for chenzhp
0
207
Member Avatar for pocnib

I know this is a homework question, but I have reached the end of my rope and really need guidance. I have had four years of Java programming then walked into my CS 3 class and was given an assignment in python. I have never worked in Python before but …

Member Avatar for pocnib
0
165
Member Avatar for ambarisha.kn

Hi everybody, I want to write enter in a text file. How to do this. I wrote the code as follows. see if i write like this, it is printing one special character like arrow. I want to print in the following line, instead it is printing in single line …

Member Avatar for ambarisha.kn
0
267
Member Avatar for dmanw100

Is there a reliable, cross-platform way to pause a program for a set amount of time? The getch() function will wait for user input, but I would like to be able to pause for say 3 seconds. If a for loop is used like so: [CODE]#include <iostream> using namespace std; …

Member Avatar for Ancient Dragon
0
129
Member Avatar for lumeniel

Hello I have a problem that I can't understand. This errror return when I try to compile: name 'image_name' is not defined. This is my code: [CODE] def LoadImage(image_name): file_name = self.clssSnc.sprites[slf.clssSnc.stat] if self.clssSnc.stat == 0: file_name = self.clssSnc.spritesi[slf.clssSnc.stati] #carrega a imagem do cenĂ¡rio ou do personagem fl = None …

Member Avatar for lumeniel
0
729
Member Avatar for AUGXIS

hi guys, i have manage to copy and paste files (excel, word, txt) in specified locations, but when i used it to copy exe files, the exe files are not being copied to specified locations.

Member Avatar for AUGXIS
0
90
Member Avatar for twburkle

I am currently working on a program that takes input from a file and calculates the averages. I decided to just write the program they way I "thought" I could do it. [code]struct student{ char name[15]; double average; double score1,score2,score3; }; struct student num_students[50]; int main (){ int i = …

Member Avatar for twburkle
0
137
Member Avatar for anitha joe

Hey all, I posted few days back about displaying all .jpeg files inside a folder in a table...I figured out partially how to do that with JSP..By Partially I mean that I am able to count the number of files inside the folder, and then run a For loop based …

Member Avatar for anitha joe
0
106
Member Avatar for kbrassfield

Can anyone tell me which utility package includes wwIncrementalSearch? I am trying to change a system that a programmer created that has passed away and left no documentation. Any help would be appreciated.

Member Avatar for kbrassfield
0
99
Member Avatar for Jennifer84

I have a problem with a redefinition when open a form. From Form15 I open Form13 wich works great: [code] #include "Form13.h" Form13 ^form13 = gcnew Form13; form13->Show(); [/code] Now when I add the same code on Form21 I will have the compilererror below: Why does this happen ? The …

Member Avatar for Jennifer84
0
100
Member Avatar for matthewwilkes

Hello All. I am currently working on a project which basically makes splash screens for plasma displays. Details on objects are stored in an Oracle database accessed using ASP.NET and requested using AJAX. I have already got a working version of this project which people are happy with but I …

Member Avatar for matthewwilkes
0
78
Member Avatar for veledrom

Hi, I have checked several examples but, i couldn't do the pagination. Please help me because i simply can't do it. I am stuck with my assignment because of this. Table is shown below. Thanks [code] CREATE TABLE `country` ( `code` varchar(255) default NULL, `rank` int(11) default NULL, `name` varchar(255) …

Member Avatar for veledrom
0
83
Member Avatar for random7

Hi, everyone I have a question about reading column data from file. helium.dat He 1.31 He 1.32 He 1.39 He 1.41 He 1.38 He 1.39 He 1.21 He 1.45 He 2.31 I want to print just the 2nd column data(number) from helium.dat like below 1.31 1.32 1.39 1.41 1.38 1.39 …

Member Avatar for hardik.38
0
237
Member Avatar for bops

It is quite hard to explain what I mean here, but... Say I have a class that is stored on a hard drive like this.. [CODE]project/helpers/MyToolkit.class[/CODE] i.e. the class MyToolKit is stored in the package project.helpers and would declare it in its code like this.. [CODE=Java] package project.helpers; public class …

Member Avatar for Ezzaral
0
152
Member Avatar for newtechie

i did a codig to find the no. of words,no. of characters and no. of lines in a file i was not getting the output, can anyone help me [ICODE]import java.io.*; public class countCharacters { public void Lines()throws IOException { File f = new File("in.dat"); FileReader fr = new FileReader(f); …

Member Avatar for newtechie
0
454
Member Avatar for PomonaGrange

Hi, I was wondering, if it is possoble (or how to) include a php file with a get form value passed. For Example: states.php?state=NY. This file would be incuded into another php file so that it would display only the items that would be in NY state. Anyone know how …

Member Avatar for PomonaGrange
0
137
Member Avatar for dmanw100

I was wondering if anyone was familiar with reading data from a file into your program. I tried using the file stream the same way cout is used but it doesnt seem to work properly. Would the getline(); function work? If so, how would that be implemented? [CODE]#include <iostream> #include …

Member Avatar for dmanw100
0
137
Member Avatar for laghaterohan

I am really at my wits end now....i am unable to find ne proper code for autonumber generation...if i do find its not working. plz i want it ..i am using sql server 2000 and vb.net 2005. just tell me can we make use of max function ? ie. first …

Member Avatar for laghaterohan
0
242
Member Avatar for kohuke

This is the error what i get when i try to run my project: [CODE]Local Exception Stack: Exception [TOPLINK-4002] (Oracle TopLink Essentials - 2.0.1 (Build b04-fcs (04/11/2008))): oracle.toplink.essentials.exceptions.DatabaseException Internal Exception: java.sql.SQLException: No suitable driver found for jdbc:mysql://localhost:3306/varad1 Error Code: 0 at oracle.toplink.essentials.exceptions.DatabaseException.sqlException(DatabaseException.java:305) at oracle.toplink.essentials.sessions.DefaultConnector.connect(DefaultConnector.java:102) at oracle.toplink.essentials.sessions.DatasourceLogin.connectToDatasource (DatasourceLogin.java:184) at oracle.toplink.essentials.internal.sessions.DatabaseSessionImpl.loginAndDetectDatasource (DatabaseSessionImpl.java:582) …

Member Avatar for kohuke
0
757
Member Avatar for ambarisha.kn

I have input files like this a.iup b.iup c.iup....... i have these input files in a variable called fname; like this char *fname="c:\\iupfiles\\a.iup"; every time i will get file name in this variable. But how to concatenate the variable with some other name like as follows in output file name. …

Member Avatar for ambarisha.kn
0
78
Member Avatar for laghaterohan

Can ne one of u plz tell me how to search a particular record in the database ? my prob is that when i enter say an ID / Name it should search into database for the same and accordingly if the record is found my cmdbutton will be enabled …

Member Avatar for laghaterohan
0
107
Member Avatar for sciwizeh

I am using Visual Studio 2008, and i am working with a single document application, it is CView Based, and i want to know how i can in addition to the view, that i will be drawing on, how i can add controls, like CButton and CListBox. do i have …

Member Avatar for sciwizeh
0
2K
Member Avatar for veledrom

Hi, I want a messagebox or alert to appear in my screen after i click on a link. I can do popup windows but i can't do this. How do i this? Thanks

Member Avatar for essential
0
73
Member Avatar for freelancelote

Hi, I'm learning c++ at the moment and the problem I have is probably very simple. I wrote some code to calculate prime factors of a given number. If I define variables as unsigned long, the code compiles and the program runs. If I define variables as double then compiler …

Member Avatar for freelancelote
0
146
Member Avatar for gispe

hi ppl, im having a problem with this program. The thing is that i need to enter the license, age and level of education of an amount of ppl, but dont know how many. then i have to get the percentaje of runners and sellers, the average age, amount of …

Member Avatar for ArkM
0
120
Member Avatar for onemanclapping

hi, when I try string.size on accentuated words, the result is bigger than it was "supposed" to be, as accentuated characters count as 2 size units instead of one. how can I count them as one? cheers

Member Avatar for onemanclapping
0
182
Member Avatar for Clockowl

Hey guys, How would one create a vector of pointers to functions? I know from C to create an array of functions, but I'd like to learn how to do it with vectors as well. Here are my efforts so far: [code=cpp]#include <iostream> #include <valarray> #include <vector> #include <ctime> #include …

Member Avatar for Clockowl
0
148
Member Avatar for EkoX

Hi all... i new to this language. so i m sorry if my question is very basically. I have two forms in my project. in first form i have a button. i want when i click this button form2 can be opened. Please help... Thank you

Member Avatar for nileshsarode
0
175
Member Avatar for fsemilla

good day! can anyone teach me how to access images and display these images using c++?because i have a project regarding accessing and viewing images in mobile phones...kindly help me...:sad:

Member Avatar for fsemilla
0
117
Member Avatar for DangerDev

Hi, I want to create a DataBase Diagram using MS SQL Server Management Studio 2005. But on context menu of DataBase Diagrams Folder, I am not able to see New Database Diagram menu item for any of the Database. I am getting only two menu item "Working with Sql server …

Member Avatar for DangerDev
0
196
Member Avatar for shijunair

hello , I am facing a problem when i am trying to get the difference between two dates which is been taken from html page through datepicker. now i am selecting two different dates with different month.for example d1 dd/mm/yyyy = 12/09/2008 d2 dd/mm/yyyy = 2/10/2008 now i am getting …

Member Avatar for shijunair
0
99
Member Avatar for fortiz147

i have passed multiple identical id values, and now i want to retrieve those corresponding id values in mysql. how do i retrieve them? the table that the ids were inserted is a join table named hrm1_employees with field names hrmemp1Id, empId, and hrm1Id. the field hrm1Id came from the …

Member Avatar for fortiz147
0
98
Member Avatar for hanzi_ru

my data report does not provide the data that i need. instead it provides some integers. can someone please help. ive attached my programme herewith

0
82
Member Avatar for hanzi_ru

ive attached my programme herewith. the report doesn't function properly in the tab 2 i have put a command button which generates the report could you please help

Member Avatar for hanzi_ru
0
103
Member Avatar for bdcd

So I'm using this script to upload a .htm file, the only problem is after I upload the file the extension is gone and doesn't display as a web page. If I go into the folder and rename the file to vsquarel.htm the file displays as a web page again. …

Member Avatar for bdcd
0
131
Member Avatar for dr_hamburger

hello guys... i have a bit of a problem with my assignment im working on :( what the problem is there is a function which accepts a string, a keyword and an array of keywords to replace the keyword occurrences with for eg, def function(text, keyword, keyword_list): and for eg, …

Member Avatar for woooee
0
503
Member Avatar for xcesmess

I'm having a little bit of trouble using the ifstream 'get' command. When I say trouble I mean it is not returning the values expected and I need a little guidance, if you will :). Basically what I'm doing is reading a file in through C++ and then going to …

Member Avatar for xcesmess
0
1K
Member Avatar for Lu5ck

Hi all, How do you read specific <div> tag from responsetext? And also, is it possible to count how many <div> tag are there in responsetext? I have been googling for quite sometime but didn't find any tutorial or explanation nor answer. Thanks for the help.

Member Avatar for langsor
0
99
Member Avatar for Duki

Probably a bit of an advanced question... How hard is it to allow for multi threading support with C#? For example, we have a motherboard that has the capability for two processors with four cores each (dual xeon quad cores). We want to dedicate one processor (or core) to calculating …

Member Avatar for Duki
0
132
Member Avatar for AON07

Hey all i'm fairly new to php and need some help with this code. I'm not recieving any errors but it wont work. what i'm trying to do is up load a picture from a form. i want to copy the picture into a folder named "images" then keep all …

Member Avatar for AON07
0
268
Member Avatar for curt22

I'm writing a class that does a lot of reading and writing from a stream It needs to write bytes, sbytes, and signed or unsigned int32 and 16. I have been having trouble finding ways to read/write evrything I need to. UInt16 and UInt32 were easy when i looked for …

Member Avatar for curt22
0
136
Member Avatar for amrith92

Hello, Now, this may sound stupid, as it concerns basic file I/O, but my code doesn't work correctly- at least it isn't doing what I want it to. I wanted it to write a file the first time it runs, which it does perfectly, and every time it is run …

Member Avatar for amrith92
0
122
Member Avatar for Hazey

Hi, I'm trying to work out this problem in my code where i am trying to replace a keyword with another word. The problem I am running into is that when the keyword is present inside of another word. Eg, "I'm trying to debug a problem but the debugger is …

Member Avatar for bvdet
0
74
Member Avatar for chillax137

I don't have a problem reading in one big array of numbers from a file. I can't figure out how to read in multiple arrays that are delimited by certain characters. For example, my dataset has the following format. #BEGIN 1 1 .1 .2 2 .8 .3 3 .9 .5 …

Member Avatar for vegaseat
0
158
Member Avatar for sciwizeh

hello, google, daniweb, and microsoft searches didn't help me with this so i hope that someone here will know. i'm trying to have a method called at a fixed interval of time from the time an application starts until it ends ( RedrawWindow() ). i know how to do it …

Member Avatar for sciwizeh
0
213
Member Avatar for zabr

hi.. :) i'm a first year college student and just starting with turbo c. We have a project that is to be pass on August 29. I hope someone can help me cause i'm really having a hard time with this. I have to make an exe. of the program …

Member Avatar for Aia
0
127
Member Avatar for Repurcussion

I'm working on a homework/project to tokenize a set of operands (double) and operators as inputs. It's been going well enough and I have been able to finish it by implementing my own tokenizer but when I tested my output exe with digits greater than 7 I get a random …

Member Avatar for Repurcussion
0
166
Member Avatar for litchi

Hello there, I am having trouble with a form/database. I have 3 age groups that needs to be sorted into 3 separate tables. Users fill in a form (dropdown list with the separate age groups) and when they click submit, the data gets sorted in tables on another page. With …

Member Avatar for litchi
0
179

The End.