199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Acidburn

[code] //parsing (a,d,n) #include <iostream> using namespace std; char getsym(); void L(char sym); void C(char sym); void c(char sym); int main() { char nextsym; nextsym = getsym(); cout << nextsym; return 0; } char getsym() { static char array[20] = "(a,d,n)"; static int i = -1; ++i; return array[i]; } …

Member Avatar for iamthwee
0
126
Member Avatar for katharnakh

1. hello, i have a set of questions, actually im developing a reporting tool where want to retrieve values from database and display that in the canvas in a formal reporting manner. can we take print out of content in the Canvas widget? (somewhat like, Data Report in VB) 2. …

Member Avatar for vegaseat
0
107
Member Avatar for rahulgupta1979

Hi... I have come acroos with this new problem - Integration in Java. I need to use integration (Mathematics operation) in Java. Is this possible...? and if yes, then how....and which package I will need to use.....which class and everything. I need help on this asap. Is anybody up for …

Member Avatar for jwenting
0
1K
Member Avatar for TAW1

Hello there, I am working with a company that I am paying to develop my website. I am not a webmaster or developer myself, ok? So I may not quite put things "right" in technical terms and for that, I apologize... My website is about 3/5's of the way completed. …

Member Avatar for Esopo
0
229
Member Avatar for Nedals

I'm attempting to build a simple listener, preferably without a Thread, but I am lost. I have a working listener in 'console' mode but I need one that works with MFC. It should stay open indefinately - (until I send a shutdown message) This is my initial non-working attempt. It …

Member Avatar for Nedals
0
276
Member Avatar for dammika

hey guys any 1 know how 2 create a exit button in jcreateer... because i don't hav a clue how to do it..... i would really appriciate it ..if u guys can help me... thank u ps: if the method is simple..its better..coz im just started java.. thank u again

Member Avatar for server_crash
0
110
Member Avatar for Acidburn

Hello, I've got this array defined as a global just to test... [code]char RW[100];[/code] but its giving me grief when I try to use strcpy with it... I'm putting since varibles and longer ones too thats all I can think of as the cause of my problems .. error quote: …

Member Avatar for Acidburn
0
130
Member Avatar for Yuribokovich221

I would not be posting right now if it weren't for the fact that I've exausted my resources and have no where else to turn for a solution. First of all, let me give you guys a .class file, that when compiled, does exactly what my program is -supposed- to …

Member Avatar for jwenting
0
100
Member Avatar for Cooberman76

Hi there everyone. I'm new to the boards (and C++ as well) :confused: I was wondering if someone out there would be so kind as to guide me or explain the best way to handle this dilemma I'm having. I''ve spent a full week coding my programming assignment for this …

Member Avatar for vegaseat
0
169
Member Avatar for martinkorner

How do I download and install Apache HTTP Server on my Windows XP computer )so I can test my PHP scripts without having to publish the script to the internet every time)? [B]Martin[/B]

Member Avatar for PoA
0
131
Member Avatar for rasheed1982

Hi I Have One Doubt. Is It Possible To Find The Large Value In A Set Of Numbers Without Using If Statement? Plz Give Reply To This

Member Avatar for rasheed1982
0
100
Member Avatar for parvin2

how can I place all of my program in a while loop what I want is this: the user should enter color of pen ,color of brush and then enter name of a shape that want to draw. my program should give this information and draw a shape the user …

Member Avatar for Nedals
0
176
Member Avatar for macka007

Im writing a Network version of Othello (sometimes called Reversi) but im having trouble with the function that checks your move. A screen shot of my app: [img]http://homepages.picknowl.com.au/craig_sharon/othello2.gif[/img] Basically each Square is a PictureBox, Player 1 (White) goes first, so if for example they click the picturebox (F,5) which incidentally …

Member Avatar for macka007
0
168
Member Avatar for Rattled_Cage

i want to set this to read from the "cd Quality" key anyone help me ? ive tried changing key2, "Cd Quality", with no luck ! where am i going wrong ? [CODE]Private Function GetDefaultWaveFormat(format As WAVEFORMAT) As Boolean '//////////////////////////////////////////////////////////////////////////////////// ' This user-defined function retrieves the default wave format from …

Member Avatar for AlanC
0
246
Member Avatar for bobpierce01

Silly title, and I know a bit more Math then Computer Science (in fact I am a poor programmer). In my Python program - code below -I have an error message saying I have too many nested static blocks. It looks as if Python got stubborn on the 21st for. …

Member Avatar for alc6379
0
390
Member Avatar for hummer010

I'm trying to open an https file using python on windows: [url]https://www3.eub.gov.ab.ca/eub/dds/iar_query/ApplicationAttachments.aspx?AppNumber=1438224[/url] My current attempt was this: import urllib import urllib2 the_url = 'https://www3.eub.gov.ab.ca/eub/dds/iar_query/ApplicationAttachments.aspx' values = {'AppNumber':'1438224'} data = urllib.urlencode(values) req = urllib2.Request(the_url, data) handle = urllib2.urlopen(req) At this point i get an error: urlopen error unknown url type: https …

