199,124 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for shouvik

help. this programme shows linking error!!! :cry: :cry: :cry: #include "diction.h" int Dictionary::find_word(char *s) { char word[81]; for (int i = 0; i < nwords; ++i) if (stricmp(words.get_word(word),s) == 0) return i; return -1; } void Dictionary::add_def(char *word, char **def) { if (nwords < Maxwords) { words[nwords].put_word(word); while (*def != …

Member Avatar for Pietro
0
230
Member Avatar for BountyX

I have a list view report style. Im trying to sort by click on a header. For some reason it does nothing. This Peice of code is invoked when the column is clicked. [CODE] if (pnm->hdr.code == LVN_COLUMNCLICK) { //DialogBoxParam(ghInstance, MAKEINTRESOURCE(IDD_SORT), // NULL, (DLGPROC)SortDlgProc, 0); if(nSortDir[pnm->iSubItem]) nSortDir[pnm->iSubItem] = false; else …

Member Avatar for BountyX
0
963
Member Avatar for mikeandike22

i dont have a server and dont want to set one up becuase apache never works for me but i would like to test my php scripts so is there like a way of using an ide for php i also need one for java.

Member Avatar for mikeandike22
0
140
Member Avatar for Mr Gates

I'm really scared and etchy about getting VB. NET, as I've just started out in VB 6 and I've gotten pretty used to it. But I wanted to know from experts that used VB 6 before....is it a big change? Will it be hard to get used to after just …

Member Avatar for dmohanty
0
825
Member Avatar for qadeer

This command working but i do't understand it ??? i am writing funtion in which it using please guid me.. <?php $dbHost="localhost"; $dbLogin="root"; $dbPassword="123"; $dbName="test12"; $query=""; $error=""; $mySqlError=""; $connect = mysql_connect( $dbHost, $dbLogin, $dbPassword ) ; if ( !mysql_select_db( $dbName ) ) { return "<p>Error: Database[ $dbName ] could not …

Member Avatar for PoA
0
153
Member Avatar for alexmejia92

I need to write a C program `(a) declare two integer variables , and y` `(b) lex x = 6` `(c) find y value use the following algebraic fromula: y=2*x*x*x+5 ` and I only have until these part #include <stdio.h> int main () { int x, y; x = 6; …

Member Avatar for Killer_Typo
0
115
Member Avatar for satch

I have Windows 2000, Service Pack 4 currently and I need to update my Microsoft Access 2000 to 2002 for a class that I'm taking. I'll try to ask this in the best way that I can. If I get the 2002 Office upgrade, do I also need to upgrade …

Member Avatar for Mike Feury
0
174
Member Avatar for Sphyenx

on other programming languages, but none on c++, do you know any free ebooks out there on C++?? (no ebooks are not illegal)

Member Avatar for Asif_NSU
0
177
Member Avatar for doubleglazing2

Hi :cool: , What is the nicest shortcut you discoverd when coding? I don't know about you - but I have unbounded love for recursion :D . It's always hard to visualise (for me atleast...) but it's so beautiful [i]and[/i] efficient. After I'd made a recursive procedure @ work I …

Member Avatar for shalin
0
140
Member Avatar for server_crash

I have been working on TicTacToe for some time now. I just now got it to work but it's not working properly. When somebody gets three in a row a label is suppose to show that a player has won but it does'nt. So I cant figure out why it's …

Member Avatar for server_crash
0
127
Member Avatar for kaushik

hello, my name is kaushik, i am about to go ito A2 and i am thinking of taking up computer science at uni. The results that i just got are:- Maths (b) - i am now going to drop this subject for A2 Chemistry (c) Biology (D) ICT (b) i …

Member Avatar for Cool_Tori
0
127
Member Avatar for TrussworksLeo

Does anyone know how to set the font Italics or bold Properties of the System.Drawing.Font Class? Here is what I have so far and it works fine but I cannot get the Font Bold or Font Italics to work in the GetSetting Sub? Thanks for the Help, TrussworksLeo #Region "Reg …

Member Avatar for dmohanty
0
156
Member Avatar for Paladine

Question (if you are a guru): How do you code a Multiselect Listbox in VB.NET if there is no variant datatype? I know how in VB and VBA... (or at least one way, there may be more) Any suggestions?

Member Avatar for dmohanty
0
254
Member Avatar for dmohanty
Member Avatar for dmohanty
0
319
Member Avatar for antonyeo

I have a table. I will add thousands of records to this database each year. It’s essentially needed to maintain inspection records. Each problem found get it’s own record. Its possible to go into a building and come out with 20 or more problems (20 new records). Records older than …

Member Avatar for Mike Feury
0
156
Member Avatar for Brent_Ritterbec

I wrote a program that allows me to send data to a file if I wanted to do that by redirecting the data stream. The only problem is that I can't figure out how to make that work from the DOS prompt. Here is the program: /* echo_eof.c -- repeats …

Member Avatar for Chainsaw
0
160
Member Avatar for Mahen

Hi everyone, i wanted my program to create another small program, but it stopped at `"\x00"`, why and what can i do. Thnaks #include <stdio.h> int main() { FILE *out; out = fopen("c:\\cpy.exe", "wb"); fprintf(out, "\xCD\x21\x00\xCD\x21"); fclose(out); return 0; }

Member Avatar for Chainsaw
0
175
Member Avatar for Rashid Riaz

Hello, I am new member here I need help with my program. I am trying to calculate interst for a loan I am not able to calculate last payment for loan like if loan amount is 1000 and interst rate is 18% which come up 1.5% for every month and …

Member Avatar for nanosani
0
124
Member Avatar for Sukhbir
Member Avatar for XianBin
0
139
Member Avatar for Mahen

hi everyone, hope u r all feeling fine :mrgreen: this is my program: #include <stdio.h> int main() { char pass[12]; printf("Enter Password: "); gets(pass); if (pass == "neo") { printf ("ini"); } else printf("Wrong"); return 0 ; } when i enter "neo" as password, it does the "wrong" thing :( …

Member Avatar for Dave Sinkula
0
177
Member Avatar for Sphyenx

im nto a programmer, and i wanna start im gonna pick the book up tommorow, i need a good book, i mean a good book that wil build the back bone to my future!/ lol. i mean a simple book for non programmers

Member Avatar for XianBin
0
110
Member Avatar for Asif_NSU

In my program i will be taking two inputs, lets say two integers. If the number of input is more than two the program will exit. If it is two then the loop will be executed and after that it will again ask for two new inputs-- and will continue …

Member Avatar for Dave Sinkula
0
95
Member Avatar for shouvik

I need to submit 23 programmes in C++ in school by Monday. plz somebody provide me with only 3 programmes one on Inheritance, one on structures and one on classes... Very urgent plz. Plz post a programme that is probably of 12 to 13 lines or more... It would be …

Member Avatar for shouvik
0
128
Member Avatar for copycat

Can someone help mi I need to do a word count i enter a word e.g. superboymother it will search for the char a,e,i,o,u and return mi the result is: a=0 e=2 i=o o=2 u=o

Member Avatar for copycat
0
95
Member Avatar for Newbee

Hi, I am a novice in programming and need help in my mortgage calculation program. I have the GUI set up all functioning good the only problem I have is the calculation portion that is not doing its job. Can anyone please guide me how to correct my problem? import …

Member Avatar for nanosani
0
121
Member Avatar for gkakkireni

Hi to all i have requirment like this the field length is 15 digits but am getting input only 6 digits..means i have to put spaces after the 6 digits position menas spaces after the value.how to do it in java,could u send the sample programe . thanks in advance …

Member Avatar for Banderson
0
110
Member Avatar for modumass

hi all. i need to write an application class with a main method and a second method called tempCalc, and then in the second method put the code from a previouse temperature calculation experiment. but i have no idea how to do this. i read the part in "Sams Teach …

Member Avatar for Banderson
0
166
Member Avatar for shouvik
Member Avatar for Stack Overflow
0
128
Member Avatar for A Monkeys Uncle

First of all it's free... [url="http://www.edmunds-enterprises.com/linux/cart.php/ba/pdtl/product/123"]http://www.edmunds-enterprises.com/linux/cart.php/ba/pdtl/product/123[/url] So far I've found it to be a better program than MS Office 2000, are there any pros and cons I should know of as far was word processing, spreadsheets, or presentations go? Edit: I don't know much about MS Access since it's been …

Member Avatar for fsn812
0
112
Member Avatar for wesamsoftware

welcome, i need a help to how make a setup.php or install.php to install my fourm on apache. thanks

Member Avatar for fsn812
0
171
Member Avatar for gray

hie Question from the textbook by Daniel Cohen problem 4 Consider the language S* = {a , ab , ba}. i) Is the string (abbba) a word in the language? ii) Write out all the words in this language with six or fewer letters. iii) What is another way in …

