199,114 Archived Topics
Remove Filter ![]() | |
#include<iostream.h> void main() { cout<<"hello"; } //IF WE COMPILE THIS PROGRAMME IT WILL NOT PRINT HELLO ON U'R SCREEN.TELL ME WHY & TELL ME PROCEDURE HOW IT PRINT USING COUT IN VC++ | |
I'm new to C programming. I could not understand how to write the following programs. 1. Any year is input through keyboard. Write aprogram to determine whether it is a leap year or not. | |
desperate need in help on how to do this! To design a class model to represent a simple air traffic controller scenario. Itz not necessary to consider any specific implementation details Air traffic control system: which organises and regulates the process of landing aircraft at an airport. The system has … | |
Hi, Pls how can I draw a table on a panel with java.The table with five rows and ten columns. Thank you. Bobinson. | |
someone please help me get rid of html 37049 need some kind of help some where to go to free down load to get this thing gone | |
Can anybody help me with some or all of these problems? Problem 1: Write the definition of a function minMax that has five parametersª. The first three parametersª are integersª. The last two are set by the function to the largest and smallest of the valuesª of the first three … | |
This is just a general C++ question. For someone who has been working with C++ for a while now, my question is what are the best articles-books-anythings to read or do when starting out using C++ . I have a new found passion for programming, and i just want to … | |
You replied to my post earlier. I had the C++ question on remainders. The compiler said your code was incorrect :twisted: , so I thought i would give you the orriginal question. Here it is: Write the definition of a function divide that takes four arguments | |
Can some one write me a code that would genarate numbers in a certin pattern? The pattern starts with 1 the next number 11 meaning the last number had one one the next number is 21 meaning the last number had two ones. Is it possible to make a program … | |
Hi i'm pretty new to the whole java thing with basic skills in the non graphical parts of java and some limited swing skills. There's this thing about threads that's sorta irritating me. I would like to know.....if this is possible....how i can run multiple threads in the same class … | |
do you have to be good at math, or science or math to be good at C++?? | |
Hi, I'm trying to write an array of linked lists to disk using c++.I'm running this program on Linux.My data structures are as follows... A Hashtable class which holds the array of linked lists... A linked list class which also has a writetodisk function.. An indexer class which adds entries … | |
Hi, I need help with what to start with... Allegro or DirectX or something else??? I program in C++, and I have found the books, but what should I start with as a beginner??? Thanks in advance!!! ;) | |
Hi, I'm trying to compare two text files (outputs from a database and corresponding spatial table in a GIS) to check for errors. Basically, i'm assuming that the output from the database is correct and any missing/repeat numbers in the spatial table will be errors and should be reported. I've … | |
Hi everyone, I would just ask a question is that can the java programming language be used for commercial uses without any royalty is there any kind of distribution strings attached ( i can charged money for my program and not distribute for free)? Can someone please help me answer … | |
hi guys! ;) i'm tryng to make a [B]class string[/B]... i'm wondering how to make a member function that can show the string length w/o using strlen..please help! :?: i already made a program that prints the length of the string w/o using strlen...but the problem is, it's in the … | |
I'm stuck on retrieving bytes from a register using qbasic, specifically how do they get the Low byte and High byte from this: 'al%=lowbyte of ax, al%=highbyte of ax, al%=outregs.ax and &hff ah%=outregs.ax \ 256 I can understand that with call interrupt you can read or write to general registers … | |
Hi everyone I made a villa website for my dad, and now that i'm learning php, it would be nice to put it to good use, i've allready tried out php on other pages for various things - forms ect. But now it would be great if i could let … | |
![]() | for a simple program... #include <iostream> using namespace std; int main() {[color=magenta]int x[/color]; cout << "enter password\n"; [color=red]cin >> x[/color]; return 0; } for the pink colour part.. if i want my password to be in integer and alphabets, so what command line should i put? and when i enter … |
Top of the day to you guys out there! Kindly assist in this program.It's made up of six textfields and a button on a panel.it should work in such a way that the fifth textfield displays the sum of the values entered into the first four on pressing the button.Also,the … | |
hello everyone, can anyone show me any good links on the web where i can get good information about the java swing and awt package event handling. My event handling is very bad as the last java sdk i learned was sdk 1.0. It was a very long time ago. … | |
I need help solving two macro questions in C++. They are: Define a macro PANIC that expands to code that uses cout | |
Hi I tried to use a pointer to point to address of an enumurated constant but this made a compile error. so can can I know address of an enumurated constant and use it with a pointer? down is a sample code: #include<iostream.h> main() { enum Date {mainX=1,mainY}; const int … | |
This program won't print the menu number the user enters??? /* Currency equivalence to the Dollar*/ #include <stdio.h> float Australian_Dollar; //Australian Dollar float Euro; //Euro Dollar float British_Pound; //British_Pound Dollar float Japanese_Yen; //Japanese_Yen Dollar float Swiss_Franc; //Swiss_Franc Dollar float count; int menunum; /* Dollar conversion */ int main(void) { // … | |
Hi, I have apache, php, phpmyadmin, and mysql in my computer. I could connect to mysql and manipulate database well before. But for an unknown reason, I can't do it now. Each time when I tried to do this, it gave an error message as "Can't create TCP/IP socket (10091)". … | |
Hello, This might be in the wrong place. My question pertains to MS Excel, and using Visual Basic for Applications (VBA). We have a user that would like to hide one of her worksheets within a workbook. She would like the sheet to be securely hidden. I found this piece … | |
is there a possibility to make animation with cpp is there any documentation for this | |
Hi all here is small C program main() { int i=2; printf("%d\n",++i * ++i * ++i * ++i); } it gives o/p 480 why..? Thanks for u r reply. shalin | |
Hi I made a class that has a public integer pointer and I use this pointer in main like code below: ([I]Just a sample code,I know about memory leaks and other related bugs,just a sample[/I]) #include<iostream.h> class Cat { public: int *Pointer; }; main() { Cat *pCat; pCat=new Cat; pCat->Pointer … | |
/**I commented everything out dealing with the word count so it works. The problem is that I am not able to read what the file name is. It does not catch the file name, but it prints out the contents of it when it goes to the catch **/ import … | |
i cant get a login script to work so imma take the easy way out and ask if ne1 will give me one plzplzplzplzplz :cry: | |
hi my friends :lol: today i want to ask about important something iam make page to know the user and his password the code for this page will ----------------------------------------------------------------------- <html dir='ltr'> <head> <meta http-equiv='Content-Language' content='en-us'> <meta http-equiv='Content-Type' content='text/html; charset=windows-1252'> <title>User name</title> </head> <body> <!-- welcome text --> <b> <marquee width="40%" … | |
I have a stopwatch program and the last of the code has to be a static class can someone help running out of time. I've tried all i know examples aren't helping. Here is the code I've written. I hope someone can help. TY... // import java.io package and utility … | |
I'm trying to get started in ASP.NET, but I just don't understand the errors being returned to me. I'm trying to connect to my MySQL database. I have followed several examples from books and the internet with no success. Could someone look at my code and see if I'm screwing … | |
EXplain me about these function cin.clear(); cin.ignore(); tell me what function i use for flushing a input bufer in c and c++; | |
struct vertex //object in the list { int data ; list <edge*> edges ; }; list <vertex> thenodes ; //user defined function object struct checking : public binary_function <vertex,int,bool> { bool operator()(const vertex &a,int b) { return (a.data == b) ; } }; //the function using the find_if function list … | |
I would like to know if it is possible to communicate Queries using XML from an application written in VB6 to a website written in ASP.NET. I would need to send and receive everything from a small integer to a medium blob. Also, the database backend is MySQL. This is … | |
[i]post deleted-- we don't do homework for you![/i] | |
I have the 10 classes car and a member of this class is the integer weight how can i create an aray of the ineger weight with ponters to that member? [B]car[/B] | |
Hi, This may be a really basic query, but im not really a java expert! In my program, i am drawing rectangles and the colour of the rectangle depends on a number stored in an array, so if the number is 1 then i want to set the colour to … | |
Using this code: Fees = ovrh + (wr * z); I am getting the following error: error C2440: '=' : cannot convert from 'double' to 'float [6][3]' Fees, ovrhd, wr and z are all declared as float. I believe if I can figure out what the problem is, I will … | |
#include<iostream.h> #include<math.h> void main() { float x,y; cout<<"Please enter one number "; cin>>x; y=x*x; cout<<"The square of the number you enter is "<<y<<endl; } :eek: Pls help... thx u very much... | |
this is my program and i want 2 put it in terms of modules(functions): #include<iostream> #include<string> #include<iomanip> using namespace std; int main() { //initialization phase. string month; int day=0,cones; char choice; double price; //processing phase. while(day <= 31)//day must not be greater than 31. { cout<<"Welcome to The Ze_Viru$ Ice … | |
when i attempt to access my php pages at: <snipped> everytime i try to submit a form or click on a new page nothing loads until i hit refresh. this does not happen with netscape, only with internet explorer, and it only happens on my machine, not on anybody else's … | |
I have some code which examines an array to see if it contains a particular value: boolean found = false; int []a = new int[100]; populate(a); // populates the array a with a set of random values int valueToFind = 123; // or whatever we want to find while((n < … | |
Could anyone give me a hand with my mock exam, i'm on msn - [email]get_jiggy_widit@hotmail.com[/email]. I'm struggling a bit - with some of the simple things really n it's getting on my nerves. Any help would be greatly received. Thanks Steve | |
![]() | for a simple program... #include <iostream> using namespace std; int main() {[color=magenta]int x[/color]; cout << "enter password\n"; [color=red]cin >> x[/color]; return 0; } for the pink colour part.. if i want my password to be in integer and alphabets, so what command line should i put? and when i enter … |
guys, i have been working on a project, i have been trying to use dxsmithlib (a directx wrapper from codeproject) and win32 CONSOLE application in visual c++ 6. When i try to build the project by specifying "use MFC in a shared DLL" it shows no errors or warnings and … | |
code: public static void menu(){ String reply; System.out.println("Make your choice:"); reply = getLineFromUser(); //assume this function works correctly if(reply.equals("play")){ playgame(); } else if(reply.equals("end")){ stopGame(); } menu(); // recursive call. Don't use!!!!! Any ideas? i struggle with while loops at the best of times. | |
[FONT=Courier New]I want to toggle caps, num or scroll lock using c++ program on a unix machine. Can some one help? |
The End.