199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for newtechie

I am getting the following error when trying to run a index.cfm file. [CODE] Could not find the included template /config/_errorMap.cfm. Note: If you wish to use an absolute template path (for example, template="/mypath/index.cfm") with CFINCLUDE, you must create a mapping for the path using the ColdFusion Administrator. Or, you …

Member Avatar for arrgh
0
129
Member Avatar for tajendra

If i have process P1 which contain two thread T1 and T2, then is it good to bind whole process to core C1 or To bind thread T1 to core C1 and T2 thread to C2 core. Which will give more performance ? If we assume C1 thread can consume …

Member Avatar for Banfa
0
173
Member Avatar for mintballmaniac

Hello all. First post from a PHP newbie. I'm trying to teach myself how to retrieve data from my MySQL databse and have so far managed to get the text retrieval to work. What I'd now like to do, is to get my PHP page to retrieve an image, specifically …

Member Avatar for mintballmaniac
0
87
Member Avatar for botaxsmaniz

I need help.... i have using gridview in asp.net, but this gridview is too wide and destroy my pages. can u give me solution?

Member Avatar for Sals
0
76
Member Avatar for elektro123

Hello! I have small problem. I have char array which contains e.g. "10010010100010110" and I want to read/write it from/to file in binary mode. How can I convert my char array to a group of bits and how to write/read it to/from file? I need something like this: 1. I …

Member Avatar for elektro123
0
231
Member Avatar for jeffdude87

4215/5431 Lab: Investigating the effect of wireless links on TCP In this assignment we will investigate the effect of wireless losses on TCP. For this purpose we will simulate a very simple network with 3 links. Let the links be AB, CB and DB. Of these DB is a wireless …

Member Avatar for Salem
0
102
Member Avatar for Nocturn

I'm developing a small web browser but am struggling with dynamically creating an eventhandler for a dropdown item in the main menu. I have a SortedList called items containing two values, items.Key is the site name, like "Google", and items.Value is the URL, "www.google.com". Below is the code I use …

Member Avatar for Geekitygeek
0
287
Member Avatar for hsncvs

Hi guys, i need some help on my java homework. i need a text box which will have a piece of text. then i must show how many times every word has written in the text. in my way of thinking i should add every word to an array and …

Member Avatar for stultuske
0
103
Member Avatar for DelDemoire

I am using vs.net 2008 vb and mysql I am using datasets alot in this application, however I am having a few small snags I am running into. I created a login system that works quite well, but I need using the db or settings or a variable keep the …

Member Avatar for Oxiegen
0
154
Member Avatar for Asheem

Guys, in this program, we have a file by the name of asharray.txt, which is attached to this post, and we have three functions: 1.to read the file 2.to sort the numbers 3.to write to a separate file by the name of( array result.txt) Sp, here I faced some problems, …

Member Avatar for Asheem
0
234
Member Avatar for akinso

i want to write a program for reading mpeg-4 file headers to get info such as filetype ,encoder,bitrate,etc.. is there any library of these functions? i tried searching the forums but could find any desirable results ... i aint asking for the code.. jus a little help on which library …

Member Avatar for akinso
0
95
Member Avatar for Dream2code

In which path gcc resides in IBM AIX.Due to some change change in my .profile the path variable got changed now i am not able to get the path of gcc. please help me

Member Avatar for Dream2code
0
163
Member Avatar for chiwawa10

Dear members, I am looking for .NET functions to change power settings of a PC. For example, the hard disk turn off time, screen brightness, monitor turn off time. All these are intended to save energy. After some studies, I found that [B]DeviceIOControl[/B] provides such capabilties. However, I am not …

Member Avatar for chiwawa10
0
381
Member Avatar for cblue

Does anyone know how to create circular linked list whose links are numbered from 1 to n specified by the user?

Member Avatar for jai verma
0
247
Member Avatar for ecrockers

