199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for timhysniu

Hello group, Im a new member in this site. Seems very resourceful. My first question is what is really .NET framework? Although quite programming background, I'm not very experienced with Vstudio and now this .NET (which I just purchased with aim to learn something) is a little unclear to me. …

Member Avatar for gever
0
206
Member Avatar for acerdafpz

HI guys..... I'm having a problem using one calendar in my whole application.... here are the details: component used for calendar : Microsoft Calendar Control 11.0 here's the situation: I have plenty of forms, and in every form that has textboxes which requires to input dates.. in one form, it …

Member Avatar for debasisdas
0
134
Member Avatar for bear24

Hi all, I am currently doing on this project and i am struck at this section - which is deleting multiple rows from mysql with checkbox. The code i am using is [CODE]<?php $host="localhost"; // Host name $username="root"; // Mysql username $password="root"; // Mysql password $db_name="advert"; // Database name $tbl_name="test_mysql"; …

Member Avatar for bear24
0
131
Member Avatar for JPak

Hi! I started to study Oracle a few days ago and I felt the need of Oracle Database Application. So I entered the Oracle web site and tried to download the given link for download However, then I was requested to submit my "Single Sign-on" User and Password. Moreover, I …

Member Avatar for debasisdas
0
116
Member Avatar for shilpamg
Member Avatar for debasisdas
0
129
Member Avatar for babiker

As you guys might have guessed form the threads name, I have a few questions that am going to post under one thread because i don't want to stuff the front page...thanks in advance. 1. Why are function prototypes mostly declared before the main(), but the actual function is under …

Member Avatar for ArkM
0
98
Member Avatar for swbuko

I've got an array BM[] with a length of 5. How would I declare my function in the heading and what am I doing wrong in my code, it keep giving me errors. Also I dont know how to apply it to my program to do the sorting. Like would …

Member Avatar for stilllearning
0
236
Member Avatar for welles

Dear all, I have a question about inheritance in C++. Suppose there is a base class called "A", with a protected variable "list_" which basically stores a list of objects with type "P", and also there is a method in class A which adds objects to the list. There are …

Member Avatar for stilllearning
0
97
Member Avatar for prateeknigamk

why it is use full to resolve overridden method at runtime rather than compile time

0
75
Member Avatar for eehyf

Hello. I have been asked to write a function which Return the minimum index of the nodes with a lexigraphically larger name". But I am confused that what is lexigraphically

Member Avatar for grumpier
0
154
Member Avatar for agz86

hi all.i have 2 dates in string format.i need to add these 2 dates to get the next date. is there any sql query for this?? Plz sum1 help me. urgent!! Thanx in advance...

Member Avatar for udaybhoite
0
107
Member Avatar for eehyf

Hello, I faced a problem to use a function in struct format. If I insert the data to the Contact("Ada", "ada@ust.hk", "12345678")). How can I print it out by using the Contact class member "print"? Thank you. [code=cplusplus] typedef struct DLL_node { DLL_node *prev; DLL_node *next; Contact *contact; } DLL_node; …

Member Avatar for eehyf
0
192
Member Avatar for Majestics

I have searched the forum , also over internet but i didn't found any understandable method to convert float number to string , Please help Me in conversion.

Member Avatar for stilllearning
0
2K
Member Avatar for ezkonekgal

This is a code converting infix expressions to postfix expression and evaluates it. there is a problem, when i run it in ECLIPSE, it it displays this errors: Exception in thread "main" java.lang.NumberFormatException: For input string: "4+4" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48) at java.lang.Integer.parseInt(Integer.java:456) at java.lang.Integer.parseInt(Integer.java:497) at Postfix.toPostfix(Postfix.java:39) at Postfix.main(Postfix.java:21) Can anybody help …

Member Avatar for ezkonekgal
0
222
Member Avatar for ezkonekgal

