64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for filch

OK, now that I managed to insert data properly into a relational database using a linking table, I am now faced with pulling the data properly out of the database, a displaying it so it makes sense. As a recap, I have inserted user data into a data base that …

Member Avatar for filch
0
514
Member Avatar for sfrider0

I'm trying to get all the links from a web page. So far I have the page source stored in a string. I have done similar things like this in Java, using a string tokenizer. I've looked around trying to find something like this for C# but apparently it doesn't …

Member Avatar for dickersonka
0
82
Member Avatar for atman

hello., ny1 knows what is the data type for displaying hex numbers? i know that specifier is %x, but dont know what data type it is ex: 0xBCD thanx!

Member Avatar for devnar
0
88
Member Avatar for chunalt787

I the compiler is giving me the following error on the constructor of graph however it has been defined in the public section. Error [CODE]/tmp/ccku0faq.o: In function `Graph::Graph()': Main.cpp:(.text._ZN5GraphC1Ev[Graph::Graph()]+0x39): undefined reference to `AdjacencyMatrix::AdjacencyMatrix()' collect2: ld returned 1 exit status [/CODE] Here is my code [CODE=CPP]class Graph { private: vector<Node*> nodeList;//list …

Member Avatar for chunalt787
0
181
Member Avatar for slimjimmer

Hey, I'm really stuck on a program I have to make for a class. We have to integrate f(x) = cos^2 (x). We are given a file with values of x and corresponding values of f(x). We have to use a while loop to do the following sum: sum to …

Member Avatar for slimjimmer
0
128
Member Avatar for konczuras

Hello Everybody! I have a simple question: where can I get or set a control, which is in a template field? I have a gridview, and I've created a templatefield in it, with a textbox inside. I want to use the data typed in that textbox, but I don't know …

Member Avatar for konczuras
0
135
Member Avatar for Stefano Mtangoo

I enter first time and works fine, but second time? Boom, it fails! What is wrong Best regards: [CODE=python] #Global values #key is ID/name and value is cost product = dict() identity = dict() #Function to check and add product and its ID def get_prod(): #anything can be a name …

Member Avatar for Stefano Mtangoo
0
72
Member Avatar for bpacheco1227
Member Avatar for bpacheco1227
0
107
Member Avatar for JackDurden

Im trying to count the frequency of words from a file and cant seem to get it to work. My frequency function recognizes the word is there but doesnt return a count for each word yet. The text file would just hold a bunch of random words...please help. [CODE]#include <string> …

Member Avatar for cikara21
0
209
Member Avatar for tylermaudlin

I have an application where the user is required to log in running on asp.net 2.0 I have added .doc and .pdf to the application extensions area so that outside users cannot go directly to the .doc or .pdf file without logging in. When I click on a .doc or …

Member Avatar for tylermaudlin
0
65
Member Avatar for freelancelote

Hi, here is my problem: I'm writing a small program that needs to read a text file and write the words of this text as a list. I could only come up with the little piece of code I wrote below and it's not even working. I believe the problem …

Member Avatar for cikara21
0
139
Member Avatar for pokahantos

Hello all, I have a very stupid problem... unfortunately i can not find any way to solve it.. I am using JDeveloper to design & implement JSP page.. I have an input field "text field" where the user enter his name.. I wanna check if the text field is empty …

Member Avatar for pokahantos
0
165
Member Avatar for Laidler

