132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for adiaforos

i am writing a program for seats reservation... here is the thing.... we have only one airplane with 10 seats... type (1) for expensive seat type (2) for cheap seat type (0) for exit you have to use seats[10] array and you have to do seats[10]={0}; if you type (1) …

Software Development c
Member Avatar for Jishnu
0
117
Member Avatar for uber_noob

i dont know how to pass variable values from a function to another.. i get this error passing arg 1of 'add' makes integer from pointer without a cast here is my complete code: (this is not complete as i am just starting a text-only calculator :P) [code] #include <stdio.h> void …

Software Development c
Member Avatar for Jishnu
0
97
Member Avatar for Barefootsanders

Hey everyone, I'm attempting to write a header file, example.h that will contain function declarations that will be defined in example.c. For some reason Its giving me an error when i do this [CODE]extern void mainMenu(node*);[/CODE] Now node is a struct defined in another header file, should I include that …

Software Development c
Member Avatar for Barefootsanders
0
131
Member Avatar for hotshayan

Actually im a beginner with the subject of data structures. for my project i got a program to make which goes like: " implement the ADT unordered dictionary using hashing with linear probing." by using c or c++ language. i would b grateful if sum1 could help me with this …

Software Development c++
Member Avatar for Ancient Dragon
0
136
Member Avatar for roxanne14

My assignment says I'm supposed to read in an address all on one line separated by pound signs (eg jane doe # p.o. box 123 # new york, new york 97229 #) and output it with correct capitalization and in proper address format like: Jane Doe P.O. Box 123 New …

Software Development c++
Member Avatar for Tight_Coder_Ex
0
554
Member Avatar for prateek_singh

//sample program for car:) #include<graphics.h> #include<conio.h> #include<dos.h> #include<stdlib.h> #include<process.h> void main() { int gd=DETECT,gm; initgraph(&gd,&gm,"c:\tc\bgi"); int c=12; setbkcolor(0); //setlinestyle(0,1,2); int t; while(1) { settextstyle(2,0,5); outtextxy(100,10,"Press L,H ,T,P"); outtextxy(100,30,"Press 1 for Quit"); as: setcolor(13); ellipse(380,127,20,152,130,35); //////////////////////////////rear////////////////////////// line(490,109,560,142); line(560,142,569,142); line(569,142,582,102); line(582,102,620,92); line(593,132,617,125); line(617,124,627,96); line(620,92,628,97); line(472,86,602,96); line(501,113,575,121); line(443,77,475,80); line(443,77,432,93); line(475,80,472,85); //setcolor(4); line(593,132,593,137); line(593,137,600,141); …

Software Development c++
Member Avatar for Salem
0
184
Member Avatar for CloudSportRacer

Hello, I am new to java and was looking all over the place for a pop up type warning box coding for java. If someone has any ideas, that would be excellent! Thanks!

Software Development java
Member Avatar for CloudSportRacer
0
119
Member Avatar for PoovenM

Hi all, I was wondering, is there also a classloader in C#? I know that Java has it; if there isn't a classloader in C#, how would one load classes during runtime? If there is a classloader, how do I use it? I mean can someone show me an example …

Software Development
Member Avatar for PoovenM
0
123
Member Avatar for poonams

I Have one application in vs.net 2003.I used crystal report 9.0.When I am trying to deploy the S/w on client machine it gives error in crystal repot that KeycodeV32 /missing.I searched Lot on Web About the error.Some Said CR need a Licence.Is It true.How Can I get the licence.

Software Development vb.net
Member Avatar for poonams
0
142
Member Avatar for kadeemdagreat

[code=c] #include <stdio.h> #include <math.h> char decesion_matrix(double hh) { if(hh < 5) { printf("statement 1\n"); } else { printf("statement 2\n"); } return 0; } int chara_sum (int ii, char string[ii]) { int loop; char a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z; double hh; hh = 0; for(loop=0;loop<ii; loop++) { if(string[loop] == a) { string[loop] = 1; …

Software Development c
Member Avatar for Ancient Dragon
0
134
Member Avatar for Jakiro

