199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Black Magic

Hey, i was thinking these may help me if I made these little programs etc, but i've came to a situation, I've go no error but have to use [CODE]cin.get();[/CODE] twice, here's the whole program.. [code=c++]#include <iostream> using namespace std; int main() { system("title Simple use of if else if …

Member Avatar for Nick Evan
0
138
Member Avatar for kimbostun

I want to Define class name MutiItemSale that represents a sale of multiple items of type Sale. The class MutiItemSale that have instance variable whose type is Sale[], which will be used as a partially filled array. There will also anther instance variable of type int that keep track of …

Member Avatar for javaAddict
0
105
Member Avatar for hassanawdah

Welcome I have small project but I can't understand it. I hope from the members help me in this. thank you -------------------------------------------------------- Q: Problem: You’re writing code for an embedded processor for automobile safety. In the final system the car speed will be detected automatically, but in your sample program …

Member Avatar for Salem
0
270
Member Avatar for wam2

I have written a code for maximum power point tracking. The purpose was to create DLL file and use it in a circuit base simulation program. I used Microsoft visual c++ 2008 express and created that DLL file but I only get first value from the created array in C. …

Member Avatar for wam2
0
378
Member Avatar for Ryano24

These are the only answers I could not find can anyone help me out please public class TestA { public static void main( String args[] ) { int x = 2, y = 20, counter = 0; for ( int j = y % x; j < 100; j += …

Member Avatar for TheWhite
0
216
Member Avatar for Kumar Arun

[QUOTE=Kumar Arun;603385]I am exploring the RS232 communication possibilities. I am faced with problems when i try to send file across the rs232 port. Please help...[/QUOTE] I am really sorry if i was not expressive enough. I will explain the situation. I have implemented the RS232 communication, At System A, i …

Member Avatar for Kumar Arun
0
174
Member Avatar for Spagett912

A while ago i had requested help for a Marital and Federal tax program. Unfortunately I'm making this program for a particularly picky person. So I ended up having to remake it somewhat. If someone could take a look and help me with this that'd be cool. Here's what I …

Member Avatar for joshmo
0
154
Member Avatar for NAMAN JAIN

most oftenly u have said or heard the word JAVA BUT I WANT U TO EXPLAIN WHAT ACTUALLY JAVA IS I AM EAGER TO KNOW PLEASE NO SMART ANSWERS ANSWERS FROM PRO

Member Avatar for jwenting
0
104
Member Avatar for still_learning

Hi, I have created a website that has a page where you can drag layers around to different areas on the page. Is there any way that I can find the new coordinates of a layer after I drag it? What I ultimately need to do is store the coordinates …

Member Avatar for still_learning
0
154
Member Avatar for GigaCorp

ok i got past that part i posted about before, now im having some more trouble. i can add 2 patients easily to the file. then i try to display them. it displays the first one just fine, but the second it tries to display the first value in the …

Member Avatar for GigaCorp
0
144
Member Avatar for touqra
Member Avatar for awoc

when i print out a big answers 13100000000000000 i wanted to say 13.1e12 this should happen to all different answers that come out

Member Avatar for jephthah
0
89
Member Avatar for billbod50

hi i am very new to home hosting i have wampserver 2.0 on my computer but i dont no how to put the domain name in to the wampserver can any one give me some help or info please thanks william

Member Avatar for digital-ether
0
151
Member Avatar for Jennifer84

I wonder how it is possible to create a "Folder". I know how to create files like this. How could this be possible with ofstream. I am not sure if I find any members to ofstream that could be associated with "Folders" ? [code] ofstream OutFile1; OutFile1.open("C:\\File1.txt"); OutFile1; [/code]

Member Avatar for Jennifer84
0
105
Member Avatar for GigaCorp

i ended up doing it woithout that function. nov ive got a bigger issue,im trying to make a database of patients and i am working on writing 2 of 8 of the functions in the menu. displaypatients is supposed to display all the info for the patients 1 by 1, …

Member Avatar for VernonDozier
0
143
Member Avatar for Clockowl

Hai guys, I have quite a large program here that I don't seem to understand. The program, Bow Vice Jet (an anagram for object view) is meant to display WaveFront .obj files. However, it quits when it loads a specific file while on my computer, while on another it does …

Member Avatar for jephthah
0
148
Member Avatar for Relegant

With these codes [CODE]public boolean rogue() { if(rogue = true) { playerEquipment[playerHat]=5554; // set armor playerEquipment[playerCape]=6570; playerEquipment[playerAmulet]=6585; playerEquipment[playerChest]=1; playerEquipment[playerShield]=1; playerEquipment[playerLegs]=5555; playerEquipment[playerHands]=5556; playerEquipment[playerFeet]=5557; playerEquipment[playerRing]=1; playerEquipment[playerArrows]=1; playerEquipment[playerWeapon]=1; } } public booletan hunter() { if(hunter = true) { playerEquipment[playerHat]=1038; // set armor playerEquipment[playerCape]=6570; playerEquipment[playerAmulet]=6585; playerEquipment[playerChest]=-1; playerEquipment[playerShield]=-1; playerEquipment[playerLegs]=-1; playerEquipment[playerHands]=7462; playerEquipment[playerFeet]=-1; playerEquipment[playerRing]=6735; playerEquipment[playerArrows]=-1; playerEquipment[playerWeapon]=4151; } …

Member Avatar for jasimp
0
104
Member Avatar for tiney83

Hi, My assignment is to read in data from a file(first name, last name, and grade) and then output it. i have my code and i beleive the problem lies within the function readData, but i cant figure out what it is. I run the program and i get an …

Member Avatar for tiney83
0
140
Member Avatar for unpolloloco

I am quite the beginner at python (and programming altogether), but I'm attempting to learn (slowly but surely). Anyway, I am attempting to make a standalone python program that will interact with firefox (opening links, etc.). I've figured out how to open FF and open links. However, for the life …

Member Avatar for unpolloloco
0
107
Member Avatar for Mackjan

How can i create a function which sort a list in this way for example if list 4,4,2 4,4,2 3,3,1,3 2,2,0,2,4 1,1,0,1,3,4 0,0,0,0,2,3,4 0,0,0,0,0,1,2,3,4 If the list is impossible to sort then the program have to try it 15 times not more. The function which I wrote does it only …

Member Avatar for Mackjan
0
80
Member Avatar for MatrixCA

Does anyone know how to change the value of FS.Length? I keep getting that it's read only. I need to read a file, let's say it's 100 bytes in size. After some data manipulation, the file becomes 40 bytes. When I write the file back , it writes the 40 …

Member Avatar for MatrixCA
0
100
Member Avatar for Jennifer84

I am using saveFileDialog1 and are trying to recognice what path that was selected when "Save" the file. I have begun some code below but are not sure what and if I will write something after saveFileDialog1-> ? [code] //Get The Path that was selected when saving the file String^ …

Member Avatar for Jennifer84
0
143
Member Avatar for omarelmasry

HI .... I am a beginner programmer and we are required at college to create a very simple game as a console application :( We found a graphics library for that... thank God.... But we need a sound and video library... but please consider that it should be: 1. For …

Member Avatar for omarelmasry
0
144
Member Avatar for Seagull One

Hello everyone! I haven't programmed in quite a while and now that I'm getting back into the programming environment for my robotics project again, I'm a little stumped on something: I'm getting this error message for an exception raised in my VAST python script for my robot. It goes like …

Member Avatar for Seagull One
0
387
Member Avatar for manzoor

What are some limitations imposed by a fixed array size? can you please tell me A limitation of arrays is that they have fixed lengths. what does it means ?

Member Avatar for Sky Diploma
0
847
Member Avatar for GigaCorp

int patientstomemory(patientstruct (*patientstructpointer)[maxpatients]) { patientstruct patientstruct1[maxpatients]; patientstruct1= (*patientstructpointer); 1>c:\documents and settings\patrick\my documents\hgkbklhb\hgkbklhb\hgkbklhb.cpp(88) : error C2106: '=' : left operand must be l-value whats wrong? very important, working on semester project due monday

Member Avatar for GigaCorp
0
160
Member Avatar for Jennifer84

If I am reading a .txt file with ifstream, what is the syntax to recognice if I have reached the end of file. From what I have heard somewhere before, I think it has with eof to do ? [code] ifstream File("C:\\File1\\"); std::string Line; while( getline(File, Line, ',') ) { …

Member Avatar for Jennifer84
0
274
Member Avatar for afflictedd2

Hi everyone, I've been trying to use an RMI Service from a JSP page, but whenever I try it I get an error of not finding the object. I've started the rmiregistry service, and the Services Implementations registers it, and when I run a class client I have for it, …

Member Avatar for ~s.o.s~
0
93
Member Avatar for ceyesuma

I am working with the tutorial at: [url]http://www.netbeans.org/kb/articles/mysql.html[/url] The program works great. untouched the program displays the entire database that is a result of of query.getResultSet(). I added a combobox,textfield,and a button with an action. I dragged and droped an additional: searchEnityManager1 bound to the preexisting splashbookdbPU searchQuery1 (bound to …

Member Avatar for ceyesuma
0
142
Member Avatar for tanha

Hi everybody, I am using a java script function which redirect to the page according to the given parameter, and it is working as desired in IE, but I found that it not work with Firefox browsers, so some one plz guide me how it is possible to have the …

Member Avatar for ~s.o.s~
0
121
Member Avatar for gil_mo

Hi, (using MS VS2005) Recently I've found that in order for a function to be exported, dllexport *must* be placed in the same file of the function body. E.g. see the following case: [U]File a.cpp[/U] [code=C++] void dllexport a(); a(); [/code] [U]File b.cpp[/U] [code=C++] void a() { // function body …

Member Avatar for gil_mo
0
159
Member Avatar for edek

[CODE=C]FILE* f = NULL; fclose(f);[/CODE] Terminates with: 'No source available for "fclose@@GLIBC_2.1() " ' [CODE=C]FILE* f = NULL; ftell(f);[/CODE] Terminates with: 'No source available for "ftell()"' Why those functions does not return error value but terminate whole program? How can I safely tell if file is opened in C and …

Member Avatar for edek
0
459
Member Avatar for ssDimensionss

hi, im learning to use python at the moment and i came over a question where it gives me a large csv file with names of companies and how much they are earning and i was asked to find the top 10 companies..i orignially did this: [code] import urllib import …

Member Avatar for jrcagle
0
3K
Member Avatar for Punkis448

In this work you will materialise a algorithm that solves the problem of Stable Marriage. In this problem we aim at "n" men and "n" women and our goal is the contracting of constant marriages between men and women. Obviously each man can be wedded only one woman and one …

Member Avatar for jephthah
0
119
Member Avatar for xlx16

answer the txt question but please don`t use using namespace std; and stuff like that because i think my compiler dosent work with new standards

Member Avatar for Nick Evan
0
125
Member Avatar for tondeuse34

Hey guys, i have done C++ before but gave up on it :P. But i've came back to it and i'm wondering what is a good way to simulate a left and right click? i guess you would start with this: [CODE]#include <iostream> #include <windows.h> using namespace std; int main …

Member Avatar for William Hemsworth
0
9K
Member Avatar for rene_maassen

Before uploading files via a HTML-form, I want to do some client-side validating. E.g. to check the filesize of the file selected by the user to upload. Filesize should be,say, between 5MB and 50 MB. My 'feeling' says there should be such an instruction in Javascript, but I can't find …

Member Avatar for t-servi.com
0
90
Member Avatar for c++ newbie
Member Avatar for RaDeuX

Well I tried to look for any posts on ranking arrays, but all I ever really got were stuff about Google's ranking system. Anyway, I have two arrays. One is arr[] which is the original array, and rank[] is the indexing array. So if I were to print arr[rank[0]], it …

Member Avatar for RaDeuX
0
261
Member Avatar for xlx16

can u help me with this: write a program that u can write in it and evrey time u press (F1) program will tell u number of capital letters in txt if u press (F2) it tells u number of words(for exampel: 23 erf 3e has 3 words) if u …

Member Avatar for Ancient Dragon
0
230
Member Avatar for Jahira

hi all, i need javascript function to validate the Date of birth field...it should check,leap year condition and also the year should nt be the future one.. Thank u...

Member Avatar for Traicey
0
95
Member Avatar for ebabes

Is it possible to load two web pages at the same time without using a javascript? I want a pop up webpage to appear and I usually do it using javascript. But my problem is when a clients computer blocks a javascript, the page is unable to load. Is there …

Member Avatar for pritaeas
0
83
Member Avatar for evios

Well, i am facing this problem when i try to configure my ODBC 3.51 Driver. I had successfully installed MySQL. Then i try to install and configure my ODBC 3.51 driver. I add a new user DSN, filling with the correct username and password, with the data source name. However …

Member Avatar for loveknights07
0
136
Member Avatar for mosh

Hi There. I'm new in java script , and I want to know somthing in it. I'm asking if i have a variable and i want to know the data type for the data in it. I'm not sure if you understand me well , but i will give you …

Member Avatar for digital-ether
0
132
Member Avatar for mikki2

hi, i am trying to put an image into the title. i mean like daniweb's title icon is the blue "db" and google's "G", you know...the image in the location bar? sorry i dont know how to explain it properly cuz i dont know what it's called. Thanks

Member Avatar for mikki2
0
125
Member Avatar for sachinrsmh

can any body tell me the sequence of form events in VB.Net. What is the systematic order of them and how one can handle them in an efficient manner.

Member Avatar for sachinrsmh
0
54
Member Avatar for punitdam

I m retreiving some data by using cursor inside which i m calling one recursive user defind function to retrive all child data which is linked to parent. While executing i m getting error stating : [B]Maximum stored procedure, function, trigger, or view nesting level exceeded (limit 32)[/B] How can …

Member Avatar for punitdam
0
402
Member Avatar for ellabean

Hi everyone. I'm thiiis close to losing my wits over this. I'm working on carrying Session ID via the url (not secure, I know, but it's not meant to be) and I cannot for the life of me get this to work. This is a hangman script (pre-written by someone …

Member Avatar for digital-ether
0
104
Member Avatar for gty103

For the final project of the year i need to create a digital image processor that removes the noise and increase the contrast in a digital image. Here are the requirements for the project: Program Requirements Input data: The values for the two-dimensional array will come from a file (rawimage.txt) …

Member Avatar for Jx_Man
0
103
Member Avatar for shouvik.d

Hi All, I am need of using a excel file as a standard template and then use a list of .csv files to populate certain rows and columns of this standard template and save it with a different name so that I can always reuse the standard template and it …

Member Avatar for shouvik.d
0
168

The End.