Member Avatar for alc6379
0
196
Member Avatar for Raudhah

Hi. I'm trying to create a program that prints an invoice with multiple pages continuously. Currently, the program allows to print multiple pages but it is exactly the same content from the first page. How can i print in multiple pages and it continues from the first page? private void …

Member Avatar for Raudhah
0
104
Member Avatar for april_er
Member Avatar for Nurul Dee

i have a problem to simulate program on array-based list :rolleyes: :sad: .The array can store 10 integer value.The application should be perform basic operation such as inserting,deleting and displaying the array's content :rolleyes: .Any extra operation are welcome.The application should promt user a menu as follow : 1)insert value …

Member Avatar for Nedals
0
361
Member Avatar for sladesan

I would like to note that this is for John Conway's game of life but I must write it in C++. I am making a 10x10 version of the game and I am using jGRASPto write the code. I am having a problem when it is reading in the starting …

Member Avatar for Lerner
0
862
Member Avatar for cesarmas

I tried to make a function , using iterators, to walk a deque backward and my function does not work . I would appreciate if somebody cna help me : double Dq_Iter_Backward() { deque<int>::reverse_iterator InvDeqIter; DeqIter=intdeq.begin(); InvDeqIter = intdeq.end()-1; for(InvDeqIter = intdeq.end()-1;InvDeqIter!=intdeq.begin()-1;--DeqIter) { cout<<InvDeqIter; } elapsed = clock()- start_time; elapsed_time …

Member Avatar for Lerner
0
181
Member Avatar for zillabunny

Hello, I'm trying to write a simple little TAsk Schedulaer app When my lable caption timer hits a certian time It's supposed to load a program If lblTime.Caption = "9:11:25 AM" Then fullpath = "C:\windows\notepad.exe" iTask = Shell(fullpath, vbNormalFocus) pHandle = OpenProcess(SYNCHRONIZE, False, iTask) 'ret = WaitForSingleObject(pHandle, INFINITE) 'ret = …

Member Avatar for zillabunny
0
110
Member Avatar for Naters_uk

I would like to code my submit web control button with a timer on it. Its suppose to allow submission until time goes up and the button is disabled from submission. Any directions or tutorials on this?

Member Avatar for campkev
0
165
Member Avatar for mydadisadentist

Hae ive had a idea for a project but dont no how to start my dad keeps going on at me for spending to long on the internet so i want to create a program that detects the internet connection and starts a timer till u disconect then records the …

Member Avatar for WolfPack
0
162
Member Avatar for visual one

Hi I have a homework assignment that is due today. I've been working on it all week, but I just can't get it. My assignment is to write a program that creates a stack and tells if its a palindrome. Here's what I have: import javax.swing.JButton; import javax.swing.JFrame; import java.util.Stack; …

Member Avatar for jwenting
0
156
Member Avatar for nimero

Hi, has anyone of you an c-code of game of life, which isn't so difficult to understand??? thank you for your help! nimero

Member Avatar for jwenting
0
140
Member Avatar for cesarmas

Please can somebody help me .......... I have no idea on how to implemenet a program to benchmark functions such as insertion , deletion and iteration and deuqe. I know that I have to use the clock_t function but I can not figure out, if I need to call the …

Member Avatar for kc0arf
0
127
Member Avatar for Subterraneus

I'm trying to re-write some of my shell scripts with C++ and I want to use some Unix commands, but I don't really get how, all the information on System() is just confusing to me...so any help would be great,

Member Avatar for Subterraneus
0
154
Member Avatar for realestninja

Hi I've been told by my bf that php and mysql are very very powerful tools in the computing world and that it can make all kinds of neat things like databases to small nifty programs. I'm a model, and I began to get addicting to computers after i was …

Member Avatar for BlazingWolf
0
212
Member Avatar for Drowzee

Hello, all. I'm working on a new project now that I can talk about. I've been hired to fix code that performs frame capture and magnetic sensor telemetry. I haven't worked in C# before this, but it is similar enough to the work I was doing when I last frequented …

Member Avatar for Drowzee
0
109
Member Avatar for Nickol

Hey, I have to write a function that does this : It checks if a word come up twice in a row . For example : myString[] = " Ariel lives in in the city city Ariel " so now my function should print the words : in city . …

Member Avatar for Nickol
0
121
Member Avatar for michika

hi.. just want to ask if <fstream> is really needed in making a program for round robin scheduler? im currently taking my os class and our project is to make a code for RR.. :?:

Member Avatar for michika
0
99
Member Avatar for mickeyfitzray

Hi, Im currently designing a media player for my 4th year project in college using C# and Visual Studio 2003. However I wish to design my own unique good quality interface and I am unsure of what way to go about it. Does anyone know if there is any tools …

Member Avatar for plazmo
0
98
Member Avatar for Yoshidex

Hello there, is been a while since I last posted here, mostly because I didn't have the time I needed to program. But now, I reentered the exciting world in Visual Basic, 'cause I have a lot of time now and my mom wants me to make her a database …

Member Avatar for Yoshidex
0
101
Member Avatar for sosy2001

#include <iostream> using namespace std; // This program takes the numerical score and outputs a letter grade.// int getScore () { int count; int score, for (count = 0; count <10; count ++){ cout << "\nEnter the student's score: "<< endl; cin >> score } cout <<"\nThe score is/are: " …

Member Avatar for Nedals
0
169
Member Avatar for tdizzle342

Hi i was wondering if anyone can help me out. Im trying to make a applet when a button is clicked it will appear the name John . And when another button is pressed it will display "Smith" in a seperate text field. This is what I have so far. …

Member Avatar for tdizzle342
0
113
Member Avatar for kharri5

So I'm trying to build a shell, and I've been stuck for days just trying to think about how to take in the input from the user. I need to be able to have a list of dynamically growing commands, that each has its list of dynamically growing arguments, so …

Member Avatar for kharri5
0
348
Member Avatar for Banshee78

Hi I use the tag library and i have following Problem. [COLOR=Magenta]<c : out value="${nickname}"/>[/COLOR] Output of this statement is [COLOR=Magenta]${nickname}[/COLOR] and not the value of the variable [COLOR=Magenta]nickname[/COLOR]. I have no clue what i m doing wrong. jar's and tld's are in the right directory. Following is on the …

Member Avatar for jwenting
0
308
Member Avatar for jigvesh

Well as far as i know there is nothing like JCanvas for swings....i read somewhere that Jpanel can be considered to be the Canvas of Swings....How true is that???? :?:

Member Avatar for ROGENATOR
0
67
Member Avatar for ROGENATOR

Greetings: I`m starting in Java and i`m having problems with compatibility between versions, in school they have an older version(I believe its 1.4.0 but i`m not completely sure) than the one i have at home(1.5.0_04), so almost every time i try to open a applet/application at school i get errors, …

Member Avatar for ROGENATOR
0
103
Member Avatar for vikky17

Hello Friends, Actually i am Sticken with a very peculiar problem, related to search Actually i have a database with a column "Description" which has a long strings of 1000 characters describing about the produts of the company for E.g. "We are manufcaturers of Plastic Raw material, platic containers, Elctrical …

Member Avatar for Drew
0
131
Member Avatar for Acidburn

Hello, I'm wanting to print a circle to a screen, or should I say on a form. Any ideas? Thanks

Member Avatar for Acidburn
0
210
Member Avatar for sosy2001

How do I save the input form the user into an array? Here is my assignment: create a program that reads in 5 numbers, find their sum and then print them in reverse. Use array as a tool in your program. Here is what I have so far: #include <iostream> …

Member Avatar for sosy2001
0
184
Member Avatar for JoBe

Hello ladies and gents, Ive recently downloaded VC++ 2005 EE, but, would prefer to buy a version of this. Now, the problem is that there are so manny versions. Since I'm a hobbiest I was wondering wich of these two would suit me the best. Visual Studio 2005 Express or …

Member Avatar for jwenting
0
125
Member Avatar for yoshi4483

Last night, I figured out how to write my psedocode for fing the area of a trapazoid. It was hard but I managed. Now I need help with writing the program. Everytime I try to run it something a little box comes on screen and says error, but I don't …

Member Avatar for yoshi4483
0
94
Member Avatar for dreamreaver

Greetings. I would like some guide and pointers from you all..and even if it is my homework..im not asking for someone to do it for me =| QUESTION: Develop a program that uses an array of structures to store an employee identification number(4digit), current annual salary and the result of …

Member Avatar for dreamreaver
0
441
Member Avatar for JoBe

Hello ladies and gents, in Accelerated C++ I have an exercise wich goes as follows: [quote]Write a program that will keep track of grades for several students at once. The programcould keep two vectors in sync. The first should hold the student's names, and the second the final grades that …

Member Avatar for JoBe
0
287
Member Avatar for Lothia

Well I cannot get the second and third out put to work correctly. [code] // Purpose is to program a simulation for the flight of a cannonball. #include <iostream> #include <cmath> using namespace std; int main () { // Declare variables and constants. double vel_i, x_final=0, x_initial=0, time= 0.01, x_0; …

Member Avatar for Lerner
0
1K
Member Avatar for nxt2thrill

hi frenz, presently im at creating a new anti virus using C++. Is there anyone who has a prior knowledge in this field,pls help me out. thanx n regards nXt

Member Avatar for nxt2thrill
0
108
Member Avatar for BaileyFree

hi I know that I have asked pretty much question recently.. I'm learning java myself and hence kinda can't really understand the `isDigit` method.. error is cannot resolve symbol method isDigit(char) I imported `java.lang.*` as well already . public static boolean DigitValidation(String colour) { boolean flag = true; for (int …

Member Avatar for jwenting
0
133

The End.