199,114 Archived Topics
Remove Filter ![]() | |
What is the difference in these two lines? #define X 100 const int Y 100; Apart from the fact that one is for X and the other is for Y (har har, very funny) effectively don't they do the same thing? Why would one be preferable over the other? | |
Has anyone noticed any problems with the Delphi 7 system routines in GETMEM.INC with newer WinXP security updates? One of my applications just started throwing a random exception with ResizeInPlace after the latest WinXP update. | |
Hey all. Sorry to embarrass myself here. I have a question to ask: What exactly is C#? Well, I know it's a programming language but how would you explain it? Does it have anything to do with C and C++? Sorry, I'm kind of novice in programming. Your help will … | |
hi,i want to have persian calendar with dateTimepicker that it show in persian calendar .how can i change DateTimePicker View to persian calendar? Thanks | |
Making a "hello" world program in VC++ 6.0 is cool, as I got a very happy feeling when i completed it... but reading alot of books to learn "a round about" way in something isn't me. I'm objective oriented. What materials should I, could I, get my hands onto learn … | |
Hi, Trying to overload - and getting this error. I am not sure why.. error C2447: missing function header (old-style formal list?) [code] #include<iostream.h> #include<string> #include<new> #include<ctime> using namespace std; class D { public: D operator- (const D &d2); }; D D::operator- (const D &d2); { //error points to here!! … | |
I'm fairly new to C++ and have an assignment that is knocking me out. The text file is fairly simple: Plain Egg 1.45 Bacon and Egg 2.45 Muffin 0.99..... etc.... And the code is: [code=c] //Breakfast Billing System //Marlen LaBianco //May 20, 2007 //Program to calculate a local restaurant's breakfast … | |
I wrote this function to generate random numbers and return it to the calling function [code=c] int getCard(void) { int range; int card; srand(time(NULL)); range = (10 - 1) + 1; card = rand() % range + 1; return card; } the calling function is.... int first2(void) { int firstCard; … | |
I've been attempting to teach myself some C, as I have been tasked with maintaining a program written for a handheld barcode scanner that appears to be written in this language. (At least, I'm assuming that for the moment, considering the fact one of the first statements I saw when … | |
[B]Hi everyone, What does @ mean in shell scripts? Cheers, [/B] | |
Hello, The code below calculates the determinant of the matrix. I know that the method of global 2-d pointers is a poor programming practice (so u don't need to reply saying that!!!), but it is a simple method for an amateur programmer. As the code didn't work, I set two … | |
Hi All How can we plot the pixel without using the function putpixel(int x,int y,int color) . | |
**I know the code looks big, but it's a very small isolated section at the bottom (starting at line 164) that's giving me the problem.** When this program is run, when I try to open the file I just appended some text to, it doesn't open... can anyone spot why? … | |
Dear All, Please help me regarding this C++ Assignment. Q.1 [COLOR=green]Write a program using [B]malloc[/B] function. In which you take input from user and allocate memory equal to square of this number. Which multiply numbers and draw a table in the following format?[/COLOR] [B][COLOR=green]Hint: User enters 3 then program allocates … | |
Hello all! I have a flexgrid and everytime a user would click in a cell to edit it, an error occurs "Run time error 5 "Invalid procedure call or argument"" Here is my code: 'simple sub routine to fake the edits Private Sub EditFlexGridCell(PassedText As String, Optional CpBoard As Boolean) … | |
I have an ongoing TurboPascal development that jumps into one of the units code on program termination causing a hangup. Running it in the IDE under Windows XP 'Just' locks up the instance of the Turbo compiler. Porting it to another machine running Win98 gives 'Code segment to large' when … | |
Let, i have a database in ms access with two field named-"name" & "roll". I also have a combo box or list box in vb containing those names. I have to select a name from that list and appear the corresponding "roll" from that database in a text box in … | |
Hi I am getting this very error..... [B]Cannot modify header information - headers already sent by[/B] (output started at C:\Program Files\xampp\htdocs\gallery2\examples\live-excel.php:36) I have tried [B]ob_start();[/B] but of no use. It did not work.... can someone give the solution.?? Thanks in advance cheers Prati | |
Hi all, I have a QUESTION regarding [B]data validation[/B] I'm writing a program, where i want the input to be [U]only integers[/U]. so if they enter things such as letters or symbols it won't crash my program. i tried stuff like, while(inputArray[count] != int) { cout << "Invalid Input. Please … | |
Hello everybody, I need a code shows who is online...Explain??,OK: I wrote a chat program & I need to know who is logged on... Example: In this web-site you can see If I am logged on because If I'm logged on the picture beside me will be green... how to … | |
yes, i know mysqls query language, but what i need to know is how to connect mysql database with php. i am designing a dynamic website using macromedia dreamweaver 8, mysql and php. how can i go about configuration in order to connect successfully? | |
hi there, i have a problem with the post data thing..i have two pages, one for uploading documents and another to see the uploaded documents. When i finish uploading and go to the next page i can see the uploaded document.when i click the back button to go back and … | |
Hi, there, all fellow programmers I need a help on this. I have a code in vb6. It acts when a click action is made on 'X' on form1. Here is the code :- private sub form1_unload(cancel as integer) dim confirm as integer confirm=msgbox("Sure to exit ?",vbyesno+vbquestion,"Confirm Exit") if confirm=vbyes … | |
hello i want to knw whr can i get vb.net tutorials with code snippets | |
Hello I have a several problems with using tkinter, if anybody can help, it would be great :D I'm using a .grid method on my widgets. When I put sth (e.g.Label) in for example row=5, and want to put something different (label with other text)in row=5 it overlap one another … | |
[B][COLOR=green]dear friends i need visual basic tutorial & books on pdf or video formet plz post for me i am biggener for this ..........[/COLOR][/B] [B][COLOR=green]thanks......... in advance........[/COLOR][/B] | |
hi, i have a another question about converting char to int in C++. if i have [U]char n="123[/U]" and [U]char n2= "87"[/U] and i wanna sum those two char...how can i do that? i know i have to [COLOR=green]change[/COLOR] each [COLOR=green]char[/COLOR] in [COLOR=green]int [/COLOR][COLOR=green]but for the rest...[/COLOR] thank | |
I am using Bloodshed C++ for my development. I have compiled the Dos console program in C and its working fine. But i want to add a icon to it instead of the windows application icon. Hope someone could help me. | |
I have a project for which I have to implement parameter passing through stack between different protection levels. The information about the number of variables needed to be passed at the function must be given through DWORD Count of Call gate For this project I have to: A) Create 4 … | |
I've written many java apps; however, I have never created anything that communicated with the Internet, or more specifically, web pages. How exactly would you go about doing this.. For instance, say I wanted to write a program that would log me in Daniweb, and send messages or posts to … | |
I have a stand-alone 2k machine that I loaded the IIS from the 2k cd. Basically I have a htlm program run which displays the exploded view of an assembly on the screen with hot spots. When you click on a part of the assembly it runs an ASP program … | |
I'm working on the game of Concentration. When you match 2 squares I want to blink a label caption "MATCH" say 3 or 4 times then hide it. The problem is I want the program to stop until the blinking ends then continue. I use a timer to make the … | |
Can anyone help me to convert the following BASIC langauge into Visual Basic source code? Please help. I'm new in programming. Thanks alot. ----------- NEW 10 REM Test Program Four - RG 9305.11 11 REM Walking Program for BORIS Connected to PC Parallel Port 12 REM Control from numeric keypad: … | |
Hello to all users, I am using a NetBeans IDE 4.1. I want to import packages that are packed in a zip file. I open the project window, then with right click on the project icon I selected properties and then in libraray menu i added the zip file. Then, … | |
this loop will not exit when n is pressed I sure would appreciate a clue as to how to exit a loop. here is the code. code [COLOR=green]// Ex3_12.cpp[/COLOR] [COLOR=green]// using a while loop to compute an average[/COLOR] [COLOR=green]#include[/COLOR][COLOR=green]<iostream>[/COLOR] [COLOR=green]using[/COLOR][COLOR=green] std::cin;[/COLOR] [COLOR=green]using[/COLOR][COLOR=green] std::cout;[/COLOR] [COLOR=green]using[/COLOR][COLOR=green] std::endl;[/COLOR] [COLOR=green]int[/COLOR][COLOR=green] main( [/COLOR][COLOR=green]void[/COLOR][COLOR=green] )[/COLOR] { … | |
Hello all! :-/ I am creating a program which reads data from a database. How can I change the connection string to format anyone who would use this program on there computer? My current connection string is made to specifically read from my folder(s)... conn.ConnectionString = "C:\Documents and Settings\servername.\Desktop\Pamela\CheckReader\Database\CheckInfo.mdb" Thanks … | |
I don't know how to sparate the interface and their implement.And I need some help from you.For example,I hope anybody can tell me,how to make these three files to work well. [CODE] //This file named main.cpp #include <iostream> #include "ABC.h" using namespace std; int main(void) { char y='y'; char e='e'; … | |
hello guys, can anyone recommend me a site or alink for agud e book in learnin c++..startin from basics to advance...i have a very clear picture of C and data structures using C... | |
Hi i'm trying to make a JFrame with 4 jlabels. So far no problems, but i want it to show the first only. 4 seconds later the second, and so on... I know how to make the labels invisible and vasiable again, i just don't know about the time delay. … | |
Hi everyone! I have traced the variables that stores the data. All i have to do is to save all these in a table. Pls help. Here are the variables and its content: Variables: $pmaster_id = get_param("master_id"); //test------------------------------ print "master ID = $pmaster_id"; $master_id = $pmaster_id; $id = explode("-", $master_id); … | |
hi all have anyone any idea how can i make my program read 3 or 4 files ,in a folder. i mean my input isn't only one file, it's a folder. can the C++ do that? | |
Using Visuel Studio 2005 and the choices I have are as follows Could someome help me to understand what they are? ALT CLR General MFC SMART DEVICE WIN32 Any help to clarify what these choices mean would be Appreciated. Thank you Dick | |
Hello everyone! I am doing Digital Compass Navigation Aids. It consists of the 1490 Digital Compass, a P18F4620 Microcontroller, ISD2560 voice record/playback chip LM4808M amplifier, 5volts and 3.3volts voltage regulators and three switches, the recording switch, the playback switch. First, i should record north, south, east and west into the … | |
Hi, I have just had a project thrown in my lap and all I know is that it is written in Pascal (The files have the extension .PAS) I am trying to find a suitable IDE to open the project so I downloaded Bloodshed Dev-Pascal IDE but it does not … | |
Hi there! I've got a Delphi7 and i wanna to start with a small project. However I can't do that, so I need help I've got two sources: Unit1.pas [INLINECODE] unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, OleCtrls, SHDocVw_TLB, StdCtrls; type TForm1 = class(TForm) … | |
Hi Everyone, I need help looking for a script. The script I am looking for is something like a swap/trade script. The script should let everyone do all the basic functionalities such as login, logout, register account, etc. The script should also have an administrative control panel. Basically, the script … | |
hi i am trying to design a dynamic website using php and mysql, how can i make configuration so as to connect successfully? | |
Does anyone out there happen to know much about Pydev? It's my preferred IDE (it's the only free IDE that received good reviews when I looked it up), but I'm getting frustrated trying to download some new modules and use them in it. I downloaded and installed the module tkSnack, … | |
ok ive just started work for a company and second day in they have asked me whether its possible to convert there entire VB6 applications suite to asp.net making it available to run online for their clients. This is my first job outside uni and having played around with asp.net … | |
I'm trying to write a program where the user gives a size of an array. myArray(5) (below) fills and prints a 5x5 array with numbers 1-5 and prints out 5 numbers on a line. The output would look something like this... [code] 1 2 3 4 5 1 2 3 … |
The End.