void Display(Productptr t) { Productptr g; g=t; if(t==NULL) cout<<"The list is empty."<<endl; else { cout<<"Code\tDescription\tPrice\n"; cout<<"====\t===========\t=====\n"; while(g!= NULL) { cout<<g->code<<"\t" <<g->description<<"\t\t" <<g->price<<endl; } cout<<"End of the list"<<endl; } system("pause"); } This code give me problem. When I show 1st time is ok. After 1st time I add something or delete …

Software Development c++ display linked-list
Member Avatar for Jakiro
0
76
Member Avatar for Thunder2k4

Hi, im currently trying to write a program which counts the characters in an input file. I need it to count the total characters, the non-blank characters and the alphabetic characters. And then show the statistics of each. I have both the total characters and alphabetic characters working correctly but …

Software Development c++
Member Avatar for Thunder2k4
0
305
Member Avatar for ZORG

I want to develop a database application for the DS. Which is the best C++ package to use? When I was last involved with programming, Microsoft and another development company that I cant even remember now had the top two products. My current research has made me realize that there …

Software Development c++
Member Avatar for jbennet
0
85
Member Avatar for Artmann

Hello. I've recently started to explore the world of Java ME, and now ther's only one problem. Compiling. I've installed Java adk 1.6, Sony Ericsson SDK and even some tool I found under Suns Java ME section but the compiler still doesn't find the ME packages. Hope somone could post …

Software Development java
Member Avatar for peter_budo
0
155
Member Avatar for ConfusedMuchMor

