199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for adiga
Member Avatar for Traicey
0
80
Member Avatar for joshmo

am trying to delete an element from my list but am having a problem..i have managed to position my pointers well but av failed to to the actual element. i.e user enters a number to be deleted from the list..here's the bit of the deleting code that i have been …

Member Avatar for joshmo
0
128
Member Avatar for CoolGamer48

Hey, when I run this code: [CODE=Cplusplus]else if(strcmp(buffer,"#itemSprite") == 0) { char* sprite_filename = ""; int trans_r; int trans_g; int trans_b; int width; int height; int numFrames; int numCols; int frameChangeDelay; fscanf(file,"%s",sprite_filename); fscanf(file,"%d",&trans_r); fscanf(file,"%d",&trans_g); fscanf(file,"%d",&trans_b); fscanf(file,"%d",&width); fscanf(file,"%d",&height); fscanf(file,"%d",&numFrames); fscanf(file,"%d",&numCols); fscanf(file,"%d",&frameChangeDelay); item->SetSprite(sprite_filename,D3DCOLOR_XRGB (trans_r,trans_g,trans_b),width,height,numFrames,numCols,frameChangeDelay); }[/CODE] I get an error on this line: …

Member Avatar for mitrmkar
0
86
Member Avatar for ChrisP_Buffalo

I want to iterate through the rows in two csv files and test values. For every row in file 1 that has the same value in Cell A as a row in file 2, I want to check to see if the file 2 value in Cell C is larger. …

Member Avatar for ChrisP_Buffalo
0
124
Member Avatar for Novasie

Hello! Ive been working on a little python program on a newbie course in python and ive come this far that ive created a program that reads from a file and counts the lines of the file (each line a players name with some stats). Then it asks for how …

Member Avatar for jrcagle
0
107
Member Avatar for jmines

I want to change the background color of the output screen in Dev-C++. How can I do that? I searched the Internet but didn't find any. Any help on which function should I use?

Member Avatar for Salem
0
167
Member Avatar for Mackjan

My first function returns (a, b). The second function must control it if (a, b) are True or False. If it is False call again the first function until the user put in right numbers. It dose not work. Is it a good idea to do that in this way …

Member Avatar for Mackjan
0
93
Member Avatar for Johnson_34

