199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for shelly121

Please help!!iv tryed and tryed with this!basically i have a combo box which displays the date-of-births from 1940-1995, and a button to press to display the maximum mortgage in a label. The max mortgage depends on the age of client:[quote] *Over 50yrs- maximum mortage = 15yrs *between 40 - 50 …

Member Avatar for shelly121
0
141
Member Avatar for TheWorld

hi all ;) i'm fairly new with c++ and i'm having some problems with a dynamic array of structures. I've declared the array with the syntax structname *pointername= new structname[3]. Now, if i try to assign to one of the structures members a value the compiler (visual c++ 2003) gives …

Member Avatar for Dave Sinkula
0
137
Member Avatar for kevin_smithers

Hi, I have a small problem I have a flash game SWF file not the fla and it sends and recieves values from a PHP file send - update and recieve is INIT Great except the person who gave me the SWF and PHP file did not tell me how …

Member Avatar for kevin_smithers
0
231
Member Avatar for Tight_Coder_Ex

[b]kimfalk[/b] posed a question about static functions in a class in [url="http://www.daniweb.com/techtalkforums/thread19241.html"]http://www.daniweb.com/techtalkforums/thread19241.html[/url] to which my reponse was duly correct by [Quote=Narue]You're mixing up your statics. :) static is overloaded for too many different uses. In a class declaration, static means that the name belongs to the class and not to …

Member Avatar for Tight_Coder_Ex
0
135
Member Avatar for tommytx

I have a windows 2000 server that was working just fine, until all of a sudden it won't let me update or add records to any microsoft data base mdb that I have on the server. It comes back with Permission denied, so I tried to write a simple text …

Member Avatar for dexterz
0
217
Member Avatar for orionm

Hi, I am very very new to ASP. So far i have been able to connect to the SQL database using dreamweaver mx 2004 but im not sure where to go from here. I have a support databse that i have setup with a few records. The table structure looks …

Member Avatar for dexterz
0
202
Member Avatar for Cherrio

Can someone help me find the error that keeps this prg from running thanx [code] #include <iostream> #include <vector> using namespace std; int main() { vector<int>v(1,1); v.push_back(2);v.push_back(3);v.push_back(4); vector<int>::iterator i=v.begin(); vector<int>::iterator j=i+2;cout<<*j<<""; i+=3;cout<<*i<<""; j=i-1;cout<<*j<<""; j-=2; cout<<*j<<""; cout<<v[1]<<endl; //output 1 (j<i)?cout<<"j<i":cout<<"not(j<i)";cout<<endl; //output 2 (j>i)?cout<<"j>i":cout<<"not(j>i)";cout<<endl; //output 3 i=j; i<=J&&j<=i?cout<<"i and j equal":cout<<"i and …

Member Avatar for Cherrio
0
114
Member Avatar for Robert Paulson

I looked through the forum listings and this seems to be the most appropriate place. Please be kind if it isn't...I'm new here. :) So here's my situation/problem: I run a forum site - groundtradesxchange.com. I have a portal page that I like very much, but it seems like the …

Member Avatar for DanceInstructor
0
151
Member Avatar for KUJhawks

Hello everyone, I have just started learning C++ and I am trying to write a program that reads from a file (scores.txt) and then prints the average of these numbers to the screen and print to another file named "average.txt." I have written some code but when I compile I …

Member Avatar for Gnome_101
0
141
Member Avatar for autocrat

OK, this is the link! [url]http://www.oreillynet.com/pub/a/javascript/synd/2002/03/01/css_layout.html?page=2[/url] please go have a look.... they are on about using CSS instead of tables... and provide you a a sample page with the table, and a sample page with the CSS.... the only problem is.... both use tables! What is more, when you try …

Member Avatar for DaveSW
0
160
Member Avatar for Lorita

Hi, I need help changing this code to reference the variables rather than using the return statement. This is as far as I have gotten and my brain is mush...Please help. Thanks! #include <iostream.h> #include <conio.h> void main() { int numDrawers; int x=0; double total; //int getDrawers(); //int getWood(); double …

Member Avatar for compshooter
0
278
Member Avatar for Luckasoft

Dear friends! We are asking your opinion on beta-version of our PHP Editor 3. Some people ask what is the point of yet another editor. We see our niche as low cost solution-a set of several tools with everything a web-master might need. It is still a long way to …

Member Avatar for DanceInstructor
0
165
Member Avatar for Kiba Ookami

Hello all! I'm a year one programming student who is currently finishing up his first year, and heading into AP! We only really work with VB in our corse, and we're not moving too fast, so I had a question I'd hope was answerable. Is it possable to cause a …

Member Avatar for uniquestar
0
140
Member Avatar for LowelG

I need help with newWin.document.write. I can document.write to a new window, but I need it to seperate the information into three columns so that the user can print the new window containg the information that they entered into the form fields. This can not be used in conjunction with …

Member Avatar for eagleeye
0
205
Member Avatar for ultimate_fusion

as above i need to know WHERE to put some code for a button to submit some data captured then transfer to an access database. any help would be gratefull