New to programming my user name sums it all up!!! trying to creat a DLL for a calculator (in C#) I'm told this code below will do the trick, but it doesn't build!! can anybody out there tell me why? [code] using System; using System.Collections.Generic; using System.Text; namespace neilsuperDLL { …

Software Development
Member Avatar for alc6379
0
99
Member Avatar for cs_tx_usa

How could we implement the code if I want to read a grayscale image file into two dimensional byte array? Since we don't always know the number of rows and columns binary file has beforehand, how can I read that into 2-D array? A grayscale image is single band image …

Software Development file-system vb.net
Member Avatar for iamthwee
0
231
Member Avatar for chaosatom333

Hi, i am given an array of atomic numbers, and I need to arrange them in order from 1-100 or something. the program i wrote is this [code] for(fill = 0; fill < (m-1); ++fill) { if(atomic_num[index_of_min] <= atomic_num[fill]) { temp = atomic_num[index_of_min]; atomic_num[index_of_min] = atomic_num[fill]; atomic_num[fill] = temp; } …

Software Development c
Member Avatar for iamthwee
0
283
Member Avatar for LarZ

Can anyone point me in the direction of a small app that displays 2 panels on a frame, where one panel is small and at the top taking up about 20% of the frame, and the other panel takes up 80%. I would like it to be possible using wxBoxSizer …

Software Development python
Member Avatar for vegaseat
0
833
Member Avatar for LanierWexford

Is there a function to remove punctuation from a string, or check to see if a char is a letter? This is a home work assignment to: 1 Write a class stack and a class queue 2 Test your classes by writing a program that will ask the user for …

Software Development c++ queue
Member Avatar for LanierWexford
0
1K
Member Avatar for Magda

Hi all, I need to write this program today and I really struggle :-( Would you be able to help at all? public class ISPN { private int[] authorId; private int[] programId; /** * Creates a new instance of ISPN */ public ISPN(int[] anAuthorId, int[] aProgramId) //constructor that takes two …

Software Development java
Member Avatar for Joey Bumba
0
301
Member Avatar for jackskell26

Hello All, This is suppose to be my finished code for my "PacMan Game". All this "game" is suppose to do is to allow a Pacman to eat dots that can be placed on the screen at any location by clicking the mouse. It has a main class and a …

Software Development java
Member Avatar for jackskell26
0
127
Member Avatar for bugmenot

Hi, I have a linked list which I created in a function? I want to allow the user to enter a name for the linked list, and then after he/she can display the list by typing in the title. This is part of my code [code]struct llistt{ char str[100]; // …

Software Development c linked-list
Member Avatar for Narue
0
171
Member Avatar for tootypegs

Hi, basically i want to parse an image of a small FAT SD memory card that i have aqquired to display its directory structure. Ive tried scowering the web for some information or resources to study but i cn't find anything. Does anyone know of any info available to allow …

Software Development c++
Member Avatar for tootypegs
0
81
Member Avatar for Max_Payne

[b]Code[/b]: [b]NumeroReal.h[/b] [code] #pragma once #include <iostream> #include <cmath> #include <cstdlib> using namespace std; class NumeroReal { private: double n; public: NumeroReal(); // default constructor NumeroReal( double n ); // parameter constructor NumeroReal( const NumeroReal &unNumeroReal ); // copy constructor ~NumeroReal(); // destructor void setNumeroReal( double n ); double getNumeroReal() …

Software Development c++ visual-studio
Member Avatar for Max_Payne
0
124
Member Avatar for drew.haley

Is there a way to accept keystrokes through c# in a console app? Basically I want to apply macros/the f-keys to my program, thanks.

Software Development
Member Avatar for InfiNate
0
119
Member Avatar for snitch321

i need some help with the SlowMovevertical method, i dont know how to incorparate it correctly into my source code to make it work? thanks if you can help.

Software Development java
Member Avatar for Ezzaral
0
128
Member Avatar for mikeneedshelp

Hi, I'm hoping that someone can help me out as I'm sort of new to programming. I recorded a macro that uses microsoft query to get data from an access database. It works fine as it is, but I want to change the final filter to a variable and I …

Software Development microsoft microsoft-access visual-basic
Member Avatar for mikeneedshelp
0
110
Member Avatar for iaaan

Basically for part of my assignment, I have to write my own int to string. This is done, however the problem is I can only enter 6 digits to convert otherewise my program crashes. Out lecturer also wants us to use the abs function as the value passed in can …

Software Development c
Member Avatar for iaaan
0
101
Member Avatar for Tell Me

Hi, I want to ask if there function in library of c++ to search word in file ?? thank you

Software Development c++
Member Avatar for Tell Me
0
264
Member Avatar for Danii

As an example, consider the following array of 9 integers in the range 1 to 5: [2, 3, 2, 1, 4, 5, 2, 3, 1] The count array would contain the following values: [2, 3, 2, 1, 1] Working from this set of counts, the sorted array would be: [1, …

Software Development java
Member Avatar for PoovenM
0
149
Member Avatar for naps

I am a final year student and thinking of a project topic to do. Any suggetion?

Software Development java
Member Avatar for masijade
0
82
Member Avatar for hpr12951

Hello~I am having trouble with my homework. I could not have them done. Please Please help me with it. Thank you all. God bless... The question is ""Add temporary, administrative, permanent, and other classifications of employees to the hierarchy from the three coding. Implement and test this hierarchy. Test all …

Software Development c++ user-interface
Member Avatar for ithelp
0
122
Member Avatar for old_schooler

I need to get an image to move a number of twips at a timer interval determined by a variable (no problem) for a number of iterations through a for/next loop (problem). I've tried it without variables without success: first: Form_Load() Dim jumps as Integer jumps = 1 For jumps …

Software Development image visual-basic
Member Avatar for old_schooler
0
213
Member Avatar for Questions???

I was wondering if someone would be willing to assist me. The program listed below compiles, but when I run it I get the following error an exception 'System.FormatException. I think my error is possibly convertinting the string in the readLine to a boolean inorder to test the true false …

Software Development
Member Avatar for Questions???
0
265
Member Avatar for rmashukov

Program terminated with signal 11, Segmentation fault. Environment: FreeBSD 6.2, Python 2.4.4, MySQLdb 1.2.2, SQLObject 0.9.1 I faced with an error in our multithreaded, network oriented application, wich interacts actively with MySQL database. Brief information from core dump is below (more detailed one is in the file attached). Though I …

Software Development python
Member Avatar for rmashukov
0
114
Member Avatar for psycher

hi, i'm a novice user of VB. a freshman student of saint mary's university, can you please help me in my problem,, i'm having trouble in our VB 6.0 coz i dont have any knowledge regarding in this,, can you pls provide me a code which in cpu scheduling which …

Software Development visual-basic
Member Avatar for psycher
0
106
Member Avatar for tactfulsaint

I have this code that i used for shoopping and adding to cart. but the problem here is that when i add to cart it'll not display the artist song that i choose and add 'em to cart rather it uses the one from another class. Please how do i …

Software Development java java-swing
Member Avatar for tactfulsaint
0
157
Member Avatar for aloh

Hi, I'm quite a beginner and not sure if I can be helpful in the future. But I'll try! anyway, here is my problem... I've been searching on the net & looking up books but still don't have a clue of how to get it work. I have to simulate …

Software Development c++
Member Avatar for Salem
0
130
Member Avatar for tactfulsaint

please i need some help with this, i want to display the curent date n time at the bottom of this page. when i run it . THANKS. [code=java] import javax.swing.*; import java.awt.*; import java.awt.event.*; import javax.swing.event.*; import java.util.Calendar; /* <applet code=" The.class" height=20 width=20> </applet> */ public class The …

Software Development java java-swing
Member Avatar for tactfulsaint
0
157
Member Avatar for pankaj8

Please suggest me a Control or Object (Other than MDI Form) In vb 6.0 which can hold a Form. I want to call another form from within a form in a control like TabStrip. Pl. suggest me at earliest. Thanking you; Pankaj Kumar

Software Development visual-basic
Member Avatar for pankaj8
0
85
Member Avatar for satimis

Hi folks, Perl === Instead of using following command printing output to a file; $ perl AAA.pl > /pathto/name_of_file is it possible adding "print file function" to the script 1) If YES Please advise how to make it. 2) Can I add following bash syntax to the script user=$(whoami); now=$(date …

Software Development file-system perl
Member Avatar for KevinADC
0
199
Member Avatar for Tamarce

I am am for the first time here,since it is the first time I needed help.I have read all the rules and I agree with you for the homework case...But this is getting frustrating!I am working on this on my own,practicing for the mid term but what am I doing …

Software Development c++
Member Avatar for Tamarce
0
308
Member Avatar for volia

o.k., so as i stated in my first post, I'm very new to this, and not very good at it. I have been able to get though the labs up to this point. But I am having some issues with my final lab. One thing I want to make clear …

Software Development c++
Member Avatar for WaltP
0
137
Member Avatar for mattp123

Hey guys I need some help on this code. I'll just post the parts of the code needed to do thing I'm stuck on. [CODE]class Robot { public: // Constructor Robot(Arena* ap, int r, int c); // Accessors int row() const; int col() const; // Mutators void move(); private: Arena* …

Software Development c++
Member Avatar for Lerner
0
81
Member Avatar for blindkilla

here is my problem ... I have a bunch of usernames in a listbox called listBox1, how can i store each line of text into a mulitiple arrays of a string? i cant seem to figure it out I want to do this so later i can use "usernames[x]" so …

Software Development
Member Avatar for blindkilla
0
98
Member Avatar for kahaj

I thought this script was working. I absolutely cannot get IIS to fully and completely work on my home comp. After making a special trip to school to test this thing out, it ends up that it's only displaying the last data entered instead of the averages, totals, etc. This …

Software Development javascript perl
Member Avatar for kahaj
0
130
Member Avatar for Ljupco

I must to write i program in C which will carry into clause(sentence) from keyboard and count how much "," have how much spaces " " have and how much times occur the word "The" for every clause(sentence). And in the end program when you carry into clause(sentence) must print …

Software Development c
Member Avatar for WaltP
0
91
Member Avatar for ferhatkuskaya

Hi friends again. Can you tell me how I will justify right edit box components in delphi. Ok I have found the memo to justify right for my input variables. But when I delete the text inside the memo components. Some of strings in memo components are not coming to …

Software Development delphi pascal
Member Avatar for Micheus
0
278
Member Avatar for fishsqzr

I can't seem to get OleDb controls to show up in C# Express. Are they excluded for some reason? I have made sure they are selected in the "Choose Toolbox items..." dialog, where they are listed, but they don't appear anywhere on the toolbar. I tried to add them to …

Software Development c#
Member Avatar for fishsqzr
0
83
Member Avatar for mickinator

Hey all, I'm not gonna ask for help with code or anything. What I would like is some help with an idea for a project I have, it's for college. Basically the spec for it is: Design a new keypad for a phone, to type sms' with one finger, and …

Software Development java
Member Avatar for mickinator
0
284

The End.