132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Heeyriss

Who can help me with this programming assignment about the token stream, character stream, source stream. And even tokenizer program? Please help me with this lexer program.. Thanks in advance...

Software Development c++
Member Avatar for Killer_Typo
0
92
Member Avatar for reiyn17

hey guys.. can you help me explain this code? public Boolean insertAfter (double key, double dd) { Link current = first1 while (current.dData != key) { current = current.next; if (current == null) Return false; } Link newLink = new Link(dd); if (current == last) { newLink.next = null; last …

Software Development java
Member Avatar for reiyn17
0
130
Member Avatar for DarkDot

Hi this is what I need to do [LIST=1] [*]Declare a word array A with 2 elements with initialized values. [*]Declare a word variable B with initialized value as 0. [*]Calculate the cvalue of B with the following expression: B= A[0] + A[1] -6. [*]Make sure B's value is saved …

Software Development assembly
Member Avatar for Duoas
0
105
Member Avatar for NorseMN

I am developing a framework to simplify creation of embedded software applications. Resources are typically limited in this type of environment, so I need to make it very efficient in its use of memory space. One goal is to be able to reference any variable by a <typeNumber, instanceNumber> value …

Software Development c++
Member Avatar for Ancient Dragon
0
1K
Member Avatar for Run.[it]

I have been given a project to do for college and have the option of doing it in either C++ or Java; both languages Im relatively new to. The scope of the project is fairly open ended, some are planning to do games but Im personally just going to do …

Software Development c++ queue visual-basic
Member Avatar for John A
0
117
Member Avatar for certem

Hello i have spent hours and days and couldn't find how i can make a variable that has rounded to 2 decimal digits. But i dont want to use myVariable.value....or myVariable()....styles. In the net i have seen something like BCD that is related for official accounting issues but i coudn't …

Software Development c
Member Avatar for John A
0
245
Member Avatar for ninaijanai

so here's the code. [CODE]#include<stdio.h> #include<conio.h> void main() {struct { char seat; }a[19]; int x,z; char y; a[0].seat='A'; a[1].seat='B'; a[2].seat='C'; a[3].seat='D'; a[4].seat='A'; a[5].seat='B'; a[6].seat='C'; a[7].seat='D'; a[8].seat='A'; a[9].seat='B'; a[10].seat='C'; a[11].seat='D'; a[12].seat='A'; a[13].seat='B'; a[14].seat='C'; a[15].seat='D'; a[16].seat='A'; a[17].seat='B'; a[18].seat='C'; a[19].seat='D'; clrscr(); printf("Flight Seat Reservation:"); printf("\n\n\n\t1\t%c\t%c\t%c\t%c", a[0].seat, a[1].seat, a[2].seat, a[3].seat); printf("\n\t2\t%c\t%c\t%c\t%c", a[4].seat, a[5].seat, a[6].seat, …

Software Development c
Member Avatar for Passmark
0
327
Member Avatar for nish88

hi ..... i'm designing a simulator and initially i have to click on the Tkinter interface to place a small oval(dot).That is the initial point where i want the simulation to start. can anyone please help me or if possible give me the piece of codes here is my code.... …

Software Development python tkinter
Member Avatar for G-Do
0
237
Member Avatar for charlie81

Not sure what I am doing wrong. My homework says Design C#solution with a `Main()` method that holds an integer variable named seconds to which you will assign a value. Create a method to which you pass this value. The method displays the seconds in minutes and seconds. Add a …

Software Development
Member Avatar for crava
0
99
Member Avatar for abrou

Hello, I am a fairly inexperienced programmer, and I am confusing myself. I want to have a member function or a different class return an array of structures. I've read that I have to do this by reference, but I can seem to get it right. Can someone help? The …

Software Development c++ xml
Member Avatar for John A
0
114
Member Avatar for cinger

[code=c] int main() { int a,b,c; a=b=c=1; c = ++a || ++b && ++c; printf("%d %d %d", a,b,c); } [/code] here the expression is considered from left to right. but the confusion of mine is: && has got higher precedence than that of ||. so ++b && ++c should be …

Software Development c
Member Avatar for gkbush
0
150
Member Avatar for nehamore

i am writing a pogram where i have to find out which all computers are up on my lan...for this i have called shell script program from my C code which pings to all computers on lan....now i want the shell script to return to the C code "1" incase …

Software Development c
Member Avatar for jim mcnamara
0
407
Member Avatar for Shveetis

Hello every1... I am developing a project in JAVA.. My project is APPLICATION MONITORING WIZARD..!!! Can I get any help..?? Even if I get an idea as to how I start off, will be QUITE helpful.. The applications that I am planning to monitor include : 1.JVM 2.Tomcat server 3.Website …

Software Development java
Member Avatar for Ezzaral
0
86
Member Avatar for lerkei

does anyone knows how to make randomizing frames appear only once... because i'm using randomized questions, with the use of frames for my games., but my questions appear more than once...can you help me about this?...

Software Development visual-basic
Member Avatar for jonc
0
93
Member Avatar for juan.s.duarte

I am having a problem writting a function to remove all occurences of a specific (user defined) integer from an array. Here is what I have so far. [CODE] #include<iostream> using namespace std; void menuDisplay(int& menuSelect); void remove(int intArray[], int& sizeOfArray, int removeItem); void removeAt(int intArray[], int& sizeOfArray, int index); …

Software Development c++
Member Avatar for vmanes
0
209
Member Avatar for sjcomp

I have shared pointers to an interface created through out the program. I also have a list of weak pointers to their implementations in order to call internal update function. The program works, but when I compile it I get warning C4180. The question is, how to get rid of …

Software Development algorithm c++
Member Avatar for sjcomp
0
246
Member Avatar for rafikul

[code=c] #include<stdio.h> #include<conio.h> void main() { float a=6; clrscr(); printf("%d",a); getch(); } [/code] here the output is some garbage value.here the error lies in %d instead of %f.for float value the identifier is f.is this the proper answer of my question?

Software Development c
Member Avatar for VernonDozier
0
100
Member Avatar for palej

Hey, I have a this `readblog.cs` file in projects `App_Code folder`, and at main folder I have `Blog.aspx -> Blog.aspx.cs` file. And I have a Table object in Blog.aspx file, called Bloglist, and I am trying to modify it from `App_Code/readblog.cs` file and i cant get it work. here's a …

Software Development xml
Member Avatar for Ramy Mahrous
0
150
Member Avatar for sid_arth2020

Hi iam working on a problem given to me by my teacher.The problem is !.People from different states send their application to participate in the dance competition organised at the country level.Only 30 people will be selected to take par in the competition.Participants will be selected randomly from one state.No …

Software Development c c# c++
Member Avatar for plgriffith
0
79
Member Avatar for asifakram

hey...i am new to this site and also new using visual c++...and i need help in a project! i am asked to find prime numbers using for loop ! i cannot figure out how to write the program. please help sumone! i desparately need it within 4 hrs !! please. …

Software Development c++
Member Avatar for plgriffith
0
163
Member Avatar for tedobg

You guys helped me a lot last time I posted so now that I have trouble i again turn to you :).Ok can someone tell me with what can I substitute the following code.It is supposed to get some lines and put them in strings. [code] system("cls"); string user,date,title,description; cout<<"Please …

Software Development c++
Member Avatar for carnage
0
107
Member Avatar for Grub

I am writting a program that makes use of a vector of objects. Every time I add an object the windows system encounters a problem and needs to be closed. [code=c++] #include<iostream> #include<fstream> #include<string> #include<vector> using namespace std; class Catalogue { public: string vendor; string item; float price; int code; …

Software Development c++ ios
Member Avatar for Grub
0
98
Member Avatar for gallantmon1

Can anyone tell me how to search in a string?

Software Development c
Member Avatar for gallantmon1
0
116
Member Avatar for paurik

i devlop a java application which is intranet application. my appication is is clent-server application. but i have no idea how how can i deploy a jar file on client machine through remote machine.

Software Development client-server java
Member Avatar for schoolsoluction
0
93
Member Avatar for want_somehelp

hello friends iam not able to get logic behind solving the question mentioned below,,,,i tried a lot using various books.....online tutorials but at the end just lost it...... you ppl are kindly requested to provide me help in order to save my interest in programming..... ok the question is: Write …

Software Development c++
Member Avatar for Agni
0
104
Member Avatar for kevin.george.it

I need help with representing quotation v/s sales followup in a s/w am developing for a company...the operator needs to be able to see position of all quotations made and the position for sales.How do i make a user friendly approach for this? Thankx..

Software Development vb.net
Member Avatar for kevin.george.it
0
88
Member Avatar for missileh

Hi. I have a JAR file and want it to be executed on another machine in the network. I want to write an application that takes an IP address of a machine in the network and executes the JAR file on that machine. How can i do this??

Software Development java
Member Avatar for jwenting
0
73
Member Avatar for Thew

Hi, I am using this function: [CODE] function GetInetFile (const fileURL, FileName: String): boolean; const BufferSize = 1024; var hSession, hURL: HInternet; Buffer: array[1..BufferSize] of Byte; BufferLen: DWORD; f: File; sAppName: string; begin result := false; sAppName := ExtractFileName(Application.ExeName) ; hSession := InternetOpen(PChar(sAppName), INTERNET_OPEN_TYPE_PRECONFIG, nil, nil, 0) ; try hURL …

Software Development pascal
Member Avatar for Thew
0
208
Member Avatar for python_dev

hi, i have indy 10 installed on Delphi 7 personal, and am trying to load a simple text file on server using ftp here's my code [code] if ftp.Connected then ftp_Kitten.Disconnect; ftp.Host:='xxx'; ftp.Username:='xxx'; ftp.Password:='xxx'; ftp.Port := 21; ftp.Connect; ftp.Put('c:\ida.txt', 'ida.txt', true); ftp.Disconnect; [/code] and when i run my app, i …

Software Development delphi pascal web-server
Member Avatar for python_dev
0
571
Member Avatar for jokerjokerer

Here's good question for the gurus around here. So we got a wofstream output. In it I send using a recursive function time by time a CString data. Using off course the GetBuffer member to get a pointer to the content. The problem is that it works really good till …

Software Development c++
Member Avatar for jokerjokerer
0
209
Member Avatar for jaasaria

this is the error i have... key column information is insufficient or incorrect. to many rows were affected by update. thx for viewing...

Software Development visual-basic
Member Avatar for jaasaria
0
93
Member Avatar for priyala

Hi, Can anyone tell me how to make VB forms an application as an installable something like an application. Thanks, Priya

Software Development visual-basic
Member Avatar for choudhuryshouvi
0
98
Member Avatar for wamuti

Hi guys. Can anyone please direct me to a site where i can read about multi threading for a begginner? All the sites i seems to be finding seem sketchy.

Software Development c++
Member Avatar for John A
0
97
Member Avatar for sir avalanche

well i got some problems: 1. instead of 6 7 or 8, i get a value of minus 3 millions. 2. the money function isn't working 3. the for-loop of the program either never ends, or is only run once 4. and many more smaller problems (sorry that all the …

Software Development c++
Member Avatar for Ancient Dragon
0
107
Member Avatar for technogeek_42
Member Avatar for Ancient Dragon
0
283
Member Avatar for technogeek_42

how can i use a string? what should i include to run string like "technogeek" is it #include <string.h> or what and what is the syntax for string

Software Development c++
Member Avatar for Ancient Dragon
0
95
Member Avatar for kylcrow

I was given the problem to write a class called block cipher to take in a text file and output the same text file after it has been encrypted. I have to use this header file... [CODE]#include <iostream> using namespace std; class block_cipher { public: block_cipher(); // Constructor void finish(); …

Software Development c++
Member Avatar for kylcrow
0
139
Member Avatar for technogeek_42

what code should i do to autorun a program to my computer using my USB? or just a program that will execute a start up and save it to the computer?VB6

Software Development flash visual-basic
Member Avatar for technogeek_42
0
323
Member Avatar for MKQ

Hello Everyone, Need your comments on : "Can over running of array lead to the catastrophic failures ? " May be the answer is YES. "Then, why does not c++ provide bound checking on array operations and who is responsible to prevent array overruns ?" regards, MKQ

Software Development c++
Member Avatar for Duoas
0
84
Member Avatar for lazyboy292

i have to write a code for compression of lines with redundancies. You are supposed to enter a line of code--for example(YES I CAN! YES I CAN! YES I CAN!) and your output should look like this (3YES3I3CAN3!) so the codes job is to count the number of times a …

Software Development c++
Member Avatar for John A
0
109
Member Avatar for ywchong

How can i write a engineering code using Perl? Foe example, Connecting computer RS-232 PORT to collect data purpose Please advice

Software Development engineering perl
Member Avatar for ywchong
0
66
Member Avatar for CoolGamer48

nvm - this topic can be closed sorry for wasting space

Software Development c++
Member Avatar for CoolGamer48
0
64
Member Avatar for snowy_shoryu

the title says it all.. if any1 happen to see one , can post the link to me? thanx!! i need it to do my assignment .. but i cant find any program as long as that! tq! my assignment task is to find a program written by other ppl …

Software Development c++ oop
Member Avatar for TimeFractal
0
245
Member Avatar for janevblagoj

Dear Sir/Madam, I’m author of a video game called “Poppy And Rose”. I have made this game in the program language Delphi6, the game belongs in the “puzzle” tip and it is with logical elements. I think that my game with a little adjustment it can attract bigger attention, but …

Software Development delphi flash pascal puzzle video
Member Avatar for Micheus
0
174
Member Avatar for andyg55

Hi guys, I have an array which reads in a file and displays it to the screen. The output is as follows: 1 0 0 2 0 0 3 0 0 4 1 2 5 1 2 6 0 0 7 3 4 8 5 6 9 7 8 10 …

Software Development c++
Member Avatar for VernonDozier
0
295
Member Avatar for AJG

My first attempt at programming using Python was to make a calculator for an online game I play called AstroEmpires. The user can input the number of bases they have, the shipyards on each base and the base's production value. They then tell the program which ship they wish to …

Software Development python
Member Avatar for AJG
0
395
Member Avatar for GPXtC02

As the title states.. is it possible to pass two variables back from a float function.. one through 'return variable' & the other through reference? If it is i will post the code.. but after hours of debugging & the program is still not recognizing the changed reference parameter (but …

Software Development c++
Member Avatar for GPXtC02
0
87
Member Avatar for Dio1080

I been trying to import the list in the text file to the word doc, the thing is, is that I can only get the last line on the text imported while I'm missing the rest of the top. Can somebody help please? [code] import java.util.Scanner; import java.io.*; import java.util.*; …

Software Development file-system java
Member Avatar for iamthwee
0
162
Member Avatar for raghuramos

hi everybody...can anyone please help me on this...i have a gui in wxpython. it works perfectly on windows (i've a dual boot comp). but when i run the same code on ubuntu-gutsy it crashes with the followin msg... /gui$ python App2.py python: /build/buildd/libcairo-1.4.10/src/cairo-surface.c:990: _cairo_surface_release_dest_image: Assertion `!surface->finished' failed. Aborted (core dumped) …

Software Development gui python ubuntu
Member Avatar for woooee
0
85
Member Avatar for sjcomp

Hello, I have a vector of smart pointers and I'd like to NULL smart pointers in reverse order. Smart pointers are done with boost::shared_ptr<>, this is the code: [code] // List of pointers typedef boost::shared_ptr<int> TSmart; std::vector<TSmart> Vec; // Make sure that everything is NULL std::transform( Vec.rbegin(), Vec.rend(), TSmart()); [/code] …

Software Development c++
Member Avatar for sjcomp
0
114

The End.