Member Avatar for hollystyles
0
116
Member Avatar for {{unknown}}

Hi.. I made two codes in C language. One of them is a [B]Dynamic stack [/B] and the other is [B]Dynamic queue[/B]. They are working correctly but I had one problem In both of them. The option 3 in Dynamic Stack [B]code [COLOR=DarkRed]doesn't display the topic in order[/COLOR][/B]? This problem …

Member Avatar for Dave Sinkula
0
140
Member Avatar for server_crash

I had all of this program finished except for the plotting like a week ago...Ever since then, I've been trying to figure out how to plot the stupid polynomials..I thought I had it, but the program seems to go crazy whenever it's suppose to repaint..It's like repainting components on top …

Member Avatar for server_crash
0
128
Member Avatar for kimfalk

How do I solve this? [COLOR=DarkRed]illegal reference to data member 'myClass:flag' in a static member function [/COLOR] [CODE] class myClass{ public: static void change_flag(); private: bool flag; }; myClass::change_flag(){ flag=false; } [/CODE]

Member Avatar for prog-bman
0
492
Member Avatar for Fasola
Member Avatar for Chester1

Iam a New to web page need help making My program access a web page automatic, so when a user starts a program it will send user to server to get information off of server

Member Avatar for Narue
0
120
Member Avatar for jonnie83

This is my first attempt at creating a program and I am having great problems. The program is meant to scan a file and increment a counter if specific words are found. Can anyone let me know where I'm going wrong,Thanks #include <iostream> #include <fstream> #include <string> #include <iomanip> #include …

Member Avatar for Acidburn
0
136
Member Avatar for scar_zone82

hello there ....can someone help me solve my problem of my assignment....i try to code it....so I need some guidances ... This is the question... An operating systems uses shortest job first scheduling for it’s process management. Assume that there are 10 processes waiting in a queue which is implemented …

Member Avatar for vegaseat
0
195
Member Avatar for JB1

Dear all, I have a question around the issue of using VB6 to access MS Access databases. Can VB6 be used to open access 2002, retrieve data from and input data into a table? The following code keeps on giving me the message of "Unrecognised database format" error code 3343. …

Member Avatar for uniquestar
0
227
Member Avatar for jksmithyuk

Im wondering if anyone can suggest a solution to my problem. Im simply trying to connect to a database through VB 6 and add a new record and populate one of the fields. Any help would be great. The code below throws up error message 'Current Recordset does not support …

Member Avatar for uniquestar
0
102
Member Avatar for ecyarter

Can anyone tell me how to get rid of console window? I'm writing a gui program for an assignment... Spoiled by VB... I use the console for troubleshooting while testing or writing code, but would like to make it invisible or close it while sharing with the class. (We run …

Member Avatar for Ghost
0
140
Member Avatar for ltme

Hi Everyone, I've read some threads on this forum and found some good hints already :) I'm having trouble writing a script and would appreciate all input, advice, info, or tips. I'd like to write a script that does the following; - identifies current recognized partitions - flags those with …

0
121
Member Avatar for gruntled

I am having a problem getting two javascript snippets to run on a single html document. Whichever one is loaded last (further down in the html doc) runs fine. I am not any kind of javascript expert and would appreciate any help here. Thanks ------------------------------------------- The two examples of the …

Member Avatar for gruntled
0
156
Member Avatar for roeschh2

i am having a problem with a function i am writing that takes in a txt file and stores the data in 3 arrays. The data file is always rows containing three numbers such as 1 2 3 2 3 4 5 6 7 8 9 10 with each column …

Member Avatar for roeschh2
0
82
Member Avatar for hopeolicious

I know everything that i want to do but i never did a menu before so i dont know how to go about doing so if at all possible can someone post a sample program that uses a menu-selection with subprograms for each. This here is something like what i …

Member Avatar for Narue
0
199
Member Avatar for Khishin

At the beginning of an "IF" statement, I have: [code]if (SHORT GetKeyState(int 48)==1){[/code] When compiling I get a syntax error just before the constant, and I've played around with it a bit, but haven't found what to do. Could someone fix this or explain to me why it's not working?

Member Avatar for Narue
0
130
Member Avatar for Ronbo

Hello One & All, I am a fully experienced mainframe programmer, attempting to program for Windows utilizing the Assembly language. Am technically oriented. Have written 11 16 bit real mode PC DOS programs three of which dynamically linked Have written one 32 bit protected mode VB 5 program, utilizing both …

Member Avatar for Ronbo
0
114
Member Avatar for Taffy-Taff

Hi - I can't believe that I have played around with different programming languages before and never heard about ASP. I have started doing some reading on it and it seems really exciting. I have a problem, however. I am using a Laptop that runs the Windows XP Home Edition …

Member Avatar for VSBrown
0
283
Member Avatar for Jaron

1)UNIX operating system uses Round robin Time slicing with multilevel feed back. Assume that there are 10 processes waiting in a queue which is implemented as a linked list of PCB’s ( process control blocks). Assume the PCB have information about Process ID , CPU burst time required , amount …

