199,124 Archived Topics
Remove Filter ![]() | |
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 != … | |
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 … | |
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. | |
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 … | |
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 … | |
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; … | |
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 … | |
on other programming languages, but none on c++, do you know any free ebooks out there on C++?? (no ebooks are not illegal) | |
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 … | |
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 … | |
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 … | |
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 … | |
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? | |
can anyone tell me how to save .jpg images in access database???? | |
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 … | |
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 … | |
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; } | |
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 … | |
| |
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 :( … | |
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 | |
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 … | |
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 … | |
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 | |
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 … | |
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 … | |
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 … | |
Help required in files. SOME example to explain it please...........????????????? | |
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 … | |
welcome, i need a help to how make a setup.php or install.php to install my fourm on apache. thanks | |
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 … | |
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 … | |
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 … | |
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 & … | |
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 … | |
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. | |
hi, How socket programming is done in c++ for window? how to use port in c++? | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
hi there guys.Can anione please show me how to create a always on top frame.(no native methods) | |
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 … | |
What is a Glass Pane ? and how should I use it ... please give an example. Thanks. | |
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]; … | |
![]() | 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 = … ![]() |
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 … | |
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 … |
The End.