Hi.I am very new to the vb.net programming. Now I am trying to connect the database that is sql server 2005 to the vb.net code so that I can add the data to my database, which is already in the sql server and retrieve the required data from the database. …

Member Avatar for ecrockers
0
597
Member Avatar for shahab.burki

Hi, I am developing a TM simulation program. But got stuck in execution as it goes wrong. The Code is the follwing. 1. Java Code [CODE]import java.io.IOException; public class TMSimulation{ public static void main(String args[]) throws IOException{ InputReader reader=new InputReader(); reader.tmFileNamereader(); reader.tmFileReader(); //fileReader.display(anArray) } }[/CODE] [CODE]import java.io.*; public class InputReader{ …

Member Avatar for BestJewSinceJC
0
143
Member Avatar for sarenameas

I am attempting to put integers from a text file to an array. I am new to C. I have already found the number of lines and opened the file. I do not understand why this does not work: [CODE] for(i = 0; i <= numberlines; i++) { fscanf(f, "%d", …

Member Avatar for WaltP
0
6K
Member Avatar for gnarlyskim

I'm trying to clean up my coding a bit for a program I'm working on. Here's an example of my code (not my exact code, but I've adapted it to an example): [CODE]class Example { private: double* group; int number; public: Example() {group=new double[1]; number=0;}; Example(const Example& ex); Example& Example::operator=(const …

Member Avatar for gnarlyskim
0
127
Member Avatar for bhavu4u

Hey!!! Anyone have any idea that can we fire button click event if the button is added in[B] tabpane[/B]l not in panel if have any example or any help would appriciated pls give as soon as possible.

Member Avatar for bhavu4u
0
698
Member Avatar for Anand111

How can i create a program that can continuously run immidiately when comp is logged in . This program should have to run as a process which can continuously check some conditions. Please kindly reply. [i]email snipped[/i]

Member Avatar for vijayan121
0
81
Member Avatar for bhavu4u

hi!!!! i have problem with my dynamic control in tab panel below is my code [CODE]protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { tabcontainer1_ActiveTabChanged(tabcontainer1, null); getcontrol(); } } protected override void LoadViewState(object savedState) { base.LoadViewState(savedState); if (ViewState["controsladded"] == null) getcontrol(); } protected void tabcontainer1_ActiveTabChanged(object sender, EventArgs e) { …

Member Avatar for bhavu4u
0
125
Member Avatar for sana zafar

Hi all, I m new to C++ and very desperately looking for some help in my code.Im trying to write a program that uses bisection method to find the root of a function.Im having problems as my results are not accurate enough and my function (f) does not produce answers …

Member Avatar for vijayan121
0
142
Member Avatar for Begginnerdev

Hello, I am still green to the C programming language. I am writing a multi-dimensional array program to store strings into an array. The program requires error checking to avoid overflow. I am using Visual Studio 2008. I am using a Windows O/S. The program runs fine on the first …

Member Avatar for Ancient Dragon
0
109
Member Avatar for SCMAN2010

How do I write this code without the malloc function? [CODE]// 222.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include <stdio.h> #include <stdlib.h> #include <string.h> #define N 6 #define MAX_STRLEN 80 void sort(char **a, int n); char *stringArray[N]; int main(int argc, char *argv[]) { int …

Member Avatar for WaltP
0
123
Member Avatar for pinsickle

[CODE]class BinarySearchTree { public: BinarySearchTree (void); bool addRecursively // calls addRecursive (see private) (BinarySearchTreeNode* newAdd); bool addIteratively (BinarySearchTreeNode* newAdd); void writeRecursively // calls writeRecursive (see private) (ostream& outfile) const; void writeIteratively // if implemented, requires a stack - (ostream& outfile) const; // - see oop06 private: void addRecursively (BinarySearchTreeNode* currentRoot, …

Member Avatar for pinsickle
0
92
Member Avatar for Martje

Hi, I am trying to convert a char pointer to a normal char(somehow copy the strings from the pointer and pass it to the char) Here is a piece of example on what i want to do [code] #include <iostream> #include <windows.h> using namespace std; int main() { char *namen="Test"; …

Member Avatar for WaltP
0
105
Member Avatar for joefaries

If I am trying to select an item from listbox1 and an item from listbox2 that need to be converted to integers what do I do? I am having trouble understanding the selectItems.property

Member Avatar for kinwang2009
0
99
Member Avatar for Fenlevi

[CODE]#include <vector> #include <iostream> #include <iomanip> using namespace std; typedef vector<double>row; typedef vector<row>Matrix; Matrix grade; void read_matrix(Matrix&grade,vector<string>&names); void display_matrix(const Matrix&grades,const vector<string>&names); void read_matrix(Matrix&grade,vector<string>&names) { int grades; cout << "Reading data into a Matrix " << endl; cin >>grades; if(grades== 0) { cout << "Making vector empty." << endl; grade.resize(0); } …

Member Avatar for WaltP
0
105
Member Avatar for TSaunders84

we are in a section were we are working with classes also with arrays my question is if you have an array of students how can you remove that student for the list by copying the other students for below up a slot.

Member Avatar for WaltP
0
78
Member Avatar for Reprise

In my program I am creating a class instance then writing it to a binary file. I do this several times so I have several instances of this class in my file. Then I want to access them individually, read them back into an instance in the program, change its …

Member Avatar for Reprise
0
241
Member Avatar for C++ Beginner

Problem: Course Grade Modification Write a program that uses a structure to store the following information: Name, idNum, tests, avg, and grade I got the most of the program completed so far, however I still need to do the average and grade, if anyone can assist me I would greatly …

Member Avatar for C++ Beginner
0
81
Member Avatar for Latent12

Hello all, I am trying to create a database using Microsoft Access based on the folowing scenario. However, before doing this, I am trying to figure out the logic and draw an ERD. The scenario is as follows: "The Meantime agency manages properties for rent in South East London. Clients …

Member Avatar for Latent12
0
139
Member Avatar for i_luv_c++

hey guys i wrote a code for honework problem...the code works fine however everytime user puts more number than the static array it keep those number in the memory and later in the program if i do cout and cin it will ignore that and assign the number to the …

Member Avatar for i_luv_c++
0
115
Member Avatar for mjltech

[CODE]Private Sub btnBill_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnBill.Click item = txtItem.Text duration = txtduration.Text Dim fmtstr As String = "{0, -15} {1, 17:c2}" '----------------------------------------------------------------------------------------------- lstResult2.Items.Add(" Receipt from Eddie's Equipment Rental") Select Case item.ToUpper & duration.ToUpper Case "1", "h" lstResult2.Items.Add(String.Format(fmtstr, "Rug cleaner", 16)) Case "2", "h" lstResult2.Items.Add(String.Format(fmtstr, …

Member Avatar for jeffreyk16
0
103
Member Avatar for DarwinRock

I need to load a single jpg image to a windows form at run time. file name / path is a given. Any insight on how to do this?

Member Avatar for DarwinRock
0
159
Member Avatar for moqbel

[CODE] #include<iostream> #include<fstream> #include<string> using namespace std; void main() { //decleration ifstream source; ofstream target; char * box; int width, height, numlevel; string s; int amount= 100; //-------------------- source.open("1.ppm",ios::binary); while(source.fail()) { cout<<"can not open the file"<<endl; // to make sure the file is opened } source>> s; if ( s …

Member Avatar for moqbel
0
267
Member Avatar for sallycheng

It cannot display correct id no of student. Would you mind tell me what wrog of it. Thank you very much! [ICODE] <?php require_once('Connections/connection.php'); ?> <?php $colname_Recordset1 = "-1"; if (isset($_GET['eca_id'])) { $colname_Recordset1 = (get_magic_quotes_gpc()) ? $_GET['eca_id'] : addslashes($_GET['eca_id']); } mysql_select_db($database_connection, $connection); $query_Recordset1 = sprintf("SELECT * FROM eca,student_info WHERE eca_id …

Member Avatar for cwarn23
0
114
Member Avatar for Izzy123

im new to javascript and im currently designing a survey and i have to modify the survey using javascript, it has to do: the user should not be allowed to select any options from question 2 if they chose the last radio button of question 1. and i don't know …

Member Avatar for Izzy123
0
91
Member Avatar for zango

So I have one problem and I put in the code for you to see. This is the code that i am having problems with: [code]int main (void){ FancyDateClass myDateObj(24, 2, 2008); cout << "\n\n"; cout << "The date is "; myDateObj.displayDate(); cout << "\n\n"; cout << "The month for …

Member Avatar for Ancient Dragon
0
114
Member Avatar for tiwas

Hi, I'm trying to make a headless version of my app (one that will start if the user appends arguments). My problem is that even though if I check for args in Main() it seems to open up the form no matter what. I've managed to use two versions of …

Member Avatar for tiwas
0
757
Member Avatar for bsdbum

Hello. This is my first posting so I will try to be as detailed and clear as possible. I am running into a problem with a method returning an incorrect value and I can't quite seem to figure out why. I'm building a Rolodex which is really just an object …

Member Avatar for bsdbum
0
448
Member Avatar for PDB1982

I keep getting the following error: [code] Error 1 error C2678: binary '+' : no operator found which takes a left-hand operand of type 'int' (or there is no acceptable conversion) [/code] and I can't figure out how to fix it...I believe it has something to do with the red …

Member Avatar for PDB1982
0
184
Member Avatar for prushik

Hello everyone I am trying to learn about the compilation process. I am working on a pretty simple SDL game, but I know that making games isn't very practical, so I am using the project to learn about other programming aspects as well. One of the things I am trying …

Member Avatar for Banfa
0
202
Member Avatar for aym312

hello! I have run into a brick wall trying to write a traffic light program. The program must display a traffic light (so far I have tried painting it on a Graphics) and use radio buttons (red, yellow, green) to change the color of the light. So far, I've got …

Member Avatar for aym312
0
1K
Member Avatar for robski

Hi all. Just a quick question for anyone who might know. Is there any way of setting up the entering of a character or number without having to press the return key after? For all options i input into my program when i run it i always have to press …

Member Avatar for Ancient Dragon
0
108
Member Avatar for hurricane123

i tried to make a program to compare two string and display which character will come first as you can see below but it gives certain error can any one guide me what changes i have to make [CODE]int Mystrcmp (const char* , const char* ); { cout<<Mystrcmp(v1,v2); } int …

Member Avatar for WaltP
0
124
Member Avatar for no4touchy

I have encountered a problem with the following function when I use it. I do not know what is going on, and would like to ask for advise. The program compiles without any error, but when I execute it, it just freezes and exits. [CODE=c] typedef long long unsigned int …

Member Avatar for no4touchy
0
118
Member Avatar for johndoe444

Like there are authorities like sun which maintains java documentations, python.org which maintains python docs and for others where the developer of the language reference also maintains the documentations of the library and language reference documentations. What is the authoritative entity that maintains the complete c/c++ documentations? I was looking …

Member Avatar for Ancient Dragon
0
173
Member Avatar for vbx_wx

hi , i have a function parameter that i need it to be a char and also a const char* . can anyone help me? [CODE] void write(...) // ??? { } //.............................. if(somethin) { write('c'); } else write("string"); [/CODE]

Member Avatar for mrnutty
0
107
Member Avatar for kesh1000

hi please can anyone help me with this code. the prob lies in the add function for some reason it only executes 2 lines of the code and as soon as i enter the data the program finishes [CODE] import java.io.FileNotFoundException; import java.io.IOException; import java.io.RandomAccessFile; import java.io.*; class customers{ private …

Member Avatar for kesh1000
0
132

The End.