ok heres my code [CODE]import java.util.Scanner; class TestTelevisionV3 { public static void main(String [] args) { Television tv = new Television (4, 8, true); tv.printImage(); Scanner myInput = new Scanner(System.in); String Input1 = myInput.next(); String s1="P"; String s2="C"; String s3="V"; String s4="Q"; do { tv.printImage(); System.out.println(""); System.out.println("Press P to turn …

Member Avatar for Laidler
0
121
Member Avatar for Stepes

Hi, I'm new here. I've got a problem with my project. I get the following link error in VS2008 [code]main.obj : error LNK2019: unresolved external symbol "public: __thiscall PSystemManager::PSystemManager(struct HWND__ *)" (??0PSystemManager@@QAE@PAUHWND__@@@Z) referenced in function "public: virtual bool __thiscall MyApp::OnInit(void)" (?OnInit@MyApp@@UAE_NXZ)[/code] main.cpp is for example this: [code] #include "./PSystemManager.h" bool …

Member Avatar for Stepes
0
341
Member Avatar for kevin wood

not sure if this is the correct place to post but here we go anyway. what i am trying to do is put a table inside a div tag held within a php page but it is not working. here is the code [CODE]print "<h4>There are $num_rows records.<P></h4>"; print "<div …

Member Avatar for kevin wood
0
292
Member Avatar for Laidler

import java.util.Scanner; class TestTelevisionV3 { public static void main(String [] args) { Television tv = new Television (4, 8, true); tv.printImage(); System.out.println(""); System.out.println("Press P to turn Power On or Off"); System.out.println("Press C to Change the Channel"); System.out.println("Press V to Change the Volume"); System.out.println("Press Q to quit"); System.out.println(""); Scanner myInput = …

Member Avatar for Laidler
0
174
Member Avatar for asifkamalzahid

[I]n the following program i have the error [COLOR="Red"]Warning: ftp_delete() [function.ftp-delete]: Access is denied. in G:\WEBROOT\wilbourn\ftptest\uploadfunctionpage.php on line 89 could not delete wilbourn/ftptest/t.DOC [/COLOR] [/I] [CODE] <?php //Move or Upload Folder Using PHP FTP Functions function moveFolder($_server, $_user_name, $_user_pass, $local_dir, $remote_dir) { echo"$_user_name <br/>"; echo"$_user_pass <br/>"; echo" directories are : …

Member Avatar for asifkamalzahid
0
2K
Member Avatar for karang

HI I am getting this error Error 11 fatal error C1083: Cannot open include file: 'Test/Testnamespaces.h': No such file or directory I have included the following statement in the code using namespace Test; Can anyone please tell me the reason for this .

Member Avatar for Agni
0
241
Member Avatar for adam291086

I am trying to read in a simple xml file and display all the child elements all i get is the error [QUOTE]Traceback (most recent call last): File "/Users/adamplowman/Documents/Uni/project/python/test_xml.py", line 10, in <module> for element in tree: TypeError: iteration over non-sequence[/QUOTE] Here is the xml file [CODE]<root><child>One</child><child>Two</child></root>[/CODE] and this is …

Member Avatar for adam291086
0
166
Member Avatar for mariappan.s

hi friends.. In asp.net , i want to show the gridview when keypress in textbox.. how to do in javascript..

Member Avatar for greeny_1984
0
164
Member Avatar for adam291086

I have the variable Adam that contains some information. Later on i have some more information to add to the variable adam. How can this be done something like [CODE] adam = "john" adam = adam + "mike" [/CODE]

Member Avatar for paddy3118
0
93
Member Avatar for Frosty[tnt]

Hey everybody this is my first post here and just learning PHP and need some help on an infinite loop problem. The code is supposed to find how many ways you can change a $1 dollar bill into coins using dollar coin, half dollars, quarters, dimes, nickels, and pennies. But …

Member Avatar for Frosty[tnt]
0
129
Member Avatar for murderotica

Hello there, I've installed VSTO to my pc and I'm trying to make an application using the MS Office in my VS (2008). I've already added the reference to Microsoft.Office.Tools but when I compile it, it gives me the error: [QUOTE] The type or namespace name 'AddIn' does not exist …

Member Avatar for murderotica
0
111
Member Avatar for tag234

Hello, i have a simple question about pointers... The code that goes with the problem is: [code] int* getPtrToArray(int& m) { int anArray[5] = { 5, 4, 3, 2, 1 }; m = 5; return anArray; } int main() { int n; int* ptr = getPtrToArray(n); for (int i = …

Member Avatar for tag234
0
86
Member Avatar for Krysis

Hello again... So, I'm trying to read a file line-by-line and compare the first 5 characters of that line (that was read in) to another character string. If they don't match then it moves on to the next line of the file and tries to compare again. The problem I'm …

Member Avatar for Krysis
0
5K
Member Avatar for sayaan

Hi everybody, I'm new in this forum, I'm a PHP developer looking for good solutions for changing colors, fonts, styles of a site on the fly. The idea is, the user will be given options to customize his/her web site's font, color of various elements etc. and then the site …

Member Avatar for PomonaGrange
0
117
Member Avatar for HI2Japan

I'll start off saying I am not a programmer. I am making a database that imports data from Word forms. It requires code and I found some that works almost perfectly for me at [url]http://msdn.microsoft.com/en-us/library/aa155434(office.10).aspx[/url] It does exactly what I need. The only thing that would make this code better …

Member Avatar for HI2Japan
0
173
Member Avatar for NickMalone85

I am using MS SQL server, and I'm trying to create a SQL query that adds data to a "Reminder" table if data in the "Occurrences" table meets certain criteria. This might be a little difficult to explain. Here's the problem... I have a table "Occurrences" which i updated every …

Member Avatar for NickMalone85
0
88
Member Avatar for MJFiggs

Okay, so I've been working on a program that will allow the user to input what items they want into an array and make the output look like this: Item 1. Sword Item 2. Shield Item 3. Sword Item 4. Armor with some help, i was able to figute that …

Member Avatar for MJFiggs
0
121
Member Avatar for Shinedevil

This was orignally posted in C++ Foums: Hey, I'm new to this forum. I'm having trouble making a mapping/navigation type program. Kind of like one where you type in "N" and you go north. But more complex, scince i'm creating an rpg. (In command prompt console) I need to have …

Member Avatar for Shinedevil
0
111
Member Avatar for tiger86

Okay so I am designing a game (that's why I am in this forum.) I want to know from people with experience what language is the best to code in? I see a lot of sites code in flash; though some of them are on phtml pages. Any info will …

Member Avatar for jbennet
0
146
Member Avatar for TomRandall

Hi All, I'm very new to Delphi and I'm stuck with this (hopefully very basic) question. How do you reset a form when it's closed? I have 2 forms, say "form1" and "form2", when you click a button on form1 it opens form2 via form2.ShowModal; on form2 you input data, …

Member Avatar for LizR
0
705
Member Avatar for TomRandall

Hi, I'm using a form with a StringGrid and a few buttons, by default the buttons are disabled and I'm wanting them to enable when certain entries are selected in the StringGrid. I've got the code to enable/disable the buttons depending on what StringGrid row is selected on the "OnSelectCell" …

Member Avatar for LizR
0
136
Member Avatar for Krysis

[COLOR="Red"]ATTENTION[/COLOR]: SKIP WHAT'S WRITTEN IN [COLOR="Red"]RED[/COLOR] UNLESS YOU WANT TO KNOW [B][I][U][COLOR="Red"]EXACTLY[/COLOR][/U][/I][/B] WHAT'S GOING ON... NOT NEEDED THOUGH! Well, let me first ask the general question/problem that's plaguing me in this "Coded Adventure"... [COLOR="blue"] "Let's say I've opened a file for reading and the file that I'm reading contains: Hello …

Member Avatar for Krysis
0
138
Member Avatar for allang

I put together a simple color chooser and havce one other thing I want to accomplish but can't figure out. I want the individual scrollbar to change color to reflect the amount of that particular color ie red (255,0,0) Also, in playing with this I have realized that it is …

Member Avatar for allang
0
110
Member Avatar for Tex_Waco_USMC

I am a fairly new programmer with limited knowledge in C++. I am currently writing a program for my class that involves fractions. I was doing good writing one piece at a time and making it work until the instructor threw a wrench into my plans and asked me to …

Member Avatar for vmanes
0
87
Member Avatar for Se7Olutionyg

[CODE] // Description: This is a computer version of the game hangman, the user // can play against a 2nd player or the computer, and he can enter how many // guesses he gets, // // Start of program // Header file definitions #include <iostream> // Standard input/output #include <string> …

Member Avatar for Salem
0
130
Member Avatar for DemonGal711

Ok, working on a program to find the shortest path between two points. Simple. Now, we are going to be given a list like this to denote the start and end, and then the weight of the lines. [code]A D B C 31 B A 4 C A 12 C …

Member Avatar for DemonGal711
0
149
Member Avatar for vickzbrit

How do I disable and Enable Menu Items and Sub Items. [code]if(Selected == "drum" || Selected == "guitar" || Selected == "mic" || Selected == "computer" || Selected == "car" || Selected == "hockey" || Selected == "laptop" || Selected == "watch" ) { pCmdUI->Enable(Sort == 1); }[/code] The above …

Member Avatar for vickzbrit
0
1K
Member Avatar for c_skyscraper

Hello Everyone, I have a terrible problem with data structures in C. i have defined a structure as below: struct MNT { char label[32],opcode[32],operand1[32],operand2[32]; struct MNT *next; }; typedef strct MNT *MNTABPTR; MNTABPTR mnt_first = NULL; and for allocating memory i used the following sentence: MNTABPTR newnode; newnode = (MNTABPTR)malloc(sizeof(MNTABPTR)); …

Member Avatar for c_skyscraper
0
120
Member Avatar for stealthmode

Sorry all, this is probably an asked question already, but can't seem to find it. I have designed and uploaded a website for a company. Static pages (3) with a simple form using php to direct the form to one of the companies e-mails. I now need a members log-in …

Member Avatar for stealthmode
0
108
Member Avatar for elsa87

hi everyone.. i have a small problem with the below code.. when i execute the program, the output file doesnt print me the unsortedList.ReturnLastItem().Print(); it gives me the following output: the last item in the unsortedList is how can i make it print me the last item? here is the …

Member Avatar for cikara21
0
209
Member Avatar for hhamdan

i have multiple onchange in two different form and they are in different include files. the thing is when i try to use the first onchange ...it works and it will change the session value but if i start with second onchange it will not work and it says the …

0
86
Member Avatar for Prahaai

Good day. I wanted to share with you the code for an application I've created. It can read the number of pages in all the PDF files from one directory. The question I have is this : does it need more optimisation ? Can I make it work faster ? …

Member Avatar for Prahaai
0
4K
Member Avatar for cout<<"alias"

Hi there, been having some trouble with a simple program i am trying to write. I'm fairly new to C++, and can't seem to fix the errors im getting. Any ideas or hints would be much appreciated. [code=c++]#include <iostream> using namespace std; int main() { double payrate; double hours; double …

Member Avatar for cout<<"alias"
0
147
Member Avatar for Samudra2008

Good day, I like so many, am new Perl. I am trying to search a file for a string, if found, pass it to an array. I don't think what I have done is the best way of doing things, but I learn by getting scripts to work and them …

Member Avatar for Samudra2008
0
85
Member Avatar for rebeka.six

I need help with joining these two tables: Table1 idx idy --------- one 1 two 2 tree 3 Table2 idy u ------- 1 a 2 b 3 c 4 d 5 e 6 f I want to show rows from the Table1 that have idx=one joined with all the rows …

Member Avatar for rebeka.six
0
137
Member Avatar for mahaboob Basha

i have a jsp it has two fileds..mobileno and password..when i enterd values its storing in DB.But when iam retriving its retriving and comparing only with newly inserted values only.. it is comparing only last inserted values in Db only ..here is my code.. package com; import java.io.*; import java.util.*; …

Member Avatar for peter_budo
0
1K
Member Avatar for rickya100

Hi there, So I thought this would be simple and it should be but I can't see what is wrong. Basically I am checking what language has been selected (via a code stored in a constant LANG_CODE) and then loading in a specific swf file. Except that the language code …

Member Avatar for rickya100
0
93
Member Avatar for Whilliam

hello guys, Im trying to understand how fread and fwrite works. My teacher said that these functions can store/output binaries and texts in files. I know how to do it with string. Im confused with floats and integers. I tried to make a program for it but Im getting errors. …

Member Avatar for Whilliam
0
248

The End.