[code] import java.io.*; import java.util.*; public class InfixToPostixEvaluate { private static final String operators = "-+/*"; private static final String operands = "0123456789"; private static int getPrecedence(char operator) { int ret = 0; if (operator == '-' || operator == '+') { ret = 1; } else if (operator == …

Member Avatar for ezkonekgal
0
132
Member Avatar for elmes100

Hi, I am new to VB so go gentle with me. I am using VisualStudio 2005 VB (team edition). It's been a real pain finding examples of retrieving webpage data from a website given a URL (plenty of examples that don't work in visual studio sigh) but I have achieved …

Member Avatar for kalleo
0
145
Member Avatar for gparadox

[CODE]#include <iostream> //Using for input and output #include <iomanip> //To set each number a determined place in the print function /* This program will try to move a knight around a chess board to each space exactly one time. How I will do that? I will first create the board …

Member Avatar for gparadox
0
177
Member Avatar for Koldsoul

I am having an issue with a subclass. When I put in the code [code]package Ch1Pkg; public class RoundBaseContainer extends BaseContainer{ [/code] to implement the superclass of BaseContainer, I am getting an error that says cannot find symbol Symbol: constructor BaseContainer() location: class Ch1Pkg.BaseContainer I have the files in the …

Member Avatar for Koldsoul
0
95
Member Avatar for rickya100

Hi everyone, Simple query. I have a RSS.php file in my includes folder and in this I write out an XML file to a feeds folder. It has been working fine except when I changed the relative link used in the file_put_contents function to a root relative one. I want …

Member Avatar for antwan1986
0
345
Member Avatar for wolih

Em.. the problem is quite simple. This is the error output on when I try to build this. [CODE] error: no matching function for call to ‘Console::action_new(const char [5], const char [23], <unresolved overloaded function type>)’ [/CODE] This is the source... [CODE] /* Author: Wolter Hellmund Email: whellmundv@gmail.com --------------------------------------- This …

Member Avatar for wolih
0
139
Member Avatar for wrappingduke

Hello, Attempting to run java app from zip file rather than jar but having some difficulty. I have placed all the classes for the app in the zip. The files not are compressed. Here's a sample of the code: [CODE] 'the following tries to run Main.class. Also, tried calling app …

Member Avatar for wrappingduke
0
77
Member Avatar for cam875

I was just wondering if a C++ compiler is taking the source code and creating a binary file out of it with a .exe extension on it or something or does it translate it to assembly first and than assemble it from there. If it is binary I have always …

Member Avatar for ArkM
0
141
Member Avatar for waynespangler

I am writing a slide show. The slide show itself is not bad. My problem: [INDENT]I can put the pictures in the resource area. This would require recompiling and sending the viewer each time I want to send pictures. I would like to send the pictures seperatlly and have the …

Member Avatar for waynespangler
0
164
Member Avatar for George_E

Hey guys I have 2 forms. One is a log in screen and another is a main menu. I need to retrieve the data from the textbox in the login screen to the textbox in the main menu. I have sourced around the internet and have implemented this code into …

Member Avatar for franz081227
0
100
Member Avatar for 115cruiser

Where should i look for this answer: Hi, If you don't know the answer if you could please point me in the right direction it would be appreciated. looking to search for more then 1 term at a time with user interaction as shown in the script below. I have …

Member Avatar for 115cruiser
0
104
Member Avatar for brr

[CODE]<select name=lstMAName"+s+" onchange=showMAName(escape(this.value),"+s+")><option selected>- - -Select Account- - -</option> <% for(j=0;j!=i;j++){%><option value=<%=MANAME[j]%>><%=MANAME[j]%></option><%}%></select>[/CODE] In the above code i use [B]escape[/B], bcz in listbox i have to select on name, i have to send that name to showMAName function in another .js program, here iam getting problem that for example selected text …

Member Avatar for ~s.o.s~
0
103
Member Avatar for astropirit

Hi all i have been having this annoying problem. I can change th value of an memory address. the problem is tha the memory address changes every time the application restarts. Now i figured i would need to use a pointer. So i found a pointer that points to this …

Member Avatar for ArkM
0
423
Member Avatar for DaveCachia

Hey all! I am having a problem copying Linked Lists. My Struct has the following fields. list->data list->number list->exit Exit is the tail, data is the head. I tried doing this.. copyList->data = list->data but it resulted in a fail of epic proportions. Can anyone give me a hand please?

Member Avatar for Lerner
0
106
Member Avatar for eehyf

Hello, I am newbie of C++ Below is my code, I want to implement the function "printall " to print out the " contact" data in Dlinked_list. but I faced a problem to call out the function of class "Contact" of "print". for example: list.insert(new Contact("Ada", "ada@ust.hk", "12345678")); then the …

Member Avatar for eehyf
0
126
Member Avatar for skatamatic

As a part of an assignment I am to construct a copy constructor for a bitmap loader/manipulator class. 2 of the things that must be copied are struct headers (containing a bunch of useless bitmap information, with a tiny bit of useful stuff). Image Headerfile: [CODE=cplusplus]#pragma once #include "Drawer.h" #include …

Member Avatar for skatamatic
0
248
Member Avatar for kux

I came accross a strange thing, maybe it's stupid, or I don't have the knowledge of how linking actually works... I have a project that builds in a static lib, and anoter project that builds in an exe and links to the static lib. Compiled with MSVC 2005, all works …

Member Avatar for ArkM
0
108
Member Avatar for farahphp

i want to assign the value of a java script variable to a php variable ???? can any one help me plz

Member Avatar for buddylee17
0
181
Member Avatar for nerden

I have a list of numbers, say; 1, 2, 3, 4, 5 and i want to find the next biggest number to 3, obv the answer would be 4. ive tried every book i know, and MSDN, i cant find anything, is this not possible? Thanks for you time.

Member Avatar for waynespangler
0
115
Member Avatar for grisha83

Hello, I am trying to do this assignment in the book. My objective is to create an interactive program which will calculate areas of a square or a triangle depending on the user input 's' or 't'. I am gone about 40% of the book so they dont expect me …

Member Avatar for Sci@phy
0
104
Member Avatar for lleighob1011

My assignment is rather lengthy and kind of confusing to explain. I have to write a code to sort of create a book store. It needs to create a struct named book and have the user enter the book number, price, and copies sold. There must be at least 5 …

Member Avatar for ithelp
0
134
Member Avatar for opposition

Hey, I am trying to read in a random number of ints from a file into an array of pointers, while also incrementing the size of the array to match the number of new ints... I have come up with this piece of code which somehow works, but doesnt store …

Member Avatar for ithelp
0
81
Member Avatar for Sci@phy

Hi all. I've written my own class Complex, that stores complex numbers. I've overloaded a whole bunch of operators so that you can work with them like with normal numbers. Then i wanted to overload 'new', but I tried it before overloading, and it "seems" to be working. I can …

Member Avatar for kux
0
93
Member Avatar for cutedipti

h! friends i am not gettin output for below program.. it shows [B]segmentation fault[/B]...:-O can any one suggest me on this.... [code=c] #include<stdio.h> #include<string.h> int main() { char *str1="United"; char *str2="front"; char *str3; str3=strcat(str1,str2); printf("\n%s",str3); return 0; } [/code] thanks:)

Member Avatar for ithelp
0
93
Member Avatar for theory

I am programming in vb6 and am trying to cause ctrl-a to "select all" in a list box, but am not having much luck. Does anyone have any ideas on how this might be accomplished? Thanks, theory

Member Avatar for CommGuy
0
234
Member Avatar for jmn0729

Is anyone interested in helping an RHCE learn python. I'm reading right now, but I have some scripts I need to write that will help a University "Linux Security" class. The scripts will be used to grade case studies. Thanks, RHCE #805008527832836

Member Avatar for jmn0729
0
115
Member Avatar for suganth

[COLOR=red][B]Please help me how to check whether the username,password entered in the login page is validor exists in the database User name,Password fields[/COLOR][/B]

Member Avatar for peter_budo
0
156
Member Avatar for leverin4

This is a VERY basic program to calculate the area of a circle, triangle, or quadrilateral. The interface we run the program on is STOP, so we can only use numbers to run the program once it is compiled. This is the reason there aren't any strings or anything like …

Member Avatar for stultuske
0
83
Member Avatar for Ixeman

Ok Well, in vb6 it's completely easy. For an example, im trying to convert this to vb.net but im kinda struggling. For Example, i don't know what the new get and put statements are in vb.net. [code] Dim aS As String Dim aF As String Open App.Path & "\s.exe" For …

Member Avatar for Ixeman
0
217
Member Avatar for EkoX

How can i playing wav file on my application? Im using vb.net 2005. Thank you very much...

Member Avatar for Ixeman
0
164
Member Avatar for AlanW

Hi I have a site that I am struggling to get it to do what I need it to! I have managed to add how many photos appear but I cannot add A HREF links around these thumbnails to get a larger picture to appear in browser window. Code is …

Member Avatar for AlanW
0
159
Member Avatar for Prathvi

I am developing an application to Windows Mobile(WM 5). Using CAB am installing the application on the mobile. My problem is that I have to use a different FONT in my application. Can anyone provide me the code to install the font using c++/vc++? What i know regarding this is …

Member Avatar for Prathvi
0
274
Member Avatar for mohammed2raja

Hi, I m new in this field. Actually I face a problem, I call a php file from a html file using javascript. I declare a variable in php file,I want to use this variable in the same html file after execution of php file.Please help.

Member Avatar for mohammed2raja
0
143
Member Avatar for JONZ

Can anyone add some codes in my program so that it could output a receipt which would display the name of the items bought with their price..:) [CODE]#include<stdio.h> int item_details (); int payment (int x); int add_item (int x); int main () { int choice,price; printf("Enter 1 to buy.\n\n"); printf("Enter …

Member Avatar for Ancient Dragon
0
213
Member Avatar for mohammed2raja

window.location.href = "updateReg.php?idValue=" + idValue; in the above code, I pass just one value "idValue", can i Pass more than one value like this?

Member Avatar for Shanti C
0
119
Member Avatar for Agni

Hi, Below is my test code, i have a list of names in a file, i read the names and i have to insert them as menu options in the menubar. Since its a dynamic menu and people can add new menu's it has to be read from a file …

Member Avatar for Agni
0
242

The End.