Member Avatar for gray
0
508
Member Avatar for tablet

i have started to create a simple java game and at the moment i have done as much as i can possible at the moment the game builds with no errors. but it does nothing. what i want it to do is that the player enters a bid and if …

Member Avatar for nanosani
0
270
Member Avatar for Dick

I've scanned a lot of C++ sites but have not found an answer yet. In several pre written programs, I've noticed that a single brace "{" is used without being closed later in the program. It appears like it is used to go outside the program to get info. like …

Member Avatar for Dick
0
107
Member Avatar for AlanM

I can not get my form to work. here is the code <% @language="VBSCRIPT" %> <% Dim myMail, myBody myBody ="website title: "& request.form("websitetitle") & vbcrlf & "websiteyurl: " & request.form("websiteurl") & vbcrlf & "websitedesciption: "& vbcrlf & request.form ("websitedes") & vbcrlf & "link: " & request.form("link") & vbcrlf & …

Member Avatar for AlanM
0
148
Member Avatar for big_k105

Ok my problem is i have a struct and im tring to ready a line into the array of structs using fstream. here is the code i have its just a basic layout of what will come later on. but here it is :) [code]// file: main.cpp // author: Kyle …

Member Avatar for big_k105
0
153
Member Avatar for Sukhbir

Consider the following programme void main() { char str[]="\12345s\n"; printf("%d",sizeof(str)); } Output is :6 can someone explain me why.And is sizeof contain null value while gigving the size of any string.