Member Avatar for Intel
0
428
Member Avatar for missy

#include <iostream> using namespace std; #include <string> #include<cstring> int main() { char list1[50][31],list2[50][31],list3[100][31]; int i, size1, size2, i1, i2, i3; char ch; int inf; ifstream indata; ofstream outdata; // read each list while(inf.peek()= EOF) { inf>> list1; i++; size 1=i; i=0; } while(inf.peek()= EOF) { inf>>list2; i++; } size 2=i; …

Member Avatar for Intel
0
168
Member Avatar for autocrat

Hi folks.... OK, I'm attempting to learn several extras to go towrds web programming... and have come to the conclussion the best way to learn it all is to fiddle.... the best way to fiddle is at home...securely....so I am trying to set my PC up as a server... Apache, …

Member Avatar for autocrat
0
162
Member Avatar for OurNation

I want to learn a good programing languge and was wondering if c or c++ is a good languge to learn I know HTML and some Java. :(

Member Avatar for frrossk
0
115
Member Avatar for os008

Hi, i want the best program to compare CPP files, i tried Araxis and Beyond Compare and ExamDiff, all compare good, BUT, the problem is that i want a program which compares the WHOLE file, then gives me the REAL differences, meaning ..., let's say there's a TEST1::TEST2 (int x) …

Member Avatar for os008
0
153
Member Avatar for sam1

hi guys i have created a html and php based voting page. i want poeple to only vote once can u give me advice either i should use cookies or ip address. and if u get me started as well i will apreciate it thanks :-| :-| :-|

Member Avatar for mcldev
0
117
Member Avatar for mariners95

Could someone help me with a linked list code. I just cant figure it out. I dont know how to code the part where I need to insert an element in ascending order. Either when there are no nodes then when there is one or a few nodes. Can anyone …

Member Avatar for Tight_Coder_Ex
0
77
Member Avatar for alsoagirl

I have read in problems "INFIX" AND CHANGED THEM TO "POSTFIX" or RPN notation, however i need to evaluate the problems and i can't get this to work. I am not sure where to go from the infix to postifix i have. Please help. My Stack.h is just a basic …

Member Avatar for alsoagirl
0
105
Member Avatar for tommy_tucker198

I have decieded to learn c++ just wondering what compilers you would all suggest? thanks

Member Avatar for alsoagirl
0
183
Member Avatar for blackdove

Can someone help me please? I've got 17 errors and 3 warnings. The main problem is that it keeps telling me that "Triangle" isn't a class name :confused: i'm so confused. Could you also help me with any other problems that you see? Thx in advance. (list of errors at …

Member Avatar for blackdove
0
229
Member Avatar for Sadako

Hello! :p I don't fully understand how the Fall-Through method works. I’m making a Calendar and I’m using the switch statement to find which season it is for the month. Here is the book code: [CODE]switch (month) { case 12: case 1: case 2: Console::WriteLine(S" [Winter]"); break; case 3: case …

Member Avatar for Sadako
0
240
Member Avatar for tuskyballer

I'm about 3 weeks into my C++ class. I already made a simple program below that calculates grade averages and received an A. Now my teacher wants me to turn in three variations of it, replacing the goto with a while, do while, or for loop. I have experimented and …

Member Avatar for Stack Overflow
0
716
Member Avatar for SquirrelProdigy

What I'm looking for is where to look for how to set the size of the console window automatically, as opposed to the default. I've searched through the MSDN library's Console reference for any function that would set it, but nothing seemed relevant to me, granted I'm not very proficient …

Member Avatar for prog-bman
0
115
Member Avatar for deejay400

Hi, Trying to get my head around constructing an array of pointers (I think this is what its called). Been reading lots of online tutorials etc and just getting confused. Basically what I'm trying to is set an array of chars, with each array cell pointing to a linked list …

Member Avatar for Tight_Coder_Ex
0
107
Member Avatar for Tom Pilk

I've produced an exe file in visual basic - (recently downloaded as beta version) When I run it it will start up an excel file - runs fine on my computer but when I try it on another I get error message that dotnetfx must be installed. Can I alter …

Member Avatar for mcldev
0
152
Member Avatar for kon_t

Hi, I am interested in comments / experience people have wrt writing a tcp server in .net. We currently have existing an existing server, written in native c++. It communicates with our own browser client using a proprietery protocol and services hundreds / thousands of concurrent connections. The server uses …

Member Avatar for mcldev
0
101
Member Avatar for nanodano

Hey guys, I am trying to write a section of a program that reads in data from a file and stores the data into an array. The problem is the length of the file can vary, and I need to know how many items to store in the array.(I really …

Member Avatar for Tight_Coder_Ex
0
101
Member Avatar for ohnbabygal

hi im tryin to read some info (both characters and integers) from an input file and save them into the sorted list. it is a big project and i cant put all the files i have over here. so i'll just put the part im having a problem. i have …

Member Avatar for Dave Sinkula
0
112

The End.