199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for abhimanipal

Hello people I have a small doubt in operator overloading I am trying to overload the assignment operator. Here is my code for that [CODE] class rational { int x; int y; public: //All the constructos rational operator= (rational num) { // Why do we need to return a reference …

Member Avatar for Ancient Dragon
0
159
Member Avatar for fregley

Hi everyone! This is my first post. I'm relatively new at c++, but not completely ignorant, so please bear with me. Anyway, I'm trying to create a game in a console application. However, I don't really know how to have multiple things happening at once. At this point, I want …

Member Avatar for fregley
0
151
Member Avatar for arkanoid

I have been working on a number of card games. Important, of course, is shuffling the deck. I have come up with a few different ways to do this. Currently I do not shuffle, but to deal a card, I lay out the deck in order, selecting a random number …

Member Avatar for arkanoid
0
202
Member Avatar for chunalt787

I didn't know where to put this but this seemed to be the best place. I took an internship this summer and found out that I will be doing embedded development in C/C++ and Linux for phones(land line voip stuff). This is bad for me since I have always been …

Member Avatar for chunalt787
0
132
Member Avatar for jhbalaji

Hi, I got a file and it contain the following codes! Is it possible to decode them [CODE]<?php /* Leave the File asap! */$OOO000000=urldecode('%66%67%36%73%62%65%68%70%72%61%34%63%6f%5f%74%6e%64');$OOO0000O0=$OOO000000{4}.$OOO000000{9}.$OOO000000{3}.$OOO000000{5};$OOO0000O0.=$OOO000000{2}.$OOO000000{10}.$OOO000000{13}.$OOO000000{16};$OOO0000O0.=$OOO0000O0{3}.$OOO000000{11}.$OOO000000{12}.$OOO0000O0{7}.$OOO000000{5};$OOO000O00=$OOO000000{0}.$OOO000000{12}.$OOO000000{7}.$OOO000000{5}.$OOO000000{15};$O0O000O00=$OOO000000{0}.$OOO000000{1}.$OOO000000{5}.$OOO000000{14}.$OOO000000{3};$O0O00OO00=$OOO000000{0}.$OOO000000{8}.$OOO000000{5}.$OOO000000{9}.$OOO000000{16};$OOO00000O=$OOO000000{3}.$OOO000000{14}.$OOO000000{8}.$OOO000000{14}.$OOO000000{8};$OOO0O0O00=__FILE__;$OO00O0000=3140;eval($OOO0000O0('aWYoITApJE8wMDBPME8wMD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iFRbabZ2cR9bOqIbaTlr3SJSpsJA5luE5noAiNJAiNI5pNQYPh9SBsdj3+QbO+1gaSLbablMkNWDuqPq9qP5QSPND7MqGqWcDNGDkSSjaS7bOyiMf69B7n+DJE+DJdiDuqPq9qPBu1FfDDiBPyib3+1b3+dsIuXs3+QAvSAsvFe8BFeAaSSjaSCEBriMf69YBsoS7diSOqQs7uLgfdnaOJOgaNQEBnyMfu1gcug8yugspn1b7lyYBJyY5ylsQbZ2cR9bv+dr2uhrJqcNG+DNPFeE37LAkFfNqchb3+1b3+dr2uhsQNI8BnWb3+1b3+dsyugac9saqSrNqs+r3NoA5+LAkTlrab9bvJIBCNoA5+LAkbkmyugspsJbCl7bOnJr2uhABJIb5UWbBqJbi9RraNIb5yhgfdnakN7bOyhMPTi/pNub2Rojvseb3J9Y5nu/5lVbpsoEOJubQ1HACuoA3JHE51IEPld/5nJAinJBCJIbvqJjiFRbabZ2cR9E3+I/+lHAC1uE51ubI7iEBNQE57oS3qHAC1uE51ub7eubOGRspqQAa9Z2cLJYCeoraN9YBnRBCnoAiNJAiNImyugEBeLSaTRgfdnai7JApnJrpdnakNWDuqfDuJMfJdibOqi/BnuEBsJEaSSr2uhgaNQEBnyMfuUgPTzxPTtr2ThmyugWcugWcugWcug [/CODE]

Member Avatar for freedompeace
0
145
Member Avatar for valorien

Hi Everyone :-) I'm writing a small Python script that invokes the Linux shell and runs some BASH commands in it. My problem is, I can't seem to use the output and store it in a Python variable. Here's what i'm trying: [CODE] import subprocess value = subprocess.call("ls -la", shell=True) …

Member Avatar for d5e5
0
3K
Member Avatar for Instinctlol

How would I do something like this? I know that this will not work, I'm just using it to show what I need with help. When a user is suppose to enter a number, but instead enters a string or char, it gives him a cout message saying it doesn't …

Member Avatar for VernonDozier
0
81
Member Avatar for walaa.z

hello, just i want how i can use[COLOR="Red"] foreach[/COLOR]to write the checked radio button in file in more than 10 forms.........:)

Member Avatar for walaa.z
0
93
Member Avatar for theMuffin

I am totally a newbie.. here is the code i have it working on another site or two but now it won't work here.. what am I doing wrong? <?php //we need to set a var to find what page we are on $pageOn = basename($_SERVER['PHP_SELF']); //this is used for …

Member Avatar for theMuffin
0
108
Member Avatar for schwarznavy

Howdy all. I had an assignment to build a subnet calculator that would take (and validate) an IP and CIDR input and return the net_id, broadcast_id, first and last assignable IP addresses, and the number of assignable IP address. Would anyone care to look at my code and offer criticism? …

Member Avatar for mitchems
0
262
Member Avatar for ashu2409

Hi, I am trying to upload a large xml file (around 500 MB) on ftp location,but i am getting this error--- it works fine upto 250 MB file The underlying connection was closed: An unexpected error occurred on a receive. i am getting the error on this line:- `" Stream …

Member Avatar for dnanetwork
0
172
Member Avatar for furqan219

I have 100 records in My DB. I want to show 10 and then add another field in the record as UPDATE and then show these 10 as printer friendly.

Member Avatar for diafol
0
80
Member Avatar for prashanth s j

Hi all, How to access the value of WER from the following: [code] valuesfor1 = [('WER', 100)] valuesfor2= [('WER', 700)] [/code] My requirement is I need to compare WER from valuesfor1 with WER from valuesfor2. ie something like [code] if [('WER', 100)] < [('WER', 700)] : print "values for 2 …

Member Avatar for TrustyTony
0
111
Member Avatar for Teethous

Hey guys I am having a problem writing to my text file. I notice when the data is written some of it comes out as gibberish. Take a look and let me know what I am doing wrong. Thank you. [CODE] #include <iostream> #include <string> #include <fstream> using std::cin; using …

Member Avatar for Fbody
0
165
Member Avatar for tquiva

I am trying to create a program that reads a data file and computes the water usage for each hour of the day, the average hourly usage for the day, and the time of the highest hourly usage. I already created the main program, and two other functions, along with …

Member Avatar for Adak
0
163
Member Avatar for Kruptein

Is there a way to catch the text a user types, then do some function on it and then return it to the screen? input(text) -> function(text) -> output(text) I want to colourize certain words, so I want the function to find those words and then colorize them..

Member Avatar for Kruptein
0
392
Member Avatar for Joey_Brown

Hello. I would very much appreciate if someone would aid me with a hint. My problem is as follows : read two arrays of chars and merge them into a third array like so : ARR1 :123abc ARR2: rt678iogl ARR3:1r2t36a7b8ciogl The problem must be solved without pointers and string.h Basically …

Member Avatar for Adak
0
402
Member Avatar for Dinglish

i am writing a program whereby i have written the instructions the shell of the program, and have written code for inputting values, but how do i collect all the information i have inputted. I am aware it involves arrays but can you help and point me in the right …

Member Avatar for caut_baia
0
105
Member Avatar for nonshatter

Hey guys, Sorry if I am cross-posting, but I can't seem to find a solution to this problem. I have a PHP while loop that retrieves records from my database. Inside the loop, I also have a Javascript counter that I need to generate for each record I retrieve (for …

Member Avatar for almostbob
0
154
Member Avatar for lukegw

Everytime btnSendClick is execute, 2 messages will be added to the rich edit. The first needs to be of fixed values (BOLD, size 8 etc) The second needs to be changable by the user using a FontDialog box. This is my below code, but it doesnt quite work, it pretty …

Member Avatar for lukegw
0
193
Member Avatar for beginnerprogram

A square plate divided in 100 squares or nodes by a grid. the temperature of the nodes form a two-dimensional array T[i][j] .the temperature in all nodes at the edge of the plate is constrained to be 20*C by a cooling system, and the temperature and the temperature of the …

Member Avatar for nezachem
0
303
Member Avatar for Annettest

Hi everyone: I'm having problems constructing a loop and I'd appreciate any advice. This is probably a simple problem, but I just can't make it work! This isn't homework! I'm an old fart and I'm new to C++. Here's what I want to do: take a vector and insert it …

Member Avatar for Annettest
0
192
Member Avatar for nerak19

[code]#include "stdio.h" #define ROW 4 #define COL 4 void input_matrix (int, int, int A[][4], int B[][4]); void add_matrix (int, int, int A[][4], int B[][4], int C[][4]); void loadidentity_matrix (int, int, int D[][4]); void main (void) { int A[ROW][COL]; int B[ROW][COL]; int C[ROW][COL]; int D[ROW][COL]; int i, j; input_matrix (ROW, COL, …

Member Avatar for nezachem
0
135
Member Avatar for jeeter19

Hi I'm just trying to input two string variables into 2 fields of a database that are VarChars. [CODE] $name = "jear"; $pass = "jartt2"; $query = 'INSERT INTO `user` (`id`, `name`, `password`, `char_name`) VALUES (NULL, '$name', '$pass', 'test')'; $result = mysql_query($query); [/CODE] This is the snippet of code that …

Member Avatar for jeeter19
0
74
Member Avatar for whitestream6

This is my code, as seen here: [url]http://pcafansa6.hosticks.com/episode1.php[/url] [CODE]<?php /*********************************** * PhpMyCoder Paginator * * Created By PhpMyCoder * * 2010 PhpMyCoder * * ------------------------------- * * You may use this code as long * * as this notice stays intact and * * the proper credit is given to …

Member Avatar for whitestream6
0
155
Member Avatar for sweetypie123

Hi, I am loading images from the internet. I am using PictureBox1.imageLocation() but it takes a while to load the image. Is there a way i can load the images faster? it shows an error icon before it displays a picture...how can i get rid of that? Please help

Member Avatar for sweetypie123
0
172
Member Avatar for discovery-power

Hi All, I really need help with this its driving me crazy, I am writing a noughts and crosses game and everything works but the checkwinner sub routine, so basically if someone gets three X's or O's in a row then a message box pops up saying either X has …

Member Avatar for discovery-power
0
114
Member Avatar for bpinheiro0186

Hey folks, I am new on the forum and new to Python. I am making a news site and using python/django. My site will get all the news from the DB and fill up the template. As there is about 10 lines for the news and at some moment i …

Member Avatar for TrustyTony
0
121
Member Avatar for restrictment

Hello everyone, I am trying to make a simple web browser for my own benefit (not a school project). I have been looking through multiple videos on how to do so, and could only find 'simple' web browsers on almost every video for visual c++. Anyway, the videos work, but …

Member Avatar for jonsca
0
214
Member Avatar for Ianonfire

Stupid request i know :S but i wrote this program so long ago and my C++ knowledge is so bad i need help remembering how it works :( ive completely forgot how linked lists work ive been working with javascript + java and amoung all my uni assignments my brain …

Member Avatar for Fbody
0
118
Member Avatar for dmkc

Hi everyone, Ok, what I want to do is display a url that's stored in my database within an iframe when the specific record is selected. The code I had to display the record correctly is: [code] <?php $conn = mysql_connect(HOST,USER,PASS); $db = mysql_select_db("***") or die( "Unable to select database"); …

Member Avatar for dmkc
0
1K
Member Avatar for FJones

I keep getting these two errors. Timing.java:45: <identifier> expected Public void double squared(double n) ^ Timing.java:54: <identifier> expected Public void double exponential(double n) I can't for the life of me figure out what I am missing. I've been away from Java for about 2 years and I was never really …

Member Avatar for FJones
0
121
Member Avatar for sblass92

This question may be somewhat trivial, but I'm stumped none the less. The goal is to create a 'selection box' on the screen such as for selecting units in an rts game. I'll just give the pseudo-code, its the idea that's important main loop is set up as such: [CODE] …

Member Avatar for sblass92
0
148
Member Avatar for zachattack05

Anyone have any good links to tutorials for printing with C#? I need to mimic a form that we have. It's a rather complex form, so if you know of a tutorial that is better than just printing rows and columns of data would be greatly appreciative!

Member Avatar for zachattack05
0
169
Member Avatar for giri.pankaj

This code takes in a scrambled input word and gives out the unscrambled list of words. Eg... Input = time Output = mite, item, emit etc. I had posted an unscrambler in java sometime ago. This one is the improvement over the previous one. In the sense, the java unscrambler …

Member Avatar for TrustyTony
0
4K
Member Avatar for luvthug

Hi All, First of all Here is the question and what I have done so far. A) The helper method boolean isVowel (char c) should return true if the character it recieves is an uppercase or lowercase English vowel. For Our purposes, Vowels are the letters a, e, i, o, …

Member Avatar for javaAddict
0
173
Member Avatar for samurai1200

I have a 2D array whose cells represent each character in a terminal window that can either be ON or OFF (boolean). [CODE] bool grid[24][80];[/CODE] Then, using the ncurses API, I grab a key press: [CODE]key = getch();[/CODE] where key is an int type. The 'q' key is what I …

Member Avatar for samurai1200
0
696
Member Avatar for manolisvl46

[CODE]$uploaddir = $_SERVER['DOCUMENT_ROOT'].'/bla/bla/uploads/'; $file = $uploaddir . basename($_FILES['uploadfile']['name']); $data = file_get_contents($uploaddir . $_FILES["uploadfile"]["name"]); $data=split("[;\r]",$data); include_once("processes.php"); $ldapconn=connectToDB(); $info["cn"] = $data[$c]; echo "|onoma-->"; echo $info["cn"] ; $c++; $info["sn"] = $data[$c]; echo "|epwnimo-->"; echo $info["sn"] ; $info["objectclass"][0] = "top"; $info["objectclass"][1] = "organizationalPerson"; $r = ldap_add($ldapconn, "cn=".$info['cn'].",cn=............,ou=.......,ou=......,ou=.....,dc=...,dc=gr", $info); [/CODE] so i get the attributes …

Member Avatar for manolisvl46
0
944
Member Avatar for laveena

hi, I want a code for opening a particular folder on button click. I'm developing an file searching application for linux which gives result in jtable. I want to open the containing folder of selected file I able to retrive the parent folder path from jtable. I just want to …

Member Avatar for javaAddict
0
88
Member Avatar for miturian

So, I'm still working on my matrix class (in case anyone reading this also read my thread from the other day). I really like the array-feature that I can initialize an array with a list of numbers, such as [CODE]double array[2]={1,2};[/CODE] and would like to implement that in my matrix …

Member Avatar for miturian
0
86
Member Avatar for NinjaLink

My program is created to output permutations. Depending on the input that I put in, I sometimes get the correct result, but it is not accurate. However, when I do "abc", I get the correct result. When I input peoples names, I get a random result. After trying to figure …

Member Avatar for Sodabread
0
133
Member Avatar for bhakti.thakkar

hello all, i have a php page in which user added certain combinations and clicks on add. when added, i create a array which stores the values and user can add multiple rows. if ($action=="Add") { $Arr[] = array ( "scopeid" => $scopeid, // values are comma seperated e.g 1,5,6 …

Member Avatar for sid_prajapati
0
110
Member Avatar for danimal132

I uploaded a windows program (.exe) to my windows server. I now need to execute it and pass through a parameter using PHP.. how would i do this? On my computer i would just do this throught the command line, so i not sure how to go about this with …

Member Avatar for danimal132
0
217
Member Avatar for sallecpt

hey guys. I have two MySQL tables. I'll try to keep it short :-/ Basically I'd like to join these tables, and get the data from the database. Not here's the detailed info. I usually use the JOIN function, but this time, no join statement does the job. Neither LEFT, …

Member Avatar for furqan219
0
114
Member Avatar for jeepguy

I accidentally posted in the wrong section of the forum... [URL="http://www.daniweb.com/forums/thread279411.html"]http://www.daniweb.com/forums/thread279411.html[/URL] Im trying to use php echo to display domaincom (with no dot in between) and can't figure it out. [CODE]<?php echo(preg_replace('/^[a-z]*./','',$_SERVER["HTTP_HOST"])); ?>[/CODE] works to display domain.com but I need domaincom

Member Avatar for pritaeas
0
121
Member Avatar for kg_ally

Hi, Can anyone tell me how to describe coldfusion architecture. I'm being this question consistently in interviews. I cannot find an answer on Internet. Please help, its urgent and important. Thanks Kanika

Member Avatar for satya339
0
572
Member Avatar for mysticstylez

Hi, I have a text file that contains bunch of phone numbers. Some contain invalid characters and some are too long. How do i read this file into a list using regex. I only want valid phone numbers to populate the list, and skip the invalid ones. this is what …

Member Avatar for TrustyTony
0
7K
Member Avatar for ranuvishwakarma

hoow to inset into database default image in byte formate when not selecting image from fileupload. protected void subbtn_Click(object sender, EventArgs e) { if (fp.FileContent == null) { Byte[] imgByte = new Byte["image/1.jpg".Length]; } else { FileUpload img = (FileUpload)fp; Byte[] imgByte = null; if (img.HasFile && img.PostedFile != null) …

Member Avatar for rohand
0
110
Member Avatar for jiten_raulo

Hi Experts, I have question on the bellow program (runs perfectly), 1. As I have created an instance (object) of startup class and we dint called method [B]paint[/B] from the [B]main[/B] method using the object but [COLOR="Red"]still it is called (how?)[/COLOR]. But in case of Instantiable classes, we need to …

Member Avatar for jiten_raulo
0
107
Member Avatar for coldheart27

using exception try, catch and finally derive a program that accepts any 10 letter string. if the string is greater than 10, display an error message; if string has no vowel display an error message else display only all vowels. can u help me for the java code of this …

Member Avatar for kvprajapati
0
201

The End.