199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Sukhbir

#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++

Member Avatar for stg110
0
280
Member Avatar for smithag261

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.

Member Avatar for let us c
0
159
Member Avatar for lore00

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 …

Member Avatar for nanosani
0
820
Member Avatar for bobinson

Hi, Pls how can I draw a table on a panel with java.The table with five rows and ten columns. Thank you. Bobinson.

Member Avatar for nanosani
0
125
Member Avatar for dirtcar31

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

Member Avatar for nanosani
0
71
Member Avatar for Ghost

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 …

Member Avatar for WhataNerd
0
228
Member Avatar for WhataNerd

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 …

Member Avatar for WhataNerd
0
153
Member Avatar for Ghost

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

Member Avatar for Ghost
0
488
Member Avatar for OurNation

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 …

Member Avatar for cosi
0
170
Member Avatar for asdfgh

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 …

Member Avatar for asdfgh
0
191
Member Avatar for Nexxuz
Member Avatar for Killer_Typo
0
108
Member Avatar for crazybitez

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 …

Member Avatar for crazybitez
0
112
Member Avatar for Dragon Master

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!!! ;)

Member Avatar for Dragon Master
0
121
Member Avatar for Frogstar

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 …

Member Avatar for Dave Sinkula
0
150
Member Avatar for freesoft_2000

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 …

Member Avatar for Cain
0
166
Member Avatar for mmmmar

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 …

Member Avatar for mmmmar
0
151
Member Avatar for The Beholder

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 …

Member Avatar for The Beholder
0
135
Member Avatar for cuddlers89

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 …

Member Avatar for huwgomez
0
104
Member Avatar for kohkohkoh

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 …

Member Avatar for saji
0
111
Member Avatar for bobinson

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 …

Member Avatar for bobinson
0
147
Member Avatar for freesoft_2000

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. …

Member Avatar for avinashjava
0
163
Member Avatar for Ghost

I need help solving two macro questions in C++. They are: Define a macro PANIC that expands to code that uses cout

Member Avatar for Ghost
0
1K
Member Avatar for the_one2003a

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 …

Member Avatar for the_one2003a
0
684
Member Avatar for madref

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) { // …

Member Avatar for red_evolve
0
851
Member Avatar for phpnovice

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)". …

Member Avatar for Killer_Typo
0
119
Member Avatar for kc0arf

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 …

Member Avatar for mnemtsas
0
170
Member Avatar for tahataha

is there a possibility to make animation with cpp is there any documentation for this

Member Avatar for tahataha
0
106
Member Avatar for shalin

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

Member Avatar for pursottam tiwar
0
139
Member Avatar for the_one2003a

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 …

Member Avatar for the_one2003a
0
137
Member Avatar for michelle13

/**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 …

Member Avatar for cosi
0
177
Member Avatar for browny87us

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:

Member Avatar for YoungCoder
0
167
Member Avatar for astm

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%" …

Member Avatar for YoungCoder
0
172
Member Avatar for Bill T

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 …

Member Avatar for Bill T
0
140
Member Avatar for ecashwell

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 …

Member Avatar for ecashwell
0
144
Member Avatar for Sukhbir

EXplain me about these function cin.clear(); cin.ignore(); tell me what function i use for flushing a input bufer in c and c++;

Member Avatar for stg110
0
107
Member Avatar for drdregambit

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 …

Member Avatar for glSuccinct
0
165
Member Avatar for ecashwell

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 …

Member Avatar for Tekmaven
0
147
Member Avatar for RITZY_G
Member Avatar for ihvc4

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]

Member Avatar for glSuccinct
0
310
Member Avatar for i_me_roo

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 …

Member Avatar for cosi
0
125
Member Avatar for tnorton

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 …

Member Avatar for Dave Sinkula
0
333
Member Avatar for edison

#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...

Member Avatar for freesoft_2000
0
155
Member Avatar for ze_viru$

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 …

Member Avatar for payam
0
151
Member Avatar for tsabar

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 …

Member Avatar for pcarlow
0
328
Member Avatar for srthomso

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 < …

Member Avatar for srthomso
0
330
Member Avatar for srthomso

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

Member Avatar for srthomso
0
136
Member Avatar for kohkohkoh

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 …

Member Avatar for Pikachu
0
142
Member Avatar for Asif_NSU

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 …

Member Avatar for Chainsaw
0
354
Member Avatar for srthomso

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.

Member Avatar for bvvkrishna
0
149
Member Avatar for mrb260478

[FONT=Courier New]I want to toggle caps, num or scroll lock using c++ program on a unix machine. Can some one help?

Member Avatar for cosi
0
227

The End.