Member Avatar for Dave Sinkula
0
137
Member Avatar for mpkhadloya
Member Avatar for nallahp
0
155
Member Avatar for shabna

sir,please correct the errors in this program and also write the algorithm in this program and give me an introduction to this program.Pls send the error free program,algorithm & introduction before 03/09/2004.thank you #include<iostream> #include<iomanip> #include<stdio> #include<cstdlib> #include<cctype> #include<fstream> using namespace std; const int maxchrs=50; const int items=3; const short …

Member Avatar for Dani
0
133
Member Avatar for benevolent001

Hi I wanted to make a shopping website, not exactly shopping but somewhat like that. I dont know how to use php or my sql so i wanted to know which CMS or portal system will help me out.I am just naming the few scripts present in fantistico,can any one …

Member Avatar for Gary King
0
182
Member Avatar for C#_Virgin

Hi, I'm new to this site so quite unfamiliar with how things work.... I have recently begun learning about C# and the .Net framework. As a java programmer, I found C# a good basis to start on. I wanted to change a lot of my existing code from Java to …

Member Avatar for Decency
0
168
Member Avatar for Slade

Hey guys. I just want to know how would I write a stored procedure in SQL server 2000 to read, and another to update a Text data type field. I also need to know how I am able to execute this stored Procedure in asp .net using vb .net. My …

Member Avatar for Tekmaven
0
338
Member Avatar for tccummings

When my CGI script is given input from my web page I get this error: Server error! The server encountered an internal error and was unable to complete your request. Error message: Premature end of script headers: projest.cgi Does anyone have a clue as to what I'm missing here? I …

Member Avatar for tccummings
0
117
Member Avatar for freesoft_2000

Hi everyone, I want to know how to print the contents of the text area including all its fonts to the printer. I have no idea how to implement this in awt. Could someone show me or e-mail me any sample codings on how the print functionality can be implemented …

Member Avatar for hivework
0
135
Member Avatar for teritori

hi there guys.Can anione please show me how to create a always on top frame.(no native methods)

Member Avatar for DeepZ
0
284
Member Avatar for Brent_Ritterbec

Hello, I started learning C about 2 days ago, and now I have come to a problem that I can't figure out why I am getting the result I am getting. I bought a book, and I have proceeded quickly through it until now. The problem I was given was …

Member Avatar for Brent_Ritterbec
0
328
Member Avatar for nanosani

What is a Glass Pane ? and how should I use it ... please give an example. Thanks.

Member Avatar for nanosani
0
220
Member Avatar for RITZY_G

just need a little help wit comparing two int arrays and return the value as bool. help: #include<iostream> #include<iomanip> using namespace std; using std::setw; bool compare(int[], int[]); int main(){ const int correctarraysize=5; const int pupilarraysize=5; int resultarraysize=5; int pupilarray[pupilarraysize ]; int correctarray[correctarraysize]={1,2,3,4,1}; bool resultarray=0; cout<<"\n\nEnter pupil's results:"<<endl; for(int k=0;k<pupilarraysize;k++) cin>>pupilarray[k]; …

Member Avatar for RITZY_G
0
214
Member Avatar for kohkohkoh

after words are been entered by the user, it saved in the file.txt as address something like 0047D123. what should i do if i want it to be appeared as in full character?? thank you! #include <iostream> #include <fstream> using namespace std; int main() { char words[50]; char *p = …

Member Avatar for kohkohkoh
0
79
Member Avatar for iamboredguy

I'm trying to use sequential binary file editing in C++. I use a temporary file. I have to make the changes in the file by storing the modified data in the temp file. Then I delete the original file and rename the temp as the original. The problem is the …

Member Avatar for iamboredguy
0
109
Member Avatar for ep2002

Hi all, I'm trying to see if this programmer knows what he is talking about. I'm going to be changing all my files from .phtml to either .htm or .php I have a small amount of php on my site... [url]http://www.exoticpublishing.com[/url] This programmer is saying that I can change it …

Member Avatar for ep2002
0
381

The End.