132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for amjadamjad20

HI First I apologiz ‎ about my bad language Be cuz my language is not English I have this problem in my project code And I try to solve it but I cannot This is in the part of main [CODE]int main () { Queue<primaryPatient> primaryQueue;//create object from class Queue …

Software Development c++ queue
Member Avatar for Duoas
0
106
Member Avatar for guest7

Hi, I wish to do the following things: a) Append the first three lines from the file "file1.txt" at the end of another file "file2.txt" b) Run a program "prog1.cpp" which uses the file file2.txt. c) Delete the three lines appended at the end of the file "file2.txt". and append …

Software Development c++
Member Avatar for Duoas
0
96
Member Avatar for rayman341

typedef struct iphdr { u_char ip_hl:4, /* header length */ ip_v:4; /* version */ u_char ip_tos; /* type of service */ short ip_len; /* total length */ u_short ip_id; /* identification */ short ip_off; /* fragment offset field */ #define IP_DF 0x4000 /* dont fragment flag */ #define IP_MF 0x2000 …

Software Development c++ delphi pascal
Member Avatar for rayman341
0
470
Member Avatar for twgood

I have an assignment on currency I turned it in, and it is not right by no menas. I had no loops in any module, can anyone explain how to do a loop?

Software Development c
Member Avatar for allen.jes
0
118
Member Avatar for Ravinx25

can i use animated gif instead of bitmap images on the background of my forms? or can i post animated gif on my forms? can anyone tell me how this can be done? need your response thnx in advance.

Software Development visual-basic
Member Avatar for Ravinx25
0
54
Member Avatar for neerajpareek

I, i am beginner in VB programming. I am developing a software using Vb as front end & database in foxpro. Can anybody help me to connect entered text in textboxes to database. How it is saved in database & retrieval. I am using DAO tool. Neeraj Pareek

Software Development visual-basic
Member Avatar for abhishek_jammu
0
166
Member Avatar for henpecked1

I have some questions, some might seem kind of dumb, but we're studying overloading operators and inheritance/polymorphing. I'm having trouble finding some references on some things to show me how to do this stuff or why I'm doing it a certain way. what kind/type of binary operators can I use …

Software Development c++
Member Avatar for Radical Edward
0
117
Member Avatar for realone

pls can anybody help with how to insert a bracket into a string after the count of 3 characters in vb6

Software Development visual-basic
Member Avatar for debasisdas
0
81
Member Avatar for ulrik04

hey :) i have this piece of code: [code] while(!(std::cin >> input) || input < 1 || input > 100){ std::cout << "not valid, try again: "; } [/code] it should allow the user only to be able to write numbers between 1 and 100 (input is a short int), …

Software Development c++
Member Avatar for Radical Edward
0
110
Member Avatar for realone

Pls i want to generate two report from my database one for duplicate of record based on thumbprint the other for original thumbprint using VB6 and sql server.I need the code.I will appreciate your help. i mean i want to track duplicate of thumbprint in one table and distinct of …

Software Development visual-basic
Member Avatar for debasisdas
0
96
Member Avatar for Beemer

Hi all I am learning C++ , but am still pretty new to it I have one problem I am writing a program to simply input a mark and then it gives the corresponding symbol and according to the symbol if its anything above an E it displays you pass …

Software Development c++
Member Avatar for Nick Evan
0
92
Member Avatar for web_master

[CODE] #include<stdio.h> int main() { int i ,j ,a[5]; for(i=0;i<=4;i++) { printf("\n\tEnter the %dst value of the array: ", i+1); scanf("%d", &a[i]); } j = a[0]; printf("\n\tOriginal array entered by the user: "); for(i=0;i<=4;i++) { printf(" %d ", a[i]); if(a[i]<a[i+1]) { j = a[i+1]; } } printf("\n\n\tGreatest no. from the …

Software Development c
Member Avatar for varsha0702
0
98
Member Avatar for SonxQ7

Hi all, i'm using Visual Studio 2005 and by mistake enable the arrows which represents tabs and dots with represents spaces when coding... How do i disable this?

Software Development c visual-studio
Member Avatar for SonxQ7
0
77
Member Avatar for sowmyask