I wrote a spell checker function, however I could not adjust its language. Although it has an adjustment part : object objLanguage = Word.WdLanguageID.wdEnglishUS; , it is not working. I live in Turkey and it works Turkish. Can you help me ? Thanks a lot. [CODE]public string[] Suggest2(string word) { …

Member Avatar for Johnson_34
0
142
Member Avatar for awi123

the program asks to calculate the power of a number, for eg. if 2 is entered as the base and 3 is th power it should display 8.

Member Avatar for lich
0
120
Member Avatar for computer engW

Here i have problem with ctype.h library .I think i use correctly,but i ahve an error on it. This is the code. [ICODE]#include<iostream> #include <ctype.h> using namespace std; int main(){ char letter; int num; int isdigit(int letter); int isupper (int letter); int islower( int letter); int small=0; int capital=0; int …

Member Avatar for computer engW
0
182
Member Avatar for sieghart0123

I'm new at C++ programming and am working on an assignment. I've managed to compile my codes alright but got an error while testing the program. The error surfaced halfway through viewing details of a linked list, where suddenly, the program started printing weird characters while the computer emit beeping …

Member Avatar for sieghart0123
0
130
Member Avatar for seeker55

I slacked off in class while my teacher was teaching us how to algorithms and now I have my exams coming up and require help in writing basic algorithms. Please help me understand basic algorithms daniweb community, I'm counting on you :(

Member Avatar for seeker55
0
98
Member Avatar for Jkt

Hai All, i am having a list view with some row values(say 10) that i populated from the DB . what i want to know is how i can get one row and and its subitems at a time one after the other and its details(items) so that based on …

Member Avatar for Jx_Man
0
263
Member Avatar for eparse

how to check whether an integer type variable doesnt store anything? like: Dim Count As Integer If Count = NOT NULL Then ..... but in vb.net 2005,there is no NULL allowed.. Thanks for helping..

Member Avatar for Jx_Man
0
105
Member Avatar for mcgarry101

Hi, I am new to asp.net development, and i'm currrently trying to develop my first web application. My question relates to making my site compliant with html coding standards. To test the generated html from an asp page I put together simple master and content pages with only some text …

Member Avatar for rajarajan2017
0
140
Member Avatar for darklightmusic
Member Avatar for Pgmer
Member Avatar for Jx_Man
0
100
Member Avatar for daniel88

Hi guys! I am currently having trouble in the final stages of an assignment which involves linked lists and dynamic arrays. The assignment involves adding books to a library. This means that each record has a title and one or more authors. I have worked out what I think was …

Member Avatar for daniel88
0
140
Member Avatar for Vai

I have several issues going on I have played with the code, and I have tried to follow other code snippets / tutorials as examples, but I am unable to achieve the following: 1: when the browser is closed the session is terminated or set a timeout period of inactivity? …

Member Avatar for Vai
0
114
Member Avatar for Suhacini

Hi, First of all I am Sorry for such a long query. I am using mysql db.I wanted to display data present in the db.I am using two functions showdiv() & hidediv(). For example,I have 26 tables in my db say from A-Z.In each table it has some info.for examp, …

Member Avatar for Suhacini
0
277
Member Avatar for sonia sardana

hey Frnds I m developing the antivirus,But i do not know how to start scanning.I want that when i click on scan button C:\ Starts Scanning. Plz send me the code,I will be very thankful to you.

Member Avatar for Arijit Manna
0
143
Member Avatar for ceyesuma

I recently deployed a program [icode]http://www.netbeans.org/kb/61/web/hibernate-vwp.html#01[/icode] in a pakage containing *.hbm.xml's and backing beans a HibernateUTIL.java class was created. in the IDE the table describes proper primatives that populate colm and rows. yet (deployed) a table displays column headers in browser with no data. an exception states HibernateUTIL [icode]System Messages …

Member Avatar for jwenting
0
184
Member Avatar for sjgriffiths

Is there any way to check the first $NUM chars of a variable? For example if I have a veriable which contains VAR="LONGMORE LTD" Can i check the first character begins with L?

Member Avatar for eggi
0
68
Member Avatar for geofoxer

Hello all, I am not at all by no means a good scripter, I just started last week... I am using Nagios and need to write a script using wget to pull webpages and test the response time. I need to write a script that pull the response time from …

Member Avatar for eggi
0
176
Member Avatar for tattee

Can some please help me with this script.. it will not show the scrolling text in firefox browsers.. [code] <script type="text/javascript"> <!-- /* Typing Scroller */ //Secify scroller contents var line=new Array() line[1]="This is an awsome script" line[2]="It brings up the text you want..." line[3]="One letter at a time" line[4]="You …

Member Avatar for tattee
0
130
Member Avatar for twgood

Here is my problem; I do not know hwere to start. I have written pswudocode before, for a currency converstion program but I am unsure if I am doing the same thing with this one. Can someone please just tell me how to start this, do like the main module, …

Member Avatar for jephthah
0
114
Member Avatar for NycNessyness

Hello guys. I'm having a bit of difficulty with adding totals. I know how it's suppose to work but I'm not seeing what I'm doing wrong. If I want to add my total each time I hit the total button how can I do it. When I try to add …

Member Avatar for NycNessyness
0
98
Member Avatar for Mehwish Shaikh

Following code is implementation of stacks.. but its giving two errors [code=cplusplus] # include<iostream.h> # include<conio.h> # define SIZE 20 class stack { int a[SIZE]; int top; // Top of Stack public: stack() { top=0; } int overflow() { if(top==SIZE) { return (1); } else { return (0); } } …

Member Avatar for VernonDozier
0
89
Member Avatar for petzoldt01

Im currently trying to work with a program that reads raw DV and dumps each frame in the form of a PPM file. I need to read the PPM's into OpenGL Textures and display them. But that is not the problem. The program has the ability to dump all of …

Member Avatar for petzoldt01
0
358
Member Avatar for daviddoria

I have a function: void CreateCostGrid(vector<ScanPoint> &Data, int whichcol, vector<LiDARScan> &LiDARGrid); That I call like this: CreateCostGrid(TestScan.getColumn(GoodCols.at(testcol)), GoodCols.at(testcol), ModelScans); But I get this: error: initial value of reference to non-const must be an lvalue CreateCostGrid(TestScan.getColumn(GoodCols.at(testcol)), GoodCols.at(testcol), ModelScans); (There is an arrow underneath the T in TestScan, i guess indicating that …

Member Avatar for Duoas
0
110
Member Avatar for knowledgelover

Hi there, how can I open recent power point presentation and recent access data base from a c# application , in other word the last opened file in both , I could do it with the word using Application.RecentFiles, but it was not for the power point any articles that …

Member Avatar for majestic0110
0
98
Member Avatar for dalaharp

hi, i have to do image read and write in Turbo C. i am very new to C. so please help me out as to how to do these operations and provide some sample code if you have any.. i have a vague idea that it can be read as …

Member Avatar for jephthah
0
3K
Member Avatar for vikram_sriram16
Member Avatar for jephthah
0
288
Member Avatar for princeanthony

Hi everyone, Can anyone tell me how you can stop users from URL Hacking your website with php (sessions)? So for example if you have a password and username form on the front of your website and only want authorised members to gain access to your web site. So for …

Member Avatar for rgviza
0
102
Member Avatar for SonxQ7

I'm trying to represent a number such as [B]1.45E-15[/B] in C... How do i do this... I know there's pow() & exp() function but i don't think they are useful here...

Member Avatar for jephthah
0
128
Member Avatar for Black Magic

Code Should Explain It self.. [CODE=C++]#include <iostream> using namespace std; int main() { unsigned int digit; for( digit = 0; digit < 10; digit++ ) { /* I WANT THE OUTPUT TO CARRY ON UNTIL DIGIT == 10 & OUTPUT * ** *** **** ***** ****** ******* ******** ********* ********** …

Member Avatar for William Hemsworth
0
101
Member Avatar for TheWhite

I'm trying to add a KeyListener to my JFrame, but it doesn't seem to work when I have a JButton floating around [code=Java]import java.awt.event.KeyEvent; import java.awt.event.KeyListener; import javax.swing.JFrame; import javax.swing.SwingUtilities; public class Testing extends JFrame implements KeyListener{ public static void main(String[] args){ SwingUtilities.invokeLater(new Runnable() { public void run(){ new Testing(); …

Member Avatar for TheWhite
0
1K
Member Avatar for daviddoria

I'd imagine there is a much better way to do this... [code] vector<double> Model; //code to fill Model vector<double> V1; for(int i = StartModel; i <= EndModel; i++) V1.push_back( Model.at(i) ); [/code]

Member Avatar for Narue
0
148
Member Avatar for computer engW

Hi, When i write any code has if else statement , and run it na error appeatrs and say that else doesn't match with if [U]or[/U] illegal else without matching if. I don't know where is the problem exctly ,and you should know that i don't put } in these …

Member Avatar for computer engW
0
98
Member Avatar for edek

Hi, I need to create list of links, like: Link1 Link2 Link3 ... which could be dynamically created during runtime. Is there any standard .Net control that can contain LinkLabel objects so that I can easily add them and remove?

Member Avatar for Ramy Mahrous
0
97
Member Avatar for virendra_sw

Hi, We have developed one application which is developed in VB .Net in VS2003,VS2005 and VS2008 version. The application which is build in VS2003 and VS2005 are perfectly worked in Vista except for application developed in Visual studio 2008. This application is accessing the registry. It giving error only application …

Member Avatar for Ramy Mahrous
0
62
Member Avatar for Run.[it]

Im trying to carry out input validation on a piece of code and have come across an issue. Basically for the 1st input I used getline for the string and then for the 2nd input I use cin for the integer. I am aware you can convert the integer from …

Member Avatar for Run.[it]
0
182
Member Avatar for Diode

Hello, I am trying to output simple sound through the internal computer speaker. Is there a way to output certain sounds and control the frequency of the sound as well as the time it lasts? I'm using Windows XP Pro but is there a "standard" way to do this? Thanks …

Member Avatar for jephthah
0
9K
Member Avatar for Run.[it]

Im having problems with getting the page to stop progressing to the asp one when the user enters the text outwith the limits i.e. no data entered. Could anyone give any guidance? Cheers [code= html] <html> <head> <title></title> <SCRIPT LANGUAGE="VBScript"> dim validation Function MyForm_OnSubmit validation = False MyForm_OnSubmit = False …

Member Avatar for Run.[it]
0
210
Member Avatar for rob_xx17

Hello, I have a relatively straight through program where I collect some integer data and pass it to an external file. The problem that I have is that what I really need to do is to pass that value divided by another integer (255 to be more exact). I tried …

Member Avatar for jephthah
0
97
Member Avatar for tactfulsaint

Please everyone i need some help here, why do i keep getting this error . i want the informations submited to the database. C:\RMI\Client>javac *.java CustomerInformation.java:121: ';' expected String insertDetails(cid, name, dob, cms, address, city, state , zcode , cnum, nod); ^

Member Avatar for Ezzaral
0
62
Member Avatar for maafipau

The problem is I am not very educated in Qbasic and my teacher has given me a project of making a hangman game. But I don't know how to so please I need your help. I need a simple hangman game with figure of a hanging man using line and …

Member Avatar for Narue
0
385
Member Avatar for daviddoria

I want to do something like this [code] #include <string.h> #include <iostream> using namespace std; int main() { MyFunc("test"); return 0; } void MyFunc(const char* Filename) { cout << strcat(Filename, ".tst") << endl; } [/code] but it tells me that my const char* cannot be used where it is expecting …

Member Avatar for Narue
0
106
Member Avatar for dello

Hi all, I was wondering if somebody could help me... I have a form field which I want to lock down so users can only enter a specific combination eg. first character is a letter - can be either B,C,W,F,A,H which is followed by seven numbers. I have got some …

Member Avatar for ardeezstyle
0
147
Member Avatar for joma4real

Please I need a site where i can download Visual c++ free. I prefer the offline version of this download. Or give me a guide line on how i can use borland c++ to create a form for my program. You can email me at [email removed] Thanks

Member Avatar for Narue
0
57

The End.