I have a c# file from which the data/ value is passed to the xml file . then the xml file is again called along with the updated data. How do I do this?

Software Development c# file-system xml
Member Avatar for ruinedpheonix
0
94
Member Avatar for zls11610

i want to define a dictionary in python script i come from china . start to learn python only a week ago e-mail: [email]zls11610@onestx.com[/email]

Software Development python
Member Avatar for praveen_web
0
4K
Member Avatar for Aamit

Is it possible that server sends one exe to clients and execute that exe on client machines And get information back to server. No manually execution of that exe on client machine It is automatically through server only.... Is it possible through programmatically and HOW...which concept use for this like …

Software Development c++ client-server
Member Avatar for Nick Evan
0
188
Member Avatar for alannabrittany

Problem Math Input File: MathIn.txt Output File: MathOut.txt Project File: Math Mathematicians on the planet Earth, write math expressions using in-fixed notation. In this notation, math operators are written between the operands they operate on (e.g., 2 + 3). On Mars, math strings are written in post-fixed form. In this …

Software Development java
Member Avatar for javaAddict
0
125
Member Avatar for s080072

I have to write a program that asks the user to input a positive integer. It should than output a message indicating whether the number is a prime number.

Software Development java
Member Avatar for javaAddict
0
94
Member Avatar for SUBHABRATAIISC

If I write a code like: def addstring(n): a1=raw_input("PRINT THE FIRST STRING:") a2=raw_input("PRINT THE SECOND STRING:") a3=" " a4=a1+a3+a2 print "THE TWO STRINGS YOU PRINTED ARE ADDED AS" print a4 Now, if I design one HTML form where strings can be submitted but if I put one ADD button how …

Software Development html-css python
Member Avatar for SUBHABRATAIISC
0
88
Member Avatar for chsarp_vijay

Hi friends, I have written following program in Csharp windows application. using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using System.Threading; namespace Practice4 { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void START_Click(object sender, EventArgs e) { Thread …

Software Development
Member Avatar for macu
0
975
Member Avatar for amass

i want to use Crystal reports to generate my reports. how can i connect to the server. i am using SQL server as my database with vb6

Software Development visual-basic
Member Avatar for choudhuryshouvi
0
239
Member Avatar for depash

I have developped a program using vb6 used by a college to store students scores in diferent courses. My problem is that i want to create a button users can use to search for a specific record using the students admission number. I do not have much knowlegde in finding …

Software Development visual-basic
Member Avatar for QVeen72
0
80
Member Avatar for Teckiwi

This is for an assignment, I'm not asking for answer answers/code to help me out but a point in the right direction would help me greatly. I have approximately 250 lines of data (olypics data) that I want to load into a constructor and then make an array of said …

Software Development java
Member Avatar for Teckiwi
0
115
Member Avatar for tondeuse34

Is there a function out their in python that you will declare a target i.e. a text box on another open window, and it would print text to that screen? Thanks

Software Development python
Member Avatar for tondeuse34
0
94
Member Avatar for alpe gulay

.,'I created a program to put some data in a certain datagrid.. I succesfully made it... but, the point that makes me confuse now is how to get that data in which i will be going to put in my database.,' I get some difficulties on how to do this... …

Software Development
Member Avatar for Jx_Man
0
82
Member Avatar for nurulshidanoni

I have x and y array...After I have sort y, it succefully sort the y. but for x, there is some number that are not sort like this [B][U]x y[/U][/B]30 1 45 1 46 1 15 1 I want the x sorting also...like this [B][U]x y[/U][/B]30 1 15 1 30 …

Software Development c++
Member Avatar for VernonDozier
0
120
Member Avatar for froboi

So i've been attempting to program a home bar tending program that takes materials that you have in your home and compiles a list of drinks that you can possibly make. The problem I'm having is that i have no clue how to make the search function and the compiling …

Software Development python
Member Avatar for jrcagle
0
179
Member Avatar for evios

Erm, how can i actualli detect certain word in a string so that i can accordingly insert them to the separate table in the database? For example: xxxxxxxAxxxxx,xxxxx,xxxxx,xxxxxx,xxxxxx xxxxxxxBxxxxx,xxxxx,xxxxx,xxxxxx,xxxxxx ........ xxxxxxAxxxxxx for table A xxxxxxxBxxxxxx for table B? thanks

Software Development vb.net
Member Avatar for sierrainfo
0
163
Member Avatar for Alishaikh

When I run the follwing code: [code] #include <iostream.h> #include <string.h> #include <vector.h> #include <fstream.h> using std::string; using std::vector; void exchange(vector <int> &array,vector<string>&array1); void main() { ifstream fin,f2,f3,f4; //First name input vector <string> fname(25); fin.open("firstname.dat", ios :: in); for( int i= 0;i<25;i++) fin>>fname[i]; fin.close(); //Second name input vector <int> fnum(25); …

Software Development c++ ios
Member Avatar for bugmenot
0
106
Member Avatar for shadowfire36

ok i have wrote this program and been trying to break into a class called football , but i keep getting an: error error C2228: left of '.Season' must have class/struct/union i have tried moving my stuct around in and out of the class but im not sure how to …

Software Development app-store c++ file-stream ios
Member Avatar for shadowfire36
0
111
Member Avatar for Maxil

Amateur c++ student here who has gotten to the point where I'm comfortable with classes somewhat, however I'm a bit obsessive compulsive. I've been learning by just continually adding to a program, however it's all in my main.cpp. I use visual studio 2005, and would like to take certain classes …

Software Development c++ visual-studio
Member Avatar for hacker9801
0
148
Member Avatar for twgood

I am wodering if i answered these correctly or not? Algorithm Verification Consider the following selection statement where X is an integer test score between 0 and 100. input X if (0 <= X and X < 49) output "you fail" else if (50 <= X and X < 70) …

Software Development algorithm c
Member Avatar for jephthah
0
204
Member Avatar for hellotreasure

I'm looking for a javadoc script that would automatically generate a javadoc website and update the SVN with it, but I can't find one anywhere, so does anyone know where I can get one? A simple script that runs javadoc would do just as well, because from what I understand, …

Software Development ide java
Member Avatar for hellotreasure
0
81
Member Avatar for Relegant

[COLOR="Green"]This case, [/COLOR] [CODE]case 18302: if (playerLevel[19] <= 1) { guard(); addSkillXP(19, 50); isNpc = true; updateRequired = true; appearanceUpdateRequired = true; else if (playerLevel[19] >= 1) { sendMessage("You need a shapeshifting level of 1 to do this."); } break;[/CODE] [COLOR="Green"]I made it by myself, and it gives 100 errors, …

Software Development java
Member Avatar for VernonDozier
0
95
Member Avatar for Jennifer84

I am replacing 2 words in a textBox with this code. What happens is that the code scans the textBox and finds 2 words: "one" and "onefour". These two words [B]should [/B]be replaced with: [B]onefour[Calculate][Calculate2] one[Calculate][Calculate2][/B] But instead the replacement will look like below. I know why it happens because …

Software Development c++
Member Avatar for Jennifer84
0
108
Member Avatar for BigEnglisHoward

I am very much a part time user of C++ to solve particular problems and therefore a bit of a greenhorn - I am having some issues with where files are stored. When I first start up my application the path appears to be the directory where the .exe is …

Software Development c++
Member Avatar for BigEnglisHoward
0
94
Member Avatar for mertucci

function is x/y+z means (x/y)+z if you dont write to Z anything program says "ERROR: Operator-operand imbalance." program is that as it is above and my code is [ICODE]#include <iostream> using namespace std; class Calculator { int x,y,z; public: void arith_ex(int,int,int); }; void Calculator::arith_ex(int x,int y,int z) { cout<<"X="<<endl; cin>>x; …

Software Development c++
Member Avatar for mertucci
0
124
Member Avatar for callie_360

Hi! :) I want to read each line in my file, and determine if each occuring page tag is included in the validPages array...I've gotten everything except when I retrieve a line with a page tag (readLines()), I can't use that line as a string to compare with my array...even …

Software Development python
Member Avatar for woooee
0
125
Member Avatar for kv79

Hi all I am using Dev-C++ . I want , when I press Tab to skip a 3 blank places instead 6 . Thank you for your effort of reading .

Software Development c
Member Avatar for kv79
0
99
Member Avatar for emilio

i'm trying to get random numbers in a loop like this [CODE=syntax]#include <stdio.h> #include <time.h> int getRand ( int a , int b ) { return a+rand()%(b-a+1); } int main() { srand ( time( NULL ) ) ; int i; for(i=0 ; i<6 ; i++) printf("%d\n",getRand(0,9)); return 0; }[/CODE] the …

Software Development c
Member Avatar for emilio
0
118
Member Avatar for 26933

Hi,everybody I am a beginner in c++;Could you please tell me how to change an iteration program to a recursive one and vice versa?It will be greatly appreciated if you could show me with the help of a few examples(programs).

Software Development c++
Member Avatar for Salem
0
157
Member Avatar for Azurea

I've got an issue with lists right now. I've got 2 lists, Checker1 and Checker2, which check for the Ko rule in my game of Go. However, Checker2 should always be checking the board one turn behind Checker1, which checks the board every turn. That way, the Ko rule can …

Software Development python
Member Avatar for Azurea
0
93
Member Avatar for Alistair1

Ok well apart from a little inconvenience, my program runs almost flawlessly given the guidelines of the assignment. I'll tell my problem first and right after paste my code: When you type in the sentence to be analyzed, only the punctuation mark at the very end doesn't get counted towards …

Software Development java
Member Avatar for Alistair1
0
109
Member Avatar for R4zrF1r3

[CODE=c++] #include <iostream> using namespace std; //----------------------------------------------------------------------------- void UserMove(int &NumStones) /* Pre: NumStones > 0 Post: User has taken 1, 2, or 3 stones from pile */ { cout << "How many would you like? "; int TakeStones; cin >> TakeStones; while (TakeStones<1 || TakeStones>3 || TakeStones>NumStones) { cout << …

Software Development c++
Member Avatar for VernonDozier
0
119
Member Avatar for som3on3

can anyone help me convert this to c++?? <?php function show_me($info) { $arr = array('fruit' => 'apple', 'car' => 'bmw'); return $arr[$info]; } echo show_me('fruit'); //or echo show_me('car') ?>

Software Development apple c++
Member Avatar for som3on3
0
116
Member Avatar for Traicey

I have seen so many classes and inheritance programs but what I cant seem to know is when and why do u end up resorting in this statement [ICODE]#include "NameOfTheClass_h.h"[/ICODE] and I guessed that is when u have separated the class from class main(), that sounds like making your program …

Software Development c++
Member Avatar for Traicey
0
129
Member Avatar for SUBHABRATAIISC

If we write a code like: a=['city','village','town','capital'] a1=len(a) a2=range(a1) for x in a2: a3=a[x] print a3 In this code if we want to store the value of a3 it would store last value always. But in any way can we store all the values?

Software Development python
Member Avatar for Ene Uran
0
87
Member Avatar for CE Student

Hi!!! How Are you I bring a new program which I have solve it ; but there are 7 error without explain please I hope that I have any body to help me and I will be happy thhhhhanks alot :) This is the question Consider the following class definition: …

Software Development c++
Member Avatar for Radical Edward
0
178
Member Avatar for Tyrfing

Hello, I am trying to install scipy on Ubuntu 8.0.4LTS, and am having some serious issues. I have succesfully downloaded and installed scipy, but when I try and "import scipy" in a program I am returned: ImportError Traceback (most recent call last) /home/tim/Desktop/scipy-0.6.0/<ipython console> in <module>() /home/tim/Desktop/scipy-0.6.0/scipy/__init__.py in <module>() 52 …

Software Development python ubuntu
Member Avatar for Tyrfing
0
2K
Member Avatar for Tekito

I'm writing an app in VB with an excel worksheet. At one point I need to solve a set of equations that are not explicit, so I need a numerical solver program. Excel's Solver is supposedly designed for this purpose; however my past experience is that it is very fickle …

Software Development visual-basic
Member Avatar for Tekito
0
82

The End.